Simple Question (Direct)
Simple Question
Q16351386
P119
Q43229
USER
Which organization is the place of burial of Andris Grūtups ?
(Q16351386,P119,c(Q43229))
action filter_type
action find
entity Q16351386
relation P119
type Q43229
['Q16351386', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q16351386 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Andris Grūtups
action filter_type
action find
entity Andris Grūtups
relation place of burial
type organization
['Andris Grūtups', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Andris_Grūtups property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
organization
Q2564167
SYSTEM
Rīgas Meža kapi
Q2564167
(Q16351386,P119,c(Q43229))
action filter_type
action find
entity Q16351386
relation P119
type Q43229
[ANSWER] is the place of burial of Andris Grūtups
['Q16351386', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q16351386 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Rīgas Meža kapi
Rīgas Meža kapi is the place of burial of Andris Grūtups
Rīgas Meža kapi
action filter_type
action find
entity Andris Grūtups
relation place of burial
type organization
['Andris Grūtups', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Andris_Grūtups property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16351386
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2564167,P27,c(Q15617994))
action filter_type
action find
entity Q16351386
relation P27
type Q15617994
['Q2564167', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16351386 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Andris Grūtups
action filter_type
action find
entity Andris Grūtups
relation country of citizenship
type designation for an administrative territorial entity
['Rīgas Meža kapi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Andris_Grūtups property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q2564167,P27,c(Q15617994))
action filter_type
action find
entity Q16351386
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2564167', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q16351386 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Latvia
Latvia is the native country of that person
Latvia
action filter_type
action find
entity Andris Grūtups
relation country of citizenship
type designation for an administrative territorial entity
['Rīgas Meža kapi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Andris_Grūtups property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q211 Q17562747
P27
Q502895
USER
Is Edvards Treimanis-Zvārgulis a citizen of that administrative territory ?
(Q17562747,P27,Q211)
action is_in
entity Q211
action find
entity Q17562747
relation P27
['Q17562747', 'P27', 'Q211']
ASK WHERE { resource:Q17562747 property:P27 resource:Q211 }
Latvia Edvards Treimanis-Zvārgulis
action is_in
entity Latvia
action find
entity Edvards Treimanis-Zvārgulis
relation country of citizenship
['Edvards Treimanis-Zvārgulis', 'country of citizenship', 'Latvia']
ASK WHERE { resource:Edvards_Treimanis-Zvārgulis property:country_of_citizenship resource:Latvia }
[]
common name
SYSTEM
YES
(Q17562747,P27,Q211)
action is_in
entity Q211
action find
entity Q17562747
relation P27
[ANSWER]
['Q17562747', 'P27', 'Q211']
ASK WHERE { resource:Q17562747 property:P27 resource:Q211 }
Yes
action is_in
entity Latvia
action find
entity Edvards Treimanis-Zvārgulis
relation country of citizenship
['Edvards Treimanis-Zvārgulis', 'country of citizenship', 'Latvia']
ASK WHERE { resource:Edvards_Treimanis-Zvārgulis property:country_of_citizenship resource:Latvia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211
P276
Q1190554
USER
What are situated at Latvia ?
(c(Q1190554),P276,Q211)
action filter_type
action find_reverse
entity Q211
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q211']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q211 . ?y rdf:type ontology:Q1190554 }
Latvia
action filter_type
action find_reverse
entity Latvia
relation location
type event
[{'concept': 'event'}, 'location', 'Latvia']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Latvia . ?y rdf:type ontology:event }
[]
event
Q853754 Q4296566 Q83055
SYSTEM
Battle of Saule, Christmas Battles, Operation Barbarossa
Q853754 Q4296566 Q83055
(c(Q1190554),P276,Q211)
action filter_type
action find_reverse
entity Q211
relation P276
type Q1190554
[ANSWERS] are situated at Latvia
[{'concept': 'Q1190554'}, 'P276', 'Q211']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q211 . ?y rdf:type ontology:Q1190554 }
Battle of Saule Christmas Battles Operation Barbarossa
Battle of Saule, Christmas Battles and Operation Barbarossa are situated at Latvia
Battle of Saule Christmas Battles Operation Barbarossa
action filter_type
action find_reverse
entity Latvia
relation location
type event
[{'concept': 'event'}, 'location', 'Latvia']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Latvia . ?y rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q853754
P1344
Q502895
USER
Which person competited in that event ?
(c(Q502895),P1344,Q853754)
action filter_type
action find_reverse
entity Q853754
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q853754']
SELECT DISTINCT ?d WHERE { ?d property:P1344 resource:Q853754 . ?d rdf:type ontology:Q502895 }
Battle of Saule
action filter_type
action find_reverse
entity Battle of Saule
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Battle of Saule']
SELECT DISTINCT ?d WHERE { ?d property:participant_of resource:Battle_of_Saule . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q853754
SYSTEM
Did you mean Battle of Saule ?
Q853754 Q4296566 Q83055
(c(Q502895),P1344,Q853754) (c(Q502895),P1344,Q4296566) (c(Q502895),P1344,Q83055)
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q853754'] [{'concept': 'Q502895'}, 'P1344', 'Q4296566'] [{'concept': 'Q502895'}, 'P1344', 'Q83055']
SELECT DISTINCT ?d WHERE { ?d property:P1344 resource:Q853754 . ?d rdf:type ontology:Q502895 }
Battle of Saule Christmas Battles Operation Barbarossa
Did you mean Battle of Saule ?
Battle of Saule
[{'concept': 'common name'}, 'participant of', 'Battle of Saule'] [{'concept': 'common name'}, 'participant of', 'Christmas Battles'] [{'concept': 'common name'}, 'participant of', 'Operation Barbarossa']
SELECT DISTINCT ?d WHERE { ?d property:participant_of resource:Battle_of_Saule . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P1344,Q853754)
[{'concept': 'Q502895'}, 'P1344', 'Q853754']
[{'concept': 'common name'}, 'participant of', 'Battle of Saule']
[]
Q1387766
SYSTEM
Vykintas
Q1387766
(c(Q502895),P1344,Q853754)
action filter_type
action find_reverse
entity Q853754
relation P1344
type Q502895
[ANSWER] competited in that event
[{'concept': 'Q502895'}, 'P1344', 'Q853754']
SELECT DISTINCT ?d WHERE { ?d property:P1344 resource:Q853754 . ?d rdf:type ontology:Q502895 }
Vykintas
Vykintas competited in that event
Vykintas
action filter_type
action find_reverse
entity Battle of Saule
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Battle of Saule']
SELECT DISTINCT ?d WHERE { ?d property:participant_of resource:Battle_of_Saule . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1387766 Q4718419
P7
Q502895
USER
Does Alexander Brebner have that one as their brother ?
(Q4718419,P7,Q1387766)
action is_in
entity Q4718419
action find
entity Q1387766
relation P7
['Q4718419', 'P7', 'Q1387766']
ASK WHERE { resource:Q1387766 property:P7 resource:Q4718419 }
Vykintas Alexander Brebner
action is_in
entity Alexander Brebner
action find
entity Vykintas
relation brother
['Alexander Brebner', 'brother', 'Vykintas']
ASK WHERE { resource:Vykintas property:brother resource:Alexander_Brebner }
[]
common name
SYSTEM
NO
(Q4718419,P7,Q1387766)
action is_in
entity Q4718419
action find
entity Q1387766
relation P7
[ANSWER]
['Q4718419', 'P7', 'Q1387766']
ASK WHERE { resource:Q1387766 property:P7 resource:Q4718419 }
No
action is_in
entity Alexander Brebner
action find
entity Vykintas
relation brother
['Alexander Brebner', 'brother', 'Vykintas']
ASK WHERE { resource:Vykintas property:brother resource:Alexander_Brebner }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2144402
P793
Q1190554 Q838948 Q41176
USER
How many events are a significant events associated with lesser number of works of art or buildings than renovation ?
(c(Q838948)|c(Q41176),P793,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q838948
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q2144402
relation P793
type Q838948
type Q41176
[[{'concept': 'Q838948'}, {'concept': 'Q41176'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:P793 ?n . ?n rdf:type ontology:Q1190554 . ?i rdf:type ontology:Q838948 } UNION { ?i property:P793 ?n . ?n rdf:type ontology:Q1190554 . ?i rdf:type ontology:Q41176 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:P793 resource:Q2144402 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q41176 } } } } . FILTER ( ?g < ?l ) }
renovation
action count
action less
action union
action find_reverse_tuple_counts
relation significant event
type event
type work of art
action find_reverse_tuple_counts
relation significant event
type event
type building
action count
action filter_multi_types
action find_reverse
entity renovation
relation significant event
type work of art
type building
[[{'concept': 'work of art'}, {'concept': 'building'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:significant_event ?n . ?n rdf:type ontology:event . ?i rdf:type ontology:work_of_art } UNION { ?i property:significant_event ?n . ?n rdf:type ontology:event . ?i rdf:type ontology:building } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:significant_event resource:renovation . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:building } } } } . FILTER ( ?g < ?l ) }
[]
event work of art building
SYSTEM
148
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q21014657 Q180182 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q254106 Q258873 Q1150070 Q8016240 Q1362364 Q2343619 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q4872697 Q1370468 Q1818072 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q19868482 Q1975665 Q6200334 Q2511359 Q22075993 Q744913 Q851304 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q838948)|c(Q41176),P793,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q838948
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q2144402
relation P793
type Q838948
type Q41176
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q41176'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:P793 ?n . ?n rdf:type ontology:Q1190554 . ?i rdf:type ontology:Q838948 } UNION { ?i property:P793 ?n . ?n rdf:type ontology:Q1190554 . ?i rdf:type ontology:Q41176 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:P793 resource:Q2144402 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q41176 } } } } . FILTER ( ?g < ?l ) }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos assignment Battle of Iwo Jima levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Crimean War Waco siege change trial maiden flight name change funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge Battle of Vrbanja bridge reconstruction MV Maersk Alabama Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar destruction Ennoblement Siege of Pelium Assault on Nijmegen debut as an actor aviation accidents and incidents Looted art competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
148
action count
action less
action union
action find_reverse_tuple_counts
relation significant event
type event
type work of art
action find_reverse_tuple_counts
relation significant event
type event
type building
action count
action filter_multi_types
action find_reverse
entity renovation
relation significant event
type work of art
type building
[[{'concept': 'work of art'}, {'concept': 'building'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:significant_event ?n . ?n rdf:type ontology:event . ?i rdf:type ontology:work_of_art } UNION { ?i property:significant_event ?n . ?n rdf:type ontology:event . ?i rdf:type ontology:building } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:significant_event resource:renovation . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:building } } } } . FILTER ( ?g < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q204854
P793
Q1190554 Q838948 Q41176
USER
And what about première?
(c(Q838948)|c(Q41176),P793,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q838948
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q204854
relation P793
type Q838948
type Q41176
[[{'concept': 'Q838948'}, {'concept': 'Q41176'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { { ?o rdf:type ontology:Q1190554 . ?e rdf:type ontology:Q838948 . ?e property:P793 ?o } UNION { ?e property:P793 ?o . ?o rdf:type ontology:Q1190554 . ?e rdf:type ontology:Q41176 } } GROUP BY ?o } . FILTER ( ?k < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P793 resource:Q204854 . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q41176 ) } } } } }
première
action count
action less
action union
action find_reverse_tuple_counts
relation significant event
type event
type work of art
action find_reverse_tuple_counts
relation significant event
type event
type building
action count
action filter_multi_types
action find_reverse
entity première
relation significant event
type work of art
type building
[[{'concept': 'work of art'}, {'concept': 'building'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { { ?o rdf:type ontology:event . ?e rdf:type ontology:work_of_art . ?e property:significant_event ?o } UNION { ?e property:significant_event ?o . ?o rdf:type ontology:event . ?e rdf:type ontology:building } } GROUP BY ?o } . FILTER ( ?k < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:significant_event resource:première . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:building ) } } } } }
[]
event work of art building
SYSTEM
154
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q21014657 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q254106 Q258873 Q1150070 Q8016240 Q1362364 Q2343619 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q4872697 Q1370468 Q1818072 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q19868482 Q16686346 Q1975665 Q6200334 Q2511359 Q16717192 Q22075993 Q744913 Q851304 Q2144402 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q464980 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q838948)|c(Q41176),P793,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q838948
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q204854
relation P793
type Q838948
type Q41176
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q41176'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { { ?o rdf:type ontology:Q1190554 . ?e rdf:type ontology:Q838948 . ?e property:P793 ?o } UNION { ?e property:P793 ?o . ?o rdf:type ontology:Q1190554 . ?e rdf:type ontology:Q41176 } } GROUP BY ?o } . FILTER ( ?k < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P793 resource:Q204854 . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q41176 ) } } } } }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos assignment Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Crimean War Waco siege change trial maiden flight name change funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge Battle of Vrbanja bridge reconstruction MV Maersk Alabama Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar destruction date of listing Ennoblement Siege of Pelium Assault on Nijmegen date of unveiling debut as an actor aviation accidents and incidents Looted art renovation competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel exhibition Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
154
action count
action less
action union
action find_reverse_tuple_counts
relation significant event
type event
type work of art
action find_reverse_tuple_counts
relation significant event
type event
type building
action count
action filter_multi_types
action find_reverse
entity première
relation significant event
type work of art
type building
[[{'concept': 'work of art'}, {'concept': 'building'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { { ?o rdf:type ontology:event . ?e rdf:type ontology:work_of_art . ?e property:significant_event ?o } UNION { ?e property:significant_event ?o . ?o rdf:type ontology:event . ?e rdf:type ontology:building } } GROUP BY ?o } . FILTER ( ?k < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:significant_event resource:première . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:building ) } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P793
Q1190554 Q44539 Q811979
USER
Which events are around 3 temples or architectural structures associated with ?
(c(Q44539)|c(Q811979),P793,c(Q1190554))
action approx
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q44539
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q811979
value 3
[[{'concept': 'Q44539'}, {'concept': 'Q811979'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { VALUES ( ?m ) { ( ontology:Q44539 ) ( ontology:Q811979 ) } . ?k rdf:type ?m } GROUP BY ?d } . FILTER ( ?j = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation significant event
type event
type temple
action find_reverse_tuple_counts
relation significant event
type event
type architectural structure
value 3
[[{'concept': 'temple'}, {'concept': 'architectural structure'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { VALUES ( ?m ) { ( ontology:temple ) ( ontology:architectural_structure ) } . ?k rdf:type ?m } GROUP BY ?d } . FILTER ( ?j = 3 ) }
[]
event temple architectural structure
Q218678 Q254106 Q1638488
SYSTEM
North African Campaign, Crimean War, Battle of Monmouth
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q21014657 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q254106 Q258873 Q1150070 Q8016240 Q1362364 Q2343619 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q4872697 Q1370468 Q1818072 Q204854 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q19868482 Q16686346 Q1975665 Q6200334 Q2511359 Q16717192 Q22075993 Q744913 Q851304 Q2144402 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q464980 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q44539)|c(Q811979),P793,c(Q1190554))
action approx
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q44539
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q811979
value 3
Around 3 temples or architectural structures are associated with [ANSWERS]
[[{'concept': 'Q44539'}, {'concept': 'Q811979'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { VALUES ( ?m ) { ( ontology:Q44539 ) ( ontology:Q811979 ) } . ?k rdf:type ?m } GROUP BY ?d } . FILTER ( ?j = 3 ) }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos assignment Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Crimean War Waco siege change trial maiden flight name change funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge Battle of Vrbanja bridge reconstruction MV Maersk Alabama première Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar destruction date of listing Ennoblement Siege of Pelium Assault on Nijmegen date of unveiling debut as an actor aviation accidents and incidents Looted art renovation competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel exhibition Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
Around 3 temples or architectural structures are associated with North African Campaign, Crimean War and Battle of Monmouth
North African Campaign Crimean War Battle of Monmouth
action approx
action union
action find_reverse_tuple_counts
relation significant event
type event
type temple
action find_reverse_tuple_counts
relation significant event
type event
type architectural structure
value 3
[[{'concept': 'temple'}, {'concept': 'architectural structure'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { VALUES ( ?m ) { ( ontology:temple ) ( ontology:architectural_structure ) } . ?k rdf:type ?m } GROUP BY ?d } . FILTER ( ?j = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q853754
P361
Q350604
USER
Which armed conflict is Battle of Saule a part of ?
(Q853754,P361,c(Q350604))
action filter_type
action find
entity Q853754
relation P361
type Q350604
['Q853754', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?i WHERE { resource:Q853754 property:P361 ?i . ?i rdf:type ontology:Q350604 }
Battle of Saule
action filter_type
action find
entity Battle of Saule
relation part of
type armed conflict
['Battle of Saule', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?i WHERE { resource:Battle_of_Saule property:part_of ?i . ?i rdf:type ontology:armed_conflict }
[]
armed conflict
Q196409
SYSTEM
Livonian Crusade
Q196409
(Q853754,P361,c(Q350604))
action filter_type
action find
entity Q853754
relation P361
type Q350604
[ANSWER] is Battle of Saule a part of
['Q853754', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?i WHERE { resource:Q853754 property:P361 ?i . ?i rdf:type ontology:Q350604 }
Livonian Crusade
Livonian Crusade is Battle of Saule a part of
Livonian Crusade
action filter_type
action find
entity Battle of Saule
relation part of
type armed conflict
['Battle of Saule', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?i WHERE { resource:Battle_of_Saule property:part_of ?i . ?i rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q196409
P607
Q502895
USER
Which person did that armed conflict participate in ?
(c(Q502895),P607,Q196409)
action filter_type
action find_reverse
entity Q196409
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q196409']
SELECT DISTINCT ?x WHERE { ?x property:P607 resource:Q196409 . ?x rdf:type ontology:Q502895 }
Livonian Crusade
action filter_type
action find_reverse
entity Livonian Crusade
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Livonian Crusade']
SELECT DISTINCT ?x WHERE { ?x property:conflict resource:Livonian_Crusade . ?x rdf:type ontology:common_name }
[]
common name
Q2077595
SYSTEM
Ako
Q2077595
(c(Q502895),P607,Q196409)
action filter_type
action find_reverse
entity Q196409
relation P607
type Q502895
That armed conflict participated in [ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q196409']
SELECT DISTINCT ?x WHERE { ?x property:P607 resource:Q196409 . ?x rdf:type ontology:Q502895 }
Ako
That armed conflict participated in Ako
Ako
action filter_type
action find_reverse
entity Livonian Crusade
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Livonian Crusade']
SELECT DISTINCT ?x WHERE { ?x property:conflict resource:Livonian_Crusade . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q98456 Q16351386
P20
Q515
USER
Which cities did Andris Grūtups or Ernst Martin die ?
OR((Q16351386,P20,c(Q515)), (Q98456,P20,c(Q515)))
action filter_type
action union
action find
entity Q16351386
relation P20
action find
entity Q98456
relation P20
type Q515
{'OR': [['Q16351386', 'P20', {'concept': 'Q515'}], ['Q98456', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . { { resource:Q16351386 property:P20 ?g } UNION { resource:Q98456 property:P20 ?g } } }
Ernst Martin Andris Grūtups
action filter_type
action union
action find
entity Andris Grūtups
relation place of death
action find
entity Ernst Martin
relation place of death
type city
{'OR': [['Andris Grūtups', 'place of death', {'concept': 'city'}], ['Ernst Martin', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . { { resource:Andris_Grūtups property:place_of_death ?g } UNION { resource:Ernst_Martin property:place_of_death ?g } } }
[]
city
Q1773 Q6602
SYSTEM
Riga, Strasbourg
Q1773 Q6602
OR((Q16351386,P20,c(Q515)), (Q98456,P20,c(Q515)))
action filter_type
action union
action find
entity Q16351386
relation P20
action find
entity Q98456
relation P20
type Q515
Andris Grūtups or Ernst Martin died in [ANSWERS]
{'OR': [['Q16351386', 'P20', {'concept': 'Q515'}], ['Q98456', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . { { resource:Q16351386 property:P20 ?g } UNION { resource:Q98456 property:P20 ?g } } }
Riga Strasbourg
Andris Grūtups or Ernst Martin died in Riga and Strasbourg
Riga Strasbourg
action filter_type
action union
action find
entity Andris Grūtups
relation place of death
action find
entity Ernst Martin
relation place of death
type city
{'OR': [['Andris Grūtups', 'place of death', {'concept': 'city'}], ['Ernst Martin', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . { { resource:Andris_Grūtups property:place_of_death ?g } UNION { resource:Ernst_Martin property:place_of_death ?g } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q216
P190
Q56061
USER
Are Vilnius twin town of those cities ?
(Q216,P190,Q1773) (Q216,P190,Q6602)
action is_in
entity prev_answer
action find
entity Q216
relation P190
['Q216', 'P190', 'Q1773'] ['Q216', 'P190', 'Q6602']
ASK WHERE { VALUES ( ?c ) { ( resource:Q1773 ) ( resource:Q6602 ) } . resource:Q216 property:P190 ?c }
Vilnius
action is_in
entity prev_answer
action find
entity Vilnius
relation sister city
['Vilnius', 'sister city', 'Riga'] ['Vilnius', 'sister city', 'Strasbourg']
ASK WHERE { VALUES ( ?c ) { ( resource:Riga ) ( resource:Strasbourg ) } . resource:Vilnius property:sister_city ?c }
[]
administrative territorial entity
SYSTEM
YES
(Q216,P190,Q1773) (Q216,P190,Q6602)
action is_in
entity prev_answer
action find
entity Q216
relation P190
[ANSWER]
['Q216', 'P190', 'Q1773'] ['Q216', 'P190', 'Q6602']
ASK WHERE { VALUES ( ?c ) { ( resource:Q1773 ) ( resource:Q6602 ) } . resource:Q216 property:P190 ?c }
Yes
action is_in
entity prev_answer
action find
entity Vilnius
relation sister city
['Vilnius', 'sister city', 'Riga'] ['Vilnius', 'sister city', 'Strasbourg']
ASK WHERE { VALUES ( ?c ) { ( resource:Riga ) ( resource:Strasbourg ) } . resource:Vilnius property:sister_city ?c }
[]