# Query name : query2.3
# Query Type: 2, Modern single-version structured query
# Query Description :
# Retreive all creative works, of a specific type from the current version, that are tagged with a topic and order
# them by creation date. The size of the resultset is limited by a random number between 5 and 20.
# Query Answering Choke Points :
# - Optimizer could consider the possibility to choose a query plan that would facilitate the ordering (ORDER BY) of result
PREFIX cwork:
SELECT DISTINCT ?creativeWork
FROM
WHERE {
?creativeWork cwork:about ;
cwork:dateCreated ?created ;
cwork:primaryFormat cwork:TextualFormat ;
a cwork:NewsItem .
}
ORDER BY DESC(?created)
LIMIT 5