Here is my query:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> select ?player ?team { values ?player { dbr:Eden_Hazard } ?player dbp:currentclub ?team . }
In words, the query returns the current football club of Eden Hazard. However, ?team is actually a link to http://dbpedia.org/resource/Chelsea_F.C.
Now I would like go on this page and get dbp:fullname so that I can return ?team as the string "Chelsea Football Club". The idea is something like:
values ?club { <team_link> } ?club dbp:fullname ?team .
If I put the code in the original query it results in an empty table.
What is the correct way to get dbp:fullname of ?team?
via Dido Petrow
No comments:
Post a Comment