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

Multiple Domains or Ranges Should be Represented as Intersection #70

Open
jmkeil opened this issue Nov 30, 2022 · 1 comment
Open

Multiple Domains or Ranges Should be Represented as Intersection #70

jmkeil opened this issue Nov 30, 2022 · 1 comment

Comments

@jmkeil
Copy link

jmkeil commented Nov 30, 2022

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 ) .
@hoijui
Copy link

hoijui commented Jan 9, 2024

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.

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