Main Page: Difference between revisions
Jump to navigation
Jump to search
Line 202: | Line 202: | ||
[https://dreams.wikibase.cloud/query/#PREFIX%20dreams%3A%20%3Chttps%3A%2F%2Fdreams.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20dreamst%3A%20%3Chttps%3A%2F%2Fdreams.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%0A%20%20%3Fyear%0A%20%20%3Fpages%0A%20%20%3Freport%20%3FreportLabel%0AWHERE%20%7B%0A%20%20%3Freport%20dreamst%3AP2%20dreams%3AQ4%20%3B%0A%20%20%20%20%20%20%20%20%20%20dreamst%3AP27%20%3Fpages%20%3B%0A%20%20%20%20%20%20%20%20%20%20dreamst%3AP6%20%3Fpublication_datetime%20.%0A%20%20BIND%28STR%28YEAR%28%3Fpublication_datetime%29%29%20AS%20%3Fyear%29%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AORDER%20BY%20%3Fyear Quotes] | [https://dreams.wikibase.cloud/query/#PREFIX%20dreams%3A%20%3Chttps%3A%2F%2Fdreams.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20dreamst%3A%20%3Chttps%3A%2F%2Fdreams.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%0A%20%20%3Fyear%0A%20%20%3Fpages%0A%20%20%3Freport%20%3FreportLabel%0AWHERE%20%7B%0A%20%20%3Freport%20dreamst%3AP2%20dreams%3AQ4%20%3B%0A%20%20%20%20%20%20%20%20%20%20dreamst%3AP27%20%3Fpages%20%3B%0A%20%20%20%20%20%20%20%20%20%20dreamst%3AP6%20%3Fpublication_datetime%20.%0A%20%20BIND%28STR%28YEAR%28%3Fpublication_datetime%29%29%20AS%20%3Fyear%29%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AORDER%20BY%20%3Fyear Quotes] | ||
== Cradle queries == | |||
<pre> | |||
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> | |||
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> | |||
SELECT | |||
(GROUP_CONCAT(?q; separator=",") AS ?reports) | |||
WHERE { | |||
?report dreamst:P2 dreams:Q4 . | |||
BIND(SUBSTR(STR(?report), 38) AS ?q) | |||
BIND(1 AS ?dummy) | |||
} | |||
GROUP BY ?dummy | |||
</pre> |
Revision as of 20:36, 9 September 2022
Items
Dokuments
- Nye vindmøller og solceller ved Veddum Kær
- Udvidelse af det Nationale Testcenter for Vindmøller i Østerild
- Opgradering af rostadion på Bagsværd Sø
- Miljøkonsekvensrapport Baltic Pipe. Gasrørledning i Nordsøen
Projects
Effect patterns
- direction boring at Viking Link
- boremudder opsugning ved Viking Link
- Viking link underboring under klitter
Ontology
Items
Properties
Queries
- Endpoint: https://dreams.wikibase.cloud/query/
- All items and properties: [1] tinyurl.com/2pocudcq
- [tinyurl.com/yhvzw8p7 Geographical map]
Subclass graph
#defaultView:Graph PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?concept2 ?concept2Label ?concept1 ?concept1Label { ?concept2 dreamst:P10 ?concept1 . SERVICE wikibase:label { bd:serviceParam wikibase:language "en,da". } }
Graph example
#defaultView:Map PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?report ?reportLabel ?location ?locationLabel ?geo { ?report dreamst:P12 ?location . ?location dreamst:P13 ?geo SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } }
Sustainable Development Goals
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?sdg ?sdgLabel { ?sdg dreamst:P2 dreams:Q22 . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Impact graph from ontology
#defaultView:Graph PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?concept2 ?concept2Label ?concept1 ?concept1Label { ?concept2 dreamst:P14 ?concept1 . { BIND (dreams:Q49 AS ?concept1) } UNION { ?concept1 dreamst:P14+ dreams:Q49 . ?concept2 dreamst:P14+ dreams:Q49 . } SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } }
Subactivities ontology
#defaultView:Graph PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?concept1 ?concept1Label ?rgb ?concept2 ?concept2Label { ?concept1 dreamst:P14 ?concept2 . { BIND (dreams:Q106 AS ?concept2) } UNION { ?concept1 dreamst:P14+ dreams:Q106 . } OPTIONAL { ?concept1 dreamst:P19 ?project_phase1 . BIND( IF(?project_phase1 = dreams:Q97, "3182BD", "E6550D") AS ?rgb) } SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } }
Effect graph
#defaultView:Graph PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?subactivity ?subactivityLabel ?rgb ?impact ?impactLabel { BIND( IF(EXISTS { ?subactivity dreamst:P14+ dreams:Q106 }, "3182BD", "E6550D") AS ?rgb) # ?impact dreamst:P14+ dreams:Q49 . ?subactivity dreamst:P9 ?impact . SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } }
Project types
#defaultView:Graph PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?project1 ?project1Label ?project2 ?project2Label WHERE { { ?project1 dreamst:P14+ dreams:Q91 . ?project2 dreamst:P14+ dreams:Q91 } UNION { BIND(dreams:Q91 AS ?project1) } ?project2 dreamst:P14 ?project1 . SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } }
Effect patterns subject-object graph
#defaultView:Graph PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?subject ?subjectLabel ?object ?objectLabel WHERE { [] dreamst:P2 dreams:Q263 ; dreamst:P33 ?subject ; dreamst:P34 ?object . SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } }
Quotes
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT DISTINCT ?pattern ?quote WHERE { ?pattern dreamst:P18 ?quote . }
Number of pages through time
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?year ?pages ?report ?reportLabel WHERE { ?report dreamst:P2 dreams:Q4 ; dreamst:P27 ?pages ; dreamst:P6 ?publication_datetime . BIND(STR(YEAR(?publication_datetime)) AS ?year) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?year
Cradle queries
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT (GROUP_CONCAT(?q; separator=",") AS ?reports) WHERE { ?report dreamst:P2 dreams:Q4 . BIND(SUBSTR(STR(?report), 38) AS ?q) BIND(1 AS ?dummy) } GROUP BY ?dummy