Hi Jesus,
I've playing around with exporting data with Neosemantics and had a question:
- Does Neosemantics expand the prefixes in properties when you try to export some RDF? For example, if I tried something like:
call n10s.rdf.export.cypher("match(n:skos__ConceptScheme{uri:'MySchema.com is for sale | HugeDomains'}) return n")
Then I'll see:
subject | predicate | object | isLiteral | literalType | literalLang |
---|---|---|---|---|---|
"neo4j://individuals#1965" | "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" | "neo4j://vocabulary#skos__ConceptScheme" | false | null | null |
"neo4j://individuals#1965" | "neo4j://vocabulary#uri" | "MySchema.com is for sale | HugeDomains" | true | "XML Schema" | null |
"neo4j://individuals#1965" | "neo4j://vocabulary#rdfs__label" | "My Test Vocabulary Name" | true | "XML Schema" | null |
"neo4j://individuals#1965" | "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" | "neo4j://vocabulary#Resource" | false | null | null |
In looking at the code, it appears as if Neosemantics things that the nodes being exported are not RDF nodes and therefore the property names aren't being converted back into RDF properly? I'm guessing that's somehow my issue, I can just can't figure out why that is happening though?
I thought I would try to do the above using the http api for Neosemantics, I tried a bunch of different things such as, http://localhost:7474/rdf/describe/uri/http://myschema.com/myvocabulary and http://localhost:7474/rdf/n10s/neo4j/describe/uri/http://myschema.com/myvocabulary (from looking at the unit tests) but keep getting a 404. So I'm not really sure how to use the extension via http. I can however get the ping to work if I hit the /rdf/n10s/ping context path.
I see the same behavior with the export using 3.5.x as well.
Is there something particular that is needed to export RDF that conforms to what was loaded? Hopefully I haven't missed anything silly. I did comb through the current docs and the new docs without any luck so far.
Thanks!
Ryan