Skip to content
Discussion options

You must be logged in to vote

@AbhaMoitra , I'm glad you asked this question. It is a good illustration of how to use owl, rdf, or rdfs concepts that are not available in the SADL grammar in a SADL model. In some cases, the SADL grammar expresses such a concept, e.g., "Felix is a Cat" expresses the triple <Felix, rdf:type, Cat>. In your case, however, you want to express the property "rdf:type" directly as a function argument and to use it in this way you must first import an ontology that defines it. You could get the entire RDF ontology and import it, or you can create your own subset of RDF and import that. Taking the later approach, and doing the minimum, I define this simple model:
.
Note that the namespace must …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by AbhaMoitra
Comment options

You must be logged in to vote
2 replies
@crapo
Comment options

@AbhaMoitra
Comment options

AbhaMoitra Jul 31, 2021
Maintainer Author

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants