Fix short query 4
@@ -8,9 +8,13 @@ PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dbpedia: <http://dbpedia.org/resource/>
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
-select ?con ?image (?dt - xsd:dateTime("1970-01-01T00:00:00.000+00:00")) * 1000 as ?date
-where {
- ?post snvoc:id %Id% .
- { {?post snvoc:content ?con } union { ?post snvoc:imageFile ?image }} .
- ?post snvoc:creationDate ?dt .
+SELECT
+ ?content
+ ?creationDate
+WHERE
+{
+ BIND( "$messageId"^^xsd:long AS ?messageId )
+ ?message snvoc:id ?messageId .
+ ?message snvoc:creationDate ?creationDate .
+ ?message snvoc:content|snvoc:imageFile ?content .
}
