Sparql Ld4pe 4
Sparql Ld4pe 4
69
70
71
Result:
ASK
Yes
72
73
74
ASK QUIZZES
DBpedia SPARQL Endpoint
75
Quiz (1)
Check datatype for instances of foaf:Person to see whether or
76
Answer (1)
ASK WHERE
{
?i a foaf:Person.
FILTER ((isURI(?i)))
}
77
Quiz (2)
Check datatype for whether or not the birthdates of the actors
78
Answer (2)
ASK WHERE
{
<http://DBpedia.org/resource/Jurassic_Park> dbo:starring ?
actor.
?actor dbo:birthDate ?birthdate.
FILTER ((datatype(?birthdate))=xsd:date)
}
79
Quiz (3)
Check datatype see whether or not all of the dbo:birthDate
80
Answer (3)
ask
where {
?s dbo:birthDate ?date.
filter (datatype(?date) != xsd:date)
}
81
Quiz (4)
Check datatype to see whether or not all of the dbo:birthPlace
82
Answer (4)
ASK WHERE
{
?i dbo:birthPlace ?Place.
FILTER(!(isURI(?Place)))
}