Hi all,
meanwhile i installed neo4j 4.0.1 and jena 3.13.1
i also installed the n10s plugin and mounted the /rdf http methods
then I was able to do the following sparql query with jena on windows.
i created some adresses
create (n1:Adress {street:"Street3",town:"Hamburg",postcode:"2000",country:"Germany"}) return n1
create (n1:Adress {street:"Street1",town:"Berlin",postcode:"1000",country:"Germany"}) return n1
create (n1:Adress {street:"Street2",town:"Berlin",postcode:"1000",country:"Germany"}) return n1
apache-jena-3.13.1\bat\sparql.bat --data http://demo:demo@localhost:7474/rdf/thomas/describe/find/Adress/country/Germany --query query.rq
with query.rq
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX : <.>
SELECT ?s ?a ?b
{
{ ?s ?p "Berlin" }
{?s ?a ?b}
}
gave me the following result 
now it is only a matter to create a small web service wrapper converting an http get to http post /rdf/thomas/cypher with the query as content....
ok ... this will limit the queries to 2k or at best ~8k but jena can't do --data with http post.
this proofes that one can do sparql queries against subgraphes of neo4j
.
thank you Jesus and the team to provide such a cool plugin.
-------------------------------------------------------------------------------------------------------------------
| s | a | b |
===================================================================================================================
| <neo4j://individuals#1833273> | <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> | <neo4j://vocabulary#Adress> |
| <neo4j://individuals#1833273> | <neo4j://vocabulary#postcode> | "1000" |
| <neo4j://individuals#1833273> | <neo4j://vocabulary#town> | "Berlin" |
| <neo4j://individuals#1833273> | <neo4j://vocabulary#country> | "Germany" |
| <neo4j://individuals#1833273> | <neo4j://vocabulary#street> | "Street 1" |
| <neo4j://individuals#1833274> | <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> | <neo4j://vocabulary#Adress> |
| <neo4j://individuals#1833274> | <neo4j://vocabulary#postcode> | "1000" |
| <neo4j://individuals#1833274> | <neo4j://vocabulary#town> | "Berlin" |
| <neo4j://individuals#1833274> | <neo4j://vocabulary#country> | "Germany" |
| <neo4j://individuals#1833274> | <neo4j://vocabulary#street> | "Street2" |
-------------------------------------------------------------------------------------------------------------------