DISPLAY THE SEASON LABEL
- Looking at the dbpedia page The Simpsons episodes Season 12, we see it has a user-friendly label, The Simpson episodes, season 12.
THE SPARQL QUERY - WITH THE SEASON TITLE
SELECT distinct ?season_title,?episode,?chalkboard_gag
WHERE
{
?episode
<http://www.w3.org/2004/02/skos/core#subject>
?season
.
?episode
<http://dbpedia.org/property/blackboard>
?chalkboard_gag
.
?season
<http://www.w3.org/2000/01/rdf-schema#label>
?season_title
.
}
PICK UP THE SEASON TITLE
12)?season13) <http://www.w3.org/2000/01/rdf-schema#label>
14) ?season_title
15).
Line 12) For each season Line 13) return the it's user-friendly label Line 14) and call it ?season_title.

No comments:
Post a Comment