Simple Question (Direct)
Simple Question
Q2244180
P641
Q349
USER
What did Benjamin Jeannot participate in ?
(Q2244180,P641,c(Q349))
action filter_type
action find
entity Q2244180
relation P641
type Q349
['Q2244180', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q2244180 property:P641 ?l . ?l rdf:type ontology:Q349 }
Benjamin Jeannot
action filter_type
action find
entity Benjamin Jeannot
relation sport
type sport
['Benjamin Jeannot', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Benjamin_Jeannot property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2244180,P641,c(Q349))
action filter_type
action find
entity Q2244180
relation P641
type Q349
[ANSWER]
['Q2244180', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q2244180 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Benjamin Jeannot
relation sport
type sport
['Benjamin Jeannot', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Benjamin_Jeannot property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?e WHERE { resource:Q2736 property:P495 ?e . ?e rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:association_football property:country_of_origin ?e . ?e rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?e WHERE { resource:Q2736 property:P495 ?e . ?e rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:association_football property:country_of_origin ?e . ?e rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P85
Q7725634
USER
What is the national anthem of that territory ?
(Q21,P85,c(Q7725634))
action filter_type
action find
entity Q21
relation P85
type Q7725634
['Q21', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?o WHERE { resource:Q21 property:P85 ?o . ?o rdf:type ontology:Q7725634 }
England
action filter_type
action find
entity England
relation anthem
type literary work
['England', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?o WHERE { resource:England property:anthem ?o . ?o rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q21,P85,c(Q7725634))
action filter_type
action find
entity Q21
relation P85
type Q7725634
[ANSWER]
['Q21', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?o WHERE { resource:Q21 property:P85 ?o . ?o rdf:type ontology:Q7725634 }
God Save the Queen
God Save the Queen
action filter_type
action find
entity England
relation anthem
type literary work
['England', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?o WHERE { resource:England property:anthem ?o . ?o rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40807
P86
Q7725634
USER
Which literary work was composed by that one ?
(c(Q7725634),P86,Q40807)
action filter_type
action find_reverse
entity Q40807
relation P86
type Q7725634
[{'concept': 'Q7725634'}, 'P86', 'Q40807']
SELECT DISTINCT ?h WHERE { ?h property:P86 resource:Q40807 . ?h rdf:type ontology:Q7725634 }
God Save the Queen
action filter_type
action find_reverse
entity God Save the Queen
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'God Save the Queen']
SELECT DISTINCT ?h WHERE { ?h property:composer resource:God_Save_the_Queen . ?h rdf:type ontology:literary_work }
[]
literary work
Q670343
SYSTEM
Rufst du, mein Vaterland
Q670343
(c(Q7725634),P86,Q40807)
action filter_type
action find_reverse
entity Q40807
relation P86
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P86', 'Q40807']
SELECT DISTINCT ?h WHERE { ?h property:P86 resource:Q40807 . ?h rdf:type ontology:Q7725634 }
Rufst du, mein Vaterland
Rufst du, mein Vaterland
action filter_type
action find_reverse
entity God Save the Queen
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'God Save the Queen']
SELECT DISTINCT ?h WHERE { ?h property:composer resource:God_Save_the_Queen . ?h rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40807
P676
Q502895
USER
Which person wrote the lyrics of God Save the Queen ?
(Q40807,P676,c(Q502895))
action filter_type
action find
entity Q40807
relation P676
type Q502895
['Q40807', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q40807 property:P676 ?a . ?a rdf:type ontology:Q502895 }
God Save the Queen
action filter_type
action find
entity God Save the Queen
relation lyrics by
type common name
['God Save the Queen', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:God_Save_the_Queen property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1606590
SYSTEM
Henry Carey
Q1606590
(Q40807,P676,c(Q502895))
action filter_type
action find
entity Q40807
relation P676
type Q502895
[ANSWER]
['Q40807', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q40807 property:P676 ?a . ?a rdf:type ontology:Q502895 }
Henry Carey
Henry Carey
action filter_type
action find
entity God Save the Queen
relation lyrics by
type common name
['God Save the Queen', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:God_Save_the_Queen property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings had their voice dubbing done by min number of people ?
(c(Q15619164),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15619164
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?a ) WHERE { ?t property:P725 ?y . ?t rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 } GROUP BY ?t } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?n ) WHERE { ?b rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q502895 . ?b property:P725 ?r } GROUP BY ?b } }
action argmin
action find_tuple_counts
relation voice actor
type abstract being
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?a ) WHERE { ?t property:voice_actor ?y . ?t rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name } GROUP BY ?t } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?n ) WHERE { ?b rdf:type ontology:abstract_being . ?r rdf:type ontology:common_name . ?b property:voice_actor ?r } GROUP BY ?b } }
[]
common name abstract being
Q5480 Q49352 Q819804
SYSTEM
Bart Simpson, Gena the Crocodile, Malfurion Stormrage
Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q11339793 Q820011 Q819644 Q15648502 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q2079562 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q2558257 Q15712269 Q15502620 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q16995485 Q18292066 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q15966747 Q18292143 Q18934600 Q27493776 Q3201327 Q819544 Q15961663 Q909655 Q16005386 Q16003600 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q2738631 Q15846552 Q5480 Q935079 Q18468944 Q15537046
(c(Q15619164),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15619164
type Q502895
[ANSWERS]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?a ) WHERE { ?t property:P725 ?y . ?t rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 } GROUP BY ?t } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?n ) WHERE { ?b rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q502895 . ?b property:P725 ?r } GROUP BY ?b } }
Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa SHODAN MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Rose Mitsuki Sonoda Rise Matsumoto Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Hiro Takachiho Sora Takenouchi Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Seiji Amasawa Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Kōzō Fuyutsuki Illidan Stormrage Shijuku Tsukishima Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Anna Williams Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka
Bart Simpson Gena the Crocodile Malfurion Stormrage
action argmin
action find_tuple_counts
relation voice actor
type abstract being
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?a ) WHERE { ?t property:voice_actor ?y . ?t rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name } GROUP BY ?t } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?n ) WHERE { ?b rdf:type ontology:abstract_being . ?r rdf:type ontology:common_name . ?b property:voice_actor ?r } GROUP BY ?b } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1606590 Q6120317
P20
Q56061
USER
How many administrative territories did Henry Carey or Santa Constanza die ?
(Q1606590,P20,c(Q56061)) (Q6120317,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q1606590
relation P20
type Q56061
action filter_type
action find
entity Q6120317
relation P20
type Q56061
['Q1606590', 'P20', {'concept': 'Q56061'}] ['Q6120317', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:P20 ?o . VALUES ( ?u ) { ( resource:Q1606590 ) ( resource:Q6120317 ) } }
Henry Carey Santa Constanza
action count
action union
action filter_type
action find
entity Henry Carey
relation place of death
type administrative territorial entity
action filter_type
action find
entity Santa Constanza
relation place of death
type administrative territorial entity
['Henry Carey', 'place of death', {'concept': 'administrative territorial entity'}] ['Santa Constanza', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:place_of_death ?o . VALUES ( ?u ) { ( resource:Henry_Carey ) ( resource:Santa_Constanza ) } }
[]
administrative territorial entity
SYSTEM
2
Q84 Q220
(Q1606590,P20,c(Q56061)) (Q6120317,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q1606590
relation P20
type Q56061
action filter_type
action find
entity Q6120317
relation P20
type Q56061
[ANSWER]
['Q1606590', 'P20', {'concept': 'Q56061'}] ['Q6120317', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:P20 ?o . VALUES ( ?u ) { ( resource:Q1606590 ) ( resource:Q6120317 ) } }
London Rome
2
action count
action union
action filter_type
action find
entity Henry Carey
relation place of death
type administrative territorial entity
action filter_type
action find
entity Santa Constanza
relation place of death
type administrative territorial entity
['Henry Carey', 'place of death', {'concept': 'administrative territorial entity'}] ['Santa Constanza', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?u property:place_of_death ?o . VALUES ( ?u ) { ( resource:Henry_Carey ) ( resource:Santa_Constanza ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1606590
P135
Q151885
USER
Which concept was that person associated with ?
action filter_type
action find
entity Q1606590
relation P135
type Q151885
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q1606590 property:P135 ?z }
Henry Carey
action filter_type
action find
entity Henry Carey
relation movement
type concept
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Henry_Carey property:movement ?z }
[]
concept
Q8361
SYSTEM
Baroque music
Q8361
action filter_type
action find
entity Q1606590
relation P135
type Q151885
[ANSWER]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q151885 . resource:Q1606590 property:P135 ?z }
Baroque music
Baroque music
action filter_type
action find
entity Henry Carey
relation movement
type concept
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:concept . resource:Henry_Carey property:movement ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q151885
USER
How many geographic locations are atmost 1 concept located on ?
(c(Q151885),P706,c(Q2221906))
action count
action atmost
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
value 1
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P706 ?z . ?z rdf:type ontology:Q2221906 . ?w rdf:type ontology:Q151885 } GROUP BY ?z } . FILTER ( ?l <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_location . ?w rdf:type ontology:concept } GROUP BY ?z } . FILTER ( ?l <= 1 ) }
[]
geographic location concept
SYSTEM
177
Q1558873 Q6003861 Q431907 Q14705286 Q9456 Q62132 Q5328630 Q6800778 Q220032 Q728390 Q51 Q5167046 Q14685019 Q5263636 Q27394 Q1998580 Q7856755 Q2680453 Q7107526 Q6403747 Q4921533 Q636672 Q5318567 Q179842 Q184430 Q1551170 Q5127364 Q83241 Q5031650 Q4345530 Q3960 Q7678507 Q3427382 Q6721952 Q27381 Q896446 Q11708 Q48 Q29876 Q315496 Q1322976 Q4878060 Q10975458 Q4920954 Q690971 Q897270 Q217265 Q15221173 Q7968217 Q5063897 Q828 Q11812551 Q7081788 Q1635387 Q43266 Q7332669 Q49 Q27231 Q677337 Q828909 Q5598693 Q186545 Q27407 Q7699521 Q19838231 Q664609 Q261407 Q165269 Q3404466 Q7811491 Q5347682 Q4412295 Q7995202 Q7793408 Q2915691 Q27329 Q7987694 Q2740712 Q153809 Q575289 Q5929184 Q4868203 Q6462724 Q2380693 Q7907867 Q1745690 Q8614 Q401815 Q1464033 Q4996620 Q81720 Q7015155 Q667529 Q2556836 Q104028 Q2721679 Q2381124 Q326359 Q7101759 Q530917 Q7884747 Q370398 Q27293 Q604496 Q18869 Q15 Q745767 Q17252 Q5359969 Q6729888 Q261949 Q15266363 Q7427749 Q330001 Q754365 Q76034 Q7943 Q1084560 Q4194 Q7974815 Q2646914 Q27433 Q5596417 Q6391312 Q1639559 Q27561 Q701658 Q883889 Q623465 Q1134547 Q18 Q1189073 Q109057 Q5160326 Q169276 Q771405 Q228608 Q2387700 Q15196140 Q7699945 Q2841975 Q6405955 Q5089568 Q644111 Q2092983 Q524856 Q148689 Q1134643 Q805727 Q605714 Q4828398 Q6794458 Q5173256 Q1507 Q204593 Q445609 Q7600178 Q7191545 Q257376 Q1670841 Q5139816 Q23792 Q207989 Q7205132 Q2565366 Q14706057 Q6875911 Q5317255 Q6649061 Q5401 Q181103 Q6935461 Q702543 Q48214 Q2879440 Q5290696 Q919721
(c(Q151885),P706,c(Q2221906))
action count
action atmost
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
value 1
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P706 ?z . ?z rdf:type ontology:Q2221906 . ?w rdf:type ontology:Q151885 } GROUP BY ?z } . FILTER ( ?l <= 1 ) }
Gäuboden Imeon Range Sierra de la Culata Toquima Range Achterhook Lapland East Humboldt Range McCullough Range Golden Gate Coats Land Antarctica Cookes Range Never Summer Mountains Desatoya Mountains Southern Africa Northern Black Forest Tushar Mountains Brown Peninsula Ossipee Mountains Kiamichi Mountains Black Range Sierra Nevada de Mérida Dyer Plateau Tibetan Plateau Zeelandic Flanders Palmer Land Clark Range Galilee Candelaria Hills Northern Italy Australia Takshanuk Mountains Kirwan Escarpment MacIntyre Mountains North Africa Upland Southeast Asia Asia Middle America Upper Harz Ural Beaver Dam Mountains Maramureș Black Hills Breisgau Havelland Cappadocia Mule Peninsula Wapack Range Cerbat Mountains Americas Swabia Okanagan Highland Southern Black Forest Moravia Ridge-and-Valley Appalachians North America East Asia Ravensberg Basin wharf Great Balsam Mountains Midwestern United States East Africa Tenaya Canyon Nurn Caribbean South Baden East Frisia Carneddau Tobacco Root Mountains Egan Range Northern Maramuresh White Pine Range Thomas Range Lower Galilee North Asia Western Cascades Ovče Pole Tyrol Mühlviertel Hueco Mountains Basswood Island La Garita Mountains South Eifel Vaca Mountains Ostbayern Westphalia Columbia Plateau West Friesland Bull Run Mountains Silesia New York–New Jersey Highlands Blue Mountains Trialeti Judea Warner Mountains South Lower Saxony Palatinate Organ Mountains West Antarctica Unicoi Mountains Allan Hills Western Asia Fennoscandia Caucasus Africa Marie Byrd Land Tibet Elgar Uplands Magdalena Mountains Mostviertel Pilot Range (New Hampshire) Savage Mountain Oldenburg Land Penobscot Bay Canadian Shield Upper Lusatia Northwest Highlands Sauerland Watson Escarpment Alfatar Peninsula Central Africa Grant Range Kenosha Mountains West Mecklenburg Caribbean Netherlands Mecklenburg Lake District Calenberg Land Wasatch Front Ellsworth Land South America Eastern California Mecklenburg Confusion Range Allgäu South Asia South Limburg Northern Bukovina Bailey Peninsula (Antarctica) Tenmile Range Franklin Mountains Kigluaik Mountains Chehalem Mountains Transbaikal Southern Bukovina Central Germany Lower Lusatia Southern England Baltics Donbass Avery Plateau Mawson Escarpment Cortez Mountains Patagonia Heinzenberg Lower Rhine region Stansbury Mountains Piedmont region of Virginia Bavarian Alpine Foreland Ordos Desert Coconino Plateau Palestine Southern Italy Plott Balsams West Hesse Depression Manzano Mountains Misquah Hills Dutch Caribbean Little Belt Mountains Eurasia Balochistan Mummy Range Franconian Switzerland Near East Chequamegon Bay Dominica Passage eastern Germany
177
action count
action atmost
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_location . ?w rdf:type ontology:concept } GROUP BY ?z } . FILTER ( ?l <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q116693
P706
Q107425 Q151885
USER
Which landscapes are the location where approximately the same number of concepts are located as Esjan ?
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q116693
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P706 ?w . ?w rdf:type ontology:Q107425 . ?z rdf:type ontology:Q151885 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q116693 property:P706 ?m . ?m rdf:type ontology:Q107425 } } . FILTER ( ?i = ?j ) }
Esjan
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Esjan
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:located_on_terrain_feature ?w . ?w rdf:type ontology:landscape . ?z rdf:type ontology:concept } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Esjan property:located_on_terrain_feature ?m . ?m rdf:type ontology:landscape } } . FILTER ( ?i = ?j ) }
[]
landscape concept
Q140298 Q671343 Q46772
SYSTEM
Windward Islands, Mont Blanc massif, Kerguelen Islands
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q116693
relation P706
type Q107425
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P706 ?w . ?w rdf:type ontology:Q107425 . ?z rdf:type ontology:Q151885 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q116693 property:P706 ?m . ?m rdf:type ontology:Q107425 } } . FILTER ( ?i = ?j ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Highlands of Iceland Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
Windward Islands Mont Blanc massif Kerguelen Islands
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Esjan
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:located_on_terrain_feature ?w . ?w rdf:type ontology:landscape . ?z rdf:type ontology:concept } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Esjan property:located_on_terrain_feature ?m . ?m rdf:type ontology:landscape } } . FILTER ( ?i = ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q172702
P706
Q107425 Q151885
USER
And also tell me about Karakum Desert?
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q172702
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P706 ?u . ?v rdf:type ontology:Q151885 . ?u rdf:type ontology:Q107425 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q172702 property:P706 ?y . ?y rdf:type ontology:Q107425 } } . FILTER ( ?o = ?e ) }
Karakum Desert
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Karakum Desert
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:located_on_terrain_feature ?u . ?v rdf:type ontology:concept . ?u rdf:type ontology:landscape } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Karakum_Desert property:located_on_terrain_feature ?y . ?y rdf:type ontology:landscape } } . FILTER ( ?o = ?e ) }
[]
landscape concept
Q11767 Q38272 Q202207
SYSTEM
Mesopotamia, British Isles, Po Valley
Q202207 Q11767 Q38272 Q172702
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q172702
relation P706
type Q107425
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P706 ?u . ?v rdf:type ontology:Q151885 . ?u rdf:type ontology:Q107425 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q172702 property:P706 ?y . ?y rdf:type ontology:Q107425 } } . FILTER ( ?o = ?e ) }
Po Valley Mesopotamia British Isles Karakum Desert
Mesopotamia British Isles Po Valley
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Karakum Desert
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:located_on_terrain_feature ?u . ?v rdf:type ontology:concept . ?u rdf:type ontology:landscape } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Karakum_Desert property:located_on_terrain_feature ?y . ?y rdf:type ontology:landscape } } . FILTER ( ?o = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11767
P840
Q838948
USER
Which work of art has its narrative set in Mesopotamia ?
(c(Q838948),P840,Q11767)
action filter_type
action find_reverse
entity Q11767
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q11767']
SELECT DISTINCT ?j WHERE { ?j property:P840 resource:Q11767 . ?j rdf:type ontology:Q838948 }
Mesopotamia
action filter_type
action find_reverse
entity Mesopotamia
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Mesopotamia']
SELECT DISTINCT ?j WHERE { ?j property:narrative_location resource:Mesopotamia . ?j rdf:type ontology:work_of_art }
[]
work of art
Q1218906
SYSTEM
The Lost Patrol
Q1218906
(c(Q838948),P840,Q11767)
action filter_type
action find_reverse
entity Q11767
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q11767']
SELECT DISTINCT ?j WHERE { ?j property:P840 resource:Q11767 . ?j rdf:type ontology:Q838948 }
The Lost Patrol
The Lost Patrol
action filter_type
action find_reverse
entity Mesopotamia
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Mesopotamia']
SELECT DISTINCT ?j WHERE { ?j property:narrative_location resource:Mesopotamia . ?j rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P85
Q7725634 Q1048835 Q7275
USER
Which literary works are the national anthems of max number of political territories and states ?
(c(Q1048835)|c(Q7275),P85,c(Q7725634))
action argmax
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q1048835
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q7275
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } . ?w rdf:type ?y } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:P85 ?t . ?t rdf:type ontology:Q7725634 . ?i rdf:type ontology:Q1048835 } UNION { ?t rdf:type ontology:Q7725634 . ?i rdf:type ontology:Q7275 . ?i property:P85 ?t } } GROUP BY ?t } . FILTER ( ?a = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type political territorial entity
action find_reverse_tuple_counts
relation anthem
type literary work
type state
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:state ) ( ontology:political_territorial_entity ) } . ?w rdf:type ?y } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:anthem ?t . ?t rdf:type ontology:literary_work . ?i rdf:type ontology:political_territorial_entity } UNION { ?t rdf:type ontology:literary_work . ?i rdf:type ontology:state . ?i property:anthem ?t } } GROUP BY ?t } . FILTER ( ?a = ?b ) }
[]
literary work political territorial entity state
Q40807
SYSTEM
God Save the Queen
Q40807
(c(Q1048835)|c(Q7275),P85,c(Q7725634))
action argmax
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q1048835
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q7275
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } . ?w rdf:type ?y } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:P85 ?t . ?t rdf:type ontology:Q7725634 . ?i rdf:type ontology:Q1048835 } UNION { ?t rdf:type ontology:Q7725634 . ?i rdf:type ontology:Q7275 . ?i property:P85 ?t } } GROUP BY ?t } . FILTER ( ?a = ?b ) }
God Save the Queen
God Save the Queen
action argmax
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type political territorial entity
action find_reverse_tuple_counts
relation anthem
type literary work
type state
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?b ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:state ) ( ontology:political_territorial_entity ) } . ?w rdf:type ?y } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:anthem ?t . ?t rdf:type ontology:literary_work . ?i rdf:type ontology:political_territorial_entity } UNION { ?t rdf:type ontology:literary_work . ?i rdf:type ontology:state . ?i property:anthem ?t } } GROUP BY ?t } . FILTER ( ?a = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q384426
P1445
Q7725634 Q386724
USER
Which works are set up by lesser number of literary works than Pirates of the Caribbean ?
(c(Q386724),P1445,c(Q7725634))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q7725634
action count
action filter_type
action find
entity Q384426
relation P1445
type Q7725634
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q7725634'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:P1445 ?x . ?e rdf:type ontology:Q386724 . ?x rdf:type ontology:Q7725634 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q384426 property:P1445 ?y . ?y rdf:type ontology:Q7725634 } } . FILTER ( ?c < ?d ) }
Pirates of the Caribbean
action less
action find_tuple_counts
relation fictional universe described in
type work
type literary work
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type literary work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'literary work'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:fictional_universe_described_in ?x . ?e rdf:type ontology:work . ?x rdf:type ontology:literary_work } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?y . ?y rdf:type ontology:literary_work } } . FILTER ( ?c < ?d ) }
[]
literary work work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q7725634))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q7725634
action count
action filter_type
action find
entity Q384426
relation P1445
type Q7725634
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q7725634'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:P1445 ?x . ?e rdf:type ontology:Q386724 . ?x rdf:type ontology:Q7725634 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q384426 property:P1445 ?y . ?y rdf:type ontology:Q7725634 } } . FILTER ( ?c < ?d ) }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek Aladdin media franchise Stargate
action less
action find_tuple_counts
relation fictional universe described in
type work
type literary work
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type literary work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'literary work'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:fictional_universe_described_in ?x . ?e rdf:type ontology:work . ?x rdf:type ontology:literary_work } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?y . ?y rdf:type ontology:literary_work } } . FILTER ( ?c < ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q7725634 Q386724
USER
Which works are set up by min number of literary works ?
(c(Q386724),P1445,c(Q7725634))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q7725634
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q7725634'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?s ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:P1445 ?x . ?a rdf:type ontology:Q386724 . ?x rdf:type ontology:Q7725634 } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?q ) WHERE { ?h property:P1445 ?d . ?h rdf:type ontology:Q386724 . ?d rdf:type ontology:Q7725634 } GROUP BY ?h } . FILTER ( ?q = ?s ) }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type literary work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'literary work'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?s ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:fictional_universe_described_in ?x . ?a rdf:type ontology:work . ?x rdf:type ontology:literary_work } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?q ) WHERE { ?h property:fictional_universe_described_in ?d . ?h rdf:type ontology:work . ?d rdf:type ontology:literary_work } GROUP BY ?h } . FILTER ( ?q = ?s ) }
[]
literary work work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q7725634))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q7725634
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q7725634'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?s ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:P1445 ?x . ?a rdf:type ontology:Q386724 . ?x rdf:type ontology:Q7725634 } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?q ) WHERE { ?h property:P1445 ?d . ?h rdf:type ontology:Q386724 . ?d rdf:type ontology:Q7725634 } GROUP BY ?h } . FILTER ( ?q = ?s ) }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek Aladdin media franchise Stargate
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type literary work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'literary work'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?s ) { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:fictional_universe_described_in ?x . ?a rdf:type ontology:work . ?x rdf:type ontology:literary_work } GROUP BY ?a } } . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?q ) WHERE { ?h property:fictional_universe_described_in ?d . ?h rdf:type ontology:work . ?d rdf:type ontology:literary_work } GROUP BY ?h } . FILTER ( ?q = ?s ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q15416
USER
How many television programs are a portion of that work ?
(c(Q15416),P361,Q11927)
[{'concept': 'Q15416'}, 'P361', 'Q11927']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q3205958 . ?z rdf:type ontology:Q15416 }
[{'concept': 'television program'}, 'part of', 'Stargate']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Stargate . ?z rdf:type ontology:television_program }
[]
television program
Quantitative|Count|Single entity type|Clarification
Q1203222
SYSTEM
Did you mean Shrek ?
(c(Q15416),P361,Q1203222) (c(Q15416),P361,Q15731902) (c(Q15416),P361,Q11927)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q1203222'] [{'concept': 'Q15416'}, 'P361', 'Q15731902'] [{'concept': 'Q15416'}, 'P361', 'Q11927']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q3205958 . ?z rdf:type ontology:Q15416 }
Did you mean Shrek ?
Shrek
[{'concept': 'television program'}, 'part of', 'Shrek'] [{'concept': 'television program'}, 'part of', 'Aladdin media franchise'] [{'concept': 'television program'}, 'part of', 'Stargate']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Stargate . ?z rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Stargate. Could you tell me the answer for that?
(c(Q15416),P361,Q11927)
Q11927
[{'concept': 'Q15416'}, 'P361', 'Q11927']
[{'concept': 'television program'}, 'part of', 'Stargate']
[]
SYSTEM
2
Q215287 Q194213
(c(Q15416),P361,Q11927)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q11927']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q3205958 . ?z rdf:type ontology:Q15416 }
Stargate Atlantis Stargate Universe
2
[{'concept': 'television program'}, 'part of', 'Stargate']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Stargate . ?z rdf:type ontology:television_program }
[]