FILTER and quote in a sparql request

12 views
Skip to first unread message

Jean-Claude Moissinac

unread,
Feb 11, 2014, 1:15:31 PM2/11/14
to linke...@googlegroups.com
The line
FILTER (lang(?label ) = "" || lang(?label ) = "fr") 
seems to be ill formed after sending it via LinkedWiki
and the call is in error
Message and analyse seems to point onto the " in the request


complete request without prefixes is
SELECT ?label WHERE {
  ?s rdfs:subClassOf scol:EducationalLevel .
  ?s rdfs:label ?label .
  FILTER (lang(?label ) = "" || lang(?label ) = "fr") 
}
LIMIT 250

Karima Rafes

unread,
Feb 11, 2014, 1:40:57 PM2/11/14
to linke...@googlegroups.com
Mediawiki dont like the pipe. You can maybe to replace pipe by OR.

Karima
--
You received this message because you are subscribed to the Google Groups "LinkedWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linkedwiki+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Karima Rafes

unread,
Feb 11, 2014, 2:25:20 PM2/11/14
to linke...@googlegroups.com
OR is not in sparql.
You can also create this template in your wiki and replace double pipe by 
{{!}}{{!}}

Jean-Claude Moissinac

unread,
Feb 11, 2014, 4:13:08 PM2/11/14
to linke...@googlegroups.com
Thank you, i will try it
Reply all
Reply to author
Forward
0 new messages