Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
florianthiery opened this issue Mar 14, 2024 · 1 comment
Open

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

florianthiery opened this issue Mar 14, 2024 · 1 comment
Assignees

Comments

@florianthiery
Copy link
Member

florianthiery commented Mar 14, 2024

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
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants