PREFIX xsd: PREFIX snvoc: PREFIX sn: PREFIX dbpedia-owl: PREFIX dbpedia: PREFIX foaf: PREFIX rdfs: select ?author ?fname ?lname ?post ?content #Q13 (((?datetime - xsd:dateTime("1970-01-01T00:00:00.000+00:00")) * 1000) as ?creationDate) where { sn:pers00000028587302325639 snvoc:knows ?fr . ?post snvoc:mentions ?fr . ?post snvoc:hasCreator ?author . ?post snvoc:creationDate ?datetime . filter (?datetime >= "2012-08-24T00:00:00.000+00:00"^^xsd:dateTime) . { {?post snvoc:content ?content } union { ?post snvoc:imageFile ?content } union { ?post snvoc:gifFile ?content }} . optional { ?author snvoc:firstName ?fname } . optional { ?author snvoc:lastName ?lname } . } order by desc (?datetime) ?post limit 20