Simple Question (Direct)
Simple Question
Q18810520
P551
Q56061
USER
Where did Priscilla Hon live ?
(Q18810520,P551,c(Q56061))
action filter_type
action find
entity Q18810520
relation P551
type Q56061
['Q18810520', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q18810520 property:P551 ?g . ?g rdf:type ontology:Q56061 }
Priscilla Hon
action filter_type
action find
entity Priscilla Hon
relation residence
type administrative territorial entity
['Priscilla Hon', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Priscilla_Hon property:residence ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34932
SYSTEM
Brisbane
Q34932
(Q18810520,P551,c(Q56061))
action filter_type
action find
entity Q18810520
relation P551
type Q56061
Priscilla [ANSWER] did
['Q18810520', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q18810520 property:P551 ?g . ?g rdf:type ontology:Q56061 }
Brisbane
Priscilla Brisbane did
Brisbane
action filter_type
action find
entity Priscilla Hon
relation residence
type administrative territorial entity
['Priscilla Hon', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Priscilla_Hon property:residence ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34932
P931
Q62447
USER
Which aerodrome serves that administrative territory ?
(c(Q62447),P931,Q34932)
action filter_type
action find_reverse
entity Q34932
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q34932']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q34932 . ?h rdf:type ontology:Q62447 }
Brisbane
action filter_type
action find_reverse
entity Brisbane
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Brisbane']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Brisbane . ?h rdf:type ontology:aerodrome }
[]
aerodrome
Q174194
SYSTEM
Archerfield Airport
Q174194
(c(Q62447),P931,Q34932)
action filter_type
action find_reverse
entity Q34932
relation P931
type Q62447
[ANSWER] serves that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q34932']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q34932 . ?h rdf:type ontology:Q62447 }
Archerfield Airport
Archerfield Airport serves that administrative territory
Archerfield Airport
action filter_type
action find_reverse
entity Brisbane
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Brisbane']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Brisbane . ?h rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q740752 Q62447
USER
How many transport companies operates exactly 2 aerodromes ?
(c(Q62447),P137,c(Q740752))
action count
action equal
action find_reverse_tuple_counts
relation P137
type Q740752
type Q62447
value 2
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P137 ?u . ?u rdf:type ontology:Q740752 . ?z rdf:type ontology:Q62447 } GROUP BY ?u } . FILTER ( ?s = 2 ) }
action count
action equal
action find_reverse_tuple_counts
relation operator
type transport company
type aerodrome
value 2
[{'concept': 'aerodrome'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:operator ?u . ?u rdf:type ontology:transport_company . ?z rdf:type ontology:aerodrome } GROUP BY ?u } . FILTER ( ?s = 2 ) }
[]
transport company aerodrome
SYSTEM
3
Q5531719 Q1263077 Q794563
(c(Q62447),P137,c(Q740752))
action count
action equal
action find_reverse_tuple_counts
relation P137
type Q740752
type Q62447
value 2
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P137 ?u . ?u rdf:type ontology:Q740752 . ?z rdf:type ontology:Q62447 } GROUP BY ?u } . FILTER ( ?s = 2 ) }
General Authority of Civil Aviation Dublin Airport Authority Aéroports de Paris
3
action count
action equal
action find_reverse_tuple_counts
relation operator
type transport company
type aerodrome
value 2
[{'concept': 'aerodrome'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:operator ?u . ?u rdf:type ontology:transport_company . ?z rdf:type ontology:aerodrome } GROUP BY ?u } . FILTER ( ?s = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q781132 Q62447
USER
Which military branches operates atmost 1 aerodrome ?
(c(Q62447),P137,c(Q781132))
action atmost
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P137 ?s . ?s rdf:type ontology:Q781132 . ?e rdf:type ontology:Q62447 } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:operator ?s . ?s rdf:type ontology:military_branch . ?e rdf:type ontology:aerodrome } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
[]
military branch aerodrome
Q3277832 Q4419309 Q2074039
SYSTEM
Hungarian Ground Forces, Kazakh Air and Air Defence Forces, Latvian Land Forces
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q676404 Q246813 Q2705826 Q217406 Q156649 Q702430 Q356359 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q741691 Q19562444 Q855186 Q11322507 Q2384177 Q643834 Q1370337 Q465283 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q796754 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q2055634 Q19344622 Q952444 Q488756 Q16408580 Q2071948 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q3546162 Q5334371 Q355771 Q159211 Q2074039 Q267167 Q702116 Q2349884 Q583941 Q1322103 Q15705369 Q781360 Q2408298 Q1129369 Q4115107 Q16151032 Q219712 Q1038047 Q833040 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q4855270 Q7032867 Q208711 Q2083573 Q755179 Q1324290 Q2301347 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q1141396 Q2745472 Q11220 Q1062125 Q172771 Q2742227 Q2006452 Q3277832 Q2528358 Q4939559 Q3848018 Q1311627 Q2749588 Q1777326 Q2665572 Q25387 Q1370395 Q1366319 Q3293295 Q2492012 Q151701 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q62447),P137,c(Q781132))
action atmost
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
value 1
[ANSWERS] operate atmost 1 aerodrome
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P137 ?s . ?s rdf:type ontology:Q781132 . ?e rdf:type ontology:Q62447 } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Spanish Navy Luxembourg Army Free French Naval Forces French Navy Imperial German Navy Beiyang Fleet Indian Navy Albanian Naval Force South African Navy National Army of Venezuela Saudi Arabian Army Bangladesh Navy French Army Royal Australian Navy Danish-Norwegian navy Regia Marina German Army Norwegian Army German Navy Estonian Navy Russian Navy Royal Netherlands Navy Argentine Army Aviation Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Soviet Navy Iraqi Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Joint Medical Service Royal Indian Navy Pakistan Navy German Navy Royal Bahrain Naval Force naval reserve force Peruvian Navy Republic of Korea Navy Eesti Merevägi Finnish Navy Royal Yugoslav Navy Bulgarian Navy Latvian Naval Forces Swedish Amphibious Corps Canadian Army New Zealand Army Egyptian Army Eritrean Navy Royal Bhutan Army Brazilian Army United States Marine Corps Philippine Navy Ecuadorian Army Indian Army Austro-Hungarian Navy Latvian Land Forces Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy Hellenic Navy National Army of Colombia Dano-Norwegian Navy Imperial Japanese Navy Irish Army Italian Navy Royal Naval Force Royal Danish Army Japan Ground Self-Defense Force Indonesian Navy Iraqi Navy Yugoslav Navy Mongolian People's Army Brazilian Navy Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy People's Liberation Army Navy Vietnam People's Navy Argentine Army Royal Malaysian Navy Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Afghan Special Mission Wing Swedish Navy Chilean Army United States Navy Ottoman Navy Royal Navy Royal Saudi Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Argentine Navy Algerian National Navy Royal Canadian Navy Estonian Land Forces Libyan Navy Turkish Navy Swedish Army Kriegsmarine Italian Army Portuguese Navy Finnish Army Israeli Navy Confederate States Navy Argentine Marines Royal New Zealand Navy Air Force and Anti-Air Defence Brigade
Hungarian Ground Forces, Kazakh Air and Air Defence Forces and Latvian Land Forces operate atmost 1 aerodrome
Hungarian Ground Forces Kazakh Air and Air Defence Forces Latvian Land Forces
action atmost
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:operator ?s . ?s rdf:type ontology:military_branch . ?e rdf:type ontology:aerodrome } GROUP BY ?s } . FILTER ( ?p <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5589338
P361
Q895526 Q781132
USER
Which authority organs are around the same number of military branches a part of as Government of Vietnam ?
(c(Q781132),P361,c(Q895526))
action approx
action find_reverse_tuple_counts
relation P361
type Q895526
type Q781132
action count
action filter_type
action find
entity Q5589338
relation P361
type Q895526
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q895526'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P361 ?o . ?o rdf:type ontology:Q895526 . ?u rdf:type ontology:Q781132 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q5589338 property:P361 ?n . ?n rdf:type ontology:Q895526 } } . FILTER ( ?i = ?t ) }
Government of Vietnam
action approx
action find_reverse_tuple_counts
relation part of
type authority organ
type military branch
action count
action filter_type
action find
entity Government of Vietnam
relation part of
type authority organ
[{'concept': 'military branch'}, 'part of', {'concept': 'authority organ'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:part_of ?o . ?o rdf:type ontology:authority_organ . ?u rdf:type ontology:military_branch } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Government_of_Vietnam property:part_of ?n . ?n rdf:type ontology:authority_organ } } . FILTER ( ?i = ?t ) }
[]
authority organ military branch
Q674113 Q1450662 Q583725
SYSTEM
United States Fish and Wildlife Service, Government of France, Centers for Disease Control and Prevention
Q6411201 Q1009333 Q2528718 Q5589197 Q2324548 Q4294808 Q6867637 Q2602778 Q10330386 Q1153972 Q10302729 Q19829652 Q18214838 Q10677695 Q193755 Q902464 Q5589400 Q111854 Q1672817 Q2550202 Q1354730 Q10655262 Q5589332 Q1117048 Q2767140 Q3406485 Q5589338 Q688584 Q11204 Q5589234 Q1987845 Q47913 Q626814 Q583725 Q206634 Q3112634 Q1450662 Q873675 Q1092499 Q214700 Q3112646 Q1400030 Q10650489 Q6837530 Q16251481 Q69968 Q3526359 Q4251321 Q3778860 Q312506 Q3495267 Q18612054 Q15164 Q10858355 Q1162751 Q3112626 Q1362732 Q1049334 Q671721 Q1420103 Q1057992 Q11983971 Q695805 Q325859 Q674113 Q7055033 Q7925797 Q2625260 Q190861 Q1779601 Q4835275 Q6134903 Q6501447 Q6040253
(c(Q781132),P361,c(Q895526))
action approx
action find_reverse_tuple_counts
relation P361
type Q895526
type Q781132
action count
action filter_type
action find
entity Q5589338
relation P361
type Q895526
[ANSWERS] are around the same number of military branches a part of as Government of Vietnam
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q895526'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P361 ?o . ?o rdf:type ontology:Q895526 . ?u rdf:type ontology:Q781132 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q5589338 property:P361 ?n . ?n rdf:type ontology:Q895526 } } . FILTER ( ?i = ?t ) }
King Abdulaziz City for Science and Technology Bundeszollverwaltung Government of Romania Government of Colombia National Historical Museums Department of Finance and Deregulation Ministry of Transportation Ministry of Ecology, Sustainable Development and Energy Ministry of National Integration Ministry of Defense Instituto da Habitação e Reabilitação Urbana Air Force Communications and Information Center Cree Nation Government Swedish National Maritime Museums United States Geological Survey Consiglio Nazionale delle Ricerche Government of the Independent State of Croatia Historic Scotland Government of Ireland Department of Culture, Youth, Sport and Media Hauptzollamt National Police Board Government of Venezuela Commonwealth Scientific and Industrial Research Organisation Government of India Swedish Prosecution Authority Government of Vietnam Federal Department of Home Affairs legislature Government of Los Angeles French Economic, Social and Environmental Council intelligence agency Government of South Korea Centers for Disease Control and Prevention Court of Common Pleas Government of Quebec Government of France Government of Thailand Prosecutors Office National Oceanic and Atmospheric Administration Welsh Government Federal Court of Australia Swedish Government Offices Michigan Department of Licensing and Regulatory Affairs National Health Service in England General Register Office Government of New Zealand Ministry of Science, Technology and Innovation High Court People's Court Government of Slovakia Gabonese Defense Forces Government of Hong Kong Naalakkersuisut Government of Hungary Government of New Brunswick South African Police Service United States Army Corps of Engineers High Court Swedish Museum of Natural History Government of Macau Gender Equality Ombud Reichskulturkammer Deutscher Wetterdienst United States Fish and Wildlife Service North Dakota Office of State Tax Commissioner Government of the Philippines Government of Åland Central Administrative Department Xunta de Galicia BC Cancer Agency undersecretariat local government Institute of Education Sciences
United States Fish and Wildlife Service, Government of France and Centers for Disease Control and Prevention are around the same number of military branches a part of as Government of Vietnam
United States Fish and Wildlife Service Government of France Centers for Disease Control and Prevention
action approx
action find_reverse_tuple_counts
relation part of
type authority organ
type military branch
action count
action filter_type
action find
entity Government of Vietnam
relation part of
type authority organ
[{'concept': 'military branch'}, 'part of', {'concept': 'authority organ'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:part_of ?o . ?o rdf:type ontology:authority_organ . ?u rdf:type ontology:military_branch } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Government_of_Vietnam property:part_of ?n . ?n rdf:type ontology:authority_organ } } . FILTER ( ?i = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q5589400
P361
Q895526 Q781132
USER
And what about Government of the Independent State of Croatia?
(c(Q781132),P361,c(Q895526))
action approx
action find_reverse_tuple_counts
relation P361
type Q895526
type Q781132
action count
action filter_type
action find
entity Q5589400
relation P361
type Q895526
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q895526'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P361 ?l . ?l rdf:type ontology:Q895526 . ?z rdf:type ontology:Q781132 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q5589400 property:P361 ?c . ?c rdf:type ontology:Q895526 } } . FILTER ( ?a = ?y ) }
Government of the Independent State of Croatia
action approx
action find_reverse_tuple_counts
relation part of
type authority organ
type military branch
action count
action filter_type
action find
entity Government of the Independent State of Croatia
relation part of
type authority organ
[{'concept': 'military branch'}, 'part of', {'concept': 'authority organ'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:part_of ?l . ?l rdf:type ontology:authority_organ . ?z rdf:type ontology:military_branch } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Government_of_the_Independent_State_of_Croatia property:part_of ?c . ?c rdf:type ontology:authority_organ } } . FILTER ( ?a = ?y ) }
[]
authority organ military branch
Q674113 Q1450662 Q583725
SYSTEM
United States Fish and Wildlife Service, Government of France, Centers for Disease Control and Prevention
Q6411201 Q1009333 Q2528718 Q5589197 Q2324548 Q4294808 Q6867637 Q2602778 Q10330386 Q1153972 Q10302729 Q19829652 Q18214838 Q10677695 Q193755 Q902464 Q5589400 Q111854 Q1672817 Q2550202 Q1354730 Q10655262 Q5589332 Q1117048 Q2767140 Q3406485 Q5589338 Q688584 Q11204 Q5589234 Q1987845 Q47913 Q626814 Q583725 Q206634 Q3112634 Q1450662 Q873675 Q1092499 Q214700 Q3112646 Q1400030 Q10650489 Q6837530 Q16251481 Q69968 Q3526359 Q4251321 Q3778860 Q312506 Q3495267 Q18612054 Q15164 Q10858355 Q1162751 Q3112626 Q1362732 Q1049334 Q671721 Q1420103 Q1057992 Q11983971 Q695805 Q325859 Q674113 Q7055033 Q7925797 Q2625260 Q190861 Q1779601 Q4835275 Q6134903 Q6501447 Q6040253
(c(Q781132),P361,c(Q895526))
action approx
action find_reverse_tuple_counts
relation P361
type Q895526
type Q781132
action count
action filter_type
action find
entity Q5589400
relation P361
type Q895526
[ANSWERS]
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q895526'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P361 ?l . ?l rdf:type ontology:Q895526 . ?z rdf:type ontology:Q781132 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q5589400 property:P361 ?c . ?c rdf:type ontology:Q895526 } } . FILTER ( ?a = ?y ) }
King Abdulaziz City for Science and Technology Bundeszollverwaltung Government of Romania Government of Colombia National Historical Museums Department of Finance and Deregulation Ministry of Transportation Ministry of Ecology, Sustainable Development and Energy Ministry of National Integration Ministry of Defense Instituto da Habitação e Reabilitação Urbana Air Force Communications and Information Center Cree Nation Government Swedish National Maritime Museums United States Geological Survey Consiglio Nazionale delle Ricerche Government of the Independent State of Croatia Historic Scotland Government of Ireland Department of Culture, Youth, Sport and Media Hauptzollamt National Police Board Government of Venezuela Commonwealth Scientific and Industrial Research Organisation Government of India Swedish Prosecution Authority Government of Vietnam Federal Department of Home Affairs legislature Government of Los Angeles French Economic, Social and Environmental Council intelligence agency Government of South Korea Centers for Disease Control and Prevention Court of Common Pleas Government of Quebec Government of France Government of Thailand Prosecutors Office National Oceanic and Atmospheric Administration Welsh Government Federal Court of Australia Swedish Government Offices Michigan Department of Licensing and Regulatory Affairs National Health Service in England General Register Office Government of New Zealand Ministry of Science, Technology and Innovation High Court People's Court Government of Slovakia Gabonese Defense Forces Government of Hong Kong Naalakkersuisut Government of Hungary Government of New Brunswick South African Police Service United States Army Corps of Engineers High Court Swedish Museum of Natural History Government of Macau Gender Equality Ombud Reichskulturkammer Deutscher Wetterdienst United States Fish and Wildlife Service North Dakota Office of State Tax Commissioner Government of the Philippines Government of Åland Central Administrative Department Xunta de Galicia BC Cancer Agency undersecretariat local government Institute of Education Sciences
United States Fish and Wildlife Service Government of France Centers for Disease Control and Prevention
action approx
action find_reverse_tuple_counts
relation part of
type authority organ
type military branch
action count
action filter_type
action find
entity Government of the Independent State of Croatia
relation part of
type authority organ
[{'concept': 'military branch'}, 'part of', {'concept': 'authority organ'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:part_of ?l . ?l rdf:type ontology:authority_organ . ?z rdf:type ontology:military_branch } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Government_of_the_Independent_State_of_Croatia property:part_of ?c . ?c rdf:type ontology:authority_organ } } . FILTER ( ?a = ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q2235308 Q12737077
USER
Which military branches are exactly 1 ship types or occupations a part of ?
(c(Q2235308)|c(Q12737077),P361,c(Q781132))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q2235308
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P361 ?r . ?b rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q781132 } UNION { ?r rdf:type ontology:Q781132 . ?b rdf:type ontology:Q12737077 . ?b property:P361 ?r } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation part of
type military branch
type ship type
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
value 1
[[{'concept': 'ship type'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:part_of ?r . ?b rdf:type ontology:ship_type . ?r rdf:type ontology:military_branch } UNION { ?r rdf:type ontology:military_branch . ?b rdf:type ontology:occupation . ?b property:part_of ?r } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
[]
military branch ship type occupation
Q781360 Q1046947 Q222595
SYSTEM
Australian Army, Royal Marines, British Army
Q222595 Q1046947 Q156649 Q781360 Q151701 Q1124986 Q9212
(c(Q2235308)|c(Q12737077),P361,c(Q781132))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q2235308
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
value 1
[ANSWERS] are exactly 1 ship types or occupations a part of
[[{'concept': 'Q2235308'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P361 ?r . ?b rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q781132 } UNION { ?r rdf:type ontology:Q781132 . ?b rdf:type ontology:Q12737077 . ?b property:P361 ?r } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
British Army Royal Marines Imperial German Navy Australian Army Kriegsmarine Confederate States Navy United States Army
Australian Army, Royal Marines and British Army are exactly 1 ship types or occupations a part of
Australian Army Royal Marines British Army
action equal
action union
action find_reverse_tuple_counts
relation part of
type military branch
type ship type
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
value 1
[[{'concept': 'ship type'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:part_of ?r . ?b rdf:type ontology:ship_type . ?r rdf:type ontology:military_branch } UNION { ?r rdf:type ontology:military_branch . ?b rdf:type ontology:occupation . ?b property:part_of ?r } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q781360
P241
Q502895
USER
Which people have that one as the associated miltary branch ?
(c(Q502895),P241,Q781360)
action filter_type
action find_reverse
entity Q781360
relation P241
type Q502895
[{'concept': 'Q502895'}, 'P241', 'Q781360']
SELECT DISTINCT ?m WHERE { ?m property:P241 resource:Q781360 . ?m rdf:type ontology:Q502895 }
Australian Army
action filter_type
action find_reverse
entity Australian Army
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'Australian Army']
SELECT DISTINCT ?m WHERE { ?m property:military_branch resource:Australian_Army . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q222595
SYSTEM
Did you mean British Army ?
Q781360 Q1046947 Q222595
(c(Q502895),P241,Q781360) (c(Q502895),P241,Q1046947) (c(Q502895),P241,Q222595)
[ANSWER]
[{'concept': 'Q502895'}, 'P241', 'Q781360'] [{'concept': 'Q502895'}, 'P241', 'Q1046947'] [{'concept': 'Q502895'}, 'P241', 'Q222595']
SELECT DISTINCT ?m WHERE { ?m property:P241 resource:Q781360 . ?m rdf:type ontology:Q502895 }
Australian Army Royal Marines British Army
Did you mean British Army ?
British Army
[{'concept': 'common name'}, 'military branch', 'Australian Army'] [{'concept': 'common name'}, 'military branch', 'Royal Marines'] [{'concept': 'common name'}, 'military branch', 'British Army']
SELECT DISTINCT ?m WHERE { ?m property:military_branch resource:Australian_Army . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Australian Army. Could you tell me the answer for that?
(c(Q502895),P241,Q781360)
Q781360
[{'concept': 'Q502895'}, 'P241', 'Q781360']
[{'concept': 'common name'}, 'military branch', 'Australian Army']
[]
Q4786220 Q969733 Q2088004
SYSTEM
Archibald Blacklow, John Lavarack, Phillip Bennett
Q12789300 Q15430716 Q4722707 Q5314437 Q5484959 Q6242200 Q21537877 Q6263849 Q26900155 Q16731201 Q21066082 Q15996499 Q25184374 Q12788589 Q4885791 Q7331274 Q7448935 Q4758919 Q16094193 Q6831152 Q21191050 Q1680992 Q5082603 Q26935203 Q19933748 Q5346930 Q2088004 Q6220396 Q4786220 Q5240396 Q7371815 Q6128781 Q6555719 Q1922729 Q969733 Q2137228 Q22003538 Q7307886 Q6397744 Q17917663 Q24250563 Q26701430 Q7287726 Q26267400 Q17627074 Q10325351 Q4910003 Q7792143 Q6243054 Q9193159 Q3525352 Q7613974 Q24706194 Q7679021 Q5218021 Q5620669 Q7298110 Q19975877
(c(Q502895),P241,Q781360)
action filter_type
action find_reverse
entity Q781360
relation P241
type Q502895
[ANSWERS] have that one as the associated miltary branch
[{'concept': 'Q502895'}, 'P241', 'Q781360']
SELECT DISTINCT ?m WHERE { ?m property:P241 resource:Q781360 . ?m rdf:type ontology:Q502895 }
Francis Roger North Sandy MacGregor Alfred Gaby Duncan Lewis Frank Alberry John Joseph McDonald Frederick Hugh Sherston Roberts John Whitelaw Ian Kennison Jacqui Lambie Andrew Hastie John Ryan Jack Hazlitt Eugene Gorman Ben Hardy Rick Burr Selwyn Porter Andrew Wilkie Harry Smith Michael Hintze William James James Plimsoll Charles Spry Nicole Louise Pearce Shirley Thomas William Goodwin Edwin Yates Phillip Bennett John Baker Archibald Blacklow David Thomson Rowan Tink Simone Wilkie Lionel Matthews John Murray John Lavarack Reg Grundy Audrey Cahn Reg Wright Kevin Wheatley Peter Barbour John Norris Justin Field Ralph Jones Tony Greatorex Stanley Price Weir Leslie Thomas Starcevich Bill Madden Thomas Maltby John Kidd Claude Ross Tom Lewis Steve Smith Peter Lloyd Talbot Duckmanton Dan Mackinnon Gus Gilmore Ray Simpson Jim Furner
Archibald Blacklow, John Lavarack and Phillip Bennett have that one as the associated miltary branch
Archibald Blacklow John Lavarack Phillip Bennett
action filter_type
action find_reverse
entity Australian Army
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'Australian Army']
SELECT DISTINCT ?m WHERE { ?m property:military_branch resource:Australian_Army . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P137
Q781132 Q62447 Q5962346
USER
Which military branches operates approximately 18 aerodromes and classification schemes ?
(c(Q62447)|c(Q5962346),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
value 18
[[{'concept': 'Q62447'}, {'concept': 'Q5962346'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { { ?w property:P137 ?x . ?x rdf:type ontology:Q781132 . ?w rdf:type ontology:Q62447 } UNION { ?w property:P137 ?x . ?x rdf:type ontology:Q781132 . ?w rdf:type ontology:Q5962346 } } GROUP BY ?x } . FILTER ( ?t = 18 ) }
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
value 18
[[{'concept': 'aerodrome'}, {'concept': 'classification scheme'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { { ?w property:operator ?x . ?x rdf:type ontology:military_branch . ?w rdf:type ontology:aerodrome } UNION { ?w property:operator ?x . ?x rdf:type ontology:military_branch . ?w rdf:type ontology:classification_scheme } } GROUP BY ?x } . FILTER ( ?t = 18 ) }
[]
military branch aerodrome classification scheme
Q676404 Q1141396 Q755179
SYSTEM
Spanish Navy, Swedish Navy, People's Liberation Army Navy
Q676404 Q217406 Q156649 Q855186 Q931281 Q159211 Q583941 Q755179 Q731647 Q1141396
(c(Q62447)|c(Q5962346),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
value 18
[ANSWERS] operate approximately 18 aerodromes and classification schemes
[[{'concept': 'Q62447'}, {'concept': 'Q5962346'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { { ?w property:P137 ?x . ?x rdf:type ontology:Q781132 . ?w rdf:type ontology:Q62447 } UNION { ?w property:P137 ?x . ?x rdf:type ontology:Q781132 . ?w rdf:type ontology:Q5962346 } } GROUP BY ?x } . FILTER ( ?t = 18 ) }
Spanish Navy French Navy Imperial German Navy Regia Marina Royal Netherlands Navy Austro-Hungarian Navy Imperial Russian Navy People's Liberation Army Navy Japan Maritime Self-Defense Force Swedish Navy
Spanish Navy, Swedish Navy and People's Liberation Army Navy operate approximately 18 aerodromes and classification schemes
Spanish Navy Swedish Navy People's Liberation Army Navy
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
value 18
[[{'concept': 'aerodrome'}, {'concept': 'classification scheme'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { { ?w property:operator ?x . ?x rdf:type ontology:military_branch . ?w rdf:type ontology:aerodrome } UNION { ?w property:operator ?x . ?x rdf:type ontology:military_branch . ?w rdf:type ontology:classification_scheme } } GROUP BY ?x } . FILTER ( ?t = 18 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1408079 Q1141396
P137 P176
Q2235308
USER
Which ship types can be described as facility operator of Swedish Navy and were built by Kockums ?
AND((c(Q2235308),P137,Q1141396), (c(Q2235308),P176,Q1408079))
action filter_type
action intersection
action find_reverse
entity Q1141396
relation P137
action find_reverse
entity Q1408079
relation P176
type Q2235308
{'AND': [[{'concept': 'Q2235308'}, 'P137', 'Q1141396'], [{'concept': 'Q2235308'}, 'P176', 'Q1408079']]}
SELECT DISTINCT ?b WHERE { ?b property:P176 resource:Q1408079 . ?b property:P137 resource:Q1141396 . ?b rdf:type ontology:Q2235308 }
Kockums Swedish Navy
action filter_type
action intersection
action find_reverse
entity Swedish Navy
relation operator
action find_reverse
entity Kockums
relation manufacturer
type ship type
{'AND': [[{'concept': 'ship type'}, 'operator', 'Swedish Navy'], [{'concept': 'ship type'}, 'manufacturer', 'Kockums']]}
SELECT DISTINCT ?b WHERE { ?b property:manufacturer resource:Kockums . ?b property:operator resource:Swedish_Navy . ?b rdf:type ontology:ship_type }
[]
ship type
Q10548373 Q52897 Q298395 Q10515220 Q1433093 Q10515138 Q10515104 Q5636032 Q2467746 Q10515286
SYSTEM
Some of them are Koster-class mine countermeasures vessel, HMS Gustav V, Östergötland-class destroyer, HMS Uttern, Landsort-class mine countermeasures vessel, HMS Springaren, HMS Sjöbjörnen, HMS Sjöhunden, URF, HMS Östergötland
Q10515217 Q10515046 Q10515233 Q10515175 Q10515190 Q5636039 Q762384 Q10548373 Q16253223 Q5636031 Q5636032 Q10513251 Q4352699 Q10513253 Q4352756 Q5634350 Q4354884 Q3496336 Q10515139 Q10515104 Q10515109 Q10513157 Q10515261 Q4352629 Q10515220 Q1433093 Q11861059 Q1559709 Q10515037 Q298395 Q4993491 Q4354888 Q10515187 Q823329 Q10515184 Q10515280 Q5636029 Q10513227 Q10515286 Q2467746 Q10513185 Q10689324 Q52897 Q13376303 Q10515279 Q10515138 Q10515113 Q10513165 Q4352643 Q10515118
AND((c(Q2235308),P137,Q1141396), (c(Q2235308),P176,Q1408079))
action filter_type
action intersection
action find_reverse
entity Q1141396
relation P137
action find_reverse
entity Q1408079
relation P176
type Q2235308
[ANSWERS] can be described as facility operator of Swedish Navy and were built by Kockums
{'AND': [[{'concept': 'Q2235308'}, 'P137', 'Q1141396'], [{'concept': 'Q2235308'}, 'P176', 'Q1408079']]}
SELECT DISTINCT ?b WHERE { ?b property:P176 resource:Q1408079 . ?b property:P137 resource:Q1141396 . ?b rdf:type ontology:Q2235308 }
HMS Urd HMS Nordkaparen HMS Vargen HMS Svensksund HMS Tapperheten HMS Uppland Visby class corvette Koster-class mine countermeasures vessel HMS Neptun HMS Halland HMS Sjöhunden HMS Hälsingland HMS Visby HMS Hälsingland HMS Härnösand HMS Sjöormen HMS Nyköping Öland-class destroyer HMS Springaren HMS Sjöbjörnen HMS Sjöhästen HMS Delfinen HMS Västergötland HMS Ehrensköld HMS Uttern Landsort-class mine countermeasures vessel HMS Wale Göteborg-class corvette HMS Najad Östergötland-class destroyer HMS Näcken HMS Karlstad HMS Södermanland Styrsö class mine countermeasures vessel HMS Sälen HMS Öland HMS Gotland HMS Hajen HMS Östergötland URF HMS Freja T46 HMS Gustav V HMS Sjölejonet MHS Öregrund HMS Springaren HMS Sjölejonet HMS Draken HMS Helsingborg HMS Skanör
Koster-class mine countermeasures vessel, HMS Gustav V, Östergötland-class destroyer, HMS Uttern, Landsort-class mine countermeasures vessel, HMS Springaren, HMS Sjöbjörnen, HMS Sjöhunden, URF and HMS Östergötland can be described as facility operator of Swedish Navy and were built by Kockums
Koster-class mine countermeasures vessel HMS Gustav V Östergötland-class destroyer HMS Uttern Landsort-class mine countermeasures vessel HMS Springaren HMS Sjöbjörnen HMS Sjöhunden URF HMS Östergötland
action filter_type
action intersection
action find_reverse
entity Swedish Navy
relation operator
action find_reverse
entity Kockums
relation manufacturer
type ship type
{'AND': [[{'concept': 'ship type'}, 'operator', 'Swedish Navy'], [{'concept': 'ship type'}, 'manufacturer', 'Kockums']]}
SELECT DISTINCT ?b WHERE { ?b property:manufacturer resource:Kockums . ?b property:operator resource:Swedish_Navy . ?b rdf:type ontology:ship_type }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10515220
P793
Q2245405
USER
Which key events are the significant events associated with that ship type ?
(Q10515220,P793,c(Q2245405))
action filter_type
action find
entity Q10515220
relation P793
type Q2245405
['Q10515220', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2245405 . resource:Q10515220 property:P793 ?k }
HMS Uttern
action filter_type
action find
entity HMS Uttern
relation significant event
type key event
['HMS Uttern', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:key_event . resource:HMS_Uttern property:significant_event ?k }
[]
key event
Clarification for simple ques.
Q2467746
SYSTEM
Did you mean URF ?
Q10548373 Q52897 Q298395 Q10515220 Q1433093 Q10515138 Q10515104 Q5636032 Q2467746 Q10515286
(Q10548373,P793,c(Q2245405)) (Q52897,P793,c(Q2245405)) (Q298395,P793,c(Q2245405)) (Q10515220,P793,c(Q2245405)) (Q1433093,P793,c(Q2245405)) (Q10515138,P793,c(Q2245405)) (Q10515104,P793,c(Q2245405)) (Q5636032,P793,c(Q2245405)) (Q2467746,P793,c(Q2245405)) (Q10515286,P793,c(Q2245405))
[ANSWER]
['Q10548373', 'P793', {'concept': 'Q2245405'}] ['Q52897', 'P793', {'concept': 'Q2245405'}] ['Q298395', 'P793', {'concept': 'Q2245405'}] ['Q10515220', 'P793', {'concept': 'Q2245405'}] ['Q1433093', 'P793', {'concept': 'Q2245405'}] ['Q10515138', 'P793', {'concept': 'Q2245405'}] ['Q10515104', 'P793', {'concept': 'Q2245405'}] ['Q5636032', 'P793', {'concept': 'Q2245405'}] ['Q2467746', 'P793', {'concept': 'Q2245405'}] ['Q10515286', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2245405 . resource:Q10515220 property:P793 ?k }
Koster-class mine countermeasures vessel HMS Gustav V Östergötland-class destroyer HMS Uttern Landsort-class mine countermeasures vessel HMS Springaren HMS Sjöbjörnen HMS Sjöhunden URF HMS Östergötland
Did you mean URF ?
URF
['Koster-class mine countermeasures vessel', 'significant event', {'concept': 'key event'}] ['HMS Gustav V', 'significant event', {'concept': 'key event'}] ['Östergötland-class destroyer', 'significant event', {'concept': 'key event'}] ['HMS Uttern', 'significant event', {'concept': 'key event'}] ['Landsort-class mine countermeasures vessel', 'significant event', {'concept': 'key event'}] ['HMS Springaren', 'significant event', {'concept': 'key event'}] ['HMS Sjöbjörnen', 'significant event', {'concept': 'key event'}] ['HMS Sjöhunden', 'significant event', {'concept': 'key event'}] ['URF', 'significant event', {'concept': 'key event'}] ['HMS Östergötland', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:key_event . resource:HMS_Uttern property:significant_event ?k }
[]
Simple Question (Coreferenced)
USER
No, I meant HMS Uttern. Could you tell me the answer for that?
(Q10515220,P793,c(Q2245405))
Q10515220
['Q10515220', 'P793', {'concept': 'Q2245405'}]
['HMS Uttern', 'significant event', {'concept': 'key event'}]
[]
Q596643 Q7497952
SYSTEM
ship naming and launching, ship decommissioning
Q596643 Q7497952
(Q10515220,P793,c(Q2245405))
action filter_type
action find
entity Q10515220
relation P793
type Q2245405
[ANSWERS] are the significant events associated with that ship type
['Q10515220', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2245405 . resource:Q10515220 property:P793 ?k }
ship naming and launching ship decommissioning
Ship naming and launching and ship decommissioning are the significant events associated with that ship type
ship naming and launching ship decommissioning
action filter_type
action find
entity HMS Uttern
relation significant event
type key event
['HMS Uttern', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:key_event . resource:HMS_Uttern property:significant_event ?k }
[]