Question: List all the musicals with music by Leonard Bernstein.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Musical ; dbo:musicBy dbr:Leonard_Bernstein }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wonderful_Town"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Candide_(operetta)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Race_to_Urga"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/1600_Pennsylvania_Avenue_(musical)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/On_the_Town_(musical)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/West_Side_Story"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A_Party_with_Betty_Comden_and_Adolph_Green"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Side_by_Side_by_Sondheim"}}]}}]


Question: Give me all companies in the advertising industry.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ( COUNT ( DISTINCT ?uri ) AS ?c ) WHERE { ?uri a dbo:Company { ?uri dbo:industry dbr:Advertising } UNION { ?uri dbo:industry ?industry FILTER regex ( ?industry , "advertising" , "i" ) } }

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


Question: What is the largest metropolitan area in Washington state?

PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Washington_(state)> dbp:largestmetro ?uri }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seattle-Tacoma-Olympia,_WA_CSA"}}]}}]


Question: Who killed John Lennon?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Person ; dbp:conviction dbr:Death_of_John_Lennon }

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


Question: Which writers studied in Istanbul?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Writer { ?uri dbo:almaMater ?x } UNION { ?uri dbo:education ?x } { ?x dbo:city dbr:Istanbul } UNION { ?x dbp:city dbr:Istanbul } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Niyazi_Berkes"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Birhan_Keskin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hikmet_Temel_Akarsu"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Leyla_Erbil"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bahadir_Kaleagasi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ahmet_Hamdi_Tanp\u0131nar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u015eaban_\u00d6zdemir"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mehmet_Ya\u015f\u0131n"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u0130oanna_Ku\u00e7uradi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/H\u0131fz\u0131_Topuz"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/P\u0131nar_Selek"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Halide_Edib_Ad\u0131var"}}]}}]


Question: Give me all Australian metalcore bands.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Band ; dbo:genre dbr:Metalcore { ?uri dbo:hometown dbr:Australia } UNION { ?uri dbo:hometown ?h . ?h dbo:country dbr:Australia } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Capture_the_Crown"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wish_for_Wings"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Shoreside"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/50_Lions"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Parkway_Drive"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carpathian_(band)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/House_vs._Hurricane"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mindsnare"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Northlane"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/I_Killed_the_Prom_Queen"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Double_Dragon_(band)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Confession_(band)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Our_Last_Enemy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/In_Hearts_Wake"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Amity_Affliction"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/For_All_Eternity_(band)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Deez_Nuts_(band)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Azure_Falls"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A_Breach_of_Silence"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Buried_in_Verona"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Embodiment_12:14"}}]}}]


Question: Which countries adopted the Euro?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Country { ?uri dbo:currency dbr:Euro } UNION { ?uri dbp:currencyCode "EUR" @en } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Basque_Country_(greater_region)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Serbia_and_Montenegro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kingdom_of_Wallachia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autonomous_Province_of_Kosovo_and_Metohija"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Baltic_states"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/French_Southern_and_Antarctic_Lands"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Twente"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Greece"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Netherlands"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Spain"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u00celes_des_Saintes"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Saint_Barth\u00e9lemy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Akrotiri_and_Dhekelia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/European_Union"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Republic_of_Saugeais"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Republic_of_Ireland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/French_overseas_departments_and_territories"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Macedonia_(region)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Austria"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Luxembourg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/San_Marino"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cyprus"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ad\u00e9lie_Land"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Germany"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Luhansk_People's_Republic"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lithuania"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Andorra"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Slovenia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Saint_Pierre_and_Miquelon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tromelin_Island"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kerguelen_Islands"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Latvia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vatican_City"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Finland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/France"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/United_Nations_Interim_Administration_Mission_in_Kosovo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Third_Hellenic_Republic"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kosovo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Monaco"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Montenegro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Estonia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Portugal"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Collectivity_of_Saint_Martin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Belgium"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/French_Fifth_Republic"}}]}}]


Question: Give me all types of eating disorders.

SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/class/yago/WikicatEatingDisorders> }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ingestive_behaviors"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Inedia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Body_Attitudes_Questionnaire"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_Disorder_Inventory"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_Attitudes_Test"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wintergirls"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Trichophagia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pica_(disorder)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Avoidant/restrictive_food_intake_disorder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Feeding_disorder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bulimia_nervosa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Phagophobia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Body_Attitudes_Test"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Minnesota_Eating_Behavior_Survey"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rumination_syndrome"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_Disorder_Diagnostic_Scale"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anorexia_(symptom)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Food_issue"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Refeeding_syndrome"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Polyphagia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pro-ana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Night_eating_syndrome"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fat_Phobia_Scale"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Defensive_vomiting"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Binge_Eating_Scale"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Muscle_dysmorphia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fat_Chance_(Lesl\u00e9a_Newman_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dermatophagia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pagophagy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_mucus"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Purging_disorder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mirror_box"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anorexia_nervosa_(differential_diagnoses)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Binge_eating"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/List_of_phobias"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Russell's_sign"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Food_Addicts_Anonymous"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Disordered_eating"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bulimia_Test-Revised"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Drunkorexia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cognitive_behavioral_treatment_of_eating_disorders"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Diabulimia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_Disorder_Examination_Interview"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anorexia_mirabilis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Three-Factor_Eating_Questionnaire"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Body_Gossip"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_recovery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anorectic_Behavior_Observation_Scale"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Exercise_bulimia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hypergymnasia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/SCOFF_questionnaire"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pagophagia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Food_addiction"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Killing_Aurora"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Primary_polydipsia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Binge_eating_disorder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eating_disorder_not_otherwise_specified"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Orthorexia_nervosa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Opsophagos"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wannarexia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Food_Addicts_in_Recovery_Anonymous"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nocturnal_sleep-related_eating_disorder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Other_specified_feeding_or_eating_disorder"}}]}}]


Question: Was Marc Chagall a jew?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> ASK WHERE { dbr:Marc_Chagall dbp:ethnicity "Jewish" @en }

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


Question: What was Brazil's lowest rank in the FIFA World Ranking?

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

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


Question: How many films did Leonardo DiCaprio star in?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ( COUNT ( DISTINCT ?uri ) AS ?c ) WHERE { ?uri a dbo:Film ; dbo:starring dbr:Leonardo_DiCaprio }

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


Question: Was Margaret Thatcher a chemist?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> ASK WHERE { dbr:Margaret_Thatcher dbo:profession dbr:Chemist }

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


Question: Which U.S. states are in the same time zone as Utah?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Utah dbp:timezone ?x . ?uri a <http://dbpedia.org/class/yago/WikicatStatesOfTheUnitedStates> ; dbp:timezone ?x FILTER ( ?uri != dbr:Utah ) }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nebraska"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/New_Mexico"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Illinois"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alabama"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vermont"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Virginia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Minnesota"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kansas"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Missouri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wyoming"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Texas"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Connecticut"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Georgia_(U.S._state)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Maryland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hawaii"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/North_Dakota"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Massachusetts"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kentucky"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oklahoma"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/South_Dakota"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mississippi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Idaho"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Indiana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/North_Carolina"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Louisiana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Delaware"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Arizona"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rhode_Island"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Colorado"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Maine"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Washington_(state)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Florida"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Iowa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/West_Virginia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/South_Carolina"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pennsylvania"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wisconsin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Michigan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/New_Hampshire"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Montana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nevada"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tennessee"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alaska"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Arkansas"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/New_Jersey"}}]}}]


Question: Give me all books written by Danielle Steel.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Book ; dbo:author dbr:Danielle_Steel }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Thurston_House_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Message_from_Nam"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Daddy_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Toxic_Bachelors"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_House_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Five_Days_in_Paris"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/H.R.H._(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Passion's_Promise"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Honor_Thyself"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A_Good_Woman_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Amazing_Grace_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Betrayal_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A_Perfect_Stranger"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fine_Things"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Matters_of_the_Heart_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Zoya_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Miracle_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Big_Girl_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Coming_Out_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Silent_Honor"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Accident_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Season_of_Passion"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ransom_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mixed_Blessings_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jewels_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Southern_Lights_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wanderlust_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Full_Circle_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/One_Day_at_a_Time_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sunset_in_St._Tropez"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Echoes_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Gift_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Crossings_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/No_Greater_Love_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Impossible_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Second_Chance_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Special_Delivery_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Family_Album_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Now_and_Forever_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rogue_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hotel_Vendome_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Friends_Forever_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Safe_Harbour_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kaleidoscope_(novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sisters_(Steel_novel)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bungalow_2"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Family_Ties_(novel)"}}]}}]


Question: Which country has the most official languages?

PREFIX dbp: <http://dbpedia.org/property/> 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:Country . ?uri dbp:officialLanguages ?language . } ORDER BY DESC ( COUNT ( ?language ) ) OFFSET 0 LIMIT 1

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


Question: What is the total amount of men and women serving in the FDNY?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { dbr:New_York_City_Fire_Department dbp:employees ?num }

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


Question: Which actor played Chewbacca?

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

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


Question: Give me all libraries established earlier than 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: Which programming languages were influenced by Perl?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:ProgrammingLanguage { ?uri dbo:influencedBy dbr:Perl } UNION { dbr:Perl dbo:influenced ?uri } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Perl_Data_Language"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/ECMAScript"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Falcon_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Julia_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/BeanShell"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/LPC_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/JavaScript"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/CoffeeScript"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/PHP"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ruby_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Perl_6"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/P*"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Qore_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Python_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Judoscript"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Groovy_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MIVA_Script"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/PowerShell"}}]}}]


Question: In which U.S. state is Mount McKinley located?

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 ?uri WHERE { dbr:Mount_McKinley dbo:wikiPageRedirects ?x . ?x dbo:locatedInArea ?uri . ?uri rdf:type yago:WikicatStatesOfTheUnitedStates }

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


Question: What airlines are part of the SkyTeam alliance?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Airline { ?uri dbo:alliance dbr:SkyTeam } UNION { ?uri dbo:Alliance dbr:SkyTeam } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/CityJet"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Shanghai_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alitalia_CityLiner"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/KLM_Cityhopper"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aeroflot"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Shuttle_America"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Brit_Air"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aerom\u00e9xico_Travel"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/R\u00e9gional_Compagnie_A\u00e9rienne_Europ\u00e9enne"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Continental_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alitalia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aerol\u00edneas_Argentinas"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Middle_East_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Continental_Express"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Delta_Air_Lines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Chautauqua_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aerom\u00e9xico"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Air_Europa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/RegionsAir"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Air_France"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Endeavor_Air"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HOP!"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Freedom_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Delta_Express"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/China_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Continental_Micronesia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/KLM"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mesaba_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/SkyWest_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Saudia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Czech_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vietnam_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Compass_Airlines_(North_America)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Delta_Connection"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/China_Southern_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Comair"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Austral_L\u00edneas_A\u00e9reas"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/China_Eastern_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kenya_Airways"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Korean_Air"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Atlantic_Southeast_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alitalia-Linee_Aeree_Italiane"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Continental_Connection"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Donavia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aerom\u00e9xico_Connect"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mandarin_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Garuda_Indonesia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/C.A.I._First"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Northwest_Airlines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Song_(airline)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/TAROM"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/C.A.I._Second"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/XiamenAir"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/ExpressJet"}}]}}]


Question: Which ships were called after Benjamin Franklin?

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

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HMS_Canopus_(1798)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/USS_Franklin_(1795)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/CMA_CGM_Benjamin_Franklin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/USS_Franklin_(1815)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ben_Franklin_(PX-15)"}}]}}]


Question: Give me all Methodist politicians.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Politician ; dbo:religion dbr:Methodism }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_S._Chestnut,_IV"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_H._Murray"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Arthur_Henderson"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Hunt_(Australian_politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Frank_O'Bannon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Canaan_Banana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Henry_Piddington"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/George_W._Bush"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Roy_J._Turner"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Don_Samuelson"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_E._Peterson"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bob_Barr"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Thomas_Ferens"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/James_F._Hinkle"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/George_N._Conrad"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kingsley_Rasanayagam"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_L._Hungate"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cat_Smith"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fielding_L._Wright"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/L._M._Shaw"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/J._Powell_Royall"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Beverly_A._Davis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_L._Andrews"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_E._Smylie"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Syngman_Rhee"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Roy_Bennett_(politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Frank_R._Gooding"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lewis_Charles_Levin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_O._Crockett"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Richie_Robb"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Brodhead_(New_Hampshire_politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nathaniel_B._Early"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Karefa-Smart"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/G._Walter_Mapp"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nga_Kor_Ming"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tom_Bolack"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Johnston_Murray"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_H._Jeffreys,_Jr."}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Ingram_(politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Henry_D._Hatfield"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Edmund_Taylor_(New_Zealand_politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A._N._R._Robinson"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/J._Millard_Tawes"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Edwin_L._Mechem"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/George_E._Allen,_Sr."}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Thomas_Rowe"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ernest_McFarland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wong_Ho_Leng"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bob_Taft"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Cann"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ernest_Lundeen"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Claflin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hugh_Mason"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/D._W._Davis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Marshall_Butler"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/J._Frank_Sergent"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Leon_C._Phillips"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ted_Weill"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mendel_Jackson_Davis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carte_Goodwin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Harry_Nice"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_Bradford_(Northern_Irish_politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Samuel_T._Montague"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Paul_Fannin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Boris_Trajkovski"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alfred_Hunt_(politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Barzilla_W._Clark"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_N._Haskell"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_L._Moore_(Virginia_politician)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ngeh_Koo_Ham"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Leonard_B._Jordan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Campbell_C._Hyatt"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_S._Pendleton"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_A._Pile"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_L._Williams"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_C._Sanborn"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Milton_Margai"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/James_B._A._Robertson"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vincent_Massey"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Shepherd_Allen"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Willis_Benson_Machen"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_L._Bates"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Willis_Smith"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/W._Willard_Wirtz"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Traylen"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_J._Mrazek"}}]}}]


Question: What other books have been written by the author of The Fault in Our Stars?

PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?books WHERE { ?books dbo:author <http://dbpedia.org/resource/John_Green_(author)> }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Will_Grayson,_Will_Grayson"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/An_Abundance_of_Katherines"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Looking_for_Alaska"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Fault_in_Our_Stars"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Let_It_Snow:_Three_Holiday_Romances"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Paper_Towns"}}]}}]


Question: What is the highest mountain?

PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Mountain ; dbo:elevation ?elevation } ORDER BY DESC ( ?elevation ) OFFSET 0 LIMIT 1

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


Question: Which poet wrote the most books?

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 ?uri WHERE { ?uri dbo:occupation dbr:Poet . ?x dbo:author ?uri . ?x rdf:type dbo:Book . } ORDER BY DESC ( COUNT ( ?x ) ) OFFSET 0 LIMIT 1

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


Question: Which programming languages influenced Javascript?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:ProgrammingLanguage ; dbo:influenced dbr:JavaScript }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Self_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Python_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/C_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lua_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Perl"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Scheme_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lisp_(programming_language)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HyperTalk"}}]}}]


Question: Which musician wrote the most books?

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 ?uri WHERE { ?uri dbo:occupation dbr:Musician . ?x dbo:author ?uri . ?x rdf:type dbo:Book . } ORDER BY DESC ( COUNT ( ?x ) ) OFFSET 0 LIMIT 1

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


Question: Which films starring Clint Eastwood did he direct himself?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:director dbr:Clint_Eastwood ; dbo:starring dbr:Clint_Eastwood }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Play_Misty_for_Me"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Blood_Work_(film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Space_Cowboys"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Gauntlet_(film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Million_Dollar_Baby"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/True_Crime_(1999_film)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bronco_Billy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Magnum_Force"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/High_Plains_Drifter"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gran_Torino"}}]}}]


Question: Which software has been developed by organizations founded in California?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Software . ?company a dbo:Company . ?uri dbo:developer ?company . ?company dbo:foundationPlace dbr:California }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Animator"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Space_Spartans"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HK2_DI_Kernel"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Application_Express"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sun_Java_System_Communications_Suite"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_VM_Server_for_x86"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_Advanced_Imaging"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_NoSQL_Database"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Frogs_and_Flies"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Star_Wars:_Battlefront_(2004_video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty:_Ghosts"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Solaris_Containers"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Mudbox"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Armor_Battle"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MySQL_Workbench"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Borland_Turbo_C"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Adventures_of_Elmo_in_Grouchland_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Triple_Action"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MapGuide_Open_Source"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Borland_C++"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Zero_(game_engine)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_API_for_XML_Web_Services"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/OpenStep"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cooliris_(plugin)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Turbo_Vision"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HijackThis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty_4:_Modern_Warfare"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/FireChat"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pretty_Good_Privacy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Communist_Mutants_from_Space"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MyTown_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/AutoCAD_Architecture"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/OpenJDK"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/IW_engine"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/OpenSolaris"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Army_Men:_RTS"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Project_Metro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Internet_Security"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HotSpot"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty:_Infinite_Warfare"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Linux"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sharp_Shot"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Personal_Firewall"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MySQL_Enterprise"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Midnight_Star:_Renegade"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tron:_Deadly_Discs"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Project_Grizzly_(software)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Escape_from_the_Mindmaster"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Gameware"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_AntiBot"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Packet_Tracer"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ghost_(software)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Enterprise_Manager_Ops_Center"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/JBuilder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/CodeWright"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/DevPartner"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_SketchBook_Pro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Borland_Kylix"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty:_Modern_Warfare_3"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty:_Modern_Warfare_2"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Call_of_Duty_2"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Baseball_(Intellivision_video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Revit"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tropico_2:_Pirate_Cove"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Webcam_Social_Shopper"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hover_Force"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Developer_Studio"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Party_Mix_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Full_Spectrum_Warrior"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Open_Message_Queue"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/B-17_Bomber_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_iPlanet_Web_Server"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Security"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Skiing_(Intellivision_video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/TeraText"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_WebLogic_Server"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dark_Reign_2"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tuxedo_(software)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Battlezone_II:_Combat_Commander"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Alias"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hot_Wheels_Stunt_Track_Driver"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sub_Hunt"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/GlassFish"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Discoverer"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_123D"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_MotionBuilder"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eudora_OSE"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cisco_Systems_VPN_Client"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tcov"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Turbo_Delphi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Project_Phobos"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Linear_Tape_File_System"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Astrosmash"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MyISAM"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MySQL"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_BI_Publisher"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Zone"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hyperion_Planning"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Libtiff"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Softimage"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_iPlanet_Web_Proxy_Server"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Football_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Clam_AntiVirus"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Planet_Hot_Wheels"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/NASL_Soccer"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cisco_IOS"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/VirtualBox"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Silk_Central"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_Development_Kit"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Basketball_(1980_video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Database"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mercenaries:_Playground_of_Destruction"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Destroy_All_Humans!"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nashorn_(JavaScript_engine)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/CAD_Overlay"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Autodesk_Inventor"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sword_of_Saros"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Star_Strike"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Panzer_General_III:_Scorched_Earth"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eudora_(email_client)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_SQL_Developer"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Utilities"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sea_Battle"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Star_Wars:_The_Clone_Wars_(2002_video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/IRIX"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Dark_Knight_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Full_Spectrum_Warrior:_Ten_Hammers"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Trend_Micro_Internet_Security"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mercenaries_2:_World_in_Flames"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Graal_(compiler)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Saboteur"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Complex_MRO"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Star_Wars:_Battlefront_II"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Motocross_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kynapse"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cisco_Network_Registrar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/IRIS_GL"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Boxing_(1981_video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fsn_(file_manager)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_API_for_RESTful_Web_Services"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Buzz!_Junior:_Robo_Jam"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Turbo_C++"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/ObjectVision"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Movable_Type"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/MySQL_Cluster"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Spatial_and_Graph"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Phaser_Patrol"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/PeopleTools"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Lord_of_the_Rings:_Conquest"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Project_Shoal_(software)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/PcAnywhere"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/VisualVM"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Scaleform_GFx"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Snafu_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/JavaTest_harness"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Trade_Empires"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/JDeveloper"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Imperialism_II:_Age_of_Exploration"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Star_Wars:_The_Best_of_PC"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/GrandView_(software)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Enterprise_Pack_for_Eclipse"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dr._Safety"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Imperialism_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jinitiator"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Grid_Engine"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/TopLink"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/REX_OS"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Buzz_Bombers"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Midnight_Star_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_Desktop_System"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/OpenGrok"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Business_Intelligence_Suite_Enterprise_Edition"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tron:_Solar_Sailer"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Navisworks"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Java_(software_platform)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dragonstomper"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Destroy_All_Humans!_2"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Payara_Server"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Q&A_(Symantec)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/OpenOffice.org"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/TimesTen"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Multimedia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Turbo_Assembler"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_VDI"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_TopLink"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Power_Eraser"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Media_Objects"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Snort_(software)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Space_Hawk"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kool-Aid_Man_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/QuickBooks"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Voldemort_(distributed_data_store)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Project_Jersey"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Shark!_Shark!"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_VM_Server_for_SPARC"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Night_Stalker_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Application_Server"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/WebScaleSQL"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/AutoCAD"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Berkeley_DB"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bomb_Squad_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Norton_Family"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Immunet"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Horse_Racing_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cisco_IOS_XE"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/StarOffice"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Borland_Together"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Symantec_Online_Backup"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Auto_Racing_(video_game)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dbx_(debugger)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Open64"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Network_Security_Services"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Oracle_Data_Mining"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Intellivision_World_Series_Baseball"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cisco_Security_Monitoring,_Analysis,_and_Response_System"}}]}}]


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 airlines are members of the Star Alliance?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ( COUNT ( DISTINCT ?uri ) AS ?c ) WHERE { ?uri a dbo:Airline ; dbo:alliance dbr:Star_Alliance }

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


Question: Give me all actors called Baldwin.

PREFIX foaf: <http://xmlns.com/foaf/0.1/> 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 ?uri WHERE { ?uri foaf:surname 'Baldwin' @en . { ?uri dbo:occupation dbr:Actor . } UNION { ?uri rdf:type dbo:Actor . } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Judith_Baldwin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Peter_Baldwin_(actor)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Talon_(actor)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Greg_Baldwin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robert_Baldwin_(actor)"}}]}}]


Question: Who wrote The Hunger Games?

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

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


Question: For which label did Elvis record his first album?

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 DISTINCT ?uri WHERE { ?x rdf:type dbo:Album ; dbo:artist dbr:Elvis_Presley ; dbo:releaseDate ?y ; dbo:recordLabel ?uri } ORDER BY ASC ( ?y ) OFFSET 0 LIMIT 1

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


Question: Is Christian Bale starring in Batman Begins?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> ASK WHERE { dbr:Batman_Begins dbo:starring dbr:Christian_Bale }

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


Question: Where is the residence of the prime minister of Spain?

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

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


Question: Which actor was casted in the most movies?

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:Actor . ?f rdf:type dbo:Film . ?f dbo:starring ?uri . } ORDER BY DESC ( COUNT ( DISTINCT ( ?f ) ) ) OFFSET 0 LIMIT 1

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


Question: Which countries have more than two official languages?

PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Country ; dbo:officialLanguage ?language } GROUP BY ?uri HAVING ( COUNT ( ?language ) > 2 )

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Basque_Country_(greater_region)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ladonia_(micronation)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Subanon_people"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rwanda"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Torres_Strait_Islands"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Comoros"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Danish_Realm"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eurasian_Economic_Union"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Switzerland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Zanzibar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vojvodina"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Northern_Mariana_Islands"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Equatorial_Guinea"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Union_of_Sovereign_States"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/New_Zealand"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cura\u00e7ao"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Singapore"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Allied_Military_Government_for_Occupied_Territories"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Luxembourg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Somaliland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Transnistria"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anjouan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Moh\u00e9li"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Organization_for_Security_and_Co-operation_in_Europe"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seychelles"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Malta"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Republika_Srpska"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vanuatu"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Grande_Comore"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Principality_of_Hutt_River"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Belgium"}}]}}]


Question: Which countries have more than ten caves?

PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Country . ?cave a dbo:Cave { ?cave dbo:location ?uri } UNION { ?cave dbo:location ?loc . ?loc dbo:country ?uri } } GROUP BY ?uri HAVING ( COUNT ( ?cave ) > 10 )

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/India"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Germany"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gibraltar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Greece"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Spain"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Turkey"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/France"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/United_States"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Australia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Italy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Republic_of_Ireland"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jamaica"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mexico"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/South_Africa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Portugal"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/United_Kingdom"}}]}}]


Question: Show me all songs from Bruce Springsteen released between 1980 and 1990.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 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 DISTINCT ?uri WHERE { ?uri rdf:type dbo:Song . ?uri dbo:artist dbr:Bruce_Springsteen . ?uri dbo:releaseDate ?date . FILTER ( ?date >= '1980-01-01' ^^ xsd:date && ?date <= '1990-12-31' ^^ xsd:date ) }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Downbound_Train"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Johnny_99_(song)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/No_Surrender_(song)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/For_You_(Bruce_Springsteen_song)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Darlington_County_(song)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bobby_Jean"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Working_on_the_Highway"}}]}}]


Question: Which television shows were created by John Cleese?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:TelevisionShow ; dbo:creator dbr:John_Cleese }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Monty_Python's_Personal_Best"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Monty_Python's_Flying_Circus"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fawlty_Towers"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Parrot_Sketch_Not_Included_\u2013_20_Years_of_Monty_Python"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Python_Night_\u2013_30_Years_of_Monty_Python"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/At_Last_the_1948_Show"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Monty_Python_Live_at_Aspen"}}]}}]


Question: When did Latvia join the EU?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { dbr:Latvia dbp:accessioneudate ?date }

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


Question: Which soccer players were born on Malta?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:SoccerPlayer ; dbo:birthPlace dbr:Malta }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Steve_Bezzina"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_Scerri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_Azzopardi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mario_Muscat"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Reginald_Cini"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Joe_Cini"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Adrian_Ciantar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Bonello"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_Micallef"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cleavon_Frendo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ylenia_Carabott"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nicky_Saliba"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ernest_Barry_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lolly_Vella"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Stefan_Sultana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Edward_Darmanin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Daniel_Theuma"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Claude_Mattocks"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jesmond_Delia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ian_Azzopardi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Emanuel_Fabri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dennis_Mizzi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Michael_Cutajar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rachel_Cuschieri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cornelius_Hogan"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Robbie_Buttigieg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Saviour_Darmanin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jeffrey_Chetcuti"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Antoine_Zahra_(footballer,_born_1981)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/David_Carabott"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Edmond_Agius"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charlie_Williams_(soccer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Joseph_John_Aquilina"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jonathan_Caruana"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ivan_Zammit"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Adrian_Mifsud"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Antoine_Zahra_(footballer,_born_1977)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jimmy_Briffa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Josef_Mifsud"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Salvinu_Schembri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Raymond_Xuereb"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Edward_Herrera"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alex_Muscat"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/George_Mallia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kenneth_Scicluna"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gareth_Sciberras"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Cutbush_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Roderick_Bajada"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/David_Cluett"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mario_Farrugia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Luke_Dimech"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aaron_Xuereb"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Stephen_Wellman"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dyson_Falzon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Andr\u00e9_Schembri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Scott_Chircop"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Stefan_Giglio"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eric_Schembri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Clayton_Failla"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eddie_Dwane"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Terence_Scerri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Terence_Vella"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Charles_Muscat"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sean_Sullivan_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Andrew_Cohen_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Martin_Gregory"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bjorn_Kristensen_(footballer,_born_1993)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lino_Galea"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_McNeill_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jean_Pierre_Mifsud_Triganza"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ian_Ciantar"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Reuben_Gauci"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Darren_Debono"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kevin_Sammut"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Camenzuli"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Malcolm_Licari"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Denis_Cauchi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vincent_Borg_Bonaci"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Roderick_Briffa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jean_Paul_Farrugia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rebecca_D'Agostino"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carlo_Mamo"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ian_Stevens_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Simon_Tortell"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Justin_Haber"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Andrei_Agius"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Martina_Borg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Brian_Strutt"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hubert_Suda"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Giovanni_Galea"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Emma_Xuerreb"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/David_Camilleri"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pierre_Aquilina"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dorianne_Theuma"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Trevor_Cilia"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Nicole_Buttigieg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Paul_Tisdale"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Brian_Said"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ryan_Fenech"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jonathan_Magri_Overend"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Paul_Fenech_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kristian_Laferla"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Steve_Borg"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Noel_Turner"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Paul_Zammit_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Adrian_Pulis"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Massimo_Grima"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Martin_Scicluna"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Edward_Azzopardi"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jonathan_Holland_(footballer)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jesmond_Zerafa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Michael_Degiorgio"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Michael_Galea"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gilbert_Agius"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Michael_Mifsud"}}]}}]


Question: How many politicians graduated from Columbia University?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ( COUNT ( DISTINCT ?uri ) AS ?c ) WHERE { ?uri dbo:profession dbr:Politician ; dbo:almaMater dbr:Columbia_University }

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


Question: Give me the birthdays of all actors of the television show Charmed.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { dbr:Charmed dbo:starring ?actor . ?actor dbo:birthDate ?date }

Answer: [{"head": {"vars": ["date"]}, "results": {"bindings": [{"date": {"type": "literal", "value": "1973-9-5"}}, {"date": {"type": "literal", "value": "1971-4-12"}}, {"date": {"type": "literal", "value": "1971-01-26"}}, {"date": {"type": "literal", "value": "1968-07-27"}}, {"date": {"type": "literal", "value": "1985-11-30"}}, {"date": {"type": "literal", "value": "1973-6-15"}}, {"date": {"type": "literal", "value": "1971-1-26"}}, {"date": {"type": "literal", "value": "1969-2-1"}}, {"date": {"type": "literal", "value": "1968-7-27"}}, {"date": {"type": "literal", "value": "1973-09-05"}}, {"date": {"type": "literal", "value": "1973-06-15"}}, {"date": {"type": "literal", "value": "1969-02-01"}}, {"date": {"type": "literal", "value": "1980-5-19"}}, {"date": {"type": "literal", "value": "1971-04-12"}}, {"date": {"type": "literal", "value": "1973-12-03"}}, {"date": {"type": "literal", "value": "1973-12-3"}}, {"date": {"type": "literal", "value": "1980-05-19"}}, {"date": {"type": "literal", "value": "1972-12-19"}}]}}]


Question: Which telecommunications organizations are located in Belgium?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ( COUNT ( DISTINCT ?uri ) AS ?c ) WHERE { ?uri a dbo:Organisation { ?uri dbo:industry dbr:Telecommunication } UNION { ?uri dbp:industry ?industry FILTER regex ( ?industry , "Telecommunications" ) } { ?uri dbo:location dbr:Belgium } UNION { ?uri dbp:locationCountry "Belgium" @en } }

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


Question: Give me a list of all lakes in Denmark.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { { ?uri a dbo:Lake ; dbo:country dbr:Denmark } UNION { ?uri a <http://dbpedia.org/class/yago/LakesOfDenmark> } }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Arres\u00f8"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lake_Bagsv\u00e6rd"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fures\u00f8_(lake)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/B\u00f8lling_Lake"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Lakes,_Copenhagen"}}]}}]


Question: How many children does Eddie Murphy have?

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

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


Question: Show me all English Gothic buildings in Kent.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?uri WHERE { ?uri a dbo:Building ; dbo:architecturalStyle dbr:English_Gothic_architecture ; dbo:location dbr:Kent }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary's_Church,_Capel-le-Ferne"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Martin_of_Tours_Church,_Detling"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary's_Church,_Eastwell"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Church_of_St_Thomas_\u00e0_Becket,_Capel"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary's_Church,_Higham"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary's_Church,_Luddenham"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_James'_Church,_Cooling"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Canterbury_Cathedral"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Clement's_Church,_Knowlton"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary's_and_All_Saints_Church,_Boxley"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary's_Church,_Burham"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St._Mary's_Church,_Hadlow"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/All_Saints_Church,_Waldershare"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Bartholomew's_Church,_Goodnestone"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Peter's_Church,_Sandwich"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Church_of_St_Mary_the_Virgin,_Fordwich"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Peter's_Church,_Swingfield"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/St_Mary_Magdalene_Church,_Stockbury"}}]}}]


Question: Who is the manager of Real Madrid?

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

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


Question: In which countries can you pay using the West African CFA franc?

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

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/French_Upper_Volta"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Colony_of_Niger"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Benin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Burkina_Faso"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Colonial_Mauritania"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Niger"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Guinea-Bissau"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Republic_of_Upper_Volta"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Economic_Community_of_West_African_States"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/People's_Republic_of_Benin"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/French_Dahomey"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ivory_Coast"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Senegal"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mali"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Republic_of_Dahomey"}}]}}]