Dreams:effect: Difference between revisions
Jump to navigation
Jump to search
(Changed Scholia link) |
(→Data: Add SDG) |
||
Line 1: | Line 1: | ||
== Data == | == Data == | ||
{{SPARQL | query= | {{SPARQL | query= | ||
PREFIX target: <https://dreams.wikibase.cloud/entity/ | PREFIX target: <https://dreams.wikibase.cloud/entity/Q179> | ||
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> | PREFIX dreams: <https://dreams.wikibase.cloud/entity/> | ||
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> | PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> | ||
Line 34: | Line 34: | ||
{ | { | ||
BIND(10 AS ?order) | BIND(10 AS ?order) | ||
BIND("SDG" AS ?description) | |||
target: dreamst:* / dreamst:P42 ?value . | |||
BIND(CONCAT("#sdg/", SUBSTR(STR(?value), 38)) AS ?valueUrl) | |||
} | |||
UNION | |||
{ | |||
BIND(20 AS ?order) | |||
BIND("Scholia" AS ?description) | BIND("Scholia" AS ?description) | ||
target: dreamst:P3 ?value_ . | target: dreamst:P3 ?value_ . | ||
Line 39: | Line 46: | ||
BIND(CONCAT("https://scholia.toolforge.org/topic/", ?value_) AS ?valueUrl) | BIND(CONCAT("https://scholia.toolforge.org/topic/", ?value_) AS ?valueUrl) | ||
} | } | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | ||
} | } | ||
}} | ORDER BY ?order}} | ||
== Affects == | == Affects == |