reteplayground
Select

🗺 Files about the Conca de Barberà

SELECT (MIN(STR(?img)) AS ?image) ?title (SAMPLE(?d) AS ?…
  ?doc schema:name ?title ;
       schema:image ?img ;
       dct:identifier ?i .
  FILTER(CONTAINS(LCASE(STR(?title)), "conca de barber") …
  OPTIONAL { ?doc schema:description ?d }
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 26 rows · 3.2 s · 2.0 MB of 68.9 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX schema: <http://schema.org/> PREFIX arx: <https://w3id.org/rete/arxiu#> PREFIX dct: <http://purl.org/dc/terms/> SELECT (MIN(STR(?img)) AS ?image) ?title (SAMPLE(?d) AS ?description) (SAMPLE(?link) AS ?record) WHERE { ?doc schema:name ?title ; schema:image ?img ; dct:identifier ?i . FILTER(CONTAINS(LCASE(STR(?title)), "conca de barber") || CONTAINS(LCASE(STR(?title)), "espluga de francol")) OPTIONAL { ?doc schema:description ?d } BIND(CONCAT("https://arxiusenlinia.cultura.gencat.cat/#/cercabasica/resultats?text=", ENCODE_FOR_URI(STR(?i))) AS ?link) } GROUP BY ?doc ?title LIMIT 60

rete playground · documentation · github.com/caviri/rete