query-9c43c212d781eb0fbfcccc928c5397b1

rq turtle/ttl

using substring in order to filter results 10:17, 20 November 2016 (UTC)) talk (EdoderooThe goal is to have a result with only participants to a man's tournament, or to a woman's tournament, for participants lacking a gender. I got the below query that will give a true/false result, but the filter itself doesn't work. Does anyone know how to apply that?

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?participantLabel (contains(?participantLabel,"Women's") as ?x)  WHERE {
  ?item wdt:P31 wd:Q5 .
  ?item wdt:P106 wd:Q13141064 .
  ?item wdt:P1344 ?participant .


  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
  }     

  FILTER NOT EXISTS { ?item wdt:P21 ?sexe } .

}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v3("?participant") v2("?sexe") v4("?x") c8(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c10(["en"]):::literal c5(["wd:Q13141064"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P21"--> e0v2 e0v1("?item"):::projected e0v2("?sexe"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 v1 --"wdt:P21"--> v2 v1 --"wdt:P31"--> c3 v1 --"wdt:P106"--> c5 v1 --"wdt:P1344"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end bind1[/"contains(?participantLabel,'Women's')"/] null --o bind1 bind1 --as--o v4