Monday, August 16, 2010

All Simpson's Blackboard gags - With Season Title

DISPLAY THE SEASON LABEL







THE QUERY DIAGRAM


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
     .
}
Show results

PICK UP THE SEASON TITLE

12)?season
13) <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