OWL2VOWL icon indicating copy to clipboard operation
OWL2VOWL copied to clipboard

Multiple Domains or Ranges Should be Represented as Intersection

Open jmkeil opened this issue 3 years ago • 1 comments

Hi.

multiple Domains or Ranges are currently represented as unions. However, they should be represented as intersections.

For example, try:

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix :     <http://example.org/> .

<http://example.org/> a owl:Ontology .

:exampleProperty rdfs:domain :calss1, :class2 ;
                 rdfs:range  :calss1, :class2 .

:exampleIntersection owl:intersectionOf ( :calss1 :class2 ) .

:exampleIUnion owl:unionOf ( :calss1 :class2 ) .

jmkeil avatar Nov 30 '22 12:11 jmkeil

True! While this may be counterintuitive to many (it certainly was (and still is) to me!), what this issue states is according to the RDFS specs.

That is connected to schema:domainIncludes & schemarangeIncludes issue.

hoijui avatar Jan 09 '24 20:01 hoijui