PREFIX foaf:
PREFIX time:
PREFIX geo:
PREFIX rdfs:
PREFIX lpviz:
ASK {
?agent foaf:name ?agentName ;
foaf:made ?thing .
{
?thing ?hasTemporalAbstraction ?instant .
?instant time:inXSDDateTime ?dt .
OPTIONAL {
?instant rdfs:label ?instantLabel .
}
} UNION {
?thing ?hasTemporalAbstraction ?interval .
?interval time:hasBeginning ?beginning ;
time:hasEnd ?end .
OPTIONAL {
?interval rdfs:label ?intervalLabel .
}
?beginning time:inXSDDateTime ?dtb .
?end time:inXSDDateTime ?dte .
} UNION {
?thing ?hasGeoAbstraction ?place .
?place geo:location ?geo .
OPTIONAL {
?place rdfs:label ?placeLabel .
}
?geo a geo:SpatialThing ;
geo:long ?long ;
geo:lat ?lat .
}
}