Dreams:report-index: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
?report | ?report | ||
?title | ?title | ||
?id | |||
?url | |||
WHERE { | WHERE { | ||
?report dreamst:P2 / dreamst:P10* dreams:Q8 . | ?report dreamst:P2 / dreamst:P10* dreams:Q8 . | ||
Line 16: | Line 18: | ||
OPTIONAL { | OPTIONAL { | ||
?report dreamst:P6 ?publication_datetime . | ?report dreamst:P6 ?publication_datetime . | ||
} | |||
OPTIONAL { | |||
?report dreamst:P40 ?id . | |||
BIND(IRI(CONCAT("https://daieproddreamspdfsto.blob.core.windows.net/files/", STR(?id))) AS ?url) | |||
} | } | ||
} | } | ||
ORDER BY ?publication_datetime | ORDER BY ?publication_datetime | ||
}} | }} |
Revision as of 11:00, 4 August 2022
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?publication_datetime ?report ?title ?id ?url WHERE { ?report dreamst:P2 / dreamst:P10* dreams:Q8 . OPTIONAL { ?report dreamst:P1 ?title . } OPTIONAL { ?report dreamst:P6 ?publication_datetime . } OPTIONAL { ?report dreamst:P40 ?id . BIND(IRI(CONCAT("https://daieproddreamspdfsto.blob.core.windows.net/files/", STR(?id))) AS ?url) } } ORDER BY ?publication_datetime