I followed the advice on this post:
https://lists.wikimedia.org/pipermail/wikidata/2016-March/008444.html
(Thanks Mr. Malyshev!)
I did have one problem with the build: I found myself having to remove
the checkstyle plugin from the pom.xml file to get the maven build to go
to completion.
Now on my local installation I can get this query to work just fine:
(Current namespace: wdq)
Select *
Where
{
Service <http://localhost:9999/bigdata/namespace/test/sparql>
{
Bind ("Algeria"@en as ?countryLabel)
}
}
Also this:
(current namespace: test)
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
Select *
Where
{
Service <http://localhost:9999/bigdata/namespace/wdq/sparql>
{
Bind ("Algeria"@en as ?countryLabel)
?country rdfs:label ?countryLabel.
}
}
But this query (and every variation I could think of) unfortunately
times out:
(current namespace: wdq)
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
Select *
Where
{
{
Select ?countryLabel
{
Service <http://localhost:9999/bigdata/namespace/test/sparql>
{
Bind ("Algeria"@en as ?countryLabel)
}
}
}
?country rdfs:label ?countryLabel.
}
This also holds when addressing a Jena service I have set up on a
different port.
I would appreciate any help. Also, is this question better posed to the
WD tech list?
Thanks,
_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata