Research Article
Seamless Integration of RESTful Services into the Web of Data
Listing 2
SPARQL query to find Lady Gaga’s identifier in DBpedia.
1 PREFIX foaf: <http://xmlns.com/foaf/0.1/> | 2 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | 3 PREFIX dbpprop: <http://dbpedia.org/property/> | | 4 SELECT ?s | 5 WHERE
{
| 6 ?s foaf:name ?name; | 7 dbpprop:birthDate ?dob. | 8 FILTER(str(?name) = "Lady Gaga"). | 9 FILTER(str(?dob) = "1986-03-28")
}
|
|