Simple Question (Direct)
Simple Question
Q1729018
P840
Q56061
USER
What location is Kickboxer 3 set in ?
(Q1729018,P840,c(Q56061))
action filter_type
action find
entity Q1729018
relation P840
type Q56061
['Q1729018', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1729018 property:P840 ?x . ?x rdf:type ontology:Q56061 }
Kickboxer 3
action filter_type
action find
entity Kickboxer 3
relation narrative location
type administrative territorial entity
['Kickboxer 3', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kickboxer_3 property:narrative_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q1729018,P840,c(Q56061))
action filter_type
action find
entity Q1729018
relation P840
type Q56061
Kickboxer 3 is set in [ANSWER]
['Q1729018', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1729018 property:P840 ?x . ?x rdf:type ontology:Q56061 }
Rio de Janeiro
Kickboxer 3 is set in Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Kickboxer 3
relation narrative location
type administrative territorial entity
['Kickboxer 3', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kickboxer_3 property:narrative_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1729018
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q8678,P364,c(Q34770))
action filter_type
action find
entity Q1729018
relation P364
type Q34770
['Q8678', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q1729018 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Kickboxer 3
action filter_type
action find
entity Kickboxer 3
relation original language of work
type language
['Rio de Janeiro', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Kickboxer_3 property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q8678,P364,c(Q34770))
action filter_type
action find
entity Q1729018
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q8678', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q1729018 property:P364 ?a . ?a rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Kickboxer 3
relation original language of work
type language
['Rio de Janeiro', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Kickboxer_3 property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7759443 Q1729018
P364
Q34770
USER
Or The Rapture?
OR((Q1729018,P364,c(Q34770)), (Q7759443,P364,c(Q34770)))
action filter_type
action union
action find
entity Q1729018
relation P364
action find
entity Q7759443
relation P364
type Q34770
{'OR': [['Q1729018', 'P364', {'concept': 'Q34770'}], ['Q7759443', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34770 . { { resource:Q1729018 property:P364 ?g } UNION { resource:Q7759443 property:P364 ?g } } }
The Rapture Kickboxer 3
action filter_type
action union
action find
entity Kickboxer 3
relation original language of work
action find
entity The Rapture
relation original language of work
type language
{'OR': [['Kickboxer 3', 'original language of work', {'concept': 'language'}], ['The Rapture', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:language . { { resource:Kickboxer_3 property:original_language_of_work ?g } UNION { resource:The_Rapture property:original_language_of_work ?g } } }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q1729018,P364,c(Q34770)), (Q7759443,P364,c(Q34770)))
action filter_type
action union
action find
entity Q1729018
relation P364
action find
entity Q7759443
relation P364
type Q34770
[ANSWER]
{'OR': [['Q1729018', 'P364', {'concept': 'Q34770'}], ['Q7759443', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34770 . { { resource:Q1729018 property:P364 ?g } UNION { resource:Q7759443 property:P364 ?g } } }
English
English
action filter_type
action union
action find
entity Kickboxer 3
relation original language of work
action find
entity The Rapture
relation original language of work
type language
{'OR': [['Kickboxer 3', 'original language of work', {'concept': 'language'}], ['The Rapture', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:language . { { resource:Kickboxer_3 property:original_language_of_work ?g } UNION { resource:The_Rapture property:original_language_of_work ?g } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7759443
P50
Q502895
USER
Which people authored that collectable ?
(Q1860,P50,c(Q502895))
action filter_type
action find
entity Q7759443
relation P50
type Q502895
['Q1860', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7759443 property:P50 ?t . ?t rdf:type ontology:Q502895 }
The Rapture
action filter_type
action find
entity The Rapture
relation author
type common name
['English', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Rapture property:author ?t . ?t rdf:type ontology:common_name }
[]
common name
Q558416 Q1910044
SYSTEM
Tim LaHaye, Jerry B. Jenkins
Q558416 Q1910044
(Q1860,P50,c(Q502895))
action filter_type
action find
entity Q7759443
relation P50
type Q502895
[ANSWERS] authored that collectable
['Q1860', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7759443 property:P50 ?t . ?t rdf:type ontology:Q502895 }
Tim LaHaye Jerry B. Jenkins
Tim LaHaye and Jerry B. Jenkins authored that collectable
Tim LaHaye Jerry B. Jenkins
action filter_type
action find
entity The Rapture
relation author
type common name
['English', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Rapture property:author ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6746102
P50
Q2342494
USER
Are Man-Eaters of Kumaon written by those people ?
(Q6746102,P50,Q558416) (Q6746102,P50,Q1910044)
action is_in
entity prev_answer
action find
entity Q6746102
relation P50
['Q6746102', 'P50', 'Q558416'] ['Q6746102', 'P50', 'Q1910044']
ASK WHERE { VALUES ( ?i ) { ( resource:Q558416 ) ( resource:Q1910044 ) } . resource:Q6746102 property:P50 ?i }
Man-Eaters of Kumaon
action is_in
entity prev_answer
action find
entity Man-Eaters of Kumaon
relation author
['Man-Eaters of Kumaon', 'author', 'Tim LaHaye'] ['Man-Eaters of Kumaon', 'author', 'Jerry B. Jenkins']
ASK WHERE { VALUES ( ?i ) { ( resource:Tim_LaHaye ) ( resource:Jerry_B._Jenkins ) } . resource:Man-Eaters_of_Kumaon property:author ?i }
[]
collectable
SYSTEM
NO
(Q6746102,P50,Q558416) (Q6746102,P50,Q1910044)
action is_in
entity prev_answer
action find
entity Q6746102
relation P50
[ANSWER]
['Q6746102', 'P50', 'Q558416'] ['Q6746102', 'P50', 'Q1910044']
ASK WHERE { VALUES ( ?i ) { ( resource:Q558416 ) ( resource:Q1910044 ) } . resource:Q6746102 property:P50 ?i }
No
action is_in
entity prev_answer
action find
entity Man-Eaters of Kumaon
relation author
['Man-Eaters of Kumaon', 'author', 'Tim LaHaye'] ['Man-Eaters of Kumaon', 'author', 'Jerry B. Jenkins']
ASK WHERE { VALUES ( ?i ) { ( resource:Tim_LaHaye ) ( resource:Jerry_B._Jenkins ) } . resource:Man-Eaters_of_Kumaon property:author ?i }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q956 Q1729018
P190 P915
Q56061
USER
Which administrative territories were Kickboxer 3 filmed on and are twin cities of Beijing ?
AND((Q1729018,P915,c(Q56061)), (Q956,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q1729018
relation P915
action find
entity Q956
relation P190
type Q56061
{'AND': [['Q1729018', 'P915', {'concept': 'Q56061'}], ['Q956', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q1729018 property:P915 ?p . resource:Q956 property:P190 ?p }
Beijing Kickboxer 3
action filter_type
action intersection
action find
entity Kickboxer 3
relation filming location
action find
entity Beijing
relation sister city
type administrative territorial entity
{'AND': [['Kickboxer 3', 'filming location', {'concept': 'administrative territorial entity'}], ['Beijing', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Kickboxer_3 property:filming_location ?p . resource:Beijing property:sister_city ?p }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
AND((Q1729018,P915,c(Q56061)), (Q956,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q1729018
relation P915
action find
entity Q956
relation P190
type Q56061
[ANSWER] was Kickboxer 3 filmed on and are twin cities of Beijing
{'AND': [['Q1729018', 'P915', {'concept': 'Q56061'}], ['Q956', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q1729018 property:P915 ?p . resource:Q956 property:P190 ?p }
Rio de Janeiro
Rio de Janeiro was Kickboxer 3 filmed on and are twin cities of Beijing
Rio de Janeiro
action filter_type
action intersection
action find
entity Kickboxer 3
relation filming location
action find
entity Beijing
relation sister city
type administrative territorial entity
{'AND': [['Kickboxer 3', 'filming location', {'concept': 'administrative territorial entity'}], ['Beijing', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Kickboxer_3 property:filming_location ?p . resource:Beijing property:sister_city ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q65
P840
Q56061 Q166142 Q15416
USER
How many administrative territories are less number of applications and television programs set in than Los Angeles ?
(c(Q166142)|c(Q15416),P840,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q65
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P840 resource:Q65 . { { ?d rdf:type ontology:Q166142 } UNION { ?d rdf:type ontology:Q15416 } } } } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n rdf:type ontology:Q166142 . ?a rdf:type ontology:Q56061 . ?n property:P840 ?a } UNION { ?n property:P840 ?a . ?a rdf:type ontology:Q56061 . ?n rdf:type ontology:Q15416 } } GROUP BY ?a } }
Los Angeles
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Los Angeles
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:narrative_location resource:Los_Angeles . { { ?d rdf:type ontology:application } UNION { ?d rdf:type ontology:television_program } } } } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n rdf:type ontology:application . ?a rdf:type ontology:administrative_territorial_entity . ?n property:narrative_location ?a } UNION { ?n property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:television_program } } GROUP BY ?a } }
[]
administrative territorial entity application television program
SYSTEM
371
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q90 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q52437 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q84 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q62 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q166142)|c(Q15416),P840,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q65
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P840 resource:Q65 . { { ?d rdf:type ontology:Q166142 } UNION { ?d rdf:type ontology:Q15416 } } } } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n rdf:type ontology:Q166142 . ?a rdf:type ontology:Q56061 . ?n property:P840 ?a } UNION { ?n property:P840 ?a . ?a rdf:type ontology:Q56061 . ?n rdf:type ontology:Q15416 } } GROUP BY ?a } }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Paris Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Murano Chicago Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning London Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. San Francisco Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
371
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Los Angeles
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:narrative_location resource:Los_Angeles . { { ?d rdf:type ontology:application } UNION { ?d rdf:type ontology:television_program } } } } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?w ) WHERE { { ?n rdf:type ontology:application . ?a rdf:type ontology:administrative_territorial_entity . ?n property:narrative_location ?a } UNION { ?n property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:television_program } } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4093
P840
Q56061 Q166142 Q15416
USER
And also tell me about Glasgow?
(c(Q166142)|c(Q15416),P840,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q4093
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P840 ?o . ?o rdf:type ontology:Q56061 . ?u rdf:type ontology:Q166142 } UNION { ?u property:P840 ?o . ?u rdf:type ontology:Q15416 . ?o rdf:type ontology:Q56061 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P840 resource:Q4093 . { VALUES ( ?g ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?n rdf:type ?g } } } . FILTER ( ?k < ?c ) }
Glasgow
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Glasgow
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:narrative_location ?o . ?o rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:application } UNION { ?u property:narrative_location ?o . ?u rdf:type ontology:television_program . ?o rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:narrative_location resource:Glasgow . { VALUES ( ?g ) { ( ontology:application ) ( ontology:television_program ) } . ?n rdf:type ?g } } } . FILTER ( ?k < ?c ) }
[]
administrative territorial entity application television program
SYSTEM
274
Q3579 Q1715 Q704257 Q7436 Q21075005 Q1183 Q3711 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q3659 Q16563 Q8692 Q1289 Q124739 Q3413045 Q79873 Q81788 Q43453 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q80734 Q7880 Q82858 Q1435589 Q690 Q257536 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q25319 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q2048321 Q1335 Q594807 Q9427 Q48274 Q83317 Q12340599 Q186237 Q37776 Q1489 Q7094142 Q3561 Q11864 Q83387 Q462799 Q8673 Q11703 Q490 Q6346 Q495 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q3630 Q1246235 Q17151 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q753121 Q16556 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q900 Q14815 Q26881 Q13670 Q1911961 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q2214 Q270 Q2028 Q37066 Q486439 Q2073798 Q184587 Q208472 Q79980 Q82490 Q79985 Q49243 Q3766 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q1011683 Q41329 Q956 Q1555 Q1491 Q1492 Q16562 Q6225 Q437 Q2118905 Q134672 Q1479 Q1780 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q220 Q340 Q125434 Q25331 Q25231 Q25230 Q617 Q21855637 Q3305102 Q990168 Q1015727 Q34713 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q530090 Q8717 Q3825 Q159232 Q5818 Q1867 Q384 Q5813 Q27393 Q12191 Q126148 Q202337 Q837478 Q184345 Q13362 Q6537 Q49111 Q499196 Q495373 Q10313 Q42810 Q3640 Q647 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q2704 Q1040 Q6441 Q374748 Q485172 Q26793 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q41970 Q34647 Q33986 Q1085
(c(Q166142)|c(Q15416),P840,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q4093
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P840 ?o . ?o rdf:type ontology:Q56061 . ?u rdf:type ontology:Q166142 } UNION { ?u property:P840 ?o . ?u rdf:type ontology:Q15416 . ?o rdf:type ontology:Q56061 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P840 resource:Q4093 . { VALUES ( ?g ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?n rdf:type ?g } } } . FILTER ( ?k < ?c ) }
Tripoli Hanover Albany Gatchina Serritslev Puerto Rico Belgrade Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium N'Djamena Memphis Bilbao Grenoble Tijuana Farsø Tombstone Giza Plzeň special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Campagna Toulouse Sigmaringen Folsom Delft Janesville Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Aarhus Salem Jaffa Valencia Dayton Skagen Randers Varde Montevideo Søborg Timbuktu Nashua Mosul Vedersø Joensuu Besançon Mexico City Onllwyn Algiers Junagadh Diyarbakır Evanston Lagos United States Virgin Islands Milan Indianapolis Turin Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Jakarta Nørresundby Thessaloniki Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Atacames Phoenix Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Kazan Weißenfels Helsingør Syracuse Thorning York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Pskov Warsaw Verona Bismarck Cedar Rapids Welch Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Riverside Damascus Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Rødbyhavn Linz Beijing Guatemala City La Paz Barcelona El Paso Coventry Ljubljana Purley Exeter Bordeaux Bratislava Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Rome Montreal Port Elizabeth Odense Svalbard Guernsey Padua Hvilsager Tsamantas Keighley Mbale Salzburg Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Jerichow Seville Libreville Santa Cruz Córdoba Taipei Skopje Canary Islands Herning Nantes Tangier Nauplion Sabinov Viña del Mar Ferrara Vicenza Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Ankara Rennes Haifa Ulm Stege Whitby Sils Maria Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Pescara Karlsruhe Montpellier Jenin Ann Arbor Bergen Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Kolkata Tire Mumbai Grenå Siena Reims Pyatigorsk Johannesburg Valparaíso Prague
274
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Glasgow
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:narrative_location ?o . ?o rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:application } UNION { ?u property:narrative_location ?o . ?u rdf:type ontology:television_program . ?o rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:narrative_location resource:Glasgow . { VALUES ( ?g ) { ( ontology:application ) ( ontology:television_program ) } . ?n rdf:type ?g } } } . FILTER ( ?k < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027124
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as their registry harbour than Candor ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027124
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?v ) WHERE { ?t property:P532 ?r . ?t rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q24027124 property:P532 ?f . ?f rdf:type ontology:Q2235308 } } . FILTER ( ?v > ?o ) }
Candor
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Candor
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?v ) WHERE { ?t property:port_of_registry ?r . ?t rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Candor property:port_of_registry ?f . ?f rdf:type ontology:ship_type } } . FILTER ( ?v > ?o ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027124
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as their registry harbour than Candor
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?v ) WHERE { ?t property:P532 ?r . ?t rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q24027124 property:P532 ?f . ?f rdf:type ontology:Q2235308 } } . FILTER ( ?v > ?o ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have more number of administrative territories as their registry harbour than Candor
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Candor
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?v ) WHERE { ?t property:port_of_registry ?r . ?t rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Candor property:port_of_registry ?f . ?f rdf:type ontology:ship_type } } . FILTER ( ?v > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24026997
P532
Q56061 Q2235308
USER
And how about Reform?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026997
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?f ) WHERE { ?m property:P532 ?j . ?m rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q24026997 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?c ) }
Reform
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Reform
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?f ) WHERE { ?m property:port_of_registry ?j . ?m rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Reform property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?f > ?c ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026997
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?f ) WHERE { ?m property:P532 ?j . ?m rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q24026997 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?c ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Reform
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?f ) WHERE { ?m property:port_of_registry ?j . ?m rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Reform property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?f > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q14524493
USER
How many terrains have approximately 1 ship type as their toponym ?
(c(Q14524493),P138,c(Q2235308))
action count
action approx
action find_tuple_counts
relation P138
type Q14524493
type Q2235308
value 1
[{'concept': 'Q14524493'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n property:P138 ?f . ?f rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q14524493 } GROUP BY ?n } . FILTER ( ?d = 1 ) }
action count
action approx
action find_tuple_counts
relation named after
type terrain
type ship type
value 1
[{'concept': 'terrain'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n property:named_after ?f . ?f rdf:type ontology:ship_type . ?n rdf:type ontology:terrain } GROUP BY ?n } . FILTER ( ?d = 1 ) }
[]
ship type terrain
SYSTEM
1
Q188982
(c(Q14524493),P138,c(Q2235308))
action count
action approx
action find_tuple_counts
relation P138
type Q14524493
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q14524493'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n property:P138 ?f . ?f rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q14524493 } GROUP BY ?n } . FILTER ( ?d = 1 ) }
Mount Erebus
1
action count
action approx
action find_tuple_counts
relation named after
type terrain
type ship type
value 1
[{'concept': 'terrain'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { ?n property:named_after ?f . ?f rdf:type ontology:ship_type . ?n rdf:type ontology:terrain } GROUP BY ?n } . FILTER ( ?d = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q2235308 Q2088357
USER
Which musical ensembles are the eponym of min number of ship types ?
(c(Q2088357),P138,c(Q2235308))
action argmin
action find_tuple_counts
relation P138
type Q2088357
type Q2235308
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?r ) WHERE { ?m property:P138 ?d . ?d rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q2088357 } GROUP BY ?m } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?z ) WHERE { ?b property:P138 ?w . ?w rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q2088357 } GROUP BY ?b } . FILTER ( ?z = ?v ) }
action argmin
action find_tuple_counts
relation named after
type musical ensemble
type ship type
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?r ) WHERE { ?m property:named_after ?d . ?d rdf:type ontology:ship_type . ?m rdf:type ontology:musical_ensemble } GROUP BY ?m } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?z ) WHERE { ?b property:named_after ?w . ?w rdf:type ontology:ship_type . ?b rdf:type ontology:musical_ensemble } GROUP BY ?b } . FILTER ( ?z = ?v ) }
[]
ship type musical ensemble
Q18233 Q420880 Q678410
SYSTEM
ABBA, They Might Be Giants, Marillion
Q678410 Q1122398 Q2387270 Q163157 Q2731747 Q691568 Q220967 Q5300251 Q10348952 Q966066 Q263632 Q25177 Q4906822 Q180582 Q706774 Q2122494 Q259254 Q1525702 Q1539872 Q16517193 Q5630197 Q492653 Q10423486 Q1655278 Q5299699 Q1865918 Q909810 Q26922434 Q2598316 Q4955875 Q262431 Q7430486 Q555302 Q13569874 Q524495 Q1427200 Q11664954 Q2034568 Q16955334 Q6651100 Q318322 Q2033456 Q19363304 Q586933 Q23809295 Q5297788 Q1221349 Q11815622 Q5646562 Q462380 Q3091865 Q2013381 Q18233 Q298880 Q2635412 Q26986626 Q272517 Q2117346 Q981180 Q1260713 Q2637905 Q2226430 Q502291 Q10570429 Q1344492 Q43267 Q190155 Q667389 Q220896 Q277352 Q11962417 Q1180197 Q6952373 Q58381 Q158462 Q272260 Q15229239 Q1140218 Q1476516 Q1500069 Q1781779 Q148335 Q5547858 Q311645 Q15013153 Q4927454 Q746682 Q2114368 Q1395987 Q13409443 Q3398184 Q2300681 Q17132085 Q6361816 Q1888619 Q1527861 Q930112 Q1459195 Q4736129 Q6698220 Q2577167 Q645930 Q258686 Q761119 Q165846 Q1145957 Q1541393 Q300618 Q539631 Q1653864 Q7375802 Q1543686 Q5927119 Q4665151 Q2062478 Q204328 Q220938 Q1151619 Q4050372 Q15808027 Q1617530 Q1130436 Q15181127 Q1814408 Q7752593 Q1431109 Q152761 Q750593 Q4921886 Q1756181 Q1411892 Q173180 Q798071 Q1298697 Q5467325 Q27832330 Q2524568 Q4940449 Q2372008 Q1754475 Q1538766 Q2894949 Q112656 Q7655551 Q1759857 Q1132434 Q693583 Q11950509 Q2834623 Q1419287 Q4387812 Q1337257 Q704262 Q1345357 Q16414 Q191352 Q214061 Q15052778 Q1727232 Q1018071 Q384603 Q16651212 Q608208 Q159497 Q1168381 Q16764038 Q7692398 Q732326 Q2748745 Q4656316 Q1373482 Q7256860 Q2421531 Q5326517 Q178792 Q864433 Q1103318 Q1713832 Q18015668 Q468872 Q11682533 Q12352361 Q1034596 Q1926913 Q6698178 Q758381 Q1127431 Q869922 Q1669590 Q1557827 Q6841397 Q862223 Q17280844 Q1370393 Q134541 Q19833921 Q479019 Q1420833 Q420880 Q1157349 Q1127341 Q664175 Q740605 Q485893 Q284483 Q192308 Q2914477 Q3399302 Q643272 Q390300 Q1156513 Q221449 Q221281 Q1888034 Q1009687 Q1584103
(c(Q2088357),P138,c(Q2235308))
action argmin
action find_tuple_counts
relation P138
type Q2088357
type Q2235308
ABBA, They might Be Giants and Marillion are the eponym of min number of ship types
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?r ) WHERE { ?m property:P138 ?d . ?d rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q2088357 } GROUP BY ?m } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?z ) WHERE { ?b property:P138 ?w . ?w rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q2088357 } GROUP BY ?b } . FILTER ( ?z = ?v ) }
Marillion Naglfar Pierre Moerlen's Gong 1. Mai 87 Surferosa Belle and Sebastian Gandalf Doug Anthony All Stars Peter Nalitch & Friends Maldita Nerea Platero y Tú Rammstein Einar Stray Orchestra Bauhaus City of Birmingham Symphony Orchestra Quazar Bon Jovi Hot Water Music Son of Sam Anna and the Barbies HLAH Casa Loma Orchestra Avathar I Walk the Line Double Dagger Little by Little Leningrad Geoffrey Mitchell Choir Balmorhea Brainerd The Hallé Scarlett O'Hara Auletta Ismo Alanko Säätiö Týr Mungo Jerry Zunou Keisatsu Sergio & The Ladies The Pizza Underground Little My Die Krupps Yö Rammelhof Kotiteollisuus Teresa Carreño Youth Orchestra Dorian Gray Duncan Dhu Percival Han-Tang Yuefu Queensrÿche Robert Santiago et son orchestre typique Ocean Drive ABBA Austrian-Hungarian Haydn Orchestra Of Mice & Men Ansambel Franca Miheliča Kasabian The Amboy Dukes The Number Twelve Looks Like You Dru Hill Albert Fish Katra Catherine Wheel Lucy Street Thee Michelle Gun Elephant The Jackson 5 Van Halen The Pretenders Cirith Gorgor U.D.O. Brutal Kuk De Nederlandse Bachvereniging Nasa Duran Duran Lynyrd Skynyrd Behemoth Jennie Tebler's Out of Oblivion Criss Luscious Jackson Thompson Twins The Gutter Twins Zatopek Georgia Wonder DeLillos Gram Per Person Blonde on Blonde Mingus Big Band Prudence Fantômas Coral Aita Donostia Pork Pie Veruca Salt The John Renbourn Group Kane Hodder Azaghal Giuffria The Decemberists Leatherface Altamont Lucy Brown All Angels Welle: Erdball Ladysmith Black Mambazo Tiamat Operation Ivy Relient K Graf Orlock A Wilhelm Scream Evergreen Terrace Kroke RubberBand The Divine Comedy Mini Kiss Abdoujaparov Nacht und Nebel Kansas Cirith Ungol Superfly Sun Kil Moon Emils Hieronymus Bosch Franz Liszt Chamber Orchestra Ausekarane Witchfinder General The Mudbloods The Marcels Gorgoroth Paradise Lost Black Square Lasgo Miranda! Franz Ferdinand Bach Collegium Japan Alexisonfire Forbidden City Chamber Orchestra Heavy D & the Boyz Viktoriapark Bombadil Swan Lake Allele Tito & Tarantula Bellini Bach-Collegium Stuttgart Sweet Thing Prozac+ The Searchers As I Lay Dying Necronomicon Queen Sofía Chamber Orchestra First Blood The Stalin FSK Schiller Slapshot Death Cab for Cutie Portishead 22-Pistepirkko The Smith Street Band Kill Devil Hill Butterfield Blues Band Bonded by Blood Ziyue Antony and the Johnsons Destruction The Devil Wears Prada Lucy spillt um Späicher mam Däiwel Technique Pantagruel National Arts Centre Orchestra A Day in the Life The Shining The Prodigy This Year’s Model Earlimart Delain Haloo Helsinki! Sam Gopal Marquee Moon Wedlock The Fool Netherlands Bach Collegium Martin & la talpoj Capercaillie Manfred Mann's Earth Band Lucy Angel Au Revoir Simone Green River Son Goku Nina Sky Gwen Stacy Middle Finger Salute Hüsker Dü Anna Crusis Women's Choir Pretty Boy Floyd The Black Eyed Peas 187 Strassenbande Isengard New Riders of the Purple Sage They Might Be Giants Dagoba Ladánybene 27 Sinner Blumentopf Marilyn Manson Johnny Flynn & The Sussex Wit Kaiser Chiefs Bill Haley & His Comets Portico Pascale Picard Band Agalloch Porno Graffitti Shagrat Morgoth The Delgados Bunnyranch Hanzel und Gretyl
ABBA, They might Be Giants and Marillion are the eponym of min number of ship types
ABBA They Might Be Giants Marillion
action argmin
action find_tuple_counts
relation named after
type musical ensemble
type ship type
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?r ) WHERE { ?m property:named_after ?d . ?d rdf:type ontology:ship_type . ?m rdf:type ontology:musical_ensemble } GROUP BY ?m } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?z ) WHERE { ?b property:named_after ?w . ?w rdf:type ontology:ship_type . ?b rdf:type ontology:musical_ensemble } GROUP BY ?b } . FILTER ( ?z = ?v ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18233 Q420880 Q678410
P264
Q334453
USER
What are the record labels of those musical ensembles ?
(Q18233,P264,c(Q334453)) (Q420880,P264,c(Q334453)) (Q678410,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
['Q18233', 'P264', {'concept': 'Q334453'}] ['Q420880', 'P264', {'concept': 'Q334453'}] ['Q678410', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { ?x property:P264 ?v . ?v rdf:type ontology:Q334453 . VALUES ( ?x ) { ( resource:Q678410 ) ( resource:Q1122398 ) ( resource:Q2387270 ) } }
ABBA They Might Be Giants Marillion
action filter_type
action find
entity prev_answer
relation record label
type division
['ABBA', 'record label', {'concept': 'division'}] ['They Might Be Giants', 'record label', {'concept': 'division'}] ['Marillion', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { ?x property:record_label ?v . ?v rdf:type ontology:division . VALUES ( ?x ) { ( resource:Marillion ) ( resource:Naglfar ) ( resource:Pierre_Moerlen's_Gong ) } }
[]
division
Q193023 Q54860 Q216364
SYSTEM
Capitol Records, Walt Disney Records, Epic Records
Q216364 Q155152 Q1358159 Q202440 Q3933535 Q8074743 Q477213 Q6668457 Q385558 Q2164531 Q2883714 Q54860 Q726251 Q809177 Q193023 Q3629023 Q1347984 Q603117 Q1392321 Q264137 Q513712 Q2265719
(Q18233,P264,c(Q334453)) (Q420880,P264,c(Q334453)) (Q678410,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
The record labels of those musical ensembles are [ANSWERS]
['Q18233', 'P264', {'concept': 'Q334453'}] ['Q420880', 'P264', {'concept': 'Q334453'}] ['Q678410', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { ?x property:P264 ?v . ?v rdf:type ontology:Q334453 . VALUES ( ?x ) { ( resource:Q678410 ) ( resource:Q1122398 ) ( resource:Q2387270 ) } }
Epic Records Polydor Records Polar Music Atlantic Records Restless Records Zoë Records Megaforce Records Lojinx Rough Trade Records Rounder Records Bar/None Records Walt Disney Records Elektra Records Barsuk Records Capitol Records EMI Records Sanctuary Records Group Castle Communications Liberty Records Caroline Records Pony Canyon I.R.S. Records
The record labels of those musical ensembles are Capitol Records, Walt Disney Records and Epic Records
Capitol Records Walt Disney Records Epic Records
action filter_type
action find
entity prev_answer
relation record label
type division
['ABBA', 'record label', {'concept': 'division'}] ['They Might Be Giants', 'record label', {'concept': 'division'}] ['Marillion', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { ?x property:record_label ?v . ?v rdf:type ontology:division . VALUES ( ?x ) { ( resource:Marillion ) ( resource:Naglfar ) ( resource:Pierre_Moerlen's_Gong ) } }
[]