Question: Show me all museums in London.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Museum ; dbo:location dbr:London }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Leighton_House_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ben_Uri_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sir_John_Soane's_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Free_Art_and_Technology_Lab"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/InIVA"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Foundling_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Old_Operating_Theatre_Museum_and_Herb_Garret"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tate_Britain"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_Portrait_Gallery,_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wimbledon_Lawn_Tennis_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gasworks_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Chisenhale_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tate_Modern"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Peckham_Platform"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Imperial_War_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/HMS_Belfast_(C35)__HMS_Belfast_Museum_ship__1"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Royal_Academy_of_Arts"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_Maritime_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Unit_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carlyle's_House"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Queen's_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Islington_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Serpentine_Galleries"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/V&A_Museum_of_Childhood"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_Croydon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kirkaldy_Testing_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/London_Canal_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Winston_Churchill's_Britain_At_War_Experience"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Morris_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Academia_Rossica"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_Wimbledon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jack_the_Ripper_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Photographers'_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fan_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hayward_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Victoria_and_Albert_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wellcome_Collection"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Arsenal_Football_Club_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Science_Museum,_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_the_Order_of_St_John"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dairy_Art_Centre"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Cartoon_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_Brands,_Packaging_&_Advertising"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Courtauld_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Churchill_War_Rooms"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Postal_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bishopsgate_Institute"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bridgeman_Art_Library"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Leverian_collection"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/British_School_at_Rome"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Saatchi_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Royal_Air_Force_Museum_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Royal_Society_of_Chemistry__Burlington_House__1"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_London_Docklands"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Whitechapel_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Keats_House"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pushkin_House_(London)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Walthamstow_Pumphouse_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sartorial_Contemporary_Art"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/London_Dungeon"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vestry_House_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_Domestic_Design_and_Architecture"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_Army_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jewish_Museum_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Geffrye_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sherlock_Holmes_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/British_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dulwich_Picture_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Museum_of_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Design_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Natural_History_Museum,_London"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/London_Transport_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Institute_of_Contemporary_Arts"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/October_Gallery"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Florence_Nightingale_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Horniman_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Grant_Museum_of_Zoology_and_Comparative_Anatomy"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Freud_Museum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carpenters_Workshop_Gallery"}}]}}]


Question: Which caves have more than 3 entrances?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Cave ; dbp:entranceCount ?entrance FILTER ( ?entrance > 3 ) }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ease_Gill_Caverns"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Minori_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Amat\u00e9rsk\u00e1_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Lost_John's_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yordas_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Great_Douk_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jenolan_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gouffre_Jean-Bernard"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fingal's_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ingleborough_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Short_Drop_Cave_-_Gavel_Pot_System"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jackson's_Bay_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Traungold_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pollnagollum"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Badami_cave_temples"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Porth_yr_Ogof"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sistema_Sac_Actun"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kharosa"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gargantua_(cave)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gruta_das_Torres"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sistema_Dos_Ojos"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/B\u00fd\u010d\u00ed_sk\u00e1la_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Steinbr\u00fccken_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Redmond_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/New_Athos_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Phong_Nha_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Windsor_Great_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Trail_Creek_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seneca_Caverns_(Ohio)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gaping_Gill"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Karla_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Candelaria_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Callao_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mahakali_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bhaja_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yar\u0131mburgaz_Cave"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wookey_Hole_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kanheri_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Three_Counties_System"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Shuang_River_Cave_Group"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sistema_Ox_Bel_Ha"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hang_S\u01a1n_\u0110o\u00f2ng"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seneca_Caverns_(West_Virginia)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Buchan_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sistema_Nohoch_Nah_Chich"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Green_Grotto_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Boho_Caves"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mammoth_Cave_(Utah)"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kazumura_Cave"}}]}}]


Question: Who is the tallest player of the Atlanta Falcons?

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:team dbr:Atlanta_Falcons ; dbo:height ?h } ORDER BY DESC ( ?h ) OFFSET 0 LIMIT 1

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


Question: What are the top-10 action role-playing video games according to IGN?

PREFIX dbp: <http://dbpedia.org/property/> PREFIX dc: <http://purl.org/dc/terms/> SELECT DISTINCT ?uri WHERE { ?uri dc:subject <http://dbpedia.org/resource/Category:Action_role-playing_video_games> ; dbp:ign ?score } ORDER BY DESC ( ?score ) LIMIT 10

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mass_Effect_2:_Lair_of_the_Shadow_Broker"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vagrant_Story"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jade_Empire"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Diablo_III"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fallout_4"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fable_II"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mass_Effect_2"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mass_Effect_3"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dark_Souls_III"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Battleheart_Legacy"}}]}}]


Question: Give me all writers that won the Nobel Prize in literature.

PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Writer ; dbo:award dbr:Nobel_Prize_in_Literature }

Answer: [{"head": {"vars": ["uri"]}, "results": {"bindings": [{"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hermann_Hesse"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aleksandr_Solzhenitsyn"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ernest_Hemingway"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Czes\u0142aw_Mi\u0142osz"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Joseph_Brodsky"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jos\u00e9_Saramago"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wis\u0142awa_Szymborska"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/John_Steinbeck"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gerhart_Hauptmann"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eugene_O'Neill"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Thomas_Mann"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Toni_Morrison"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/T._S._Eliot"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Svetlana_Alexievich"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/William_Golding"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pablo_Neruda"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alice_Munro"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Patrick_Modiano"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Juan_Ram\u00f3n_Jim\u00e9nez"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Harold_Pinter"}}, {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seamus_Heaney"}}]}}]