query-c695c14c856377064c5a8e9f110d50ef

rq turtle/ttl

Request EVERY items with a specific descriptionI try to get every element with the word "Treaty" in the label : Hi,

Use at

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?label
WHERE
{
  ?item rdfs:label ?label.
  FILTER (lang(?label) = "en").
  FILTER(CONTAINS(?label, "Treaty")).
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?label"):::projected f0[["contains(?label,'Treaty')"]] f0 --> v1 f1[["?label = 'en'"]] f1 --> v1 v2 --"rdfs:label"--> v1