Simple Question (Direct)
Simple Question
Q1804209
P119
Q43229
USER
Which organization is the tomb of Ivan Stepanchonok ?
(Q1804209,P119,c(Q43229))
action filter_type
action find
entity Q1804209
relation P119
type Q43229
['Q1804209', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q1804209 property:P119 ?u . ?u rdf:type ontology:Q43229 }
Ivan Stepanchonok
action filter_type
action find
entity Ivan Stepanchonok
relation place of burial
type organization
['Ivan Stepanchonok', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Ivan_Stepanchonok property:place_of_burial ?u . ?u rdf:type ontology:organization }
[]
organization
Q281859
SYSTEM
Vagankovo Cemetery
Q281859
(Q1804209,P119,c(Q43229))
action filter_type
action find
entity Q1804209
relation P119
type Q43229
The [ANSWER] is the tomb of Ivan Stepanchonok
['Q1804209', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q1804209 property:P119 ?u . ?u rdf:type ontology:Q43229 }
Vagankovo Cemetery
The Vagankovo Cemetery is the tomb of Ivan Stepanchonok
Vagankovo Cemetery
action filter_type
action find
entity Ivan Stepanchonok
relation place of burial
type organization
['Ivan Stepanchonok', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Ivan_Stepanchonok property:place_of_burial ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1804209
P106
Q12737077
USER
What is the job of Ivan Stepanchonok ?
(Q1804209,P106,c(Q12737077))
action filter_type
action find
entity Q1804209
relation P106
type Q12737077
['Q1804209', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1804209 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Ivan Stepanchonok
action filter_type
action find
entity Ivan Stepanchonok
relation occupation
type occupation
['Ivan Stepanchonok', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ivan_Stepanchonok property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q19827985
SYSTEM
track and field coach
Q19827985
(Q1804209,P106,c(Q12737077))
action filter_type
action find
entity Q1804209
relation P106
type Q12737077
The job of Ivan Stepanchonok is a [ANSWER]
['Q1804209', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1804209 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
track and field coach
The job of Ivan Stepanchonok is a track and field coach
track and field coach
action filter_type
action find
entity Ivan Stepanchonok
relation occupation
type occupation
['Ivan Stepanchonok', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ivan_Stepanchonok property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6028879
Q12737077
USER
And what about Caspar Opitz?
(Q6028879,P106,c(Q12737077))
action filter_type
action find
entity Q6028879
relation P106
type Q12737077
['Q6028879', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q6028879 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Caspar Opitz
action filter_type
action find
entity Caspar Opitz
relation occupation
type occupation
['Caspar Opitz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Caspar_Opitz property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q6028879,P106,c(Q12737077))
action filter_type
action find
entity Q6028879
relation P106
type Q12737077
[ANSWER]
['Q6028879', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q6028879 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
journalist
journalist
action filter_type
action find
entity Caspar Opitz
relation occupation
type occupation
['Caspar Opitz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Caspar_Opitz property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6028879
P21
Q290
USER
Which sex does that person possess ?
(Q1930187,P21,c(Q290))
action filter_type
action find
entity Q6028879
relation P21
type Q290
['Q1930187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q6028879 property:P21 ?g . ?g rdf:type ontology:Q290 }
Caspar Opitz
action filter_type
action find
entity Caspar Opitz
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Caspar_Opitz property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1930187,P21,c(Q290))
action filter_type
action find
entity Q6028879
relation P21
type Q290
That person possesses a [ANSWER]
['Q1930187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q6028879 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Caspar Opitz
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Caspar_Opitz property:gender ?g . ?g rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q27793280 Q6028879
P21
Q290
USER
And also Tao Yuan
AND((Q6028879,P21,c(Q290)), (Q27793280,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6028879
relation P21
action find
entity Q27793280
relation P21
type Q290
{'AND': [['Q6028879', 'P21', {'concept': 'Q290'}], ['Q27793280', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?b WHERE { resource:Q6028879 property:P21 ?b . resource:Q27793280 property:P21 ?b . ?b rdf:type ontology:Q290 }
Tao Yuan Caspar Opitz
action filter_type
action intersection
action find
entity Caspar Opitz
relation gender
action find
entity Tao Yuan
relation gender
type sex
{'AND': [['Caspar Opitz', 'gender', {'concept': 'sex'}], ['Tao Yuan', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?b WHERE { resource:Caspar_Opitz property:gender ?b . resource:Tao_Yuan property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q6028879,P21,c(Q290)), (Q27793280,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6028879
relation P21
action find
entity Q27793280
relation P21
type Q290
[ANSWER]
{'AND': [['Q6028879', 'P21', {'concept': 'Q290'}], ['Q27793280', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?b WHERE { resource:Q6028879 property:P21 ?b . resource:Q27793280 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Caspar Opitz
relation gender
action find
entity Tao Yuan
relation gender
type sex
{'AND': [['Caspar Opitz', 'gender', {'concept': 'sex'}], ['Tao Yuan', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?b WHERE { resource:Caspar_Opitz property:gender ?b . resource:Tao_Yuan property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1804209
P27
Q7275
USER
Which state is the native country of Ivan Stepanchonok ?
(Q1804209,P27,c(Q7275))
action filter_type
action find
entity Q1804209
relation P27
type Q7275
['Q1804209', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q1804209 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Ivan Stepanchonok
action filter_type
action find
entity Ivan Stepanchonok
relation country of citizenship
type state
['Ivan Stepanchonok', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Ivan_Stepanchonok property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q1804209,P27,c(Q7275))
action filter_type
action find
entity Q1804209
relation P27
type Q7275
The [ANSWER] is the native country of Ivan Stepanchonok
['Q1804209', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q1804209 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Ivan Stepanchonok
Soviet Union
action filter_type
action find
entity Ivan Stepanchonok
relation country of citizenship
type state
['Ivan Stepanchonok', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Ivan_Stepanchonok property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1804209
P19
Q1048835
USER
Which political territory is the place of birth of that person ?
(Q15180,P19,c(Q1048835))
action filter_type
action find
entity Q1804209
relation P19
type Q1048835
['Q15180', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q1804209 property:P19 ?p }
Ivan Stepanchonok
action filter_type
action find
entity Ivan Stepanchonok
relation place of birth
type political territorial entity
['Soviet Union', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Ivan_Stepanchonok property:place_of_birth ?p }
[]
political territorial entity
Q42956
SYSTEM
Harbin
Q42956
(Q15180,P19,c(Q1048835))
action filter_type
action find
entity Q1804209
relation P19
type Q1048835
[ANSWER] is the place of birth of that person
['Q15180', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q1804209 property:P19 ?p }
Harbin
Harbin is the place of birth of that person
Harbin
action filter_type
action find
entity Ivan Stepanchonok
relation place of birth
type political territorial entity
['Soviet Union', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Ivan_Stepanchonok property:place_of_birth ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q486972 Q5119
USER
How many human settlements and capitals are partner towns of that political territory ?
(Q42956,P190,c(Q486972)) (Q42956,P190,c(Q5119)) (Q42956,P190,c(Q486972)) (Q42956,P190,c(Q5119))
action count
action union
action filter_type
action find
entity Q42956
relation P190
type Q486972
action filter_type
action find
entity Q42956
relation P190
type Q5119
['Q42956', 'P190', {'concept': 'Q486972'}] ['Q42956', 'P190', {'concept': 'Q5119'}] ['Q42956', 'P190', {'concept': 'Q486972'}] ['Q42956', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:Q5119 ) ( ontology:Q486972 ) } }
action count
action union
action filter_type
action find
entity Harbin
relation sister city
type human settlement
action filter_type
action find
entity Harbin
relation sister city
type capital
['Harbin', 'sister city', {'concept': 'human settlement'}] ['Harbin', 'sister city', {'concept': 'capital'}] ['Harbin', 'sister city', {'concept': 'human settlement'}] ['Harbin', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:capital ) ( ontology:human_settlement ) } }
[]
human settlement capital
SYSTEM
1 human settlements and 1 capitals
Q131612 Q36091
(Q42956,P190,c(Q486972)) (Q42956,P190,c(Q5119)) (Q42956,P190,c(Q486972)) (Q42956,P190,c(Q5119))
action count
action union
action filter_type
action find
entity Q42956
relation P190
type Q486972
action filter_type
action find
entity Q42956
relation P190
type Q5119
[ANSWER]
['Q42956', 'P190', {'concept': 'Q486972'}] ['Q42956', 'P190', {'concept': 'Q5119'}] ['Q42956', 'P190', {'concept': 'Q486972'}] ['Q42956', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:Q5119 ) ( ontology:Q486972 ) } }
Wiener Neustadt Minneapolis
1 human settlements and 1 capitals
action count
action union
action filter_type
action find
entity Harbin
relation sister city
type human settlement
action filter_type
action find
entity Harbin
relation sister city
type capital
['Harbin', 'sister city', {'concept': 'human settlement'}] ['Harbin', 'sister city', {'concept': 'capital'}] ['Harbin', 'sister city', {'concept': 'human settlement'}] ['Harbin', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:capital ) ( ontology:human_settlement ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42956
P17
Q15617994
USER
Which administrative territory does Harbin belong to ?
(Q42956,P17,c(Q15617994))
action filter_type
action find
entity Q42956
relation P17
type Q15617994
['Q42956', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q42956 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Harbin
action filter_type
action find
entity Harbin
relation country
type designation for an administrative territorial entity
['Harbin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Harbin property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q42956,P17,c(Q15617994))
action filter_type
action find
entity Q42956
relation P17
type Q15617994
Harbin belongs to [ANSWER]
['Q42956', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q42956 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
People's Republic of China
Harbin belongs to People's Republic of China
People's Republic of China
action filter_type
action find
entity Harbin
relation country
type designation for an administrative territorial entity
['Harbin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Harbin property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]