[kepler-dev] [Bug 4538] problems with KARs that contain tags from default ontologies

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Jan 5 11:31:44 PST 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4538

--- Comment #3 from Sean Riddle <swriddle at gmail.com> 2010-01-05 11:31:43 PST ---
(In reply to comment #2)
> this looks wrong:
> <property name="semanticType" class="org.kepler.sms.SemanticType"
> value="urn:lsid:lsid.ecoinformatics.org:onto:8:1#AboveGroundBiomassMeasurement#AboveGroundBiomassMe...">
> 
> It appears that the class is being double appended to the URI of the ontology
> (before the first #).
> There should only be one # - used to delimit the ontology from the class name

That's a result of the way we're handling 'orphaned' concepts. Even if the
ontology vanished completely, we still wanted to be able to search on its
label, rather than just on the anchor/concept ID. Even though the concept ID is
usually the same or closely related to the label, there is no guarantee that
this will be true in all cases. I had tags added through the tagging interface
have the following value:

ontology_uri#concept_id#concept_label

As long as no one tries to take the string representation of the semantic type
and treat it directly as a URI, it should be fine. But please post replies to
here if errors of that nature are found.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list