You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simplest way of executing this I thought was to pass it in one of the test file and run mvn test. But this seems to not convert this query to cypher. This is intermediate output from the logs below.
Hey authors,
Thank you for this wonderful project. I was just facing some issues and not all the sparql in the test seem to convert to cypher queries. Is there any particular reason for it. Also i had some custom sparql queries to execute.
For Example:
PREFIX wd: http://www.wikidata.org/entity/
PREFIX wds: http://www.wikidata.org/entity/statement/
PREFIX wdv: http://www.wikidata.org/value/
PREFIX wdt: http://www.wikidata.org/prop/direct/
PREFIX wikibase: http://wikiba.se/ontology#
PREFIX p: http://www.wikidata.org/prop/
PREFIX ps: http://www.wikidata.org/prop/statement/
PREFIX pq: http://www.wikidata.org/prop/qualifier/
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
PREFIX bd: http://www.bigdata.com/rdf#
PREFIX n1: http://www.wikidata.org/prop/qualifier/
PREFIX n2: http://www.wikidata.org/prop/qualifier/
SELECT DISTINCT ?thing_8 ?P580_46
WHERE { ?thing_8 p:P39 [ ps:P39 wd:Q373548 ; n1:P580 ?P580_46 ] .
FILTER ( NOT EXISTS { ?thing_8 p:P39 [ n1:P580 ?P580_46 ; n1:P582 ?P582_139 ] . } )
?thing_8 p:P27 [ ps:P27 wd:Q750 ] . }
LIMIT 1
The simplest way of executing this I thought was to pass it in one of the test file and run mvn test. But this seems to not convert this query to cypher. This is intermediate output from the logs below.
In opSlice
(slice _ 1
(distinct
(project (?thing_8 ?P580_46)
(filter (notexists
(bgp
(triple ?thing_8 http://www.wikidata.org/prop/P39 ??1)
(triple ??1 http://www.wikidata.org/prop/qualifier/P580 ?P580_46)
(triple ??1 http://www.wikidata.org/prop/qualifier/P582 ?P582_139)
))
(bgp
(triple ?thing_8 http://www.wikidata.org/prop/P39 ??0)
(triple ??0 http://www.wikidata.org/prop/statement/P39 http://www.wikidata.org/entity/Q373548)
(triple ??0 http://www.wikidata.org/prop/qualifier/P580 ?P580_46)
(triple ?thing_8 http://www.wikidata.org/prop/P27 ??2)
(triple ??2 http://www.wikidata.org/prop/statement/P27 http://www.wikidata.org/entity/Q750)
)))))
Is there any particular way to do this. Please let me know any help is highly appreciated.
The text was updated successfully, but these errors were encountered: