sparqlunicorn / sparqlunicornGoesGIS-ontdoc

SPARQL Unicorn Ontology Documentation
https://sparqlunicorn.github.io/sparqlunicornGoesGIS-ontdoc/
MIT License
0 stars 1 forks source link

How to deal with "direct imports" in Protegé? #14

Open florianthiery opened 8 months ago

florianthiery commented 8 months ago

If I use "direct import" in Protegé only the referece to the classes is in the RDF output, example below. How could the SPARQL Unicorn deal with that?

`` @prefix : http://example.org/data/ . @prefix owl: http://www.w3.org/2002/07/owl# . @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# . @prefix xml: http://www.w3.org/XML/1998/namespace . @prefix xsd: http://www.w3.org/2001/XMLSchema# . @prefix rdfs: http://www.w3.org/2000/01/rdf-schema# . @base http://example.org/data/ .

http://example.org/data/ rdf:type owl:Ontology ; owl:imports http://www.cidoc-crm.org/cidoc-crm/ .

http://example.org/data/part_of

:part_of rdf:type owl:ObjectProperty ; rdfs:subPropertyOf http://www.cidoc-crm.org/cidoc-crm/P89_falls_within ; rdfs:label "part of"@en .

http://example.org/data/#Location

http://example.org/data/#Location rdf:type owl:Class ; rdfs:subClassOf http://www.cidoc-crm.org/cidoc-crm/E53_Place ; rdfs:label "Location"@en . ``

florianthiery commented 8 months ago

cidoccrm_directimport.zip