reteplayground
Construct

Build a small graph (export as TTL / JSON-LD)

CONSTRUCT {
  ?p rdfs:label ?who ; schema:description ?description ; …
} WHERE {
  { SELECT ?p WHERE {
      ?p wdt:P106 wd:Q169470 ; wdt:P106 wd:Q4964182
    } LIMIT 15 }
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → no server, no download — the query runs in your browser.

The query

PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX wd: <http://www.wikidata.org/entity/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX schema: <http://schema.org/> CONSTRUCT { ?p rdfs:label ?who ; schema:description ?description ; wdt:P18 ?image . } WHERE { { SELECT ?p WHERE { ?p wdt:P106 wd:Q169470 ; wdt:P106 wd:Q4964182 } LIMIT 15 } ?p rdfs:label ?who . FILTER(LANG(?who) = "en") OPTIONAL { ?p schema:description ?description . FILTER(LANG(?description) = "en") } OPTIONAL { ?p wdt:P18 ?image } }

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