(2011-dbpedia-train-1)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri ?string
WHERE 
{
        {
          ?uri rdf:type yago:PresidentsOfTheUnitedStates.         
        }
        UNION
        { 
          ?uri rdf:type onto:President.
          ?uri prop:title res:President_of_the_United_States.
        }
        OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
}
Distinct things that are Presidents and that have President of the United States as a title or that are presidents of the united states. Show also, if available, these things' English labels.
(2011-dbpedia-train-2)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?uri ?string
WHERE 
{
	?uri rdf:type onto:President .
	?uri onto:orderInOffice '5th President of the United States'@en .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Presidents that have an English order in office "5th President of the United States". Show also, if available, these presidents' English labels.
(2011-dbpedia-train-3)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT ?uri ?string
WHERE 
{
	?uri rdf:type yago:FemaleHeadsOfGovernment.
        ?uri prop:office ?office .
        FILTER regex(?office, 'Chancellor of Germany').        
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Female heads of government that have an office that match the expression /Chancellor of Germany/. Show also, if available, these female heads of government's English labels.
(2011-dbpedia-train-4)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri ?string
WHERE 
{
      ?person rdfs:label 'Tom Hanks'@en .
      ?person prop:spouse ?string .
      OPTIONAL { ?uri rdfs:label ?string . }
}
Distinct spouses that are spouses of things that have the English label "Tom Hanks". Show also, if available, the spouses these things are labels of.
(2011-dbpedia-train-5)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri ?string
WHERE 
{
      ?uri rdf:type onto:Person .
      ?uri onto:birthPlace ?city .
      ?city rdfs:label 'Heraklion'@en
      OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct people that have birth places that have the English label "Heraklion". Show also, if available, these people's English labels.
(2011-dbpedia-train-6)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res:  <http://dbpedia.org/resource/>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri ?string
WHERE
{
  ?uri rdf:type onto:Actor .
  {   
      ?uri onto:birthPlace res:Germany .
  }
  UNION 
  {
      ?uri onto:birthPlace ?city .
      ?city rdf:type yago:StatesOfGermany . 
  }
  OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct actors that have the birth place Germany or that have birth places that are stateses of germany. Show also, if available, these actors' English labels.
(2011-dbpedia-train-7)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto:  <http://dbpedia.org/ontology/>
PREFIX res:  <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT ?uri ?string
WHERE
{ 
	?uri  rdf:type onto:Company  .
	?uri prop:industry res:Aerospace .
        ?uri prop:industry res:Nuclear_reactor_technology .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Companies that have Nuclear reactor technology as an industry and that have Aerospace as an industry. Show also, if available, these companies' English labels.
(2011-dbpedia-train-8)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?uri rdf:type foaf:Person.       
        ?uri foaf:givenName 'Jimmy'@en   .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct people that have the English given name "Jimmy". Show also, if available, these people's English labels.
(2011-dbpedia-train-9)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?subject rdf:type onto:Software .
      	?subject rdfs:label 'World of Warcraft'@en .
	?subject onto:developer ?uri . 
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Developers of software that have the English label "World of Warcraft". Show also, if available, these developers' English labels.
(2011-dbpedia-train-10)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?person rdf:type onto:President .
	?person foaf:surname 'Lincoln'@en .
	?person onto:spouse ?uri.
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Spouses of presidents that have an English surname "Lincoln". Show also, if available, these spouses' English labels.
(2011-dbpedia-train-12)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri ?string
WHERE
{ 
	?uri  rdf:type onto:Cave  .
        ?uri onto:numberOfEntrances ?entrance .
        FILTER (?entrance > 3) .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Caves that have numbers of entrances > 3. Show also, if available, these caves' English labels.
(2011-dbpedia-train-13)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri ?string
WHERE 
{ 
	?uri rdf:type onto:City.
      { ?uri prop:population ?population. } 
        UNION 
      { ?uri prop:populationUrban ?population. }
	FILTER (xsd:integer(?population) > 2000000) .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct cities that have population urbans > 2000000 or that have a population > 2000000. Show also, if available, these cities' English labels.
(2011-dbpedia-train-14)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?orga rdf:type onto:Organisation .
	?orga onto:keyPerson ?uri .
	?orga rdfs:label 'Aldi'@en .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
        FILTER (lang(?string) = 'en') 
}
Things that are organisation key people of things that have the English label "Aldi". Show also, if available, these things' English labels.
(2011-dbpedia-train-15)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT ?uri ?string
WHERE 
{
	?uri rdf:type yago:CapitalsInEurope .
        ?uri rdf:type yago:HostCitiesOfTheSummerOlympicGames .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } 
}
Things that are host cities of the summer olympic games as well as capitals in europe. Show also, if available, these things' (that are host cities of the summer olympic games as well as capitals in europe) English labels.
(2011-dbpedia-train-16)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX resource: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri ?string
WHERE
{ 
   ?uri onto:league resource:Premier_League . 
   OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct things that have Premier League as a league. Show also, if available, these things' English labels.
(2011-dbpedia-train-17)
PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?string
WHERE 
{ 
  res:GIMP prop:programmingLanguage ?string .
}
Things that are programming languages of GIMP.
(2011-dbpedia-train-19)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri ?string
WHERE 
{
      { ?uri rdf:type foaf:Person.        
        ?uri foaf:givenName 'Dana'@en. }
      UNION 
      { ?uri prop:alias ?alias . 
        FILTER regex(?alias,'Dana') . }
       OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }       
}
Distinct things that have aliases that match the expression /Dana/ or that have the English given name "Dana" and that are People. Show also, if available, these things' English labels.
(2011-dbpedia-train-20)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX prop: <http://dbpedia.org/property/>
SELECT ?string
WHERE 
{
	?dog rdfs:label 'Airedale Terrier'@en .
        ?dog prop:country ?string      
}
Countries of things that have the English label "Airedale Terrier".
(2011-dbpedia-train-21)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri ?string
WHERE
{ 
	?uri  rdf:type onto:Mountain  .
        ?uri onto:elevation ?elevation .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
} ORDER BY DESC(?elevation) LIMIT 1
The mountain that has the highest elevation value. Show also, if available, that mountain's English labels.
(2011-dbpedia-train-22)
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?uri rdf:type yago:BirdsOfTheUnitedStates.
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct birds of the united states. Show also, if available, these birds of the united states' English labels.
(2011-dbpedia-train-23)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri ?string
WHERE
{ 
	?uri rdf:type yago:SchoolTypes .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct school types. Show also, if available, these school types' English labels.
(2011-dbpedia-train-24)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Organisation .
        ?uri prop:foundation ?date .
        FILTER regex(?date,'^1950') .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct organisations that have a foundation that match the expression /^1950/. Show also, if available, these organisations' English labels.
(2011-dbpedia-train-25)
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?uri ?string
WHERE 
{
	?dbpedia rdf:type onto:Software .
        ?dbpedia onto:genre ?uri .
        ?dbpedia rdfs:label 'DBpedia'@en .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } 
}
Genres of software that have the English label "DBpedia". Show also, if available, these genres' English labels.
(2011-dbpedia-train-26)
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?date
WHERE 
{
	?website rdf:type onto:Software .
        ?website onto:releaseDate ?date .
        ?website rdfs:label 'DBpedia'@en   
}
Things that are software release dates of things that have the English label "DBpedia".
(2011-dbpedia-train-27)
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?uri ?string
WHERE 
{
	?website rdf:type onto:Website .
        ?website onto:author ?uri .
        ?website rdfs:label 'English Wikipedia'@en .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Authors of websites that have the English label "English Wikipedia". Show also, if available, these authors' English labels.
(2011-dbpedia-train-28)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri ?string
WHERE
{ 
	?uri rdf:type onto:Organisation .
        ?uri onto:location res:California .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct organisations that have State of California as a location. Show also, if available, these organisations' English labels.
(2011-dbpedia-train-29)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?uri
WHERE
{ 
	?subject  rdfs:label 'Tom Hanks'@en .
        ?subject foaf:homepage ?uri
}
Homepages of things that have the English label "Tom Hanks".
(2011-dbpedia-train-30)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT COUNT(?film)
WHERE 
{
	?film rdf:type onto:Film .
        ?film onto:starring ?actors .
        ?actors foaf:name 'Leonardo DiCaprio'@en .
}
Number of films starring things that have the English name "Leonardo DiCaprio".
(2011-dbpedia-train-31)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?film rdf:type onto:Film .
        ?film onto:producer ?uri .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
} ORDER BY DESC(COUNT(?film)) LIMIT 1
The producer of the highest number of films. Show also, if available, that producer's English labels.
(2011-dbpedia-train-32)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
ASK
WHERE 
{
	?film rdf:type onto:Film .
        ?film onto:starring ?actors .
        ?actors rdfs:label 'Christian Bale'@en .
        ?film foaf:name 'Batman Begins'@en
}
Is it true that there is a film that has the English name "Batman Begins" and that is starring a thing that has the English label "Christian Bale"?
(2011-dbpedia-train-33)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?single rdf:type onto:Single .
        ?single onto:album ?uri .
        ?single foaf:name 'Last Christmas'@en .
        OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct albums that are albums of singles that have the English name "Last Christmas". Show also, if available, these albums' English labels.
(2011-dbpedia-train-34)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Film .
        ?uri onto:producer ?producer .
        ?producer rdfs:label 'Hal Roach'@en .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct films that have a producer that have the English label "Hal Roach". Show also, if available, these films' English labels.
(2011-dbpedia-train-35)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?film rdf:type onto:Film .
        ?film onto:starring ?uri .
        ?film foaf:name 'Batman Begins'@en .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } 
}
Things that starr in films that have the English name "Batman Begins". Show also, if available, these things' English labels.
(2011-dbpedia-train-36)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Film.
	{ ?uri prop:starring res:Tom_Cruise . }
        UNION
        { ?uri onto:starring res:Tom_Cruise . }
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct films starring Tom Cruise. Show also, if available, these films' English labels.
(2011-dbpedia-train-37)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?uri ?string
WHERE
{
	?uri onto:series res:The_Sopranos  .
        ?uri onto:seasonNumber 1 .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Things that have The Sopranos as a series and that have the season number "1". Show also, if available, these things' English labels.
(2011-dbpedia-train-38)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Book .
        ?uri onto:author ?author .
        ?author foaf:name 'Danielle Steel'@en .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Books that have an author that have the English name "Danielle Steel". Show also, if available, these books' English labels.
(2011-dbpedia-train-39)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri ?string
WHERE 
{
	?books rdf:type onto:Book .
        ?books onto:author ?uri .
        ?books rdfs:label 'The Pillars of the Earth'@en .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Authors of books that have the English label "The Pillars of the Earth". Show also, if available, these authors' English labels.
(2011-dbpedia-train-40)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Mountain .
        ?acon rdfs:label 'Nanga Parbat'@en .
        ?acon prop:elevationM ?elevation .
        ?uri prop:elevationM ?allelevation .
        FILTER (?allelevation > ?elevation) .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
This query cannot be verbalized due to an unsupported feature: VV_FILTER
(2011-dbpedia-train-41)
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT ?date
WHERE 
{
     res:Capcom prop:foundation ?date .
}
Things that are foundations of Capcom.
(2011-dbpedia-train-42)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX res:  <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Software .
      { ?uri prop:publisher 'Mean Hamster Software'@en . }
      UNION 
      { ?uri onto:publisher res:Mean_Hamster_Software . }
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct software that have an English publisher "Mean Hamster Software" or that have Mean Hamster Software as a publisher. Show also, if available, these software's English labels.
(2011-dbpedia-train-43)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK
WHERE 
{
	?software rdf:type onto:Software .
        ?software rdfs:label ?name .
        FILTER (regex(?name, 'Battle Chess'))
}
Is it true that there is a software that has a label that matches the expression /Battle Chess/?
(2011-dbpedia-train-44)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?uri ?string
WHERE
{ 
	?company rdf:type onto:Organisation  .
        ?company onto:foundationPlace res:California .
        ?uri onto:developer ?company .
        ?uri rdf:type onto:Software .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Software that have a developer which is a organisation that have the foundation place State of California. Show also, if available, these software's English labels.
(2011-dbpedia-train-45)
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?uri ?string
WHERE
{ 
	?uri  rdf:type onto:Country  .
        ?uri onto:language ?language .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en')}		     
} ORDER BY DESC(count(?language)) LIMIT 1
The country that has the most languages. Show also, if available, that country's English labels.
(2011-dbpedia-train-46)
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri ?string
WHERE 
{ 
	?uri rdf:type yago:CapitalsInEurope.
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Capitals in europe. Show also, if available, these capitals in europe's English labels.
(2011-dbpedia-train-47)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
ASK
WHERE 
{ 
	?subject rdf:type onto:Actor.
      	?subject rdfs:label 'Natalie Portman'@en.
}
Is it true that there is a actor that has the English label "Natalie Portman"?
(2011-dbpedia-train-48)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri ?string
WHERE 
{
	?film rdf:type onto:Film .
        ?film onto:starring ?actors .
        ?actors foaf:name 'Natalie Portman'@en .
        ?film onto:producer ?uri .
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct producers that are producers of films starring things that have the English name "Natalie Portman". Show also, if available, these producers' English labels.
(2011-dbpedia-train-49)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?uri ?string
WHERE 
{
	?uri rdf:type onto:Film .
        ?uri onto:starring res:Julia_Roberts .
        ?uri onto:starring res:Richard_Gere.
	OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Films starring Richard Gere and starring Julia Roberts. Show also, if available, these films' English labels.
(2011-dbpedia-train-50)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri 
WHERE 
{
	?subject rdf:type onto:Company .
	?subject prop:numEmployees ?employees .
	FILTER( xsd:integer(?employees) >= 500000 ) .
	?subject foaf:homepage ?uri .
}
Distinct homepages that are homepages of companies that have num employees >= 500000.
(2011-musicbrainz-train-50)
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX ar: <http://musicbrainz.org/ar/ar-1.0#>
SELECT DISTINCT ?name
WHERE {
  ?artist dc:title 'John Lennon' .
  ?artist ar:isParent ?childinstance .
  ?childinstance ar:toArtist ?child .
  ?child dc:title ?name .
}
Distinct things that are Title of things that are to artist of things that are parents of things that have the Title "John Lennon".
(2012-dbpedia-train-11)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string 
WHERE {       
        ?cave rdf:type dbo:Cave . 
        ?cave dbo:location ?uri .
        ?uri rdf:type dbo:Country .
        OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} 
GROUP BY ?uri ?string
HAVING (COUNT(?cave) > 2)
Distinct countries that are locations of caves. Show also, if available, these countries' English labels.
(2012-dbpedia-train-13)
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string
WHERE {
       res:Millipede dbp:classis ?string .
       ?uri rdfs:label ?string .
}
Distinct things that have a label that are classes of Millipede. Show also these things' labels.
(2012-dbpedia-train-19)
PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
ASK 
WHERE {
        res:Egypt dbo:largestCity ?large .
        res:Egypt dbo:capital ?capital .
        FILTER (?large = ?capital)
}
This query cannot be verbalized due to an unsupported feature: VV_FILTER
(2012-dbpedia-train-27)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK 
WHERE {
	res:Andrew_Jackson dbo:battle ?battle .    
}
Is it true that there is a that is a battle of Andrew Jackson?
(2012-dbpedia-train-46)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK 
WHERE {
	res:Frank_Herbert dbo:deathDate ?date .
        FILTER (!BOUND(?date))
}
Is it true that there is no thing that is a death date of Frank Herbert?
(2012-dbpedia-train-66)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK 
WHERE {
	res:Batman_Begins dbo:starring res:Christian_Bale .
}
Is it true that Batman Begins is starring Christian Bale?
(2012-dbpedia-train-68)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res:  <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string 
WHERE {
  ?uri rdf:type dbo:Actor .
  { ?uri dbo:birthPlace res:Germany . }
  UNION 
  { ?uri dbo:birthPlace ?place .
    ?place dbo:country res:Germany . }
  OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct actors that have the birth place Germany or that have birth places that have Germany as a country. Show also, if available, these actors' English labels.
(2012-dbpedia-train-69)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res:  <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string 
WHERE { 
	?uri rdf:type dbo:Cave .
        ?uri dbo:numberOfEntrances ?entrance .
        FILTER (?entrance > 3) .
        OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct caves that have numbers of entrances > 3. Show also, if available, these caves' English labels.
(2012-dbpedia-train-70)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res:  <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string 
WHERE {
	?uri rdf:type dbo:Film .
        ?uri dbo:producer res:Hal_Roach .
	OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct films that have Hal Roach as a producer. Show also, if available, these films' English labels.
(2012-dbpedia-train-71)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res:  <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string 
WHERE {
      ?uri rdf:type dbo:VideoGame .
      { ?uri dbp:publisher 'Mean Hamster Software'@en . }
      UNION 
      { ?uri dbo:publisher res:Mean_Hamster_Software . }
      OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') }
}
Distinct video games that have an English publisher "Mean Hamster Software" or that have Mean Hamster Software as a publisher. Show also, if available, these video games' English labels.