Simple Question (Direct)
Simple Question
Q5162582
P106
Q28640
USER
Which profession is the profession of Conrad P. Olson ?
(Q5162582,P106,c(Q28640))
action filter_type
action find
entity Q5162582
relation P106
type Q28640
['Q5162582', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q5162582 property:P106 ?z . ?z rdf:type ontology:Q28640 }
Conrad P. Olson
action filter_type
action find
entity Conrad P. Olson
relation occupation
type profession
['Conrad P. Olson', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:Conrad_P._Olson property:occupation ?z . ?z rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q5162582,P106,c(Q28640))
action filter_type
action find
entity Q5162582
relation P106
type Q28640
The [ANSWER] is the profession of Conrad P. Olson
['Q5162582', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q5162582 property:P106 ?z . ?z rdf:type ontology:Q28640 }
lawyer
The lawyer is the profession of Conrad P. Olson
lawyer
action filter_type
action find
entity Conrad P. Olson
relation occupation
type profession
['Conrad P. Olson', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:Conrad_P._Olson property:occupation ?z . ?z rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5162582
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q40348,P27,c(Q15617994))
action filter_type
action find
entity Q5162582
relation P27
type Q15617994
['Q40348', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5162582 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Conrad P. Olson
action filter_type
action find
entity Conrad P. Olson
relation country of citizenship
type designation for an administrative territorial entity
['lawyer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Conrad_P._Olson property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q40348,P27,c(Q15617994))
action filter_type
action find
entity Q5162582
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q40348', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5162582 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Conrad P. Olson
relation country of citizenship
type designation for an administrative territorial entity
['lawyer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Conrad_P._Olson property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately 13 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?e ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?e = 13 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?e ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?e = 13 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q953 Q148
SYSTEM
France, Zambia, People's Republic of China
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q403 Q43 Q796 Q794 Q347 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[ANSWERS] have diplomatic relationships with approximately 13 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?e ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?e = 13 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Serbia Turkey Iraq Iran Liechtenstein Japan Egypt Libya Cape Verde Zambia
France, Zambia and People's Republic of China have diplomatic relationships with approximately 13 administrative territories
France Zambia People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?e ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?e = 13 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P1532
Q502895
USER
Which people represent People's Republic of China ?
(c(Q502895),P1532,Q148)
action filter_type
action find_reverse
entity Q148
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q148']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1532 resource:Q148 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', "People's Republic of China"]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:country_for_sport resource:People's_Republic_of_China }
[]
common name
Q461379 Q19628838 Q23899281
SYSTEM
Huang Xiaoxiao, Zhou Zhongge, Wei Li
Q26203281 Q9335991 Q23833233 Q26404027 Q3264583 Q8070312 Q8071047 Q21481857 Q22975401 Q8070405 Q19628846 Q26197127 Q23899281 Q21606408 Q21606321 Q21481673 Q9170177 Q26458685 Q21481757 Q21514884 Q461379 Q26404559 Q3178578 Q23067901 Q19628838 Q23767032 Q9390879
(c(Q502895),P1532,Q148)
action filter_type
action find_reverse
entity Q148
relation P1532
type Q502895
The [ANSWERS] represent People's Republic of China
[{'concept': 'Q502895'}, 'P1532', 'Q148']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1532 resource:Q148 }
Xu Faguang Shen Maomao Guan Ping Chen Yang Lu Ronghua Zhang Shufeng Zhou Wei Leng Xueyan Yuan Qiqi Zhang Yu Yu Wenge Gao Han Wei Li Han Qing Cheng Wen Sun Ripeng Bian Ka Tang Xingqiang Zhang Cunbaio Liao Xiaoyan Huang Xiaoxiao Feng Bin Jiang Fan Huang Changzhou Zhou Zhongge Shen Lijuan Zhong Guiqing
The Huang Xiaoxiao, Zhou Zhongge and Wei Li represent People's Republic of China
Huang Xiaoxiao Zhou Zhongge Wei Li
action filter_type
action find_reverse
entity People's Republic of China
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', "People's Republic of China"]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:country_for_sport resource:People's_Republic_of_China }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P176
Q153556
USER
Which ranged weapon was manufactured by People's Republic of China ?
(c(Q153556),P176,Q148)
action filter_type
action find_reverse
entity Q148
relation P176
type Q153556
[{'concept': 'Q153556'}, 'P176', 'Q148']
SELECT DISTINCT ?j WHERE { ?j property:P176 resource:Q148 . ?j rdf:type ontology:Q153556 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation manufacturer
type ranged weapon
[{'concept': 'ranged weapon'}, 'manufacturer', "People's Republic of China"]
SELECT DISTINCT ?j WHERE { ?j property:manufacturer resource:People's_Republic_of_China . ?j rdf:type ontology:ranged_weapon }
[]
ranged weapon
Q8059857
SYSTEM
Yu-1
Q8059857
(c(Q153556),P176,Q148)
action filter_type
action find_reverse
entity Q148
relation P176
type Q153556
[ANSWER] was manufactured by People's Republic of China
[{'concept': 'Q153556'}, 'P176', 'Q148']
SELECT DISTINCT ?j WHERE { ?j property:P176 resource:Q148 . ?j rdf:type ontology:Q153556 }
Yu-1
Yu-1 was manufactured by People's Republic of China
Yu-1
action filter_type
action find_reverse
entity People's Republic of China
relation manufacturer
type ranged weapon
[{'concept': 'ranged weapon'}, 'manufacturer', "People's Republic of China"]
SELECT DISTINCT ?j WHERE { ?j property:manufacturer resource:People's_Republic_of_China . ?j rdf:type ontology:ranged_weapon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8059857
P495
Q15617994
USER
What is the country of origin of that ranged weapon ?
(Q8059857,P495,c(Q15617994))
action filter_type
action find
entity Q8059857
relation P495
type Q15617994
['Q8059857', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q8059857 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Yu-1
action filter_type
action find
entity Yu-1
relation country of origin
type designation for an administrative territorial entity
['Yu-1', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Yu-1 property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q8059857,P495,c(Q15617994))
action filter_type
action find
entity Q8059857
relation P495
type Q15617994
The country of origin of that ranged weapon is the [ANSWER]
['Q8059857', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q8059857 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
People's Republic of China
The country of origin of that ranged weapon is the People's Republic of China
People's Republic of China
action filter_type
action find
entity Yu-1
relation country of origin
type designation for an administrative territorial entity
['Yu-1', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Yu-1 property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8059857
P287
Q7275
USER
Who is the creator of the design for that ranged weapon ?
(Q148,P287,c(Q7275))
action filter_type
action find
entity Q8059857
relation P287
type Q7275
['Q148', 'P287', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { resource:Q8059857 property:P287 ?y . ?y rdf:type ontology:Q7275 }
Yu-1
action filter_type
action find
entity Yu-1
relation designer
type state
["People's Republic of China", 'designer', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { resource:Yu-1 property:designer ?y . ?y rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q148,P287,c(Q7275))
action filter_type
action find
entity Q8059857
relation P287
type Q7275
The creator of the design for that ranged weapon is the [ANSWER]
['Q148', 'P287', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { resource:Q8059857 property:P287 ?y . ?y rdf:type ontology:Q7275 }
Soviet Union
The creator of the design for that ranged weapon is the Soviet Union
Soviet Union
action filter_type
action find
entity Yu-1
relation designer
type state
["People's Republic of China", 'designer', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { resource:Yu-1 property:designer ?y . ?y rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P1376
Q56061
USER
Which administrative territory is the county seat of that state ?
(c(Q56061),P1376,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q15180']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q15180 . ?u rdf:type ontology:Q56061 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Soviet Union']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Soviet_Union . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(c(Q56061),P1376,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1376
type Q56061
[ANSWER] is the county seat of that state
[{'concept': 'Q56061'}, 'P1376', 'Q15180']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q15180 . ?u rdf:type ontology:Q56061 }
Moscow
Moscow is the county seat of that state
Moscow
action filter_type
action find_reverse
entity Soviet Union
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Soviet Union']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Soviet_Union . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P108
Q502895
USER
Which people work for that administrative territory ?
(c(Q502895),P108,Q649)
action filter_type
action find_reverse
entity Q649
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q649 . ?t rdf:type ontology:Q502895 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Moscow . ?t rdf:type ontology:common_name }
[]
common name
Q4396313 Q2391480 Q98037
SYSTEM
Nikolai Rozhkov, Evgeny Pchelov, Traugott Gerber
Q4396313 Q2391480 Q98037
(c(Q502895),P108,Q649)
action filter_type
action find_reverse
entity Q649
relation P108
type Q502895
[ANSWERS] work for that administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q649 . ?t rdf:type ontology:Q502895 }
Nikolai Rozhkov Evgeny Pchelov Traugott Gerber
Nikolai Rozhkov, Evgeny Pchelov and Traugott Gerber work for that administrative territory
Nikolai Rozhkov Evgeny Pchelov Traugott Gerber
action filter_type
action find_reverse
entity Moscow
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Moscow . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q98037
P734
Q82799
USER
Who has the surname that person ?
(Q98037,P734,c(Q82799))
action filter_type
action find
entity Q98037
relation P734
type Q82799
['Q98037', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q98037 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Traugott Gerber
action filter_type
action find
entity Traugott Gerber
relation family name
type name
['Traugott Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Traugott_Gerber property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q4396313
SYSTEM
Did you mean Nikolai Rozhkov ?
Q4396313 Q2391480 Q98037
(Q4396313,P734,c(Q82799)) (Q2391480,P734,c(Q82799)) (Q98037,P734,c(Q82799))
[ANSWER]
['Q4396313', 'P734', {'concept': 'Q82799'}] ['Q2391480', 'P734', {'concept': 'Q82799'}] ['Q98037', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q98037 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Nikolai Rozhkov Evgeny Pchelov Traugott Gerber
Did you mean Nikolai Rozhkov ?
Nikolai Rozhkov
['Nikolai Rozhkov', 'family name', {'concept': 'name'}] ['Evgeny Pchelov', 'family name', {'concept': 'name'}] ['Traugott Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Traugott_Gerber property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Traugott Gerber. Could you tell me the answer for that?
(Q98037,P734,c(Q82799))
Q98037
['Q98037', 'P734', {'concept': 'Q82799'}]
['Traugott Gerber', 'family name', {'concept': 'name'}]
[]
Q1510316
SYSTEM
Gerber
Q1510316
(Q98037,P734,c(Q82799))
action filter_type
action find
entity Q98037
relation P734
type Q82799
[ANSWER] has the surname that person
['Q98037', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q98037 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Gerber
Gerber has the surname that person
Gerber
action filter_type
action find
entity Traugott Gerber
relation family name
type name
['Traugott Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Traugott_Gerber property:family_name ?b . ?b rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11513704 Q30
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with United States of America or are Kasukabe Municipal Hospital present in ?
OR((Q30,P530,c(Q15617994)), (Q11513704,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q11513704
relation P17
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q11513704', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q30 property:P530 ?t } UNION { resource:Q11513704 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Kasukabe Municipal Hospital United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Kasukabe Municipal Hospital
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kasukabe Municipal Hospital', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_States_of_America property:diplomatic_relation ?t } UNION { resource:Kasukabe_Municipal_Hospital property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q403 Q155 Q805 Q17 Q1011 Q347 Q668 Q148 Q159
SYSTEM
Some of them are Argentina, Serbia, Brazil, Yemen, Japan, Cape Verde, Liechtenstein, India, People's Republic of China, Russia
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q11513704,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q11513704
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with United States of America or are Kasukabe Municipal Hospital present in
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q11513704', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q30 property:P530 ?t } UNION { resource:Q11513704 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina
Argentina, Serbia, Brazil, Yemen, Japan, Cape Verde, Liechtenstein, India, People's Republic of China and Russia have a diplomatic relationship with United States of America or are Kasukabe Municipal Hospital present in
Argentina Serbia Brazil Yemen Japan Cape Verde Liechtenstein India People's Republic of China Russia
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Kasukabe Municipal Hospital
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kasukabe Municipal Hospital', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_States_of_America property:diplomatic_relation ?t } UNION { resource:Kasukabe_Municipal_Hospital property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]