question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can you support schema:domain/rangeIncludes ?

See original GitHub issue

https://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:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sumutcancommented, Jul 27, 2018

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.

0reactions
VladimirAlexievcommented, Sep 13, 2022

https://github.com/eccenca/jod/issues/15 asks the same props to be handled in 3 namespaces: schema, dcam, dcid

Read more comments on GitHub >

github_iconTop Results From Across the Web

support schema:domain/rangeIncludes · Issue #12 - GitHub
Looking in the source, I don't think I can modify OWLAPI to support these Schema props, so params owlapi, imported, closure, reasoner (useOWLAPI) ......
Read more >
RDF Schema 1.1 - W3C
Abstract. RDF Schema provides a data-modelling vocabulary for RDF data. RDF Schema is an extension of the basic RDF vocabulary.
Read more >
Difference between domain and range in rdf schema?
In this case, it means that the subject or object (domain or range) is all of the types specified (the intersection not the...
Read more >
DCMI: Domains and Ranges - Dublin Core
As defined in W3C's RDF Schema specification, a domain is the class to which the subject of an RDF statement using a given...
Read more >
About schema extensions - Configuration Manager
You can extend the Active Directory schema to support Configuration Manager. ... schema, you should be familiar with Active Directory Domain ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found