Main Page: Difference between revisions

Jump to navigation Jump to search
Line 133: Line 133:


[https://dreams.wikibase.cloud/query/index.html#%23defaultView%3AGraph%0APREFIX%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%0A%20%20%3Fproject1%20%3Fproject1Label%0A%20%20%3Fproject2%20%3Fproject2Label%0AWHERE%20%7B%0A%20%20%7B%20%3Fproject1%20dreamst%3AP14%2B%20dreams%3AQ91%20.%0A%20%20%20%20%3Fproject2%20dreamst%3AP14%2B%20dreams%3AQ91%20%7D%0A%20%20UNION%0A%20%20%7B%20BIND%28dreams%3AQ91%20AS%20%3Fproject1%29%20%7D%0A%20%20%3Fproject2%20dreamst%3AP14%20%3Fproject1%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22da%2Cen%22.%20%7D%0A%7D%0A Query]
[https://dreams.wikibase.cloud/query/index.html#%23defaultView%3AGraph%0APREFIX%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%0A%20%20%3Fproject1%20%3Fproject1Label%0A%20%20%3Fproject2%20%3Fproject2Label%0AWHERE%20%7B%0A%20%20%7B%20%3Fproject1%20dreamst%3AP14%2B%20dreams%3AQ91%20.%0A%20%20%20%20%3Fproject2%20dreamst%3AP14%2B%20dreams%3AQ91%20%7D%0A%20%20UNION%0A%20%20%7B%20BIND%28dreams%3AQ91%20AS%20%3Fproject1%29%20%7D%0A%20%20%3Fproject2%20dreamst%3AP14%20%3Fproject1%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22da%2Cen%22.%20%7D%0A%7D%0A Query]
== Effect patterns subject-object graph ==
<pre>
#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". }
}
</pre>
[https://dreams.wikibase.cloud/query/index.html#%23defaultView%3AGraph%0APREFIX%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%0A%20%20%3Fsubject%20%3FsubjectLabel%0A%20%20%3Fobject%20%3FobjectLabel%0AWHERE%20%7B%0A%20%20%5B%5D%20dreamst%3AP2%20dreams%3AQ263%20%3B%0A%20%20%20%20%20dreamst%3AP33%20%3Fsubject%20%3B%0A%20%20%20%20%20dreamst%3AP34%20%3Fobject%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22da%2Cen%22.%20%7D%0A%7D%0A Query]

Navigation menu