Menu

#45 "Array" result to SPARQL query

v0.9.5
open
nobody
DbModel (6)
5
2008-02-18
2008-02-18
No

I found a SPARQL query which works with MemModel and not with DbModel :

SELECT ?attribute ?value ?instance WHERE {
<http://acme.com/foo#BAR>
?attribute
?value
OPTIONAL {
FILTER (regex(?attribute, "Relation^"))
.
?value
<http://acme.com/bar#nitz>
?instance
}
}

With the MemModel it works as intended but with the DbModel i get :
<sparql>
Array
</sparql>

Note : I query it through NetAPI.

Discussion