Malformed SPARQL query when retrieving frequent property paths

25 views
Skip to first unread message

peter.l...@inova8.com

unread,
Jan 25, 2017, 5:20:19 PM1/25/17
to Silk
SILK version 2.7.1

My datasets are Virtuoso SPARQL endpoints. However SILK tries to issue this malformed SPARQL to identify frequent property paths. 

Have I missed some configuration parameter causing the URL to be left blank as in <>?

Query:

SELECT ?p ( count(?a) AS ?count ) WHERE {
?a a <> .
?a ?p ?o
}
GROUP BY ?p
ORDER BY DESC (?count) OFFSET 0 LIMIT 50

Log:

[info] o.s.r.a.Paths cache Concepts - Retrieving frequent property paths
[info] o.s.p.d.r.e.PagingSparqlTraversable$ - Query failed:
SELECT ?p ( count(?a) AS ?count ) WHERE {
?a a <> .
?a ?p ?o
}
GROUP BY ?p
ORDER BY DESC (?count) OFFSET 0 LIMIT 50
Error Message: 'no protocol: ?query=SELECT+%3Fp+%28+count%28%3Fa%29+AS+%3Fcount+%29+WHERE+%7B%0A%3Fa+a+%3C%3E+.%0A%3Fa+%3Fp+%3Fo%0A%7D%0AGROUP+BY+%3Fp%0AORDER+BY+DESC+%28%3Fcount%2
9+OFFSET+0+LIMIT+50'.
Retrying in 1000 ms. (1/3)
[info] o.s.p.d.r.e.PagingSparqlTraversable$ - Query failed:
SELECT ?p ( count(?a) AS ?count ) WHERE {
?a a <> .
?a ?p ?o
}
GROUP BY ?p
ORDER BY DESC (?count) OFFSET 0 LIMIT 50
Error Message: 'no protocol: ?query=SELECT+%3Fp+%28+count%28%3Fa%29+AS+%3Fcount+%29+WHERE+%7B%0A%3Fa+a+%3C%3E+.%0A%3Fa+%3Fp+%3Fo%0A%7D%0AGROUP+BY+%3Fp%0AORDER+BY+DESC+%28%3Fcount%2
Reply all
Reply to author
Forward
0 new messages