query-a3faaa2ce0e1c776dd52f5503469fe63

rq turtle/ttl

TODO

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?itemDescription
WHERE {

  SERVICE wikibase:mwapi {
    bd:serviceParam wikibase:api "Search";
                    wikibase:endpoint "www.wikidata.org";
                    mwapi:srsearch "Carambolage".
    ?title wikibase:apiOutput mwapi:title.
  }
  BIND(IRI(CONCAT(STR(wd:), ?title)) AS ?item)

            ?item rdfs:label ?itemLabel. 
            filter(lang(?itemLabel)="de")
            ?item schema:description ?itemDescription. 
            filter(lang(?itemDescription)="de")
 #           filter CONTAINS( ?itemDescription, "Carambolage")
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?item"):::projected v1("?itemDescription"):::projected v2("?itemLabel"):::projected v3("?title") c7(["www.wikidata.org"]):::literal c9(["Carambolage"]):::literal c3(["bd:serviceParam"]):::iri c5(["Search"]):::literal c11(["mwapi:title"]):::iri f0[["?itemDescription = 'de'"]] f0 --> v1 f1[["?itemLabel = 'de'"]] f1 --> v2 subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c3 --"mwapi:api"--> c5 c3 --"mwapi:endpoint"--> c7 c3 --"mwapi:srsearch"--> c9 v3 --"mwapi:apiOutput"--> c11 end bind2[/"concat(str('wd:'),?title)"/] v3 --o bind2 bind2 --as--o v4 v4 --"rdfs:label"--> v2 v4 --"schema:description"--> v1