Simple Question (Direct)
Simple Question
Q4734252
P20
Q15617994
USER
Where did Alois Stoeckl expire ?
(Q4734252,P20,c(Q15617994))
action filter_type
action find
entity Q4734252
relation P20
type Q15617994
['Q4734252', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q4734252 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Alois Stoeckl
action filter_type
action find
entity Alois Stoeckl
relation place of death
type designation for an administrative territorial entity
['Alois Stoeckl', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Alois_Stoeckl property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4734252,P20,c(Q15617994))
action filter_type
action find
entity Q4734252
relation P20
type Q15617994
Alois Stoeckl expired [ANSWER]
['Q4734252', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q4734252 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
Alois Stoeckl expired United Kingdom
United Kingdom
action filter_type
action find
entity Alois Stoeckl
relation place of death
type designation for an administrative territorial entity
['Alois Stoeckl', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Alois_Stoeckl property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4734252
P166
Q618779
USER
Which award was received by Alois Stoeckl ?
(Q4734252,P166,c(Q618779))
action filter_type
action find
entity Q4734252
relation P166
type Q618779
['Q4734252', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q4734252 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Alois Stoeckl
action filter_type
action find
entity Alois Stoeckl
relation award received
type award
['Alois Stoeckl', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Alois_Stoeckl property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Q165558
SYSTEM
Knight's Cross of the Iron Cross
Q165558
(Q4734252,P166,c(Q618779))
action filter_type
action find
entity Q4734252
relation P166
type Q618779
The [ANSWER] was received by Alois Stoeckl
['Q4734252', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q4734252 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Knight's Cross of the Iron Cross
The Knight's Cross of the Iron Cross was received by Alois Stoeckl
Knight's Cross of the Iron Cross
action filter_type
action find
entity Alois Stoeckl
relation award received
type award
['Alois Stoeckl', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Alois_Stoeckl property:award_received ?c . ?c rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4734252
P607
Q1190554
USER
Which event did Alois Stoeckl take part in ?
(Q4734252,P607,c(Q1190554))
action filter_type
action find
entity Q4734252
relation P607
type Q1190554
['Q4734252', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { resource:Q4734252 property:P607 ?w . ?w rdf:type ontology:Q1190554 }
Alois Stoeckl
action filter_type
action find
entity Alois Stoeckl
relation conflict
type event
['Alois Stoeckl', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { resource:Alois_Stoeckl property:conflict ?w . ?w rdf:type ontology:event }
[]
event
Q151340
SYSTEM
Battle of France
Q151340
(Q4734252,P607,c(Q1190554))
action filter_type
action find
entity Q4734252
relation P607
type Q1190554
Alois Stoeckl took part in [ANSWER]
['Q4734252', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { resource:Q4734252 property:P607 ?w . ?w rdf:type ontology:Q1190554 }
Battle of France
Alois Stoeckl took part in Battle of France
Battle of France
action filter_type
action find
entity Alois Stoeckl
relation conflict
type event
['Alois Stoeckl', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { resource:Alois_Stoeckl property:conflict ?w . ?w rdf:type ontology:event }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4720410
Q1190554
USER
And also tell me about Alexander Wolff?
(Q4720410,P607,c(Q1190554))
action filter_type
action find
entity Q4720410
relation P607
type Q1190554
['Q4720410', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q4720410 property:P607 ?g . ?g rdf:type ontology:Q1190554 }
Alexander Wolff
action filter_type
action find
entity Alexander Wolff
relation conflict
type event
['Alexander Wolff', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:Alexander_Wolff property:conflict ?g . ?g rdf:type ontology:event }
[]
event
Q78994
SYSTEM
Napoleonic Wars
Q78994
(Q4720410,P607,c(Q1190554))
action filter_type
action find
entity Q4720410
relation P607
type Q1190554
[ANSWER]
['Q4720410', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q4720410 property:P607 ?g . ?g rdf:type ontology:Q1190554 }
Napoleonic Wars
Napoleonic Wars
action filter_type
action find
entity Alexander Wolff
relation conflict
type event
['Alexander Wolff', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:Alexander_Wolff property:conflict ?g . ?g rdf:type ontology:event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q78994 Q1975983
P607
Q502895
USER
Did that event engage in Peter Zheltukhin ?
(Q1975983,P607,Q78994)
action is_in
entity Q78994
action find
entity Q1975983
relation P607
['Q1975983', 'P607', 'Q78994']
ASK WHERE { resource:Q1975983 property:P607 resource:Q78994 }
Napoleonic Wars Peter Zheltukhin
action is_in
entity Napoleonic Wars
action find
entity Peter Zheltukhin
relation conflict
['Peter Zheltukhin', 'conflict', 'Napoleonic Wars']
ASK WHERE { resource:Peter_Zheltukhin property:conflict resource:Napoleonic_Wars }
[]
common name
SYSTEM
YES
(Q1975983,P607,Q78994)
action is_in
entity Q78994
action find
entity Q1975983
relation P607
[ANSWER]
['Q1975983', 'P607', 'Q78994']
ASK WHERE { resource:Q1975983 property:P607 resource:Q78994 }
Yes
action is_in
entity Napoleonic Wars
action find
entity Peter Zheltukhin
relation conflict
['Peter Zheltukhin', 'conflict', 'Napoleonic Wars']
ASK WHERE { resource:Peter_Zheltukhin property:conflict resource:Napoleonic_Wars }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2849606
P828
Q7189713 Q1190554
USER
How many physiological conditions are the causes of around the same number of events as vasospasm ?
(c(Q1190554),P828,c(Q7189713))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q2849606
relation P828
type Q7189713
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P828 ?r . ?p rdf:type ontology:Q1190554 . ?r rdf:type ontology:Q7189713 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q2849606 property:P828 ?e . ?e rdf:type ontology:Q7189713 } } . FILTER ( ?n = ?c ) }
vasospasm
action count
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity vasospasm
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:has_cause ?r . ?p rdf:type ontology:event . ?r rdf:type ontology:physiological_condition } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:vasospasm property:has_cause ?e . ?e rdf:type ontology:physiological_condition } } . FILTER ( ?n = ?c ) }
[]
physiological condition event
SYSTEM
4
Q2849606 Q193078 Q1478321 Q649122
(c(Q1190554),P828,c(Q7189713))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q2849606
relation P828
type Q7189713
[ANSWER]
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P828 ?r . ?p rdf:type ontology:Q1190554 . ?r rdf:type ontology:Q7189713 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q2849606 property:P828 ?e . ?e rdf:type ontology:Q7189713 } } . FILTER ( ?n = ?c ) }
vasospasm trauma Spinal stenosis Jugular venous pressure
4
action count
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity vasospasm
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:has_cause ?r . ?p rdf:type ontology:event . ?r rdf:type ontology:physiological_condition } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:vasospasm property:has_cause ?e . ?e rdf:type ontology:physiological_condition } } . FILTER ( ?n = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P38
Q8142
USER
What is the currency of United Kingdom ?
(Q145,P38,c(Q8142))
action filter_type
action find
entity Q145
relation P38
type Q8142
['Q145', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { resource:Q145 property:P38 ?s . ?s rdf:type ontology:Q8142 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation currency
type currency
['United Kingdom', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { resource:United_Kingdom property:currency ?s . ?s rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q145,P38,c(Q8142))
action filter_type
action find
entity Q145
relation P38
type Q8142
The currency of United Kingdom is the [ANSWER]
['Q145', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { resource:Q145 property:P38 ?s . ?s rdf:type ontology:Q8142 }
pound sterling
The currency of United Kingdom is the pound sterling
pound sterling
action filter_type
action find
entity United Kingdom
relation currency
type currency
['United Kingdom', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { resource:United_Kingdom property:currency ?s . ?s rdf:type ontology:currency }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P163
Q14660
USER
Which flag is associated with United Kingdom ?
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q145 property:P163 ?b . ?b rdf:type ontology:Q14660 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:United_Kingdom property:flag ?b . ?b rdf:type ontology:flag }
[]
flag
Q83278
SYSTEM
flag of the United Kingdom
Q83278
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
The [ANSWER] is associated with United Kingdom
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q145 property:P163 ?b . ?b rdf:type ontology:Q14660 }
flag of the United Kingdom
The flag of the United Kingdom is associated with United Kingdom
flag of the United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:United_Kingdom property:flag ?b . ?b rdf:type ontology:flag }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q12188
P941
Q14660 Q14660
USER
Which flags had lesser number of flags as a source of inspiration than flag of Brittany ?
(c(Q14660),P941,c(Q14660))
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:P941 ?d . ?a rdf:type ontology:Q14660 . ?d rdf:type ontology:Q14660 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q14660 . resource:Q12188 property:P941 ?u } } . FILTER ( ?p < ?i ) }
flag of Brittany
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:inspired_by ?d . ?a rdf:type ontology:flag . ?d rdf:type ontology:flag } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:flag . resource:flag_of_Brittany property:inspired_by ?u } } . FILTER ( ?p < ?i ) }
[]
flag flag
Q429900 Q604735
SYSTEM
Flag of Saba, Flag of Sint Maarten
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[ANSWERS] had lesser number of flags as a source of inspiration than flag of Brittany
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:P941 ?d . ?a rdf:type ontology:Q14660 . ?d rdf:type ontology:Q14660 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q14660 . resource:Q12188 property:P941 ?u } } . FILTER ( ?p < ?i ) }
Flag of Saba Flag of Sint Maarten
Flag of Saba and Flag of Sint Maarten had lesser number of flags as a source of inspiration than flag of Brittany
Flag of Saba Flag of Sint Maarten
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?a property:inspired_by ?d . ?a rdf:type ontology:flag . ?d rdf:type ontology:flag } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:flag . resource:flag_of_Brittany property:inspired_by ?u } } . FILTER ( ?p < ?i ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P163
Q14660 Q5589178 Q7275
USER
How many flags have lesser number of regimes or states as their flagthan that flag ?
(c(Q5589178)|c(Q7275),P163,c(Q14660))
[[{'concept': 'Q5589178'}, {'concept': 'Q7275'}], 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q14660 ?y } UNION { ?x property:Q14660 ?y } } . ?z rdf:type ontology:Q5589178 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q7275 }
[[{'concept': 'regime'}, {'concept': 'state'}], 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:flag ?y } UNION { ?x property:flag ?y } } . ?z rdf:type ontology:regime . ?y rdf:type ontology:flag . ?x rdf:type ontology:state }
[]
flag regime state
Comparative|Count over More/Less|Mult. entity type|Clarification
Q604735
SYSTEM
Did you mean Flag of Sint Maarten ?
(c(Q5589178)|c(Q7275),P163,c(Q14660))
[ANSWER]
[[{'concept': 'Q5589178'}, {'concept': 'Q7275'}], 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q14660 ?y } UNION { ?x property:Q14660 ?y } } . ?z rdf:type ontology:Q5589178 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q7275 }
Did you mean Flag of Sint Maarten ?
Flag of Sint Maarten
[[{'concept': 'regime'}, {'concept': 'state'}], 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:flag ?y } UNION { ?x property:flag ?y } } . ?z rdf:type ontology:regime . ?y rdf:type ontology:flag . ?x rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q5589178)|c(Q7275),P163,c(Q14660))
[[{'concept': 'Q5589178'}, {'concept': 'Q7275'}], 'P163', {'concept': 'Q14660'}]
[[{'concept': 'regime'}, {'concept': 'state'}], 'flag', {'concept': 'flag'}]
[]
SYSTEM
307
Q81477 Q225360 Q12188 Q165500 Q171124 Q81471 Q279667 Q159872 Q16611 Q601391 Q41673 Q83392 Q1165949 Q211579 Q184584 Q173548 Q483659 Q102960 Q168935 Q162068 Q270377 Q18983 Q81970 Q42537 Q1426561 Q235445 Q2062018 Q1074327 Q103001 Q133015 Q238759 Q4633 Q130774 Q328889 Q128347 Q131204 Q134521 Q266618 Q102944 Q235829 Q103084 Q642998 Q168912 Q204120 Q127179 Q60149 Q163008 Q75374 Q147776 Q601976 Q252995 Q122462 Q1418784 Q185285 Q26491 Q302382 Q484249 Q165905 Q219726 Q567838 Q156564 Q190064 Q18993 Q600147 Q127974 Q182514 Q181120 Q558375 Q134627 Q495469 Q162699 Q41327 Q258262 Q133022 Q658355 Q618036 Q3039133 Q103019 Q659058 Q172517 Q19427 Q134885 Q204666 Q578054 Q46008 Q170554 Q170555 Q169907 Q132633 Q169903 Q330517 Q283772 Q170795 Q103037 Q19810326 Q36005 Q135014 Q530665 Q173201 Q523638 Q168917 Q83149 Q164584 Q160872 Q369618 Q605195 Q633087 Q524824 Q392167 Q462498 Q81952 Q29074 Q543471 Q652088 Q48409 Q232591 Q124329 Q43175 Q188072 Q160260 Q224972 Q129132 Q160877 Q483774 Q383109 Q162781 Q162980 Q102987 Q59070 Q912854 Q162789 Q130449 Q103055 Q1064042 Q165550 Q102198 Q130442 Q160124 Q168925 Q128480 Q208671 Q134252 Q19016 Q168941 Q79874 Q46835 Q102993 Q512175 Q102939 Q134933 Q121688 Q328895 Q82205 Q42876 Q102184 Q105643 Q284396 Q126622 Q165775 Q82194 Q128812 Q188477 Q492524 Q616325 Q170064 Q160242 Q167584 Q117758 Q170465 Q199621 Q165872 Q33213 Q134874 Q1426630 Q369833 Q1091279 Q127155 Q119605 Q19000 Q131650 Q4575 Q124020 Q34599 Q101769 Q160255 Q48160 Q160250 Q190648 Q174487 Q673117 Q184268 Q103046 Q1856088 Q184265 Q167119 Q81286 Q134247 Q499127 Q245213 Q104351 Q242502 Q163753 Q160425 Q172530 Q131469 Q130481 Q165545 Q188609 Q159741 Q19373 Q1414813 Q43192 Q19374 Q162033 Q1122078 Q169192 Q601206 Q130807 Q130458 Q102977 Q520966 Q135034 Q663111 Q497997 Q241781 Q159538 Q131147 Q178179 Q163333 Q101472 Q202189 Q117347 Q185271 Q185273 Q202610 Q160861 Q103070 Q185277 Q613188 Q103414 Q189612 Q81526 Q82236 Q160676 Q676623 Q301628 Q693558 Q637134 Q492541 Q79198 Q645967 Q370111 Q182782 Q617649 Q245269 Q590821 Q200260 Q285418 Q170814 Q632491 Q102967 Q12990 Q235475 Q30768 Q93335 Q429900 Q19379 Q170289 Q154823 Q159865 Q103447 Q165542 Q165641 Q492546 Q103064 Q586585 Q221881 Q80110 Q33037 Q636719 Q248102 Q609337 Q184596 Q47891 Q81676 Q186226 Q159746 Q184283 Q148199 Q172533 Q159986 Q179383 Q171103 Q173554 Q594095 Q169441 Q45136 Q1426379 Q163832 Q104969 Q170809 Q329280 Q170543 Q204143 Q165811 Q102953 Q165822
(c(Q5589178)|c(Q7275),P163,c(Q14660))
[ANSWER]
[[{'concept': 'Q5589178'}, {'concept': 'Q7275'}], 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q14660 ?y } UNION { ?x property:Q14660 ?y } } . ?z rdf:type ontology:Q5589178 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q7275 }
Flag of Lithuania Flag of Bulgaria flag of Brittany Flag of Guinea Flag of Guyana Flag of Estonia Flag of the Republic of Adygea Flag of Cameroon flag of Russia flag of Castile-La Mancha flag of India Flag of Algeria Flag of Ontario Flag of Saint Helena Flag of Saint Vincent and the Grenadines Flag of Mauritius Flag of Singapore Flag of Nigeria Flag of Malaysia Flag of Ethiopia Flag of Tokelau Flag of Pennsylvania flag of Hungary flag of the United States of America Flag of the Northwest Territories Flag of Norfolk Island flag of Yukon flag of Tasmania Flag of Malawi Flag of Croatia Flag of Macau Flag of Cyprus flag of Argentina Flag of the Northern Mariana Islands Flag of Pakistan Flag of Vietnam Flag of Bhutan Flag of Prince Edward Island flag of Cape Verde flag of Guam Flag of Burundi Flag of New Mexico Flag of Sierra Leone Flag of the British Virgin Islands flag of Bangladesh Flag of Denmark Flag of Cuba Flag of the Solomon Islands Flag of the Komi Republic Flag of Nova Scotia flag of the Australian Capital Territory flag of Mexico Flag of New Brunswick Flag of Vanuatu Flag of Georgia Flag of Kabardino-Balkaria Flag of Mozambique flag of Kenya Flag of Hawaii flag of South Dakota flag of Alaska Flag of Bermuda Flag of Virginia Flag of the City of Madrid Flag of Ukraine Flag of Fiji Flag of Saint Kitts and Nevis flag of Brandenburg flag of the Philippines flag of Lower Saxony Flag of Yemen flag of Turkmenistan Flag of Oklahoma flag of Luxembourg flag of Tyumen Oblast Flag of Toronto Flag of Rhodesia Flag of Madagascar flag of Paris Flag of Jamaica flag of Oregon flag of Thailand Flag of US Virgin Islands Flag of Karachay-Cherkessia flag of Laos flag of Equatorial Guinea Flag of Eritrea Flag of São Tomé and Príncipe flag of Belarus Flag of Mali Flag of California Flag of Gagauzia Flag of Liberia Flag of Uganda flag of Dzisna flag of Lebanon Flag of the Gambia flag of Orkney Flag of the Seychelles Flag of Kalmykia Flag of Comoros flag of Norway Flag of the Democratic Republic of the Congo flag of Chile flag of Shetland Flag of Tennessee Flag of Montana Flag of Vermont flag of Quebec Flag of Tatarstan flag of Turkey Flag of the Latvian Soviet Socialist Republic Flag of the Region of Murcia Flag of Krasnodar Krai flag of Albania Flag of French Polynesia Flag of Angola Flag of Japan Flag of Tonga flag of New Zealand Flag of the Canary Islands flag of Greece Flag of Saudi Arabia Flag of Uzbekistan Flag of Queensland flag of Iraq Flag of Montenegro Flag of Haiti Flag of the Republic of Mordovia flag of South Australia Flag of Tunisia Flag of Latvia flag of Liechtenstein flag of New South Wales Flag of Oman Flag of Sudan flag of Benin Flag of Tajikistan Flag of San Marino flag of Israel Flag of Iraqi Kurdistan Flag of Burkina Faso flag of New York flag of Panama flag of Afghanistan flag of Austria Flag of Swaziland Flag of Manitoba Flag of Honduras Flag of Senegal flag of Spain Flag of the Cocos (Keeling) Islands flag of Ireland Flag of Italy Flag of Djibouti Flag of Tuvalu Flag of Kansas Flag of Iran Flag of the Central African Republic flag of Brazil Flag of Portugal flag of Samoa Flag of Wyoming Flag of Rio Grande do Sul Flag of Jordan flag of Botswana Flag of Moldova Flag of Kiribati flag of Paraguay Flag of Abkhazia Flag of Brunei flag of Armenia Flag of Bolivia Flag of Nunavut Flag of Arkansas flag of Western Australia flag of the Czech Republic Flag of New Jersey Flag of Texas flag of Kazakhstan Flag of the Faroe Islands flag of Switzerland Flag of Libya Flag of Gabon flag of Peru flag of Germany flag of South Africa Flag of the Federated States of Micronesia flag of the Cayman Islands Flag of Indiana flag of Greenland Flag of Niger Flag of Rotterdam Flag of Dominican Republic Flag of the Republic of Macedonia flag of Sweden Flag of the United Arab Emirates Flag of Maine Flag of South Georgia and the South Sandwich Islands Flag of Barbados Flag of American Samoa Flag of Burma flag of Colombia flag of Qatar flag of Malta Flag of Bahrain flag of Kuwait Flag of Palau flag of Nepal Flag of South Carolina Flag of New York City Flag of France Flag of Louisiana flag of Bosnia and Herzegovina Flag of Alberta flag of Belize Flag of Tuva flag of Slovenia flag of Egypt Flag of Mauritania Flag of Rhode Island Flag of Antigua and Barbuda flag of Mecklenburg-Vorpommern Flag of Alabama Flag of Madeira Flag of Somalia Flag of the People's Republic of China Flag of Guatemala Flag of the Republic of the Congo Flag of Indonesia Flag of Niue Flag of Ulster Flag of Papua New Guinea Flag of the Falkland Islands flag of Åland Flag of Slovakia Flag of Togo Flag of Nauru Flag of the Chuvash Republic Flag of Grenada Flag of Jersey flag of Andorra Flag of Azerbaijan Flag of Ghana Flag of Georgia Flag of Mississippi flag of Saskatchewan flag of British Columbia flag of Iowa Flag of Vatican City flag of Hamburg Flag of the Federation of Bosnia and Herzegovina Flag of South Sudan flag of Wallonia flag of Montserrat Flag of Kentucky Flag of the Marshall Islands Flag of Michigan Flag of Zambia Flag of Arizona Flag of Ivory Coast flag of Belgium Ikurriña flag of East Timor Flag of Iceland Flag of Saba Flag of North Carolina Flag of Costa Rica Flag of Sri Lanka Flag of Morocco Flag of the Bahamas flag of Ecuador flag of Kyrgyzstan Flag of Colorado Flag of North Korea Flag of Buenos Aires Flag of Massachusetts flag of Canada Flag of Gibraltar Flag of Newfoundland and Labrador Flag of New Hampshire Flag of Chechnya Flag of Saint Lucia Flag of Finland flag of Australia flag of the Isle of Man Flag of Monaco Flag of Trinidad and Tobago Flag of Thuringia flag of Nicaragua Flag of Zimbabwe Flag of Dominica Flag of Uruguay flag of El Salvador flag of Sverdlovsk Oblast Flag of the Maldives Flag of Syria Flag of Amsterdam Flag of Serbia Flag of Lesotho Flag of Tanzania Flag of the British Indian Ocean Territory flag of Rwanda Flag of the Turks and Caicos Islands flag of Chad Flag of Guinea-Bissau flag of Namibia
307
[[{'concept': 'regime'}, {'concept': 'state'}], 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:flag ?y } UNION { ?x property:flag ?y } } . ?z rdf:type ontology:regime . ?y rdf:type ontology:flag . ?x rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P941
Q14660 Q14660
USER
How many flags were inspired by atmost 2 flags ?
(c(Q14660),P941,c(Q14660))
action count
action atmost
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 2
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?i ) WHERE { ?m property:P941 ?x . ?x rdf:type ontology:Q14660 . ?m rdf:type ontology:Q14660 } GROUP BY ?m } . FILTER ( ?i <= 2 ) }
action count
action atmost
action find_tuple_counts
relation inspired by
type flag
type flag
value 2
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?i ) WHERE { ?m property:inspired_by ?x . ?x rdf:type ontology:flag . ?m rdf:type ontology:flag } GROUP BY ?m } . FILTER ( ?i <= 2 ) }
[]
flag flag
SYSTEM
3
Q429900 Q12188 Q604735
(c(Q14660),P941,c(Q14660))
action count
action atmost
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 2
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?i ) WHERE { ?m property:P941 ?x . ?x rdf:type ontology:Q14660 . ?m rdf:type ontology:Q14660 } GROUP BY ?m } . FILTER ( ?i <= 2 ) }
Flag of Saba flag of Brittany Flag of Sint Maarten
3
action count
action atmost
action find_tuple_counts
relation inspired by
type flag
type flag
value 2
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?i ) WHERE { ?m property:inspired_by ?x . ?x rdf:type ontology:flag . ?m rdf:type ontology:flag } GROUP BY ?m } . FILTER ( ?i <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q604735
P462
Q1075
USER
Which colors are Flag of Sint Maarten associated with ?
(Q604735,P462,c(Q1075))
action filter_type
action find
entity Q604735
relation P462
type Q1075
['Q604735', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { resource:Q604735 property:P462 ?r . ?r rdf:type ontology:Q1075 }
Flag of Sint Maarten
action filter_type
action find
entity Flag of Sint Maarten
relation color
type color
['Flag of Sint Maarten', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { resource:Flag_of_Sint_Maarten property:color ?r . ?r rdf:type ontology:color }
[]
color
Q3142 Q1088
SYSTEM
red, blue
Q3142 Q1088
(Q604735,P462,c(Q1075))
action filter_type
action find
entity Q604735
relation P462
type Q1075
Flag of Sint Maarten are associated with [ANSWERS]
['Q604735', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { resource:Q604735 property:P462 ?r . ?r rdf:type ontology:Q1075 }
red blue
Flag of Sint Maarten are associated with red and blue
red blue
action filter_type
action find
entity Flag of Sint Maarten
relation color
type color
['Flag of Sint Maarten', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { resource:Flag_of_Sint_Maarten property:color ?r . ?r rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83278
P180
Q14660
USER
Which flags demonstrate flag of the United Kingdom ?
(c(Q14660),P180,Q83278)
action filter_type
action find_reverse
entity Q83278
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', 'Q83278']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q83278 . ?m rdf:type ontology:Q14660 }
flag of the United Kingdom
action filter_type
action find_reverse
entity flag of the United Kingdom
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', 'flag of the United Kingdom']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:flag_of_the_United_Kingdom . ?m rdf:type ontology:flag }
[]
flag
Q1165949 Q637134 Q512175
SYSTEM
Flag of Ontario, flag of British Columbia, Flag of Manitoba
Q1165949 Q637134 Q512175
(c(Q14660),P180,Q83278)
action filter_type
action find_reverse
entity Q83278
relation P180
type Q14660
Canada [ANSWERS] demonstrate flag of the United Kingdom
[{'concept': 'Q14660'}, 'P180', 'Q83278']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q83278 . ?m rdf:type ontology:Q14660 }
Flag of Ontario flag of British Columbia Flag of Manitoba
Canada Flag of Ontario, flag of British Columbia and Flag of Manitoba demonstrate flag of the United Kingdom
Flag of Ontario flag of British Columbia Flag of Manitoba
action filter_type
action find_reverse
entity flag of the United Kingdom
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', 'flag of the United Kingdom']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:flag_of_the_United_Kingdom . ?m rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1165949 Q637134 Q512175
P163
Q15617994
USER
Which administrative territories are associated with Flag of Ontario, flag of British Columbia and Flag of Manitoba ?
(c(Q15617994),P163,Q1165949) (c(Q15617994),P163,Q637134) (c(Q15617994),P163,Q512175)
action union
action filter_type
action find_reverse
entity Q1165949
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q637134
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q512175
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q1165949'] [{'concept': 'Q15617994'}, 'P163', 'Q637134'] [{'concept': 'Q15617994'}, 'P163', 'Q512175']
SELECT DISTINCT ?z WHERE { { ?z property:P163 resource:Q1165949 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P163 resource:Q637134 . ?z rdf:type ontology:Q15617994 } }
Flag of Ontario flag of British Columbia Flag of Manitoba
action union
action filter_type
action find_reverse
entity Flag of Ontario
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of British Columbia
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Manitoba
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Ontario'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of British Columbia'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Manitoba']
SELECT DISTINCT ?z WHERE { { ?z property:flag resource:Flag_of_Ontario . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:flag resource:flag_of_British_Columbia . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q1904 Q1974 Q1948
SYSTEM
Ontario, British Columbia, Manitoba
Q1904 Q1974 Q1948
(c(Q15617994),P163,Q1165949) (c(Q15617994),P163,Q637134) (c(Q15617994),P163,Q512175)
action union
action filter_type
action find_reverse
entity Q1165949
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q637134
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q512175
relation P163
type Q15617994
Canada [ANSWERS] are associated with Flag of Ontario, flag of British Columbia and Flag of Manitoba
[{'concept': 'Q15617994'}, 'P163', 'Q1165949'] [{'concept': 'Q15617994'}, 'P163', 'Q637134'] [{'concept': 'Q15617994'}, 'P163', 'Q512175']
SELECT DISTINCT ?z WHERE { { ?z property:P163 resource:Q1165949 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P163 resource:Q637134 . ?z rdf:type ontology:Q15617994 } }
Ontario British Columbia Manitoba
Canada Ontario, British Columbia and Manitoba are associated with Flag of Ontario, flag of British Columbia and Flag of Manitoba
Ontario British Columbia Manitoba
action union
action filter_type
action find_reverse
entity Flag of Ontario
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of British Columbia
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Manitoba
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Ontario'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of British Columbia'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Manitoba']
SELECT DISTINCT ?z WHERE { { ?z property:flag resource:Flag_of_Ontario . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:flag resource:flag_of_British_Columbia . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]