I am using Neo4j Community version 4 and am trying to import an ontology (.owl file). I followed the steps below and the data imports, but when I look at the nodes created in the Neo4j Browser, none of them have labels on them. They are all blank. How do I get the nodes to display with labels?
- CALL n10s.graphconfig.init();
2. CALL n10s.rdf.import.fetch("file:////home/eaw39/Neo4j/RDF/OWL/v3/generic.owl", "RDF/XML")
CONTENT OF generic.owl
<?xml version="1.0"?><rdf:RDF xmlns="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#"
xml:base="http://www.semanticweb.org/jr39/ontologies/2022/4/generic"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic"/>
<owl:ObjectProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#hasChild">
<owl:inverseOf rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#isChildOf"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#hasMember">
<owl:inverseOf rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#isMemberOf"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#hasReferenceTo">
<owl:inverseOf rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#isReferencedFrom"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#isChildOf">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#isMemberOf">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#isReferencedFrom">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
</owl:ObjectProperty>
<owl:DatatypeProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#creationDate">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#description">
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#id">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#name">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#updateDate">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
</owl:DatatypeProperty>
<owl:Class rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#Aggregator"/>
<owl:Class rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#AuditableThing">
owl:equivalentClass
owl:Class
<owl:intersectionOf rdf:parseType="Collection">
owl:Restriction
<owl:onProperty rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#creationDate"/>
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
<owl:onDataRange rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
</owl:Restriction>
owl:Restriction
<owl:onProperty rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#updateDate"/>
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
<owl:onDataRange rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#DescribedThing">
owl:equivalentClass
owl:Restriction
<owl:onProperty rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#description"/>
<owl:maxQualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:maxQualifiedCardinality>
<owl:onDataRange rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:Restriction>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#IdentifiedThing">
owl:equivalentClass
owl:Restriction
<owl:onProperty rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#id"/>
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
<owl:onDataRange rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:Restriction>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#NamedThing">
owl:equivalentClass
owl:Restriction
<owl:onProperty rdf:resource="http://www.semanticweb.org/jr39/ontologies/2022/4/generic#name"/>
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
<owl:onDataRange rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:Restriction>
</owl:equivalentClass>
</owl:Class>
</rdf:RDF>