cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple domains and ranged for a relation

benja1972
Node

Hello,
I am trying to import simple ontology with
n10s.onto.import.fetch()

The problem is that my ontology contains several "rdfs:domain" and "rdfs:ranges" for some specific relations. Here it is example

alp:cites rdf:type owl:ObjectProperty ;
          rdfs:domain [ rdf:type owl:Class ;
                        owl:unionOf ( alp:document
                                      alp:patent
                                    )
                      ] ;
          rdfs:range [ rdf:type owl:Class ;
                       owl:unionOf ( alp:document
                                     alp:patent
                                   )
                     ] ;
          rdfs:label "cites" .

Import produce :Relation nodes in Neo4j but if a relation has more than one domain or range , links (:DOMAIN and :RANGE) from :Relation node to :Class nodes are ignored . Is there any good solution to this situation?
Thank you

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.