can you support schema:domain/rangeIncludes ?
See original GitHub issuehttps://rawgit.com/euBusinessGraph/eubg-data/master/ontology/prop-ebgadminunitl6.html shows no meaningful domain and range. We define it as follows:
ebg:adminUnitL6 a owl:ObjectProperty ;
schema:domainIncludes locn:Address ;
schema:rangeIncludes ebg:LAURegion ;
rdfs:label "Municipality/Commune/Settlement" ;
rdfs:isDefinedBy ebg: ;
skos:definition "LAU2 region of the address." .
We use schema:domain/rangeIncludes because they allow polymorphic properties, whereas rdfs:domain/range bind a property to a single class, so they restrict flexibility and don’t promote reuse.
I selected Ontodocs because I saw your schema.org example http://www.michelepasin.org/support/ontospy-examples/schema_org_topbraidttl/prop-schemaaction.html so I assumed you support schema:domain/rangeIncludes. But I notice now this is “Schema.org (converted to OWL by TopQuadrant)”, and it uses rdfs:domain/range:
schema:action a owl:DatatypeProperty ;
rdfs:label "action"^^xsd:string ;
schema:supersededBy schema:muscleAction ;
rdfs:comment "The movement the muscle generates." ;
rdfs:domain schema:Muscle ;
rdfs:range xsd:string .
Unfortunately no doc generator supports schema:domain/rangeIncludes, except schema’s own generator 😦. Is there a chance ontodoc will support it?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
Hi @VladimirAlexiev ,
I adapted the Ontospy library that is used by ontodocs to schema.org. This version works ONLY with schema:domainIncludes and rangeIncludes. I am planning to adapt the library as a framework to generate external schema.org extensions.
Feel free to clone: https://github.com/STIInnsbruck/Ontospy. Once you include this module to your ontodocs tool, it should visualize any ontology using domainIncludes and rangeIncludes properties.
https://github.com/eccenca/jod/issues/15 asks the same props to be handled in 3 namespaces:
schema, dcam, dcid