Dreams:pattern

From DREAMS
Revision as of 14:22, 11 August 2022 by Fnielsen (talk | contribs) (Created page with "== Data == {{SPARQL | query= PREFIX target: <https://dreams.wikibase.cloud/entity/Q196> PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> PREFIX dreamsp: <https://dreams.wikibase.cloud/prop/> PREFIX dreamspsv: <https://dreams.wikibase.cloud/prop/statement/value/> SELECT ?value ?valueLabel ?valueUrl WHERE { BIND(target: AS ?pattern) { BIND(1 AS ?order) ?pattern dreamst:P33 ?value . BIN...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Data

PREFIX target: <https://dreams.wikibase.cloud/entity/Q196>
PREFIX dreams: <https://dreams.wikibase.cloud/entity/>
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/>
PREFIX dreamsp: <https://dreams.wikibase.cloud/prop/>
PREFIX dreamspsv: <https://dreams.wikibase.cloud/prop/statement/value/> 

SELECT 
  ?value ?valueLabel ?valueUrl
WHERE {
  BIND(target: AS ?pattern)
  {
    BIND(1 AS ?order)
    ?pattern dreamst:P33 ?value .
    BIND(CONCAT("#effect/", SUBSTR(STR(?value), 38)) AS ?valueUrl)
  }
}
ORDER BY ?order