neo4j-contrib / sparql-plugin

Other
67 stars 28 forks source link

Format of the Json #14

Open ghost opened 9 years ago

ghost commented 9 years ago

Hi, firstly thanks for the project, it seems really useful and I can't wait to try it out!

I've set it up and have the plugin working, however I am trying to find the tool which gives you an output matching the format found in the projects wiki page.

This is the structure I found in the wiki:

{ 
  "s" : "http://neo4j.org#jim",  
  "p" : "http://neo4j.org#knows",  
  "o" : "http://neo4j.org#mitch",  
  "c" : "http://neo4j.org" 
}

This is the style I get from a jena-fuseki server when requesting json.

{
  "head": {
    "vars": [ "s" , "p" , "o" ]
  } ,
  "results": {
    "bindings": [
      {
        "s": { "type": "uri" , "value": "http://www.owl-ontologies.com/KB_119329_Class0" } ,
        "p": { "type": "uri" , "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" } ,
        "o": { "type": "uri" , "value": "http://www.owl-ontologies.com/Ontology1412291189.owl#Technology_Deployment_Architecture" }
      } 
    ]
  }
}

Sesame seems to output to the .srj format which doesn't seem overly helpful.

Thanks, Trent.