Main Page: Difference between revisions

Line 238: Line 238:


SELECT
SELECT
   (COUNT(?pattern) AS ?count) ?object_text
   (COUNT(?pattern) AS ?count) ?text
WHERE {
WHERE {


     ?pattern dreamst:P2 dreams:Q263 .
     ?pattern dreamst:P2 dreams:Q263 .
     ?pattern dreamst:P47 ?object_text .
     ?pattern dreamst:P47 ?text .
     MINUS { ?pattern dreamst:P33 [] }
     MINUS { ?pattern dreamst:P33 [] }
}   
}   
GROUP BY ?object_text
GROUP BY ?text
ORDER BY DESC(?count)  
ORDER BY DESC(?count)  
</pre>
</pre>