Main Page: Difference between revisions

Jump to navigation Jump to search
Line 204: Line 204:


== Cradle queries ==
== Cradle queries ==
=== Reports ===
<pre>
<pre>
PREFIX dreams: <https://dreams.wikibase.cloud/entity/>
PREFIX dreams: <https://dreams.wikibase.cloud/entity/>
Line 212: Line 213:
WHERE {
WHERE {
   ?report dreamst:P2 dreams:Q4 .
   ?report dreamst:P2 dreams:Q4 .
  BIND(SUBSTR(STR(?report), 38) AS ?q)
  BIND(1 AS ?dummy)
}
GROUP BY ?dummy
</pre>
=== Significance types ===
<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:Q177 .
   BIND(SUBSTR(STR(?report), 38) AS ?q)
   BIND(SUBSTR(STR(?report), 38) AS ?q)
   BIND(1 AS ?dummy)
   BIND(1 AS ?dummy)

Navigation menu