Skip to content

Namespaces' prefixes are not used in merged ontologies axioms #364

@mereolog

Description

@mereolog

The example below illustrates the problem announced in the title - it comes from https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-RegistrationAuthorities/.

This issues is related to #362 and was identified during a review of #363.

Original

<owl:Class rdf:about="&idmp-ra;NationalCancerInstituteThesaurusEntry">
		<rdfs:subClassOf rdf:resource="&cmns-ra;RegistryEntry"/>
		<rdfs:subClassOf>
			<owl:Restriction>
				<owl:onProperty rdf:resource="&cmns-col;isIncludedIn"/>
				<owl:hasValue rdf:resource="&idmp-ra;NationalCancerInstituteThesaurus"/>
			</owl:Restriction>
		</rdfs:subClassOf>
		<rdfs:subClassOf>
			<owl:Restriction>
				<owl:onProperty rdf:resource="&cmns-col;comprises"/>
				<owl:someValuesFrom rdf:resource="&idmp-ra;NationalCenterForBiotechnologyInformationTaxonomyIdentifier"/>
			</owl:Restriction>
		</rdfs:subClassOf>
		<rdfs:subClassOf>
			<owl:Restriction>
				<owl:onProperty rdf:resource="&cmns-cxtdsg;appliesTo"/>
				<owl:someValuesFrom rdf:resource="&idmp-sub;Substance"/>
			</owl:Restriction>
		</rdfs:subClassOf>
		<rdfs:label>National Cancer Institute Thesaurus registry entry</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-RegistrationAuthorities/"/>
		<skos:definition>entry in the National Cancer Institute Thesaurus that includes the National Cancer Institute Thesaurus Code used in electronic listing and other regulatory activities</skos:definition>
	</owl:Class>

Merged

    <owl:Class rdf:about="https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-RegistrationAuthorities/NationalCancerInstituteThesaurusEntry">
        <rdfs:subClassOf rdf:resource="https://www.omg.org/spec/Commons/RegistrationAuthorities/RegistryEntry"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="https://www.omg.org/spec/Commons/Collections/comprises"/>
                <owl:someValuesFrom rdf:resource="https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-RegistrationAuthorities/NationalCenterForBiotechnologyInformationTaxonomyIdentifier"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="https://www.omg.org/spec/Commons/ContextualDesignators/appliesTo"/>
                <owl:someValuesFrom rdf:resource="https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/Substance"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="https://www.omg.org/spec/Commons/Collections/isIncludedIn"/>
                <owl:hasValue rdf:resource="https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-RegistrationAuthorities/NationalCancerInstituteThesaurus"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:isDefinedBy rdf:resource="https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-RegistrationAuthorities/"/>
        <rdfs:label>National Cancer Institute Thesaurus registry entry</rdfs:label>
        <skos:definition>entry in the National Cancer Institute Thesaurus that includes the National Cancer Institute Thesaurus Code used in electronic listing and other regulatory activities</skos:definition>
    </owl:Class>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions