Simple Question (Direct)
Simple Question
Q3568714
P607
Q198
USER
Which battle did William Howard Livens take part in ?
(Q3568714,P607,c(Q198))
action filter_type
action find
entity Q3568714
relation P607
type Q198
['Q3568714', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . resource:Q3568714 property:P607 ?v }
William Howard Livens
action filter_type
action find
entity William Howard Livens
relation conflict
type war
['William Howard Livens', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . resource:William_Howard_Livens property:conflict ?v }
[]
war
Q361
SYSTEM
World War I
Q361
(Q3568714,P607,c(Q198))
action filter_type
action find
entity Q3568714
relation P607
type Q198
William Howard Livens took part in [ANSWER]
['Q3568714', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . resource:Q3568714 property:P607 ?v }
World War I
William Howard Livens took part in World War I
World War I
action filter_type
action find
entity William Howard Livens
relation conflict
type war
['William Howard Livens', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . resource:William_Howard_Livens property:conflict ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P710
Q15617994
USER
Who attended that war ?
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q361 property:P710 ?y . ?y rdf:type ontology:Q15617994 }
World War I
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:World_War_I property:participant ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
That [ANSWERS] attended that war
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q361 property:P710 ?y . ?y rdf:type ontology:Q15617994 }
France Italy
That France and Italy attended that war
France Italy
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:World_War_I property:participant ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q977
P36
Q20667921 Q56061 Q15617994
USER
Which administrative territories are more number of french administrative divisions or administrative territories the capital of than Djibouti ?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q977
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q977 property:P36 ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } } } . FILTER ( ?d > ?y ) }
Djibouti
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Djibouti
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Djibouti property:capital ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?d > ?y ) }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q17
SYSTEM
United States of America, Georgia, Japan
Q2998020 Q258 Q3259 Q12798 Q1020 Q12703 Q12569 Q41 Q30 Q230 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q3164 Q517333 Q17 Q160307 Q12789
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q977
relation P36
type Q20667921
type Q56061
[ANSWERS] are more number of french administrative divisions or administrative territories the capital of than Djibouti
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q977 property:P36 ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } } } . FILTER ( ?d > ?y ) }
Corse South Africa Cantal Vendée Malawi Pyrénées-Atlantiques Loire Greece United States of America Georgia Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Ardennes Principality of Polotsk Japan Fatimid caliphate Var
United States of America, Georgia and Japan are more number of french administrative divisions or administrative territories the capital of than Djibouti
United States of America Georgia Japan
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Djibouti
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Djibouti property:capital ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?d > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2038939
P36
Q20667921 Q56061 Q15617994
USER
And what about Sedibeng District Municipality?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q2038939
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?k WHERE { { ?k property:P36 ?r . ?k rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q20667921 } UNION { ?k property:P36 ?r . ?r rdf:type ontology:Q56061 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } . FILTER ( ?e > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q2038939 property:P36 ?g . { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?g rdf:type ?z } } } }
Sedibeng District Municipality
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sedibeng District Municipality
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?k WHERE { { ?k property:capital ?r . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division } UNION { ?k property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } . FILTER ( ?e > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Sedibeng_District_Municipality property:capital ?g . { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?z } } } }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q17
SYSTEM
United States of America, Georgia, Japan
Q2998020 Q258 Q3259 Q12798 Q1020 Q12703 Q12569 Q41 Q30 Q230 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q3164 Q517333 Q17 Q160307 Q12789
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q2038939
relation P36
type Q20667921
type Q56061
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?k WHERE { { ?k property:P36 ?r . ?k rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q20667921 } UNION { ?k property:P36 ?r . ?r rdf:type ontology:Q56061 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } . FILTER ( ?e > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q2038939 property:P36 ?g . { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?g rdf:type ?z } } } }
Corse South Africa Cantal Vendée Malawi Pyrénées-Atlantiques Loire Greece United States of America Georgia Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Ardennes Principality of Polotsk Japan Fatimid caliphate Var
United States of America Georgia Japan
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sedibeng District Municipality
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?k WHERE { { ?k property:capital ?r . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division } UNION { ?k property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } . FILTER ( ?e > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Sedibeng_District_Municipality property:capital ?g . { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?z } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q1468648
P915
Q838948
USER
How many works of art had Japan or Georgetown as their location of filming ?
(c(Q838948),P915,Q17) (c(Q838948),P915,Q1468648)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P915
type Q838948
action filter_type
action find_reverse
entity Q1468648
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q17'] [{'concept': 'Q838948'}, 'P915', 'Q1468648']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { ?f property:P915 resource:Q17 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P915 resource:Q1468648 . ?f rdf:type ontology:Q838948 } }
Japan Georgetown
action count
action union
action filter_type
action find_reverse
entity Japan
relation filming location
type work of art
action filter_type
action find_reverse
entity Georgetown
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Japan'] [{'concept': 'work of art'}, 'filming location', 'Georgetown']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { ?f property:filming_location resource:Japan . ?f rdf:type ontology:work_of_art } UNION { ?f property:filming_location resource:Georgetown . ?f rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
176
Q696057 Q26060 Q677987 Q7777743 Q509256 Q575014 Q1915512 Q320423 Q1768462 Q663960 Q1215918 Q1534456 Q14320 Q2659907 Q6691830 Q107270 Q1444735 Q200432 Q11486179 Q588011 Q1403726 Q5227709 Q274167 Q11486173 Q11486174 Q6791524 Q11486176 Q11486177 Q5307405 Q492142 Q15284489 Q197491 Q1444720 Q880041 Q3072373 Q1153431 Q39946 Q189540 Q17001114 Q1284313 Q107761 Q775709 Q1514098 Q288645 Q7111166 Q1749386 Q108946 Q4896682 Q191074 Q257818 Q1813350 Q994209 Q1076605 Q1444768 Q6388264 Q4170743 Q1091097 Q7413094 Q1742061 Q1140513 Q854990 Q1533961 Q148330 Q1199128 Q510181 Q2840937 Q6982696 Q1171405 Q664983 Q135465 Q715374 Q1273736 Q659756 Q2044064 Q2630562 Q4595879 Q922792 Q2736281 Q207130 Q614864 Q251335 Q17001135 Q1152485 Q633073 Q25188 Q94033 Q1533970 Q1193488 Q275187 Q676723 Q112275 Q6760871 Q1518701 Q464951 Q45839 Q860461 Q880047 Q17224388 Q8042574 Q6159190 Q18126825 Q3724802 Q2035289 Q17001127 Q17001121 Q1327671 Q128320 Q1348974 Q1647597 Q1549954 Q2869617 Q2816898 Q2290251 Q310204 Q2750748 Q2712128 Q1048085 Q2630549 Q1053293 Q20475 Q4941 Q467111 Q15284388 Q1932371 Q15284383 Q2602267 Q11486175 Q1671523 Q2940707 Q11486181 Q165325 Q15040733 Q1190796 Q847709 Q2430444 Q1066749 Q1464998 Q324557 Q610158 Q747685 Q1444750 Q11486180 Q7923789 Q8042573 Q8042572 Q541079 Q698309 Q1198110 Q7813876 Q678972 Q127430 Q17459558 Q6790128 Q498910 Q1044598 Q213208 Q125772 Q3110272 Q16974667 Q3088054 Q1059733 Q2859045 Q2005041 Q1514075 Q4928014 Q906639 Q1214343 Q431660 Q11339147 Q612298 Q1533972 Q814166 Q565231 Q660666 Q244878 Q880141
(c(Q838948),P915,Q17) (c(Q838948),P915,Q1468648)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P915
type Q838948
action filter_type
action find_reverse
entity Q1468648
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q17'] [{'concept': 'Q838948'}, 'P915', 'Q1468648']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { ?f property:P915 resource:Q17 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P915 resource:Q1468648 . ?f rdf:type ontology:Q838948 } }
Around the World in 80 Days Tokyo Story Godzilla: Tokyo S.O.S. Kumaru Jackass: The Movie Sanjuro Mechanical Love The Spy Who Loved Me Godzilla 2000 Cherry Blossoms King Kong vs. Godzilla All Monsters Attack The Day After Tomorrow The Ramen Girl Love in Tokyo Lost in Translation The War of the Gargantuas Godzilla vs. Hedorah Fight, Zatoichi, Fight Ghidorah, the Three-Headed Monster Bushido, Samurai Saga Zatoichi on the Road The Exorcist Zatoichi's Flashing Sword Zatoichi's Revenge Ulagam Sutrum Valiban Zatoichi and the Chess Expert Zatoichi's Pilgrimage Reunion Beastie Boys Lupin III The Wolverine Destroy All Monsters Kuro no tenshi Vol. 1 Final Victory Sukiyaki Western Django The Hidden Fortress Seven Samurai Zatoichi and the Fugitives Godzilla vs. Mothra You Only Live Twice Godzilla vs. the Sea Monster Godzilla vs. Biollante G.I. Joe: The Rise of Cobra Our School Mr. Baseball A Few Good Men Best Guy Babel Throne of Blood Rebirth of Mothra Highlander III: The Sorcerer Ugetsu Son of Godzilla Zatoichi's Vengeance Gurozuka Kikujiro Samurai Commando: Mission 1549 Godzilla vs. Megalon The Ballad of Narayama Kagemusha Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack Zatōichi Shall We Dance? In the Realm of the Senses Detective Conan: Captured in Her Eyes Navy Wife The Teahouse of the August Moon Godzilla vs. Megaguirus Rashomon Initial D Godzilla Raids Again Shutter The Yakuza Rebirth of Mothra III One Direction: This Is Us The Street Fighter The Hunted The Last Samurai Sayonara Godzilla vs. Mechagodzilla Zatoichi's Cane Sword Shinjuku Incident Mothra vs. Godzilla Inception The Twilight Samurai Godzilla vs. SpaceGodzilla The Grudge 2 Letters from Iwo Jima Silk King Kong Appears in Edo Mari's Prey The Return of Godzilla Flags of Our Fathers Memoirs of a Geisha Godzilla Kuro no tenshi Vol. 2 Mount Hakkoda XX: Beautiful Prey Japanil Kalyanaraman Kill Bill: The Whole Bloody Affair Emperor The Green Slime Zatoichi the Outlaw Zatoichi Challenged Enter the Void Tokyo Drifter No Regrets for Our Youth The Geisha Boy My Lucky Stars Atout coeur à Tokyo pour OSS 117 47 Ronin The Toxic Avenger Part II The Grudge Rurouni Kenshin Tokyo-Ga Black Rain Rebirth of Mothra II I Wish Yojimbo Skyfall The Japanese Wife Rurouni Kenshin: Densetsu no Saigo-hen The Adventures of Milo and Otis Rurouni Kenshin: Kyoto Taika-hen House of Bamboo Zatoichi and the Chest of Gold Into the Sun Carved Adventures of Zatoichi Kill Bill Volume 1 Tumbling Doll of Flesh Taboo Red Beard The Barbarian and the Geisha Norwegian Wood Godzilla vs. King Ghidorah Resident Evil: Afterlife The Men Who Tread on the Tiger's Tail 8½ Women Godzilla vs. Gigan Zatoichi and the Doomed Man Vettai Mannan XX: Beautiful Hunter XX: Beautiful Beast Jumper Yamato Thunderbolt Tokyo File 212 Stray Dog King Kong Escapes The Sea of Trees Matthew Barney: No Restraint Austin Powers in Goldmember Departures The Fast and the Furious: Tokyo Drift Solaris Golgo 13: Assignment Kowloon Alludu Sreenu Love on a Diet Like Someone in Love After the Rain The Bad Sleep Well Godzilla vs. Destoroyah Bloodstained Memoirs Wasabi The Crucified Lovers Godzilla: Final Wars Postman Blues Nobody Knows Godzilla vs. Mechagodzilla II Invasion of Astro-Monster Ran Godzilla Against Mechagodzilla High and Low Black Cat
176
action count
action union
action filter_type
action find_reverse
entity Japan
relation filming location
type work of art
action filter_type
action find_reverse
entity Georgetown
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Japan'] [{'concept': 'work of art'}, 'filming location', 'Georgetown']
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { ?f property:filming_location resource:Japan . ?f rdf:type ontology:work_of_art } UNION { ?f property:filming_location resource:Georgetown . ?f rdf:type ontology:work_of_art } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q15617994 Q4164871 Q15617994
USER
Which administrative territories have approximately 1 administrative territories or positions as the form of government ?
(c(Q15617994),P122,c(Q15617994)|c(Q4164871))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q15617994'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q4164871 ) } . ?n rdf:type ?k } GROUP BY ?y } }
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'position'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:position ) } . ?n rdf:type ?k } GROUP BY ?y } }
[]
designation for an administrative territorial entity position designation for an administrative territorial entity
Q889 Q815731 Q689837
SYSTEM
Afghanistan, Principality of Bulgaria, Spanish Sahara
Q889 Q689837 Q313175 Q815731 Q1483510 Q696651
(c(Q15617994),P122,c(Q15617994)|c(Q4164871))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[ANSWERS] have approximately 1 administrative territories or positions as the form of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q15617994'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q4164871 ) } . ?n rdf:type ?k } GROUP BY ?y } }
Afghanistan Spanish Sahara Saxe-Lauenburg Principality of Bulgaria Principality of Wales Saxe-Eisenach
Afghanistan, Principality of Bulgaria and Spanish Sahara have approximately 1 administrative territories or positions as the form of government
Afghanistan Principality of Bulgaria Spanish Sahara
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'position'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:position ) } . ?n rdf:type ?k } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?u ) WHERE { ?r property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q781 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?h ) }
Antigua and Barbuda
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?u ) WHERE { ?r property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?h ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?u ) WHERE { ?r property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q781 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?h ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?u ) WHERE { ?r property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?h ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q31629 Q18608583
USER
Which political territories do approximately the same number of types of sport and recurring sporting events originate from as that political territory ?
(c(Q31629)|c(Q18608583),P1427,c(Q1048835))
[[{'concept': 'Q31629'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q31629 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q18608583 }
[[{'concept': 'type of sport'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:type_of_sport . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:recurring_sporting_event }
[]
political territorial entity type of sport recurring sporting event
Comparative|More/Less|Mult. entity type|Clarification
Q35
SYSTEM
Did you mean Denmark ?
(c(Q31629)|c(Q18608583),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q31629'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q31629 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q18608583 }
Did you mean Denmark ?
Denmark
[[{'concept': 'type of sport'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:type_of_sport . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:recurring_sporting_event }
[]
Comparative Reasoning (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q31629)|c(Q18608583),P1427,c(Q1048835))
Q183
[[{'concept': 'Q31629'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'type of sport'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
[]
Q183 Q639412 Q55480
SYSTEM
Germany, Tarazona, Colmenar Viejo
Q1556707 Q55480 Q937763 Q183 Q301437 Q2264671 Q1628379 Q49661 Q536682 Q1765676 Q1442183 Q1766072 Q642046 Q1625868 Q956524 Q488555 Q1375842 Q739495 Q832991 Q474080 Q499184 Q1629539 Q1621191 Q668016 Q490638 Q77433 Q601112 Q1374736 Q743741 Q484552 Q564773 Q639412 Q825883 Q492420 Q672483 Q1771143 Q987453
(c(Q31629)|c(Q18608583),P1427,c(Q1048835))
[ANSWERS] approximately the same number of types of sport and recur sporting events originate from as that political territory
[[{'concept': 'Q31629'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q31629 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q18608583 }
Vila Nova de Cacela Colmenar Viejo Graus Germany Priego de Córdoba El Palomar Mairena del Alcor Mauren Belorado Torredelcampo Sober Santo Domingo de Silos Calahorra Alcañices Maella Baeza Ortigueira Vilanova de Arousa Sóller Amorebieta-Etxano Roquetas de Mar Salvaterra de Miño A Estrada Iurreta Almendralejo Leganés Pollença Lalín Felanitx Algeciras Alhendín Tarazona Valls Getxo Ordizia Carboneras de Guadazaón San Javier
Germany, Tarazona and Colmenar Viejo approximately the same number of types of sport and recur sporting events originate from as that political territory
Germany Tarazona Colmenar Viejo
[[{'concept': 'type of sport'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:type_of_sport . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:recurring_sporting_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with approximately 1 political territory ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?p ) WHERE { ?d property:P530 ?f . ?d rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?p = 1 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?p ) WHERE { ?d property:diplomatic_relation ?f . ?d rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?p = 1 ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?p ) WHERE { ?d property:P530 ?f . ?d rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?p = 1 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?p ) WHERE { ?d property:diplomatic_relation ?f . ?d rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?p = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with around 3 political territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?a ) WHERE { ?i property:P530 ?u . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?i } . FILTER ( ?a = 3 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?a ) WHERE { ?i property:diplomatic_relation ?u . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?i } . FILTER ( ?a = 3 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
32
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?a ) WHERE { ?i property:P530 ?u . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?i } . FILTER ( ?a = 3 ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
32
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?a ) WHERE { ?i property:diplomatic_relation ?u . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?i } . FILTER ( ?a = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P47
Q15617994
USER
Which administrative territories share border with Germany ?
(Q183,P47,c(Q15617994))
action filter_type
action find
entity Q183
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Germany
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q142 Q36
SYSTEM
Netherlands, France, Poland
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q39
(Q183,P47,c(Q15617994))
action filter_type
action find
entity Q183
relation P47
type Q15617994
[ANSWERS] share border with Germany
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Switzerland
Netherlands, France and Poland share border with Germany
Netherlands France Poland
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q183
Q7275
USER
And which state?
(Q183,P47,c(Q7275))
action filter_type
action find
entity Q183
relation P47
type Q7275
['Q183', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P47 ?r . ?r rdf:type ontology:Q7275 }
Germany
action filter_type
action find
entity Germany
relation shares border with
type state
['Germany', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:shares_border_with ?r . ?r rdf:type ontology:state }
[]
state
Q310293 Q33946 Q16957
SYSTEM
Saar Protectorate, Czechoslovakia, East Germany
Q310293 Q33946 Q16957
(Q183,P47,c(Q7275))
action filter_type
action find
entity Q183
relation P47
type Q7275
[ANSWERS]
['Q183', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P47 ?r . ?r rdf:type ontology:Q7275 }
Saar Protectorate Czechoslovakia East Germany
Saar Protectorate Czechoslovakia East Germany
action filter_type
action find
entity Germany
relation shares border with
type state
['Germany', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:shares_border_with ?r . ?r rdf:type ontology:state }
[]