Question: Which politicians were married to a German?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Politician ; dbo:spouse ?spouse { ?spouse dbo:birthPlace dbr:Germany } UNION { ?spouse dbo:birthPlace ?p . ?p dbo:country dbr:Germany } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sahra_Wagenknecht"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Karl_Carstens"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gesine_Schwan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Richard_von_Weizs\u00e4cker"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Erich_Honecker"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Johannes_Rau"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Duke_Adolf_Friedrich_of_Mecklenburg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Florence_Prag_Kahn"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Walter_Ulbricht"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Otto_of_Stolberg-Wernigerode"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Isidor_Straus"}}]}}]


Question: How big is the earth's diameter?

PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ( ( xsd:double ( ?radius ) * 2 ) AS ?diameter ) WHERE { dbr:Earth dbo:meanRadius ?radius }

Answer: [{"head": {"vars": ["c"]}, "results": {"bindings": [{"c": {"type": "literal", "value": "1.2742e+07"}}]}}]


Question: Is the wife of President Obama called Michelle?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> ASK WHERE { dbr:Barack_Obama dbo:spouse ?spouse . ?spouse rdfs:label ?name FILTER regex ( ?name , "Michelle" ) }

Answer: [{"head": {}, "results": {}, "boolean": true}]


Question: Which U.S. state has the abbreviation MN?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri a yago:WikicatStatesOfTheUnitedStates ; dbp:postalabbreviation "MN" ^^ rdf:langString }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Minnesota"}}]}}]


Question: When did Muhammad die?

PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ( xsd:date ( ?date ) AS ?answer ) WHERE { dbr:Muhammad dbo:deathDate ?date }

Answer: [{"head": {"vars": ["date"]}, "results": {"bindings": [{"date": {"type": "literal", "value": "0632-06-08"}}]}}]


Question: What is the atmosphere of the Moon composed of?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Moon dbp:atmosphereComposition ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Helium"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Neon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Potassium"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Radon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sodium"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Argon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hydrogen"}}]}}]


Question: Who is the governor of Texas?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { dbr:Texas dbp:governor ?string }

Answer: [{"head": {"vars": ["string"]}, "results": {"bindings": [{"string": {"type": "literal", "value": "Greg Abbott"}}]}}]


Question: Which movies did Kurosawa direct?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?uri WHERE { ?uri rdf:type dbo:Film ; dbo:director dbr:Akira_Kurosawa }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Idiot_(1951_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dreams_(1990_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Bad_Sleep_Well"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Hidden_Fortress"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Throne_of_Blood"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Drunken_Angel"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kagemusha"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dersu_Uzala_(1975_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rhapsody_in_August"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sanshiro_Sugata"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seven_Samurai"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sanjuro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sanshiro_Sugata_Part_II"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Scandal_(1950_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/One_Wonderful_Sunday"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Most_Beautiful"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Quiet_Duel"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Madadayo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/High_and_Low_(1963_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ikiru"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Those_Who_Make_Tomorrow"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dodes'ka-den"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Red_Beard"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rashomon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yojimbo_(film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Stray_Dog_(film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Horse_(1941_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/No_Regrets_for_Our_Youth"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Lower_Depths_(1957_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ran_(film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Men_Who_Tread_on_the_Tiger's_Tail"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/I_Live_in_Fear"}}]}}]


Question: What was the name of the famous battle in 1836 in San Antonio?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?uri WHERE { ?uri a dbo:MilitaryConflict ; dbo:place dbr:San_Antonio ; dbo:date ?date FILTER ( ?date > "1835-12-31T00:00:00Z" ^^ xsd:dateTime ) FILTER ( ?date <= "1836-12-31T00:00:00Z" ^^ xsd:dateTime ) }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Battle_of_the_Alamo"}}]}}]


Question: Give me the official websites of actors of the television show Charmed.

PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Charmed dbo:starring ?actors . ?actors foaf:homepage ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://www.briankrause.us"}}, {"uri": {"type": "uri", "value": "http://www.alyssa.com"}}]}}]


Question: How many calories does a baguette have?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?n WHERE { dbr:Baguette dbp:calories ?n }

Answer: [{"head": {"vars": ["c"]}, "results": {"bindings": [{"c": {"type": "literal", "value": "263"}}]}}]


Question: Give me all libraries established before 1400.

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Library ; dbp:established ?year FILTER ( ?year < 1400 ) }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nanpura_Parsi_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Austrian_National_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Merton_College_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Library_of_Pergamum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mother_Irene_Gill_Memorial_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Library_of_Ashurbanipal"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cambridge_University_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_and_University_Library_of_the_Republika_Srpska"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Library_of_Alexandria"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Almeida_Garrett_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Heidelberg_University_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Maughan_Library"}}]}}]


Question: Give me all Frisian islands that belong to the Netherlands.

PREFIX dbr: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri rdf:type yago:WikicatFrisianIslands ; dbo:country dbr:Netherlands }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Frisian_Islands"}}]}}]


Question: Which museum exhibits The Scream by Munch?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:The_Scream dbo:museum ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_Gallery_(Norway)"}}]}}]


Question: When was the De Beers company founded?

PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ( xsd:date ( ?date ) AS ?answer ) WHERE { dbr:De_Beers dbo:foundingYear ?date }

Answer: [{"head": {"vars": ["date"]}, "results": {"bindings": [{"date": {"type": "literal", "value": "1888-01-01"}}]}}]


Question: Who became president after JFK died?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:John_F._Kennedy dbp:presidentEnd ?x . ?uri dbp:presidentStart ?x ; a dbo:Person . }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lyndon_B._Johnson"}}]}}]


Question: Who are the parents of the wife of Juan Carlos I?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Juan_Carlos_I_of_Spain dbo:spouse ?x . ?x dbo:parent ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Frederika_of_Hanover"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Paul_of_Greece"}}]}}]


Question: Who is the novelist of the work a song of ice and fire?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?Novelist WHERE { dbr:A_Song_of_Ice_and_Fire dbp:author ?Novelist }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/George_R._R._Martin"}}]}}]


Question: In which studio did the Beatles record their first album?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?studio WHERE { ?album dbo:artist dbr:The_Beatles ; rdf:type dbo:Album ; dbo:releaseDate ?date ; dbp:studio ?studio } ORDER BY ASC ( ?date ) LIMIT 1

Answer: [{"head": {"vars": ["string"]}, "results": {"bindings": [{"string": {"type": "literal", "value": "EMI Studios, London"}}]}}]


Question: Which beer brewing companies are located in North-Rhine Westphalia?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dc: <http://purl.org/dc/terms/> SELECT ?company WHERE { ?company dc:subject dbc:Companies_based_in_North_Rhine-Westphalia ; rdf:type dbo:Brewery }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Veltins"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Krombacher_Brauerei"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Diebels"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Warsteiner"}}]}}]


Question: When did princess Diana die?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ( xsd:date ( ?d ) AS ?answer ) WHERE { <http://dbpedia.org/resource/Diana,_Princess_of_Wales> dbo:deathDate ?d }

Answer: [{"head": {"vars": ["date"]}, "results": {"bindings": [{"date": {"type": "literal", "value": "1997-08-31"}}]}}]


Question: Who founded Intel?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Intel dbp:founders ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_Noyce"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gordon_Moore"}}]}}]


Question: Who is the youngest player in the Premier League?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:team ?team . ?league dbo:league dbr:Premier_League . ?league dbo:team ?team . ?uri dbo:birthDate ?date } ORDER BY DESC ( ?date ) LIMIT 1

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ernie_Pinkney"}}]}}]


Question: Which instruments does Cat Stevens play?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Cat_Stevens dbo:instrument ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Baldwin_Piano_Company"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gibson_ES-335"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mandolin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mellotron"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Epiphone_Casino"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fender_Telecaster"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gibson_Everly_Brothers_Flattop"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rhodes_piano"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gibson_J-200"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ovation_Guitar_Company"}}]}}]


Question: How many rivers and lakes are in South Carolina?

PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dc: <http://purl.org/dc/terms/> SELECT ( COUNT ( DISTINCT ?uri ) AS ?count ) WHERE { { ?uri dbo:location dbr:South_Carolina ; rdf:type dbo:Lake } UNION { ?uri dc:subject dbc:Rivers_and_streams_of_South_Carolina } }

Answer: [{"head": {"vars": ["c"]}, "results": {"bindings": [{"c": {"type": "literal", "value": "15"}}]}}]


Question: Who was called Rodzilla?

PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?uri WHERE { ?uri foaf:nick "Rodzilla" @en }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rodney_Blake"}}]}}]


Question: Give me the capitals of all countries in Africa.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dc: <http://purl.org/dc/terms/> SELECT DISTINCT ?uri WHERE { ?country dc:subject dbc:Countries_in_Africa ; dbo:capital ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ouagadougou"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mbabane"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kigali"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bissau"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Juba"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Khartoum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Addis_Ababa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Libreville"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lilongwe"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nairobi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Djibouti_(city)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lom\u00e9"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Freetown"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Maseru"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bujumbura"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Malabo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bangui"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mogadishu"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dakar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Laayoune"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tunis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Harare"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Accra"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Brazzaville"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lusaka"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/S\u00e3o_Tom\u00e9"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rabat"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cape_Town"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Conakry"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Asmara"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yaound\u00e9"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tifariti"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Monrovia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Niamey"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yamoussoukro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bloemfontein"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lobamba"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Porto-Novo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Victoria,_Seychelles"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Abidjan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cairo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tripoli"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/N'Djamena"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bamako"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Antananarivo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Maputo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Luanda"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Moroni,_Comoros"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Praia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kinshasa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pretoria"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Abuja"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Algiers"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nouakchott"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Windhoek"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hargeisa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Banjul"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dodoma"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Port_Louis"}}]}}]


Question: Which bridges are of the same type as the Manhattan Bridge?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?bridge WHERE { dbr:Manhattan_Bridge dbo:type ?type . ?bridge dbo:type ?type ; rdf:type dbo:Bridge }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Claiborne_Pell_Newport_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Xihoumen_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u00cele_d'Orl\u00e9ans_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yichang_Yangtze_River_Highway_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Chain_Bridge_(Budapest)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Forth_Road_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tajik\u2013Afghan_bridge_at_Tem-Demogan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Beipan_River_Guanxing_Highway_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Liede_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ask\u00f8y_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yangmingtan_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hammersmith_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Simon_Kenton_Memorial_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fatih_Sultan_Mehmet_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fort_Steuben_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bear_Mountain_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Arapuni_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Malacca_Strait_Bridge__Malacca_Strait_Bridge__1"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Millennium_Bridge,_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Two_Cent_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Thousand_Islands_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Market_Street_Bridge_(Steubenville)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lokkaren_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Daly's_bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fort_Edmonton_Footbridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hal_W._Adams_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Albert_Bridge,_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Peak_Walk"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Samora_Machel_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fyksesund_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kurushima-Kaiky\u014d_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Namhae_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Huangpu_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ozimek_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Menai_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gwangandaegyo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Xiling_Yangtze_River_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Zunyi_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Williamsburg_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tamar_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bridge_for_Kids"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bosphorus_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Shantou_Bay_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u00c7anakkale_1915_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Choluteca_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Throgs_Neck_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Clifton_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kuala_Krai_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Innoshima_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bronx\u2013Whitestone_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hennepin_Avenue_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gjemnessund_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hampden_Bridge_(Kangaroo_Valley)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oster\u00f8y_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Manhattan_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Niagara_Falls_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Angers_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Howrah_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kvalsund_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yavuz_Sultan_Selim_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tancarville_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Elisabeth_Bridge_(Budapest)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bidwell_Bar_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kattel_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gateway_Bridge_(Illinois\u2013Iowa)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Stord_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Royal_Gorge_Bridge__Royal_Gorge_Bridge__1"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Grand_Tower_Pipeline_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Osman_Gazi_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aizhai_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/25_de_Abril_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Andy_Warhol_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lawas_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Roebling's_Delaware_Aqueduct"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Waldo\u2013Hancock_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/San_Francisco\u2013Oakland_Bay_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hakuch\u014d_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ambassador_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St._Johns_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Thu\u1eadn_Ph\u01b0\u1edbc_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Chesapeake_Bay_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A._Murray_MacKay_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Erfjord_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Otowi_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anthony_Wayne_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yeongjong_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Varodd_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Golden_Gate_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/N\u00e6r\u00f8ysund_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carquinez_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/U.S._Grant_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hakata\u2013\u014cshima_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Allen_Street_Bridge_disaster"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Waco_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dazi_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/H\u00f6ga_Kusten_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fourth_Nanjing_Yangtze_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sidu_River_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Satok_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Amu_Darya_Pipeline_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Luding_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mount_Hope_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kutai_Kartanegara_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pierre_Laporte_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Semey_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sewells_Road_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tacoma_Narrows_Bridge_(1950)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hercilio_Luz_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Humber_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Chain_Bridge_(Massachusetts)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Emmerich_Rhine_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yi_Sun-sin_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Walter_Taylor_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/South_Tenth_Street_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Riegelsville_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Matadi_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kingston\u2013Port_Ewen_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jim_Stynes_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Puente_Colgante_(Manila)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Brooklyn_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Runyang_Yangtze_River_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Roberto_Clemente_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rombak_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u014cnaruto_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hirado_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/EG_LNG_Pipeline_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pingsheng_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Humen_Pearl_River_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Great_Belt_Fixed_Link"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Beaver_Bridge_(Arkansas)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tjeldsund_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Haicang_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mid-Hudson_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seaway_International_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vincent_Thomas_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u00c4lvsborg_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lions_Gate_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yangluo_Yangtze_River_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Triborough_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Beipan_River_Hukun_Expressway_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kangaroo_Point_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hardanger_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Puente_de_Occidente"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nicholas_Chain_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jiangyin_Yangtze_River_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tajik\u2013Afghan_Friendship_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tacoma_Narrows_Bridge_(1940)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Akashi_Kaiky\u014d_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pont_d'Aquitaine"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lumberville\u2013Raven_Rock_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Angus_L._Macdonald_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/B\u00f8mla_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Guy_West_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lysefjord_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Severn_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wheeling_Suspension_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mackinac_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sotra_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ogdensburg\u2013Prescott_International_Bridge"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Porthill_Bridge"}}]}}]


Question: How many companies were founded by the founder of Facebook?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ( COUNT ( DISTINCT ?x ) AS ?c ) WHERE { dbr:Facebook dbo:foundedBy ?uri . ?x dbo:foundedBy ?uri }

Answer: [{"head": {"vars": ["c"]}, "results": {"bindings": [{"c": {"type": "literal", "value": "3"}}]}}]


Question: Show me hiking trails in the Grand Canyon where there's no danger of flash floods.

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbp:trailheads dbr:Grand_Canyon FILTER NOT EXISTS { ?uri dbp:hazards dbr:Flash_flood } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bright_Angel_Trail"}}]}}]


Question: Which book has the most pages?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Book ; dbo:numberOfPages ?n } ORDER BY DESC ( ?n ) OFFSET 0 LIMIT 1

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Tolkien_Reader"}}]}}]


Question: What is the largest state in the United States?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dc: <http://purl.org/dc/terms/> SELECT ?uri WHERE { ?uri dc:subject dbc:States_of_the_United_States ; rdf:type dbo:AdministrativeRegion ; dbo:areaTotal ?area } ORDER BY DESC ( ?area ) OFFSET 0 LIMIT 1

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alaska"}}]}}]


Question: Give me the websites of companies with more than 500000 employees.

PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT distinct ?web WHERE { ?sub dbo:numberOfEmployees ?obj . ?sub foaf:homepage ?web FILTER ( xsd:integer ( ?obj ) > 500000 ) . }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "https://www.usps.com/"}}, {"uri": {"type": "uri", "value": "http://www.baytexenergy.com/"}}, {"uri": {"type": "uri", "value": "http://www.petrochina.com.cn/ptr/"}}, {"uri": {"type": "uri", "value": "http://www.koelnmesse.com"}}, {"uri": {"type": "uri", "value": "http://www.umw.com.my"}}, {"uri": {"type": "uri", "value": "http://www.molmed.com/"}}, {"uri": {"type": "uri", "value": "http://en.mvd.ru"}}, {"uri": {"type": "uri", "value": "http://www.sgcc.com.cn/ywlm/default.shtml"}}, {"uri": {"type": "uri", "value": "http://www.moe.gov.my/"}}, {"uri": {"type": "uri", "value": "http://volkswagenag.com"}}, {"uri": {"type": "uri", "value": "http://www.tcs.com/"}}, {"uri": {"type": "uri", "value": "http://www.umw.com.my/"}}, {"uri": {"type": "uri", "value": "http://www.oxy.com"}}, {"uri": {"type": "uri", "value": "http://www.peopleready.com"}}, {"uri": {"type": "uri", "value": "http://www.issworld.com/"}}, {"uri": {"type": "uri", "value": "http://www.foxconn.com"}}, {"uri": {"type": "uri", "value": "http://www.defense.gov"}}, {"uri": {"type": "uri", "value": "http://www.yum.com/"}}, {"uri": {"type": "uri", "value": "http://www.carverbank.com"}}, {"uri": {"type": "uri", "value": "http://www.chinapost.com.cn"}}, {"uri": {"type": "uri", "value": "http://www.molmed.com/financial-reports?language=en"}}, {"uri": {"type": "uri", "value": "http://www.marykay.com/"}}, {"uri": {"type": "uri", "value": "http://www.cpgroupglobal.com"}}, {"uri": {"type": "uri", "value": "http://www.errt.org/"}}, {"uri": {"type": "uri", "value": "http://www.mod.gov.pk/"}}, {"uri": {"type": "uri", "value": "http://www.baytexenergy.com"}}, {"uri": {"type": "uri", "value": "http://lindenlab.com/"}}, {"uri": {"type": "uri", "value": "http://www.tesco.com"}}, {"uri": {"type": "uri", "value": "http://www.tcs.com"}}, {"uri": {"type": "uri", "value": "http://www.permasteelisagroup.com/"}}, {"uri": {"type": "uri", "value": "http://rostec.ru/en/"}}, {"uri": {"type": "uri", "value": "http://en.mvd.ru/"}}, {"uri": {"type": "uri", "value": "http://www.bundespost.de/"}}, {"uri": {"type": "uri", "value": "http://www.cnpc.com.cn/en/"}}, {"uri": {"type": "uri", "value": "http://www.bahriatown.com/"}}, {"uri": {"type": "uri", "value": "http://www.tata.com/"}}, {"uri": {"type": "uri", "value": "http://www.indianrailways.gov.in"}}, {"uri": {"type": "uri", "value": "http://www.avic.com/en"}}, {"uri": {"type": "uri", "value": "http://www.nuffnang.com"}}, {"uri": {"type": "uri", "value": "http://www.telent.com/"}}, {"uri": {"type": "uri", "value": "http://www.moiegypt.gov.eg/english"}}, {"uri": {"type": "uri", "value": "http://www.indianrailways.gov.in/"}}, {"uri": {"type": "uri", "value": "http://g4s.com"}}]}}]


Question: What were the names of the three ships by Columbus?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dc: <http://purl.org/dc/terms/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?uri WHERE { ?uri rdf:type dbo:Ship ; dc:subject dbc:Christopher_Columbus ; dc:subject dbc:Exploration_ships }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Santa_Mar\u00eda_(ship)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pinta_(ship)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ni\u00f1a"}}]}}]