Simple Question (Direct)
Simple Question
Q5096425
P19
Q56061
USER
Which administrative territory is the place of birth of Chico Fernández ?
(Q5096425,P19,c(Q56061))
action filter_type
action find
entity Q5096425
relation P19
type Q56061
['Q5096425', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q5096425 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Chico Fernández
action filter_type
action find
entity Chico Fernández
relation place of birth
type administrative territorial entity
['Chico Fernández', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Chico_Fernández property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1563
SYSTEM
Havana
Q1563
(Q5096425,P19,c(Q56061))
action filter_type
action find
entity Q5096425
relation P19
type Q56061
[ANSWER] is the place of birth of Chico Fernández
['Q5096425', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q5096425 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Havana
Havana is the place of birth of Chico Fernández
Havana
action filter_type
action find
entity Chico Fernández
relation place of birth
type administrative territorial entity
['Chico Fernández', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Chico_Fernández property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1563
P206
Q15324
USER
Which body of water is situated in the neighbourhood of that administrative territory ?
(Q1563,P206,c(Q15324))
action filter_type
action find
entity Q1563
relation P206
type Q15324
['Q1563', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { resource:Q1563 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Havana
action filter_type
action find
entity Havana
relation located next to body of water
type body of water
['Havana', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { resource:Havana property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
body of water
Q12630
SYSTEM
Gulf of Mexico
Q12630
(Q1563,P206,c(Q15324))
action filter_type
action find
entity Q1563
relation P206
type Q15324
[ANSWER] is situated in the neighbourhood of that administrative territory
['Q1563', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { resource:Q1563 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Gulf of Mexico
Gulf of Mexico is situated in the neighbourhood of that administrative territory
Gulf of Mexico
action filter_type
action find
entity Havana
relation located next to body of water
type body of water
['Havana', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { resource:Havana property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7988
P206
Q15324 Q123705 Q33837
USER
How many bodies of water are located in the neighbourhood of lesser number of neighborhoods and archipelagos than Laptev Sea ?
(c(Q123705)|c(Q33837),P206,c(Q15324))
action count
action less
action union
action find_reverse_tuple_counts
relation P206
type Q15324
type Q123705
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_multi_types
action find_reverse
entity Q7988
relation P206
type Q123705
type Q33837
[[{'concept': 'Q123705'}, {'concept': 'Q33837'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P206 resource:Q7988 . { { ?b rdf:type ontology:Q123705 } UNION { ?b rdf:type ontology:Q33837 } } } } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:P206 ?h . ?u rdf:type ontology:Q123705 . ?h rdf:type ontology:Q15324 } UNION { ?u property:P206 ?h . ?h rdf:type ontology:Q15324 . ?u rdf:type ontology:Q33837 } } GROUP BY ?h } }
Laptev Sea
action count
action less
action union
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type neighborhood
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_multi_types
action find_reverse
entity Laptev Sea
relation located next to body of water
type neighborhood
type archipelago
[[{'concept': 'neighborhood'}, {'concept': 'archipelago'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:located_next_to_body_of_water resource:Laptev_Sea . { { ?b rdf:type ontology:neighborhood } UNION { ?b rdf:type ontology:archipelago } } } } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:located_next_to_body_of_water ?h . ?u rdf:type ontology:neighborhood . ?h rdf:type ontology:body_of_water } UNION { ?u property:located_next_to_body_of_water ?h . ?h rdf:type ontology:body_of_water . ?u rdf:type ontology:archipelago } } GROUP BY ?h } }
[]
body of water neighborhood archipelago
SYSTEM
280
Q22699522 Q2036651 Q1232282 Q271043 Q2879719 Q384858 Q1359524 Q516993 Q21886879 Q5596 Q2216091 Q1004067 Q2414385 Q1759376 Q2090594 Q184189 Q217487 Q7232468 Q1536345 Q932369 Q934883 Q1048789 Q213965 Q10604380 Q41430 Q894564 Q1536377 Q2142350 Q810532 Q1563436 Q193465 Q58705 Q1441345 Q2879598 Q896179 Q948291 Q2879789 Q3503114 Q908701 Q5595169 Q717765 Q4851838 Q1241943 Q844799 Q37960 Q889407 Q22703074 Q5048311 Q1166827 Q1866414 Q1463998 Q7990623 Q1061221 Q210855 Q19876312 Q350134 Q13234218 Q207468 Q1680511 Q3321555 Q4399477 Q422243 Q1691969 Q22703608 Q47632 Q2560406 Q502233 Q1340125 Q2879512 Q181969 Q315954 Q21905247 Q867460 Q531980 Q702691 Q747189 Q164466 Q76925 Q7687259 Q4443093 Q1053381 Q876470 Q676154 Q140290 Q947086 Q644154 Q217501 Q547557 Q182137 Q21952424 Q141017 Q5413918 Q232264 Q2360948 Q1310944 Q1758914 Q201385 Q18165982 Q243125 Q1841490 Q281808 Q1781066 Q1391243 Q2879661 Q1779743 Q767824 Q216868 Q81499 Q6940354 Q321837 Q271198 Q1974485 Q938327 Q10552985 Q1323629 Q11875916 Q2666561 Q3354785 Q5575811 Q41837 Q1185210 Q2122604 Q5130793 Q667456 Q1294277 Q35367 Q3373915 Q648317 Q1426232 Q748696 Q426453 Q223810 Q803725 Q624569 Q803683 Q599732 Q1971856 Q41573 Q2879616 Q2571760 Q2879466 Q141727 Q7589882 Q1144680 Q504571 Q5599921 Q173343 Q1134899 Q1254743 Q2621939 Q1807328 Q700309 Q1135227 Q209682 Q317006 Q131418 Q1331750 Q259929 Q594834 Q2393002 Q544914 Q35827 Q474708 Q1043510 Q1635853 Q4354551 Q2879469 Q494927 Q959127 Q2750104 Q15981924 Q877785 Q894682 Q1679819 Q231312 Q2032658 Q379063 Q1130771 Q1452970 Q1127599 Q44725 Q174731 Q18357475 Q2624860 Q3235968 Q495341 Q1383196 Q1267413 Q2879593 Q312433 Q5578622 Q141633 Q81611 Q163434 Q3354931 Q4161995 Q218377 Q1154346 Q925649 Q648954 Q999055 Q25473 Q913418 Q2292350 Q1782677 Q202083 Q58597 Q5595871 Q159252 Q844003 Q3059075 Q2879752 Q738808 Q242326 Q224101 Q6725749 Q213517 Q193149 Q150370 Q2148190 Q1649939 Q22703313 Q277014 Q11655044 Q190128 Q141709 Q183455 Q132868 Q1536321 Q2056788 Q4176307 Q1362310 Q647879 Q5497998 Q1480814 Q12068771 Q2097617 Q188203 Q2211837 Q23883 Q589528 Q3100317 Q21952373 Q326170 Q200712 Q181857 Q21951778 Q35000 Q42820 Q49364 Q803717 Q323760 Q72154 Q1064776 Q645271 Q132811 Q141548 Q41735 Q213367 Q1542675 Q1324526 Q208962 Q3306188 Q965439 Q681367 Q1536356 Q218189 Q2001350 Q1368308 Q131274 Q845217 Q2879449 Q202868 Q3395428 Q2879639 Q4874196 Q2336534 Q774759 Q392623 Q1502095
(c(Q123705)|c(Q33837),P206,c(Q15324))
action count
action less
action union
action find_reverse_tuple_counts
relation P206
type Q15324
type Q123705
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_multi_types
action find_reverse
entity Q7988
relation P206
type Q123705
type Q33837
[ANSWER]
[[{'concept': 'Q123705'}, {'concept': 'Q33837'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P206 resource:Q7988 . { { ?b rdf:type ontology:Q123705 } UNION { ?b rdf:type ontology:Q33837 } } } } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:P206 ?h . ?u rdf:type ontology:Q123705 . ?h rdf:type ontology:Q15324 } UNION { ?u property:P206 ?h . ?h rdf:type ontology:Q15324 . ?u rdf:type ontology:Q33837 } } GROUP BY ?h } }
Seymour Arm Otago Harbour Djurgårdsbrunnsviken Sea of Åland Baie de la Seine Varangerfjord Bay of Bangkok Cape Cod Bay Munster Water Curonian Lagoon Salzhaff Frobisher Bay Karkinit Bay Waitemata Harbour Cantabrian Sea Labrador Sea Shark Bay Portsmouth Harbour Moro Gulf Cork Harbour Gulf of Patras Dusky Sound Scapa Flow Nybroviken Gulf of Guinea Boston Harbor Gulf of İzmir Bay of Gibraltar Arcachon Bay Saldanha Bay Savu Sea Arabian Sea Albemarle Sound Bellingham Bay Neuwarper See Chesterfield Inlet Le Pouliguen Bay Gabon Estuary Onega Bay Grand Traverse Bay Phang Nga Bay Ballona Wetlands Narragansett Bay Gulf of Paria Yellow Sea Bodega Harbor Leitches Creek Case Inlet Darvel Bay Morecambe Bay The Wash Whangarei Harbour Sagami Bay Ceram Sea Norfolk Bay North Atlantic Bothnian Bay Bay of Kotor Kleiner Jasmunder Bodden Placentia Bay Rudnaya Lynn Canal Prorer Wiek Maces Bay Andaman Sea Galveston Bay Southampton Water Encounter Bay St. Mary's Bay, Newfoundland and Labrador Bohai Sea Koro Sea Robbins Passage Long Island Sound Caracasbaai Heligoland Bight Cardigan Bay Ross Sea Venetian Lagoon Tasiusaq Bay Storm Bay Cenderawasih Bay Gulf of Maine Manila Bay Bay of Plenty Green Bay Suisun Bay Pechora Sea Zapadnaya Litsa Lake Maracaibo Glades Bay Tokyo Bay Kempeleenlahti San Francisco Bay Belfast Lough Baía de Todos os Santos Tsuen Wan Gulf of Naples Rivoli Bay Lincoln Sea Banten Bay Vincennes Bay Milne Bay D'Urville Sea Malpeque Bay Abu Qir Bay Hauraki Gulf Chesapeake Bay Celtic Sea Muscongus Bay German Bight Årstaviken Dniester Liman Cumberland Sound Ladugårdslandsviken Gulf St Vincent Liminka Bay Reloncaví Sound Stockholms ström God Bay Gulf of Aden Pagasetic Gulf Queen Maud Gulf Clear Water Bay Oslofjord Lower New York Bay Sea of Marmara Peconic Bay Argolic Gulf St Brides Bay Levantine Sea Scoresby Sund James Bay Antongil Bay South Sea Bay of Cárdenas Buzzards Bay Sea of the Hebrides Bay of Biscay Caernarfon Bay Quiberon Bay Kamishak Bay Marguerite Bay St. Margarets Bay Gulf of Morbihan Jade Bight Great Sandy Strait Weddell Sea Maputo Bay Gulf of Papua Whangaroa Harbour Vyborg Bay Bay of Lübeck Disko Bay Gulf of Corinth Bay of Mecklenburg Timor Sea Lake Pontchartrain Wandel Sea Sibuyan Sea Gulf of Odessa Laccadive Sea Río de la Plata Visayan Sea Carmarthen Bay Western Port Loch Ewe L'Haridon Bight Peter the Great Gulf Massachusetts Bay Shannon Estuary Window Bay New Danube Botany Bay Jamaica Bay Seto Inland Sea bay of La Concha Thracian Sea Sivash Pötenitzer Wiek Galway Bay Bering Sea Gulf of Riga Guichen Bay Gare Loch Swansea Bay Bohai Bay Ewiges Meer Georgian Bay bay of Bourgneuf Schlei Gold Coast Broadwater Hughes Bay Gulf of Aqaba East Siberian Sea Hammarby sjö Maxwell Bay Dollart Mikawa Bay Broken Bay Spencer Gulf San Pablo Bay Queen Charlotte Sound Thermaic Gulf Bantry Bay Pegasus Bay Firth of Forth Carlota Cove Granite Harbour Chukchi Sea Gulf of Gonâve Thames Estuary Conception Bay Delaware Bay Bohol Sea Guanabara Bay Mactan Channel Gironde estuary Sea of Crete Flores Sea Rhode Island Sound Bothnian Sea Little Bras d'Or Bali Sea Whalers Bay Ha Long Bay Wilhelmina Bay Bellingshausen Sea Greenland Sea Gulf of Fethiye Paterson Inlet Saltsjön Tasman Bay Bay of Greifswald Frederick Henry Bay Kachemak Bay Severn Estuary Salish Sea Bristol Channel Saginaw Bay Dead Sea Ussuri Bay Gulf of Ancud Morrisons Bay Bay of Pomerania Balearic Sea Bay of Fundy Boullanger Bay Sea of Azov Ligurian Sea Java Sea Mont Saint-Michel Bay Gulf of Gabès Amundsen Sea Upper New York Bay Sea of Sardinia Gulf of California Mikkelsen Harbor Irish Sea Gdańsk Bay Irminger Sea Port Phillip Bay Iroise Sea Amakusa Sea Riddarfjärden Henri Freycinet Harbour Gulf of Penas Admiralty Bay Norwegian Bay Ise Bay Beaufort Sea Foxe Basin Fortune Bay Edsviken Liverpool Bay Baie de Douarnenez Bay of Exploits Melville Bay Portage Glacier Samar Sea Wellington Harbour
280
action count
action less
action union
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type neighborhood
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_multi_types
action find_reverse
entity Laptev Sea
relation located next to body of water
type neighborhood
type archipelago
[[{'concept': 'neighborhood'}, {'concept': 'archipelago'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:located_next_to_body_of_water resource:Laptev_Sea . { { ?b rdf:type ontology:neighborhood } UNION { ?b rdf:type ontology:archipelago } } } } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:located_next_to_body_of_water ?h . ?u rdf:type ontology:neighborhood . ?h rdf:type ontology:body_of_water } UNION { ?u property:located_next_to_body_of_water ?h . ?h rdf:type ontology:body_of_water . ?u rdf:type ontology:archipelago } } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q38684
P206
Q15324 Q123705 Q33837
USER
And also tell me about Bay of Bengal?
(c(Q123705)|c(Q33837),P206,c(Q15324))
action count
action less
action union
action find_reverse_tuple_counts
relation P206
type Q15324
type Q123705
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_multi_types
action find_reverse
entity Q38684
relation P206
type Q123705
type Q33837
[[{'concept': 'Q123705'}, {'concept': 'Q33837'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P206 ?k . ?k rdf:type ontology:Q15324 . ?x rdf:type ontology:Q123705 } UNION { ?x property:P206 ?k . ?k rdf:type ontology:Q15324 . ?x rdf:type ontology:Q33837 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P206 resource:Q38684 . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q123705 ) ( ontology:Q33837 ) } } } } . FILTER ( ?o < ?p ) }
Bay of Bengal
action count
action less
action union
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type neighborhood
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_multi_types
action find_reverse
entity Bay of Bengal
relation located next to body of water
type neighborhood
type archipelago
[[{'concept': 'neighborhood'}, {'concept': 'archipelago'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water . ?x rdf:type ontology:neighborhood } UNION { ?x property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water . ?x rdf:type ontology:archipelago } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:located_next_to_body_of_water resource:Bay_of_Bengal . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:neighborhood ) ( ontology:archipelago ) } } } } . FILTER ( ?o < ?p ) }
[]
body of water neighborhood archipelago
SYSTEM
280
Q22699522 Q2036651 Q1232282 Q271043 Q2879719 Q384858 Q1359524 Q516993 Q21886879 Q5596 Q2216091 Q1004067 Q2414385 Q1759376 Q2090594 Q184189 Q217487 Q7232468 Q1536345 Q932369 Q934883 Q1048789 Q213965 Q10604380 Q41430 Q894564 Q1536377 Q2142350 Q810532 Q1563436 Q193465 Q58705 Q1441345 Q2879598 Q896179 Q948291 Q2879789 Q3503114 Q908701 Q5595169 Q717765 Q4851838 Q1241943 Q844799 Q37960 Q889407 Q22703074 Q5048311 Q1166827 Q1866414 Q1463998 Q7990623 Q1061221 Q210855 Q19876312 Q350134 Q13234218 Q207468 Q1680511 Q3321555 Q4399477 Q422243 Q1691969 Q22703608 Q47632 Q2560406 Q502233 Q1340125 Q2879512 Q181969 Q315954 Q21905247 Q867460 Q531980 Q702691 Q747189 Q164466 Q76925 Q7687259 Q4443093 Q1053381 Q876470 Q676154 Q140290 Q947086 Q644154 Q217501 Q547557 Q182137 Q21952424 Q141017 Q5413918 Q232264 Q2360948 Q1310944 Q1758914 Q201385 Q18165982 Q243125 Q1841490 Q281808 Q1781066 Q1391243 Q2879661 Q1779743 Q767824 Q216868 Q81499 Q6940354 Q321837 Q271198 Q1974485 Q938327 Q10552985 Q1323629 Q11875916 Q2666561 Q3354785 Q5575811 Q41837 Q1185210 Q2122604 Q5130793 Q667456 Q1294277 Q35367 Q3373915 Q648317 Q1426232 Q748696 Q426453 Q223810 Q803725 Q624569 Q803683 Q599732 Q1971856 Q41573 Q2879616 Q2571760 Q2879466 Q141727 Q7589882 Q1144680 Q504571 Q5599921 Q173343 Q1134899 Q1254743 Q2621939 Q1807328 Q700309 Q1135227 Q209682 Q317006 Q131418 Q1331750 Q259929 Q594834 Q2393002 Q544914 Q35827 Q474708 Q1043510 Q1635853 Q4354551 Q2879469 Q494927 Q959127 Q2750104 Q15981924 Q877785 Q894682 Q1679819 Q231312 Q2032658 Q379063 Q1130771 Q1452970 Q1127599 Q44725 Q174731 Q18357475 Q2624860 Q3235968 Q495341 Q1383196 Q1267413 Q2879593 Q312433 Q5578622 Q141633 Q81611 Q163434 Q3354931 Q4161995 Q218377 Q1154346 Q925649 Q648954 Q999055 Q25473 Q913418 Q2292350 Q1782677 Q202083 Q58597 Q5595871 Q159252 Q844003 Q3059075 Q2879752 Q738808 Q242326 Q224101 Q6725749 Q213517 Q193149 Q150370 Q2148190 Q1649939 Q22703313 Q277014 Q11655044 Q190128 Q141709 Q183455 Q132868 Q1536321 Q2056788 Q4176307 Q1362310 Q647879 Q5497998 Q1480814 Q12068771 Q2097617 Q188203 Q2211837 Q23883 Q589528 Q3100317 Q21952373 Q326170 Q200712 Q181857 Q21951778 Q35000 Q42820 Q49364 Q803717 Q323760 Q72154 Q1064776 Q645271 Q132811 Q141548 Q41735 Q213367 Q1542675 Q1324526 Q208962 Q3306188 Q965439 Q681367 Q1536356 Q218189 Q2001350 Q1368308 Q131274 Q845217 Q2879449 Q202868 Q3395428 Q2879639 Q4874196 Q2336534 Q774759 Q392623 Q1502095
(c(Q123705)|c(Q33837),P206,c(Q15324))
action count
action less
action union
action find_reverse_tuple_counts
relation P206
type Q15324
type Q123705
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_multi_types
action find_reverse
entity Q38684
relation P206
type Q123705
type Q33837
[ANSWER]
[[{'concept': 'Q123705'}, {'concept': 'Q33837'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P206 ?k . ?k rdf:type ontology:Q15324 . ?x rdf:type ontology:Q123705 } UNION { ?x property:P206 ?k . ?k rdf:type ontology:Q15324 . ?x rdf:type ontology:Q33837 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P206 resource:Q38684 . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q123705 ) ( ontology:Q33837 ) } } } } . FILTER ( ?o < ?p ) }
Seymour Arm Otago Harbour Djurgårdsbrunnsviken Sea of Åland Baie de la Seine Varangerfjord Bay of Bangkok Cape Cod Bay Munster Water Curonian Lagoon Salzhaff Frobisher Bay Karkinit Bay Waitemata Harbour Cantabrian Sea Labrador Sea Shark Bay Portsmouth Harbour Moro Gulf Cork Harbour Gulf of Patras Dusky Sound Scapa Flow Nybroviken Gulf of Guinea Boston Harbor Gulf of İzmir Bay of Gibraltar Arcachon Bay Saldanha Bay Savu Sea Arabian Sea Albemarle Sound Bellingham Bay Neuwarper See Chesterfield Inlet Le Pouliguen Bay Gabon Estuary Onega Bay Grand Traverse Bay Phang Nga Bay Ballona Wetlands Narragansett Bay Gulf of Paria Yellow Sea Bodega Harbor Leitches Creek Case Inlet Darvel Bay Morecambe Bay The Wash Whangarei Harbour Sagami Bay Ceram Sea Norfolk Bay North Atlantic Bothnian Bay Bay of Kotor Kleiner Jasmunder Bodden Placentia Bay Rudnaya Lynn Canal Prorer Wiek Maces Bay Andaman Sea Galveston Bay Southampton Water Encounter Bay St. Mary's Bay, Newfoundland and Labrador Bohai Sea Koro Sea Robbins Passage Long Island Sound Caracasbaai Heligoland Bight Cardigan Bay Ross Sea Venetian Lagoon Tasiusaq Bay Storm Bay Cenderawasih Bay Gulf of Maine Manila Bay Bay of Plenty Green Bay Suisun Bay Pechora Sea Zapadnaya Litsa Lake Maracaibo Glades Bay Tokyo Bay Kempeleenlahti San Francisco Bay Belfast Lough Baía de Todos os Santos Tsuen Wan Gulf of Naples Rivoli Bay Lincoln Sea Banten Bay Vincennes Bay Milne Bay D'Urville Sea Malpeque Bay Abu Qir Bay Hauraki Gulf Chesapeake Bay Celtic Sea Muscongus Bay German Bight Årstaviken Dniester Liman Cumberland Sound Ladugårdslandsviken Gulf St Vincent Liminka Bay Reloncaví Sound Stockholms ström God Bay Gulf of Aden Pagasetic Gulf Queen Maud Gulf Clear Water Bay Oslofjord Lower New York Bay Sea of Marmara Peconic Bay Argolic Gulf St Brides Bay Levantine Sea Scoresby Sund James Bay Antongil Bay South Sea Bay of Cárdenas Buzzards Bay Sea of the Hebrides Bay of Biscay Caernarfon Bay Quiberon Bay Kamishak Bay Marguerite Bay St. Margarets Bay Gulf of Morbihan Jade Bight Great Sandy Strait Weddell Sea Maputo Bay Gulf of Papua Whangaroa Harbour Vyborg Bay Bay of Lübeck Disko Bay Gulf of Corinth Bay of Mecklenburg Timor Sea Lake Pontchartrain Wandel Sea Sibuyan Sea Gulf of Odessa Laccadive Sea Río de la Plata Visayan Sea Carmarthen Bay Western Port Loch Ewe L'Haridon Bight Peter the Great Gulf Massachusetts Bay Shannon Estuary Window Bay New Danube Botany Bay Jamaica Bay Seto Inland Sea bay of La Concha Thracian Sea Sivash Pötenitzer Wiek Galway Bay Bering Sea Gulf of Riga Guichen Bay Gare Loch Swansea Bay Bohai Bay Ewiges Meer Georgian Bay bay of Bourgneuf Schlei Gold Coast Broadwater Hughes Bay Gulf of Aqaba East Siberian Sea Hammarby sjö Maxwell Bay Dollart Mikawa Bay Broken Bay Spencer Gulf San Pablo Bay Queen Charlotte Sound Thermaic Gulf Bantry Bay Pegasus Bay Firth of Forth Carlota Cove Granite Harbour Chukchi Sea Gulf of Gonâve Thames Estuary Conception Bay Delaware Bay Bohol Sea Guanabara Bay Mactan Channel Gironde estuary Sea of Crete Flores Sea Rhode Island Sound Bothnian Sea Little Bras d'Or Bali Sea Whalers Bay Ha Long Bay Wilhelmina Bay Bellingshausen Sea Greenland Sea Gulf of Fethiye Paterson Inlet Saltsjön Tasman Bay Bay of Greifswald Frederick Henry Bay Kachemak Bay Severn Estuary Salish Sea Bristol Channel Saginaw Bay Dead Sea Ussuri Bay Gulf of Ancud Morrisons Bay Bay of Pomerania Balearic Sea Bay of Fundy Boullanger Bay Sea of Azov Ligurian Sea Java Sea Mont Saint-Michel Bay Gulf of Gabès Amundsen Sea Upper New York Bay Sea of Sardinia Gulf of California Mikkelsen Harbor Irish Sea Gdańsk Bay Irminger Sea Port Phillip Bay Iroise Sea Amakusa Sea Riddarfjärden Henri Freycinet Harbour Gulf of Penas Admiralty Bay Norwegian Bay Ise Bay Beaufort Sea Foxe Basin Fortune Bay Edsviken Liverpool Bay Baie de Douarnenez Bay of Exploits Melville Bay Portage Glacier Samar Sea Wellington Harbour
280
action count
action less
action union
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type neighborhood
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_multi_types
action find_reverse
entity Bay of Bengal
relation located next to body of water
type neighborhood
type archipelago
[[{'concept': 'neighborhood'}, {'concept': 'archipelago'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water . ?x rdf:type ontology:neighborhood } UNION { ?x property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water . ?x rdf:type ontology:archipelago } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:located_next_to_body_of_water resource:Bay_of_Bengal . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:neighborhood ) ( ontology:archipelago ) } } } } . FILTER ( ?o < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18712899
P54
Q1194951
USER
What is Donis Avdiaj a member of ?
(Q18712899,P54,c(Q1194951))
action filter_type
action find
entity Q18712899
relation P54
type Q1194951
['Q18712899', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q18712899 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Donis Avdiaj
action filter_type
action find
entity Donis Avdiaj
relation member of sports team
type national sports team
['Donis Avdiaj', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Donis_Avdiaj property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q186262
SYSTEM
Albania national football team
Q186262
(Q18712899,P54,c(Q1194951))
action filter_type
action find
entity Q18712899
relation P54
type Q1194951
Donis Avdiaj a member of is the [ANSWER]
['Q18712899', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q18712899 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Albania national football team
Donis Avdiaj a member of is the Albania national football team
Albania national football team
action filter_type
action find
entity Donis Avdiaj
relation member of sports team
type national sports team
['Donis Avdiaj', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Donis_Avdiaj property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18712899
P641
Q349
USER
Which sport was that person a part of ?
(Q186262,P641,c(Q349))
action filter_type
action find
entity Q18712899
relation P641
type Q349
['Q186262', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q18712899 property:P641 ?e . ?e rdf:type ontology:Q349 }
Donis Avdiaj
action filter_type
action find
entity Donis Avdiaj
relation sport
type sport
['Albania national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Donis_Avdiaj property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q186262,P641,c(Q349))
action filter_type
action find
entity Q18712899
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q186262', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q18712899 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Donis Avdiaj
relation sport
type sport
['Albania national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Donis_Avdiaj property:sport ?e . ?e rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q186262
P17
Q15617994
USER
How many administrative territories do Albania national football team belong to ?
(Q186262,P17,c(Q15617994))
action count
action filter_type
action find
entity Q186262
relation P17
type Q15617994
['Q186262', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q186262 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Albania national football team
action count
action filter_type
action find
entity Albania national football team
relation country
type designation for an administrative territorial entity
['Albania national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Albania_national_football_team property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q222
(Q186262,P17,c(Q15617994))
action count
action filter_type
action find
entity Q186262
relation P17
type Q15617994
[ANSWER]
['Q186262', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q186262 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Albania
1
action count
action filter_type
action find
entity Albania national football team
relation country
type designation for an administrative territorial entity
['Albania national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Albania_national_football_team property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q429734
P17
Q15617994
USER
Which administrative territory is Smithville present in ?
(Q429734,P17,c(Q15617994))
action filter_type
action find
entity Q429734
relation P17
type Q15617994
['Q429734', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q429734 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Smithville
action filter_type
action find
entity Smithville
relation country
type designation for an administrative territorial entity
['Smithville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Smithville property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q429734,P17,c(Q15617994))
action filter_type
action find
entity Q429734
relation P17
type Q15617994
Smithville is the [ANSWER]
['Q429734', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q429734 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
Smithville is the United States of America
United States of America
action filter_type
action find
entity Smithville
relation country
type designation for an administrative territorial entity
['Smithville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Smithville property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q188307
P127
Q811979
USER
How many architectural structures are under posessision of United States of America or Salvation Army ?
(c(Q811979),P127,Q30) (c(Q811979),P127,Q188307)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P127
type Q811979
action filter_type
action find_reverse
entity Q188307
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q30'] [{'concept': 'Q811979'}, 'P127', 'Q188307']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { VALUES ( ?j ) { ( resource:Q188307 ) ( resource:Q30 ) } . ?u property:P127 ?j }
United States of America Salvation Army
action count
action union
action filter_type
action find_reverse
entity United States of America
relation owned by
type architectural structure
action filter_type
action find_reverse
entity Salvation Army
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'United States of America'] [{'concept': 'architectural structure'}, 'owned by', 'Salvation Army']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { VALUES ( ?j ) { ( resource:Salvation_Army ) ( resource:United_States_of_America ) } . ?u property:owned_by ?j }
[]
architectural structure
SYSTEM
5
Q5203364 Q10692625 Q7846680 Q6242206 Q21402642
(c(Q811979),P127,Q30) (c(Q811979),P127,Q188307)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P127
type Q811979
action filter_type
action find_reverse
entity Q188307
relation P127
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P127', 'Q30'] [{'concept': 'Q811979'}, 'P127', 'Q188307']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { VALUES ( ?j ) { ( resource:Q188307 ) ( resource:Q30 ) } . ?u property:P127 ?j }
D.C. Armory The Temple Trowbridge House John Joseph Moakley United States Courthouse 18 Gramercy Park
5
action count
action union
action filter_type
action find_reverse
entity United States of America
relation owned by
type architectural structure
action filter_type
action find_reverse
entity Salvation Army
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'United States of America'] [{'concept': 'architectural structure'}, 'owned by', 'Salvation Army']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { VALUES ( ?j ) { ( resource:Salvation_Army ) ( resource:United_States_of_America ) } . ?u property:owned_by ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1563
P1376
Q15617994
USER
Which administrative territory has Havana has its first city ?
(Q1563,P1376,c(Q15617994))
action filter_type
action find
entity Q1563
relation P1376
type Q15617994
['Q1563', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1563 property:P1376 ?w . ?w rdf:type ontology:Q15617994 }
Havana
action filter_type
action find
entity Havana
relation capital of
type designation for an administrative territorial entity
['Havana', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Havana property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q241
SYSTEM
Cuba
Q241
(Q1563,P1376,c(Q15617994))
action filter_type
action find
entity Q1563
relation P1376
type Q15617994
[ANSWER] has Havana has its first city
['Q1563', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1563 property:P1376 ?w . ?w rdf:type ontology:Q15617994 }
Cuba
Cuba has Havana has its first city
Cuba
action filter_type
action find
entity Havana
relation capital of
type designation for an administrative territorial entity
['Havana', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Havana property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q241 Q83308 Q17628
P530
Q15617994
USER
Does Cuba have ambassadorial relations with Pieve Torina and Ottiglio ?
(Q241,P530,Q83308) (Q241,P530,Q17628)
action is_in
entity Q241
action intersection
action find_reverse
entity Q83308
relation P530
action find_reverse
entity Q17628
relation P530
['Q241', 'P530', 'Q83308'] ['Q241', 'P530', 'Q17628']
ASK WHERE { resource:Q241 property:P530 resource:Q83308 . resource:Q241 property:P530 resource:Q17628 }
Cuba Pieve Torina Ottiglio
action is_in
entity Cuba
action intersection
action find_reverse
entity Pieve Torina
relation diplomatic relation
action find_reverse
entity Ottiglio
relation diplomatic relation
['Cuba', 'diplomatic relation', 'Pieve Torina'] ['Cuba', 'diplomatic relation', 'Ottiglio']
ASK WHERE { resource:Cuba property:diplomatic_relation resource:Pieve_Torina . resource:Cuba property:diplomatic_relation resource:Ottiglio }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q241,P530,Q83308) (Q241,P530,Q17628)
action is_in
entity Q241
action intersection
action find_reverse
entity Q83308
relation P530
action find_reverse
entity Q17628
relation P530
[ANSWER]
['Q241', 'P530', 'Q83308'] ['Q241', 'P530', 'Q17628']
ASK WHERE { resource:Q241 property:P530 resource:Q83308 . resource:Q241 property:P530 resource:Q17628 }
No
action is_in
entity Cuba
action intersection
action find_reverse
entity Pieve Torina
relation diplomatic relation
action find_reverse
entity Ottiglio
relation diplomatic relation
['Cuba', 'diplomatic relation', 'Pieve Torina'] ['Cuba', 'diplomatic relation', 'Ottiglio']
ASK WHERE { resource:Cuba property:diplomatic_relation resource:Pieve_Torina . resource:Cuba property:diplomatic_relation resource:Ottiglio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q241
P495
Q838948
USER
Which works of art originated in Cuba ?
action filter_type
action find_reverse
entity Q241
relation P495
type Q838948
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q241 . ?h rdf:type ontology:Q838948 }
Cuba
action filter_type
action find_reverse
entity Cuba
relation country of origin
type work of art
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Cuba . ?h rdf:type ontology:work_of_art }
[]
work of art
Q1591464 Q2659989 Q16551804
SYSTEM
Habana Blues, Guantanamera, Behavior
Q16551804 Q12155642 Q1637826 Q3813429 Q7386366 Q2659989 Q2527730 Q18170638 Q5193097 Q19516192 Q5614002 Q5350817 Q5401369 Q25206713 Q20870848 Q5506530 Q451691 Q1591464 Q7927900 Q7854768 Q5793574 Q21647279 Q5826676 Q25206676 Q16560494 Q26329404 Q7560556 Q2943827 Q7232309 Q2683641 Q746612 Q7729256 Q5244315 Q1194745 Q9031472 Q7768184 Q1603046 Q5965849 Q6466264 Q24514500 Q24514503 Q25206677 Q925448 Q3556867 Q18347016 Q7746083 Q7755475 Q16647653 Q21647193 Q21071094 Q1095023 Q5981203 Q8000614 Q18703165 Q2064773 Q7620058 Q7562300 Q5720353 Q7578622 Q154742 Q5056401 Q7106444 Q6155661 Q7136329 Q7764259 Q6465574 Q7800666 Q7712563 Q15052370 Q4689257 Q7759820 Q5753867 Q6683364 Q1233119 Q4269760 Q6013670 Q5351730 Q25206682 Q21028342 Q1136884 Q3234726 Q2645467
action filter_type
action find_reverse
entity Q241
relation P495
type Q838948
[ANSWERS] originated in Cuba
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q241 . ?h rdf:type ontology:Q838948 }
Behavior Havana Jam '79 Juan of the Dead Habanastation Río Negro Guantanamera I Am Cuba Venice Culpa Embrujo antillano Guardafronteras El Benny Estilo Hip Hop Musical Romance The last match Frutas en el Café Beloved Habana Blues Video de Familia Turbulence Red Cockroaches Vertical Love El siglo de las luces The Renegade The Man from Maisinicu The Companion Son, la antesala de la salsa Life is to Whistle Portrait of Teresa Off to Havana I Go My 20th Century The Days of Water De Cierta Manera A Successful Man Memories of Overdevelopment The Teacher Hello Hemingway The Beauty of the Alhambra La muerte de un burócrata School for Models Country Corner A Dangerous Adventure Strawberry and Chocolate Suite Habana Cantata de Chile The Last Supper The Other Francisco Up to a Certain Point Think of Me Supporting Roles Clandestinos The Survivors Wild Dogs La Piscina Viva Cuba Stories of the Revolution Sons of Cuba Barrio Cuba Split Decision The Twelve Chairs Cecilia Oscuros Rinocerontes Enjaulados Un rey en la Habana Paraíso The Silly Age La Ultima Rumba de Papa Montero Ticket to Paradise The Adventures of Juan Quin Quin Adio Kerida Afinidades The Recourse to the Method Letters from the Park Los Zapaticos me Aprietan Una Noche Lucía Honey for Oshun El Otro Cristóbal The Only One Adorable Lies Lista de Espera Madagascar Memories of Underdevelopment
Habana Blues, Guantanamera and Behavior originated in Cuba
Habana Blues Guantanamera Behavior
action filter_type
action find_reverse
entity Cuba
relation country of origin
type work of art
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Cuba . ?h rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q838948 Q7725634
USER
Which works of art inspired around 1 works of art or literary works ?
(c(Q838948)|c(Q7725634),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P941 ?u . ?u rdf:type ontology:Q838948 . ?v rdf:type ontology:Q7725634 } UNION { ?v property:P941 ?u . ?u rdf:type ontology:Q838948 . ?v rdf:type ontology:Q838948 } } GROUP BY ?u } . FILTER ( ?h = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
value 1
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:inspired_by ?u . ?u rdf:type ontology:work_of_art . ?v rdf:type ontology:literary_work } UNION { ?v property:inspired_by ?u . ?u rdf:type ontology:work_of_art . ?v rdf:type ontology:work_of_art } } GROUP BY ?u } . FILTER ( ?h = 1 ) }
[]
work of art work of art literary work
Q17738 Q107724 Q465478
SYSTEM
Star Wars Episode IV: A New Hope, Thunderball, Star Trek II: The Wrath of Khan
Q1136305 Q107724 Q1856846 Q1852671 Q17738 Q181598 Q753298 Q1754737 Q186014 Q5968141 Q734834 Q375786 Q83186 Q465478
(c(Q838948)|c(Q7725634),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
value 1
[ANSWERS] inspired around 1 works of art or literary works
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P941 ?u . ?u rdf:type ontology:Q838948 . ?v rdf:type ontology:Q7725634 } UNION { ?v property:P941 ?u . ?u rdf:type ontology:Q838948 . ?v rdf:type ontology:Q838948 } } GROUP BY ?u } . FILTER ( ?h = 1 ) }
Doryphoros Thunderball The Ballad of Cable Hogue Carnival of Souls Star Wars Episode IV: A New Hope King Lear Uncle Vanya Lady Snowblood Zeitgeist: The Movie La sirena varada Ghent Altarpiece Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan
Star Wars Episode IV: A New Hope, Thunderball and Star Trek II: The Wrath of Khan inspired around 1 works of art or literary works
Star Wars Episode IV: A New Hope Thunderball Star Trek II: The Wrath of Khan
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
value 1
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:inspired_by ?u . ?u rdf:type ontology:work_of_art . ?v rdf:type ontology:literary_work } UNION { ?v property:inspired_by ?u . ?u rdf:type ontology:work_of_art . ?v rdf:type ontology:work_of_art } } GROUP BY ?u } . FILTER ( ?h = 1 ) }
[]