query-65e0f1b92e271942ce3553abd89a9f95

rq turtle/ttl

MaxaalexeevaCONTAINSREGEX

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel
WHERE
{
  SERVICE wikibase:mwapi
  {
    bd:serviceParam wikibase:endpoint "www.wikidata.org";
                    wikibase:api "Generator";
                    mwapi:generator "search";
                    mwapi:gsrsearch "inlabel:'leaf area index'";
                    mwapi:gsrlimit "max".
    ?item wikibase:apiOutputItem mwapi:title.
  }
  ?item rdfs:label ?label.
  FILTER CONTAINS (?label, "leaf area index")
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?label") c5(["www.wikidata.org"]):::literal c13(["max"]):::literal c9(["search"]):::literal c3(["bd:serviceParam"]):::iri c11(["inlabel:'leaf area index'"]):::literal c19(["#91;AUTO_LANGUAGE#93;,en"]):::literal c15(["mwapi:title"]):::iri c7(["Generator"]):::literal f0[["contains(?label,'leaf area index')"]] f0 --> v1 subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c3 --"mwapi:endpoint"--> c5 c3 --"mwapi:api"--> c7 c3 --"mwapi:generator"--> c9 c3 --"mwapi:gsrsearch"--> c11 c3 --"mwapi:gsrlimit"--> c13 v2 --"mwapi:apiOutputItem"--> c15 end v2 --"rdfs:label"--> v1 subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c3 --"mwapi:language"--> c19 end