Main Page: Difference between revisions

Line 242: Line 242:
     ?pattern dreamst:P47 ?text .
     ?pattern dreamst:P47 ?text .
     MINUS { ?pattern dreamst:P33 [] }
     MINUS { ?pattern dreamst:P33 [] }
GROUP BY ?text
ORDER BY DESC(?count)
</pre>
=== Object text count ===
<pre>
PREFIX dreams: <https://dreams.wikibase.cloud/entity/>
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/>
SELECT
  (COUNT(?pattern) AS ?count) ?text
WHERE {
    ?pattern dreamst:P2 dreams:Q263 .
    ?pattern dreamst:P49 ?text .
    MINUS { ?pattern dreamst:P34 [] }
}   
}   
GROUP BY ?text
GROUP BY ?text