Simple Question (Direct)
Simple Question
Q21642569
P21
Q290
USER
Which sex does Huang Zhun possess ?
(Q21642569,P21,c(Q290))
action filter_type
action find
entity Q21642569
relation P21
type Q290
['Q21642569', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q21642569 property:P21 ?c . ?c rdf:type ontology:Q290 }
Huang Zhun
action filter_type
action find
entity Huang Zhun
relation gender
type sex
['Huang Zhun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Huang_Zhun property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21642569,P21,c(Q290))
action filter_type
action find
entity Q21642569
relation P21
type Q290
Huang Zhun possesses un [ANSWER]
['Q21642569', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q21642569 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Huang Zhun possesses un male
male
action filter_type
action find
entity Huang Zhun
relation gender
type sex
['Huang Zhun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Huang_Zhun property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21642569
P19
Q1048835
USER
Which political territory was that person born in ?
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q21642569
relation P19
type Q1048835
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q21642569 property:P19 ?s . ?s rdf:type ontology:Q1048835 }
Huang Zhun
action filter_type
action find
entity Huang Zhun
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Huang_Zhun property:place_of_birth ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q170322
SYSTEM
Qingdao
Q170322
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q21642569
relation P19
type Q1048835
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q21642569 property:P19 ?s . ?s rdf:type ontology:Q1048835 }
Qingdao
That person was born in Qingdao
Qingdao
action filter_type
action find
entity Huang Zhun
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Huang_Zhun property:place_of_birth ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21642569
P27
Q15617994
USER
Which administrative territory does Huang Zhun belong to ?
(Q21642569,P27,c(Q15617994))
action filter_type
action find
entity Q21642569
relation P27
type Q15617994
['Q21642569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q21642569 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Huang Zhun
action filter_type
action find
entity Huang Zhun
relation country of citizenship
type designation for an administrative territorial entity
['Huang Zhun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Huang_Zhun property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q21642569,P27,c(Q15617994))
action filter_type
action find
entity Q21642569
relation P27
type Q15617994
Huang Zhun belongs to [ANSWER]
['Q21642569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q21642569 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
People's Republic of China
Huang Zhun belongs to People's Republic of China
People's Republic of China
action filter_type
action find
entity Huang Zhun
relation country of citizenship
type designation for an administrative territorial entity
['Huang Zhun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Huang_Zhun property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21642569
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q148,P106,c(Q12737077))
action filter_type
action find
entity Q21642569
relation P106
type Q12737077
['Q148', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q21642569 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Huang Zhun
action filter_type
action find
entity Huang Zhun
relation occupation
type occupation
["People's Republic of China", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Huang_Zhun property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q148,P106,c(Q12737077))
action filter_type
action find
entity Q21642569
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q148', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q21642569 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Huang Zhun
relation occupation
type occupation
["People's Republic of China", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Huang_Zhun property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q966488 Q21642569
P641
Q349
USER
Which sports did Huang Zhun or 2001 Eurocard Ladies German Open participate in ?
OR((Q21642569,P641,c(Q349)), (Q966488,P641,c(Q349)))
action filter_type
action union
action find
entity Q21642569
relation P641
action find
entity Q966488
relation P641
type Q349
{'OR': [['Q21642569', 'P641', {'concept': 'Q349'}], ['Q966488', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q21642569 property:P641 ?c } UNION { resource:Q966488 property:P641 ?c } } . ?c rdf:type ontology:Q349 }
2001 Eurocard Ladies German Open Huang Zhun
action filter_type
action union
action find
entity Huang Zhun
relation sport
action find
entity 2001 Eurocard Ladies German Open
relation sport
type sport
{'OR': [['Huang Zhun', 'sport', {'concept': 'sport'}], ['2001 Eurocard Ladies German Open', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Huang_Zhun property:sport ?c } UNION { resource:2001_Eurocard_Ladies_German_Open property:sport ?c } } . ?c rdf:type ontology:sport }
[]
sport
Q847 Q2736
SYSTEM
tennis, association football
Q847 Q2736
OR((Q21642569,P641,c(Q349)), (Q966488,P641,c(Q349)))
action filter_type
action union
action find
entity Q21642569
relation P641
action find
entity Q966488
relation P641
type Q349
Huang Zhun or 2001 Eurocard Ladies German Open participated in table [ANSWERS]
{'OR': [['Q21642569', 'P641', {'concept': 'Q349'}], ['Q966488', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q21642569 property:P641 ?c } UNION { resource:Q966488 property:P641 ?c } } . ?c rdf:type ontology:Q349 }
tennis association football
Huang Zhun or 2001 Eurocard Ladies German Open participated in table tennis and association football
tennis association football
action filter_type
action union
action find
entity Huang Zhun
relation sport
action find
entity 2001 Eurocard Ladies German Open
relation sport
type sport
{'OR': [['Huang Zhun', 'sport', {'concept': 'sport'}], ['2001 Eurocard Ladies German Open', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Huang_Zhun property:sport ?c } UNION { resource:2001_Eurocard_Ladies_German_Open property:sport ?c } } . ?c rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1687345 Q21642569
P641
Q349
USER
Which sports were Huang Zhun or Jens Renders a part of ?
OR((Q21642569,P641,c(Q349)), (Q1687345,P641,c(Q349)))
action filter_type
action union
action find
entity Q21642569
relation P641
action find
entity Q1687345
relation P641
type Q349
{'OR': [['Q21642569', 'P641', {'concept': 'Q349'}], ['Q1687345', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { { ?g property:P641 ?n . VALUES ( ?g ) { ( resource:Q21642569 ) ( resource:Q1687345 ) } } . ?n rdf:type ontology:Q349 }
Jens Renders Huang Zhun
action filter_type
action union
action find
entity Huang Zhun
relation sport
action find
entity Jens Renders
relation sport
type sport
{'OR': [['Huang Zhun', 'sport', {'concept': 'sport'}], ['Jens Renders', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { { ?g property:sport ?n . VALUES ( ?g ) { ( resource:Huang_Zhun ) ( resource:Jens_Renders ) } } . ?n rdf:type ontology:sport }
[]
sport
Q2215841 Q2736
SYSTEM
cycle sport, association football
Q2215841 Q2736
OR((Q21642569,P641,c(Q349)), (Q1687345,P641,c(Q349)))
action filter_type
action union
action find
entity Q21642569
relation P641
action find
entity Q1687345
relation P641
type Q349
[ANSWERS] were Huang Zhun or Jens Renders a part of
{'OR': [['Q21642569', 'P641', {'concept': 'Q349'}], ['Q1687345', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { { ?g property:P641 ?n . VALUES ( ?g ) { ( resource:Q21642569 ) ( resource:Q1687345 ) } } . ?n rdf:type ontology:Q349 }
cycle sport association football
Cycle sport and association football were Huang Zhun or Jens Renders a part of
cycle sport association football
action filter_type
action union
action find
entity Huang Zhun
relation sport
action find
entity Jens Renders
relation sport
type sport
{'OR': [['Huang Zhun', 'sport', {'concept': 'sport'}], ['Jens Renders', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { { ?g property:sport ?n . VALUES ( ?g ) { ( resource:Huang_Zhun ) ( resource:Jens_Renders ) } } . ?n rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2838744 Q21642569
P641
Q349
USER
Which sports were Huang Zhun and Ally McLeod a part of ?
AND((Q21642569,P641,c(Q349)), (Q2838744,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q21642569
relation P641
action find
entity Q2838744
relation P641
type Q349
{'AND': [['Q21642569', 'P641', {'concept': 'Q349'}], ['Q2838744', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q21642569 property:P641 ?o . resource:Q2838744 property:P641 ?o }
Ally McLeod Huang Zhun
action filter_type
action intersection
action find
entity Huang Zhun
relation sport
action find
entity Ally McLeod
relation sport
type sport
{'AND': [['Huang Zhun', 'sport', {'concept': 'sport'}], ['Ally McLeod', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:Huang_Zhun property:sport ?o . resource:Ally_McLeod property:sport ?o }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q21642569,P641,c(Q349)), (Q2838744,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q21642569
relation P641
action find
entity Q2838744
relation P641
type Q349
The [ANSWER] was Huang Zhun and Ally McLeod a part of
{'AND': [['Q21642569', 'P641', {'concept': 'Q349'}], ['Q2838744', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q21642569 property:P641 ?o . resource:Q2838744 property:P641 ?o }
association football
The association football was Huang Zhun and Ally McLeod a part of
association football
action filter_type
action intersection
action find
entity Huang Zhun
relation sport
action find
entity Ally McLeod
relation sport
type sport
{'AND': [['Huang Zhun', 'sport', {'concept': 'sport'}], ['Ally McLeod', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:Huang_Zhun property:sport ?o . resource:Ally_McLeod property:sport ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2838744
P54
Q12973014
USER
What is Ally McLeod a member of ?
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q2838744
relation P54
type Q12973014
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12973014 . resource:Q2838744 property:P54 ?m }
Ally McLeod
action filter_type
action find
entity Ally McLeod
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sports_team . resource:Ally_McLeod property:member_of_sports_team ?m }
[]
sports team
Q7437735
SYSTEM
Scottish Football League XI
Q7437735
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q2838744
relation P54
type Q12973014
Ally McLeod a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12973014 . resource:Q2838744 property:P54 ?m }
Scottish Football League XI
Ally McLeod a member of is the Scottish Football League XI
Scottish Football League XI
action filter_type
action find
entity Ally McLeod
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sports_team . resource:Ally_McLeod property:member_of_sports_team ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q847 Q542
P641
Q502895
USER
How many people play tennis and athletics ?
(c(Q502895),P641,Q847) (c(Q502895),P641,Q542)
action count
action intersection
action filter_type
action find_reverse
entity Q847
relation P641
type Q502895
action filter_type
action find_reverse
entity Q542
relation P641
type Q502895
[{'concept': 'Q502895'}, 'P641', 'Q847'] [{'concept': 'Q502895'}, 'P641', 'Q542']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q502895 . ?n property:P641 resource:Q847 . ?n rdf:type ontology:Q502895 . ?n property:P641 resource:Q542 }
tennis athletics
action count
action intersection
action filter_type
action find_reverse
entity tennis
relation sport
type common name
action filter_type
action find_reverse
entity athletics
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'tennis'] [{'concept': 'common name'}, 'sport', 'athletics']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:common_name . ?n property:sport resource:tennis . ?n rdf:type ontology:common_name . ?n property:sport resource:athletics }
[]
common name
SYSTEM
3
Q438391 Q361895 Q313811
(c(Q502895),P641,Q847) (c(Q502895),P641,Q542)
action count
action intersection
action filter_type
action find_reverse
entity Q847
relation P641
type Q502895
action filter_type
action find_reverse
entity Q542
relation P641
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P641', 'Q847'] [{'concept': 'Q502895'}, 'P641', 'Q542']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q502895 . ?n property:P641 resource:Q847 . ?n rdf:type ontology:Q502895 . ?n property:P641 resource:Q542 }
Friedrich Traun George S. Robertson Edwin Flack
3
action count
action intersection
action filter_type
action find_reverse
entity tennis
relation sport
type common name
action filter_type
action find_reverse
entity athletics
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'tennis'] [{'concept': 'common name'}, 'sport', 'athletics']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:common_name . ?n property:sport resource:tennis . ?n rdf:type ontology:common_name . ?n property:sport resource:athletics }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q148
P35
Q502895
USER
How many people are the chiefs of state of People's Republic of China ?
(Q148,P35,c(Q502895))
action count
action filter_type
action find
entity Q148
relation P35
type Q502895
['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q148 property:P35 ?k . ?k rdf:type ontology:Q502895 }
People's Republic of China
action count
action filter_type
action find
entity People's Republic of China
relation head of state
type common name
["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:People's_Republic_of_China property:head_of_state ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
11
Q311413 Q15029 Q377935 Q17132 Q15031 Q16597 Q968038 Q16988 Q22513 Q504372 Q5816
(Q148,P35,c(Q502895))
action count
action filter_type
action find
entity Q148
relation P35
type Q502895
[ANSWER]
['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q148 property:P35 ?k . ?k rdf:type ontology:Q502895 }
Li Xiannian Hu Jintao Yang Shangkun Soong Ching-ling Xi Jinping Jiang Zemin Dong Biwu Liu Shaoqi Zhu De Ye Jianying Mao Zedong
11
action count
action filter_type
action find
entity People's Republic of China
relation head of state
type common name
["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:People's_Republic_of_China property:head_of_state ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170322
P740
Q43229
USER
What was formed at Qingdao ?
(c(Q43229),P740,Q170322)
action filter_type
action find_reverse
entity Q170322
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q170322']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . ?w property:P740 resource:Q170322 }
Qingdao
action filter_type
action find_reverse
entity Qingdao
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Qingdao']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . ?w property:location_of_formation resource:Qingdao }
[]
organization
Q2527941
SYSTEM
Hisense
Q2527941
(c(Q43229),P740,Q170322)
action filter_type
action find_reverse
entity Q170322
relation P740
type Q43229
Gu [ANSWER] was formed at Qingdao
[{'concept': 'Q43229'}, 'P740', 'Q170322']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . ?w property:P740 resource:Q170322 }
Hisense
Gu Hisense was formed at Qingdao
Hisense
action filter_type
action find_reverse
entity Qingdao
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Qingdao']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . ?w property:location_of_formation resource:Qingdao }
[]