Simple Question (Direct)
Simple Question
Q7299056
P19
Q56061
USER
Which administrative territory was Raymond P. Rodgers born at ?
(Q7299056,P19,c(Q56061))
action filter_type
action find
entity Q7299056
relation P19
type Q56061
['Q7299056', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7299056 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Raymond P. Rodgers
action filter_type
action find
entity Raymond P. Rodgers
relation place of birth
type administrative territorial entity
['Raymond P. Rodgers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Raymond_P._Rodgers property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q7299056,P19,c(Q56061))
action filter_type
action find
entity Q7299056
relation P19
type Q56061
[ANSWER] was Raymond P. Rodgers born at
['Q7299056', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7299056 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Washington, D.C.
Washington, D.C. was Raymond P. Rodgers born at
Washington, D.C.
action filter_type
action find
entity Raymond P. Rodgers
relation place of birth
type administrative territorial entity
['Raymond P. Rodgers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Raymond_P._Rodgers property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7299056
P241
Q781132
USER
Which military branch is Raymond P. Rodgers associated with ?
(Q7299056,P241,c(Q781132))
action filter_type
action find
entity Q7299056
relation P241
type Q781132
['Q7299056', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q7299056 property:P241 ?p . ?p rdf:type ontology:Q781132 }
Raymond P. Rodgers
action filter_type
action find
entity Raymond P. Rodgers
relation military branch
type military branch
['Raymond P. Rodgers', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Raymond_P._Rodgers property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q7299056,P241,c(Q781132))
action filter_type
action find
entity Q7299056
relation P241
type Q781132
The [ANSWER] is Raymond P. Rodgers associated with
['Q7299056', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q7299056 property:P241 ?p . ?p rdf:type ontology:Q781132 }
United States Navy
The United States Navy is Raymond P. Rodgers associated with
United States Navy
action filter_type
action find
entity Raymond P. Rodgers
relation military branch
type military branch
['Raymond P. Rodgers', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Raymond_P._Rodgers property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7299056
P20
Q123705
USER
Where did that person die ?
(Q11220,P20,c(Q123705))
action filter_type
action find
entity Q7299056
relation P20
type Q123705
['Q11220', 'P20', {'concept': 'Q123705'}]
SELECT DISTINCT ?x WHERE { resource:Q7299056 property:P20 ?x . ?x rdf:type ontology:Q123705 }
Raymond P. Rodgers
action filter_type
action find
entity Raymond P. Rodgers
relation place of death
type neighborhood
['United States Navy', 'place of death', {'concept': 'neighborhood'}]
SELECT DISTINCT ?x WHERE { resource:Raymond_P._Rodgers property:place_of_death ?x . ?x rdf:type ontology:neighborhood }
[]
neighborhood
Q45240
SYSTEM
Monte Carlo
Q45240
(Q11220,P20,c(Q123705))
action filter_type
action find
entity Q7299056
relation P20
type Q123705
That person died in [ANSWER]
['Q11220', 'P20', {'concept': 'Q123705'}]
SELECT DISTINCT ?x WHERE { resource:Q7299056 property:P20 ?x . ?x rdf:type ontology:Q123705 }
Monte Carlo
That person died in Monte Carlo
Monte Carlo
action filter_type
action find
entity Raymond P. Rodgers
relation place of death
type neighborhood
['United States Navy', 'place of death', {'concept': 'neighborhood'}]
SELECT DISTINCT ?x WHERE { resource:Raymond_P._Rodgers property:place_of_death ?x . ?x rdf:type ontology:neighborhood }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7299056
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Raymond P. Rodgers ?
(Q7299056,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7299056
relation P27
type Q15617994
['Q7299056', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q7299056 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Raymond P. Rodgers
action count
action filter_type
action find
entity Raymond P. Rodgers
relation country of citizenship
type designation for an administrative territorial entity
['Raymond P. Rodgers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Raymond_P._Rodgers property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q7299056,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7299056
relation P27
type Q15617994
[ANSWER]
['Q7299056', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q7299056 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Raymond P. Rodgers
relation country of citizenship
type designation for an administrative territorial entity
['Raymond P. Rodgers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Raymond_P._Rodgers property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q546386
Q15617994
USER
And how about Vladimír Malý?
(Q546386,P27,c(Q15617994))
action count
action filter_type
action find
entity Q546386
relation P27
type Q15617994
['Q546386', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q546386 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Vladimír Malý
action count
action filter_type
action find
entity Vladimír Malý
relation country of citizenship
type designation for an administrative territorial entity
['Vladimír Malý', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Vladimír_Malý property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
(Q546386,P27,c(Q15617994))
action count
action filter_type
action find
entity Q546386
relation P27
type Q15617994
[ANSWER]
['Q546386', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q546386 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
2
action count
action filter_type
action find
entity Vladimír Malý
relation country of citizenship
type designation for an administrative territorial entity
['Vladimír Malý', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Vladimír_Malý property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1729
P559
Q56061 Q728937 Q34442
USER
How many administrative territories serve as the endpoint for less number of railroad lines or roads than Erfurt ?
(c(Q728937)|c(Q34442),P559,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q1729
relation P559
type Q728937
type Q34442
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { VALUES ( ?d ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } . ?v rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P559 resource:Q1729 . { VALUES ( ?u ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } . ?j rdf:type ?u } } } . FILTER ( ?b < ?f ) }
Erfurt
action count
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Erfurt
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { VALUES ( ?d ) { ( ontology:railroad_line ) ( ontology:road ) } . ?v rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:terminus resource:Erfurt . { VALUES ( ?u ) { ( ontology:railroad_line ) ( ontology:road ) } . ?j rdf:type ?u } } } . FILTER ( ?b < ?f ) }
[]
administrative territorial entity railroad line road
SYSTEM
152
Q938820 Q9832 Q3051477 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q69639 Q1017610 Q10084 Q375314 Q12439 Q7567083 Q541055 Q723164 Q82490 Q4825403 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 Q5902931 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q7651719 Q171357 Q134620 Q956 Q959 Q992420 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q7050868 Q24826 Q6509 Q671348 Q28327 Q5477618 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q35433 Q1763 Q1449 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q6820370 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2703030 Q2133814 Q794802 Q7944369 Q646784 Q79499 Q184383 Q6275457 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q1735 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q580016 Q2290 Q244289 Q237253 Q485186 Q588417 Q634172 Q146659 Q522362 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q728937)|c(Q34442),P559,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q1729
relation P559
type Q728937
type Q34442
[ANSWER]
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { VALUES ( ?d ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } . ?v rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P559 resource:Q1729 . { VALUES ( ?u ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } . ?j rdf:type ?u } } } . FILTER ( ?b < ?f ) }
Virrat Eindhoven Ellewoutsdijk Minehead Sedbury Annalankangas Edinburgh Scheveningen Göschenen Horgoš Vlissingen Folkestone Detroit South Drain Oijen Pop Lyme Regis Austrepollen Winchester Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Paramaribo Horda, Norway Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Svartnes Kecskemét Jyväskylä Beijing Vladivostok Fjærland Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Nordrepollen Liverpool Burgas Worthing Örnsköldsvik Frafjord Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Saint-Rhémy-en-Bosses Murmansk Genoa Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Merritton, Ontario Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Apoera Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria Kilsby St Nicholas-at-Wade Otira Värpinge Moffat Helena Zeebrugge Jong, Norway Deerfield Afobaka Lilla Alby Antwerp Farnham Ulan-Ude Innsbruck Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Albina Porsgrunn Athis-Mons Great Yarmouth Key West Sewell, Chile Banihal Clapham Bad Säckingen Aviemore Karkkila Birstall Los Angeles Prague
152
action count
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action count
action filter_multi_types
action find_reverse
entity Erfurt
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { VALUES ( ?d ) { ( ontology:railroad_line ) ( ontology:road ) } . ?v rdf:type ?d } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:terminus resource:Erfurt . { VALUES ( ?u ) { ( ontology:railroad_line ) ( ontology:road ) } . ?j rdf:type ?u } } } . FILTER ( ?b < ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23017346 Q7299056
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Raymond P. Rodgers or Alamine Ousmane Mey ?
OR((Q7299056,P27,c(Q15617994)), (Q23017346,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7299056
relation P27
action find
entity Q23017346
relation P27
type Q15617994
{'OR': [['Q7299056', 'P27', {'concept': 'Q15617994'}], ['Q23017346', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?e property:P27 ?m . VALUES ( ?e ) { ( resource:Q7299056 ) ( resource:Q23017346 ) } } . ?m rdf:type ontology:Q15617994 }
Alamine Ousmane Mey Raymond P. Rodgers
action filter_type
action union
action find
entity Raymond P. Rodgers
relation country of citizenship
action find
entity Alamine Ousmane Mey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Raymond P. Rodgers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alamine Ousmane Mey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?e property:country_of_citizenship ?m . VALUES ( ?e ) { ( resource:Raymond_P._Rodgers ) ( resource:Alamine_Ousmane_Mey ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009 Q30
SYSTEM
Cameroon, United States of America
Q1009 Q30
OR((Q7299056,P27,c(Q15617994)), (Q23017346,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7299056
relation P27
action find
entity Q23017346
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Raymond P. Rodgers or Alamine Ousmane Mey
{'OR': [['Q7299056', 'P27', {'concept': 'Q15617994'}], ['Q23017346', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?e property:P27 ?m . VALUES ( ?e ) { ( resource:Q7299056 ) ( resource:Q23017346 ) } } . ?m rdf:type ontology:Q15617994 }
Cameroon United States of America
Cameroon and United States of America are the countries of citizenship of Raymond P. Rodgers or Alamine Ousmane Mey
Cameroon United States of America
action filter_type
action union
action find
entity Raymond P. Rodgers
relation country of citizenship
action find
entity Alamine Ousmane Mey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Raymond P. Rodgers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alamine Ousmane Mey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?e property:country_of_citizenship ?m . VALUES ( ?e ) { ( resource:Raymond_P._Rodgers ) ( resource:Alamine_Ousmane_Mey ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17049310
P121
Q20027953 Q11436 Q781132
USER
Which military branches manage more number of aircraft functional classes and aircrafts than Angolan Navy ?
(c(Q781132),P121,c(Q20027953)|c(Q11436))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q11436
action count
action filter_multi_types
action find
entity Q17049310
relation P121
type Q20027953
type Q11436
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q11436'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?y property:P121 ?r . ?y rdf:type ontology:Q781132 . ?r rdf:type ontology:Q20027953 } UNION { ?y property:P121 ?r . ?y rdf:type ontology:Q781132 . ?r rdf:type ontology:Q11436 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q20027953 ) ( ontology:Q11436 ) } } . resource:Q17049310 property:P121 ?f } } . FILTER ( ?q > ?j ) }
Angolan Navy
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft
action count
action filter_multi_types
action find
entity Angolan Navy
relation item operated
type aircraft functional class
type aircraft
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?y property:item_operated ?r . ?y rdf:type ontology:military_branch . ?r rdf:type ontology:aircraft_functional_class } UNION { ?y property:item_operated ?r . ?y rdf:type ontology:military_branch . ?r rdf:type ontology:aircraft } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:aircraft_functional_class ) ( ontology:aircraft ) } } . resource:Angolan_Navy property:item_operated ?f } } . FILTER ( ?q > ?j ) }
[]
aircraft functional class aircraft military branch
Q4419309 Q2862927 Q11220
SYSTEM
Kazakh Air and Air Defence Forces, Indonesian Army, United States Navy
Q4419309 Q11220 Q1129369 Q1546449 Q2704661 Q356359 Q2862927 Q1777326 Q11218 Q2301347
(c(Q781132),P121,c(Q20027953)|c(Q11436))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q11436
action count
action filter_multi_types
action find
entity Q17049310
relation P121
type Q20027953
type Q11436
[ANSWERS] manage more number of aircraft functional classes and aircrafts than Angolan Navy
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q11436'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?y property:P121 ?r . ?y rdf:type ontology:Q781132 . ?r rdf:type ontology:Q20027953 } UNION { ?y property:P121 ?r . ?y rdf:type ontology:Q781132 . ?r rdf:type ontology:Q11436 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q20027953 ) ( ontology:Q11436 ) } } . resource:Q17049310 property:P121 ?f } } . FILTER ( ?q > ?j ) }
Kazakh Air and Air Defence Forces United States Navy Hellenic Navy Hellenic Army Indonesian Navy Indian Navy Indonesian Army Argentine Navy United States Marine Corps Argentine Army
Kazakh Air and Air Defence Forces, Indonesian Army and United States Navy manage more number of aircraft functional classes and aircrafts than Angolan Navy
Kazakh Air and Air Defence Forces Indonesian Army United States Navy
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft
action count
action filter_multi_types
action find
entity Angolan Navy
relation item operated
type aircraft functional class
type aircraft
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?y property:item_operated ?r . ?y rdf:type ontology:military_branch . ?r rdf:type ontology:aircraft_functional_class } UNION { ?y property:item_operated ?r . ?y rdf:type ontology:military_branch . ?r rdf:type ontology:aircraft } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:aircraft_functional_class ) ( ontology:aircraft ) } } . resource:Angolan_Navy property:item_operated ?f } } . FILTER ( ?q > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18640177
P121
Q20027953 Q11436 Q781132
USER
And also tell me about Guinean Navy?
(c(Q781132),P121,c(Q20027953)|c(Q11436))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q11436
action count
action filter_multi_types
action find
entity Q18640177
relation P121
type Q20027953
type Q11436
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q11436'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?x WHERE { { ?x property:P121 ?z . ?x rdf:type ontology:Q781132 . ?z rdf:type ontology:Q20027953 } UNION { ?x rdf:type ontology:Q781132 . ?z rdf:type ontology:Q11436 . ?x property:P121 ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q18640177 property:P121 ?i . { { ?i rdf:type ontology:Q11436 } UNION { ?i rdf:type ontology:Q20027953 } } } } . FILTER ( ?a > ?p ) }
Guinean Navy
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft
action count
action filter_multi_types
action find
entity Guinean Navy
relation item operated
type aircraft functional class
type aircraft
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?x WHERE { { ?x property:item_operated ?z . ?x rdf:type ontology:military_branch . ?z rdf:type ontology:aircraft_functional_class } UNION { ?x rdf:type ontology:military_branch . ?z rdf:type ontology:aircraft . ?x property:item_operated ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Guinean_Navy property:item_operated ?i . { { ?i rdf:type ontology:aircraft } UNION { ?i rdf:type ontology:aircraft_functional_class } } } } . FILTER ( ?a > ?p ) }
[]
aircraft functional class aircraft military branch
Q4419309 Q2862927 Q11220
SYSTEM
Kazakh Air and Air Defence Forces, Indonesian Army, United States Navy
Q4419309 Q11220 Q1129369 Q1546449 Q2704661 Q356359 Q2862927 Q1777326 Q11218 Q2301347
(c(Q781132),P121,c(Q20027953)|c(Q11436))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q20027953
action find_tuple_counts
relation P121
type Q781132
type Q11436
action count
action filter_multi_types
action find
entity Q18640177
relation P121
type Q20027953
type Q11436
[ANSWERS]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q11436'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?x WHERE { { ?x property:P121 ?z . ?x rdf:type ontology:Q781132 . ?z rdf:type ontology:Q20027953 } UNION { ?x rdf:type ontology:Q781132 . ?z rdf:type ontology:Q11436 . ?x property:P121 ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q18640177 property:P121 ?i . { { ?i rdf:type ontology:Q11436 } UNION { ?i rdf:type ontology:Q20027953 } } } } . FILTER ( ?a > ?p ) }
Kazakh Air and Air Defence Forces United States Navy Hellenic Navy Hellenic Army Indonesian Navy Indian Navy Indonesian Army Argentine Navy United States Marine Corps Argentine Army
Kazakh Air and Air Defence Forces Indonesian Army United States Navy
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft functional class
action find_tuple_counts
relation item operated
type military branch
type aircraft
action count
action filter_multi_types
action find
entity Guinean Navy
relation item operated
type aircraft functional class
type aircraft
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'aircraft'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?x WHERE { { ?x property:item_operated ?z . ?x rdf:type ontology:military_branch . ?z rdf:type ontology:aircraft_functional_class } UNION { ?x rdf:type ontology:military_branch . ?z rdf:type ontology:aircraft . ?x property:item_operated ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Guinean_Navy property:item_operated ?i . { { ?i rdf:type ontology:aircraft } UNION { ?i rdf:type ontology:aircraft_functional_class } } } } . FILTER ( ?a > ?p ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P241
Q781132 Q502895
USER
Which military branches were around the same number of people a part of as that military branch ?
(c(Q502895),P241,c(Q781132))
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { ?z property:Q781132 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q781132 }
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { ?z property:military_branch ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:military_branch }
[]
military branch common name
Comparative|More/Less|Single entity type|Clarification
Q4419309
SYSTEM
Did you mean Kazakh Air and Air Defence Forces ?
(c(Q502895),P241,c(Q781132))
[ANSWER]
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { ?z property:Q781132 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q781132 }
Did you mean Kazakh Air and Air Defence Forces ?
Kazakh Air and Air Defence Forces
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { ?z property:military_branch ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:military_branch }
[]
Comparative Reasoning (All)
USER
No, I meant United States Navy. Could you tell me the answer for that?
(c(Q502895),P241,c(Q781132))
Q11220
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
[]
Q9212 Q11220
SYSTEM
United States Army, United States Navy
Q9212 Q11220
(c(Q502895),P241,c(Q781132))
[ANSWERS] were around the same number of people a part of as that military branch
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { ?z property:Q781132 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q781132 }
United States Army United States Navy
United States Army and United States Navy were around the same number of people a part of as that military branch
United States Army United States Navy
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { ?z property:military_branch ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:military_branch }
[]