On 28/09/16 11:52, neha gupta wrote:
SELECT *" +
" WHERE { ?x rdf:type ont:Team . ?x ont:team_goal ?goal
. ?x ont:team_wins ?wins} filter(?goal>10 && ?wins<?goal ) ";
Is this syntax correct because it gives me error:* Encountered " "filter"
"filter "" at line 1, column 265.*
No - it is not correct.
> line 1, column 265.
So add some newlines to help you see where the error is.
And the example you quote is not 265 chars long so you have only shown
us part of the query.
Look at SPARQL query examples on the web of in the spec and you will see
what you have done wrong.
Please -
** Complete
** Minimal
** Verifiable
** Example
Andy