Simple Question (Direct)
Simple Question
Q1405840
P21
Q290
USER
Which sex does Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz have ?
(Q1405840,P21,c(Q290))
action filter_type
action find
entity Q1405840
relation P21
type Q290
['Q1405840', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1405840 property:P21 ?u . ?u rdf:type ontology:Q290 }
Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation gender
type sex
['Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1405840,P21,c(Q290))
action filter_type
action find
entity Q1405840
relation P21
type Q290
Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz has the [ANSWER]
['Q1405840', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1405840 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz has the male
male
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation gender
type sex
['Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1405840
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q1405840
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1405840 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q486839
SYSTEM
member of parliament
Q486839
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q1405840
relation P39
type Q12737077
[ANSWER]
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1405840 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of parliament
Member of parliament
member of parliament
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P361
Q1752346
USER
How many assemblies are that occupation a component of ?
(Q486839,P361,c(Q1752346))
action count
action filter_type
action find
entity Q486839
relation P361
type Q1752346
['Q486839', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Q486839 property:P361 ?v . ?v rdf:type ontology:Q1752346 }
action count
action filter_type
action find
entity member of parliament
relation part of
type assembly
['member of parliament', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:member_of_parliament property:part_of ?v . ?v rdf:type ontology:assembly }
[]
assembly
SYSTEM
1
Q35749
(Q486839,P361,c(Q1752346))
action count
action filter_type
action find
entity Q486839
relation P361
type Q1752346
[ANSWER]
['Q486839', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Q486839 property:P361 ?v . ?v rdf:type ontology:Q1752346 }
parliament
1
action count
action filter_type
action find
entity member of parliament
relation part of
type assembly
['member of parliament', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:member_of_parliament property:part_of ?v . ?v rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1405840
P19
Q56061
USER
Which administrative territory was Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz born at ?
(Q1405840,P19,c(Q56061))
action filter_type
action find
entity Q1405840
relation P19
type Q56061
['Q1405840', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1405840 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation place of birth
type administrative territorial entity
['Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q948304
SYSTEM
Pszczyna
Q948304
(Q1405840,P19,c(Q56061))
action filter_type
action find
entity Q1405840
relation P19
type Q56061
[ANSWER] was Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz born at
['Q1405840', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1405840 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Pszczyna
Pszczyna was Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz born at
Pszczyna
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation place of birth
type administrative territorial entity
['Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1405840
P607
Q350604
USER
Which armed conflict did Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz take part in ?
(Q1405840,P607,c(Q350604))
action filter_type
action find
entity Q1405840
relation P607
type Q350604
['Q1405840', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { resource:Q1405840 property:P607 ?c . ?c rdf:type ontology:Q350604 }
Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation conflict
type armed conflict
['Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:conflict ?c . ?c rdf:type ontology:armed_conflict }
[]
armed conflict
Q46083
SYSTEM
Franco-Prussian war
Q46083
(Q1405840,P607,c(Q350604))
action filter_type
action find
entity Q1405840
relation P607
type Q350604
[ANSWER] Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz took in part
['Q1405840', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { resource:Q1405840 property:P607 ?c . ?c rdf:type ontology:Q350604 }
Franco-Prussian war
Franco-Prussian war Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz took in part
Franco-Prussian war
action filter_type
action find
entity Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz
relation conflict
type armed conflict
['Ferdinand Heinrich Albert Karl Friedrich Synold von Schüz', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { resource:Ferdinand_Heinrich_Albert_Karl_Friedrich_Synold_von_Schüz property:conflict ?c . ?c rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q49447 Q198 Q350604
USER
Which armed conflicts are a component of exactly 1 world views or wars ?
(c(Q350604),P361,c(Q49447)|c(Q198))
action equal
action union
action find_tuple_counts
relation P361
type Q350604
type Q49447
action find_tuple_counts
relation P361
type Q350604
type Q198
value 1
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?o ) WHERE { { ?b property:P361 ?f . ?b rdf:type ontology:Q350604 . ?f rdf:type ontology:Q49447 } UNION { ?b property:P361 ?f . ?b rdf:type ontology:Q350604 . ?f rdf:type ontology:Q198 } } GROUP BY ?b } . FILTER ( ?o = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type armed conflict
type world view
action find_tuple_counts
relation part of
type armed conflict
type war
value 1
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'world view'}, {'concept': 'war'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?o ) WHERE { { ?b property:part_of ?f . ?b rdf:type ontology:armed_conflict . ?f rdf:type ontology:world_view } UNION { ?b property:part_of ?f . ?b rdf:type ontology:armed_conflict . ?f rdf:type ontology:war } } GROUP BY ?b } . FILTER ( ?o = 1 ) }
[]
world view war armed conflict
Q817206 Q189266 Q17272643
SYSTEM
Cambodian Civil War, Eastern Front, spillover of the Syrian Civil War
Q184425 Q68969 Q154940 Q5557072 Q190029 Q381375 Q430053 Q122100 Q17272643 Q134949 Q817206 Q2060306 Q8740 Q181533 Q18586347 Q23403028 Q1072042 Q322607 Q1891008 Q748780 Q2915510 Q26690200 Q189266 Q877450 Q3042457 Q74109 Q170682 Q21900262 Q220878 Q42937 Q49100
(c(Q350604),P361,c(Q49447)|c(Q198))
action equal
action union
action find_tuple_counts
relation P361
type Q350604
type Q49447
action find_tuple_counts
relation P361
type Q350604
type Q198
value 1
[ANSWERS] are a component of exactly 1 world views or wars
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?o ) WHERE { { ?b property:P361 ?f . ?b rdf:type ontology:Q350604 . ?f rdf:type ontology:Q49447 } UNION { ?b property:P361 ?f . ?b rdf:type ontology:Q350604 . ?f rdf:type ontology:Q198 } } GROUP BY ?b } . FILTER ( ?o = 1 ) }
Pacific War Croatian War of Independence Lapland War Ghost Dance War Kosovo War Nagorno-Karabakh War Great Sioux War of 1876 Continuation War spillover of the Syrian Civil War Winter War Cambodian Civil War Red Cloud's War Vietnam War Bosnian War First Soviet-Finnish War Hīt offensive War in Somalia (2006-2009) War of Attrition Sand War First Indochina War 2009 Sudan airstrikes Rutulian War Eastern Front Laotian Civil War Platine War Albanian resistance during World War II Gaza War Bombing of Miskolc Titanomachy Trojan War Yom Kippur War
Cambodian Civil War, Eastern Front and spillover of the Syrian Civil War are a component of exactly 1 world views or wars
Cambodian Civil War Eastern Front spillover of the Syrian Civil War
action equal
action union
action find_tuple_counts
relation part of
type armed conflict
type world view
action find_tuple_counts
relation part of
type armed conflict
type war
value 1
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'world view'}, {'concept': 'war'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?o ) WHERE { { ?b property:part_of ?f . ?b rdf:type ontology:armed_conflict . ?f rdf:type ontology:world_view } UNION { ?b property:part_of ?f . ?b rdf:type ontology:armed_conflict . ?f rdf:type ontology:war } } GROUP BY ?b } . FILTER ( ?o = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q1190554 Q198 Q350604
USER
How many armed conflicts are a component of approximately the same number of events and wars as that armed conflict ?
(c(Q350604),P361,c(Q1190554)|c(Q198))
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q350604 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q26883397 }
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'event'}, {'concept': 'war'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:armed_conflict . ?y rdf:type ontology:event . ?x rdf:type ontology:war }
[]
event war armed conflict
Comparative|Count over More/Less|Mult. entity type|Clarification
Q189266
SYSTEM
Did you mean Eastern Front ?
(c(Q350604),P361,c(Q1190554)|c(Q198))
[ANSWER]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q350604 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q26883397 }
Did you mean Eastern Front ?
Eastern Front
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'event'}, {'concept': 'war'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:armed_conflict . ?y rdf:type ontology:event . ?x rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Cambodian Civil War. Could you tell me the answer for that?
(c(Q350604),P361,c(Q1190554)|c(Q198))
Q817206
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q198'}]]
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'event'}, {'concept': 'war'}]]
[]
SYSTEM
101
Q5168559 Q1044829 Q1305130 Q3778613 Q3778618 Q699511 Q6334 Q1968528 Q2259304 Q18920712 Q976827 Q63863 Q4200795 Q620735 Q7572892 Q75665 Q2652686 Q58947 Q260684 Q989092 Q617350 Q1186260 Q552373 Q252298 Q317519 Q550172 Q21693680 Q4072719 Q1418062 Q2576016 Q233663 Q2667645 Q553184 Q617070 Q2602070 Q6192082 Q3540197 Q170314 Q616846 Q1672808 Q8064768 Q690361 Q6286 Q1362162 Q178687 Q1355145 Q2471586 Q17324420 Q3042463 Q3984895 Q11942758 Q1249270 Q559181 Q617782 Q6271 Q418151 Q4122579 Q1429256 Q233702 Q631799 Q26690200 Q3242848 Q1967193 Q76118 Q75626 Q34103 Q5555632 Q80330 Q372330 Q1249250 Q372338 Q83085 Q154697 Q5452958 Q400465 Q233553 Q1074467 Q431001 Q34145 Q182865 Q207318 Q120843 Q6254 Q12846172 Q644589 Q4207617 Q6744162 Q168442 Q2075775 Q329203 Q29269 Q26749 Q288251 Q1669192 Q524272 Q936803 Q1262084 Q220878 Q42937 Q1757301 Q15542964
(c(Q350604),P361,c(Q1190554)|c(Q198))
[ANSWER]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q350604 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q26883397 }
Cophen Campaign Polish–Muscovite War War of Saint Sabas Caroline War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Third Punic War Operation Black Buck Hundred Years' War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great Russo-Georgian War Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance Alexander's Balkan campaign First Anglo-Afghan War Third Anglo-Mysore War Creek War Fourth Macedonian War Hungarian–Romanian war of 1919 Muslim conquest of Egypt War of the Breton Succession conflict between Unitarians and Federalists in the Argentine Civil Wars Afghanistan–Pakistan skirmishes Fourth Syrian War (219–217 BCE) Anastasian War Second Anglo-Mysore War Mongol invasion of Poland Gaza–Israel conflict First Anglo-Mysore War Colorado War Jicarilla War Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Irish Confederate Wars Zaian War Long War First Punic War First Carnatic War First Sino-Japanese War Italian War of 1494–1498 Pomeranian War 2014 Israel–Gaza conflict Uruguayan War Third Messenian War Ethiopian-Somali border conflict Third Sacred War First Silesian War Fourth Anglo-Mysore War Second Punic War Second Opium War Arikara War War of the League of Cognac Second Silesian War Russo-Turkish War Rutulian War First War of Scottish Independence Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War Second Syrian War (260–253 BCE) First Messenian War English Civil War Fifth Syrian War (202–195 BCE) First Sacred War Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Little War Second Sacred War War of Chioggia Spanish–Portuguese War Third Syrian War (246–241 BCE) War in Afghanistan French Revolutionary Wars Second Chechen War Kitos War Safavid-Ottoman War (1616-1618) Toyota War Balkan campaign of 1529 Mallian Campaign Anglo-Spanish War (1625–1630) Second Messenian War First Boer War First Chechen War War of the Second Coalition Cisplatine War Fourth Sacred War South-East Asian theatre of World War II First Syrian War (274–271 BCE) Djiboutian Civil War Titanomachy Trojan War submarine warfare Italian War of 1542–46
101
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'event'}, {'concept': 'war'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:armed_conflict . ?y rdf:type ontology:event . ?x rdf:type ontology:war }
[]