query-cc57febbbd0266e466825550a3e0a3b2

rq turtle/ttl

Text search in humansHello, this looks working

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
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
WHERE
{
  SERVICE wikibase:mwapi
  {
    bd:serviceParam wikibase:endpoint "www.wikidata.org";
    wikibase:api "EntitySearch";
    mwapi:type "item";
    mwapi:search "Hure";
    mwapi:language "fr".
    ?item wikibase:apiOutputItem mwapi:item.
  } 
  ?item wdt:P31 wd:Q5
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected c4(["www.wikidata.org"]):::literal c8(["item"]):::literal c10(["Hure"]):::literal c14(["mwapi:item"]):::iri c12(["fr"]):::literal c2(["bd:serviceParam"]):::iri c6(["EntitySearch"]):::literal c16(["wd:Q5"]):::iri c18(["fr,en"]):::literal subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c2 --"mwapi:endpoint"--> c4 c2 --"mwapi:api"--> c6 c2 --"mwapi:type"--> c8 c2 --"mwapi:search"--> c10 c2 --"mwapi:language"--> c12 v1 --"mwapi:apiOutputItem"--> c14 end v1 --"wdt:P31"--> c16 subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c2 --"mwapi:language"--> c18 end