Hi! I am working with ontologies and Linked Data for several years for now, but I'm quite new to Neo4j and n10s.
I imported an ontology using n10s.rdf.import.fetch. Here is an example:
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ercm: <http://erlangen-crm.org/current/> .
ercm:E1_CRM_Entity a owl:Class ;
rdfs:label "E1 CRM Entity"@en ;
rdfs:subClassOf [ a owl:Restriction ;
owl:maxCardinality "1"^^xsd:long ;
owl:onProperty ercm:P48_has_preferred_identifier ],
owl:Thing .
ercm:P48_has_preferred_identifier a owl:ObjectProperty ;
rdfs:label "P48 has preferred identifier"@en .
There is an owl:Restriction which is a blank node. The blank node was imported as a node having URI that looked like 'bnode://node1fl8msbobx8'. When I tried to export RDF triples back, I got the following result:
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ercm: <http://erlangen-crm.org/current/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ercm:E1_CRM_Entity a owl:Class;
rdfs:label "E1 CRM Entity"@en;
rdfs:subClassOf owl:Thing,
<bnode://node1fl8msbobx8> .
<bnode://node1fl8msbobx8> a owl:Restriction;
owl:onProperty ercm:P48_has_preferred_identifier;
owl:maxCardinality "1"^^xsd:long .
ercm:P48_has_preferred_identifier a owl:ObjectProperty;
rdfs:label "P48 has preferred identifier"@en .
The restriction wasn't exported as a blank node. Nor Protege, nor Pellet reasoner recognized it as a blank node.
Did I do something wrong?
Thanks.