Simple Question (Direct)
Simple Question
Q19289811
P19
Q20667921
USER
Where was Antoni Puiggarí born ?
(Q19289811,P19,c(Q20667921))
action filter_type
action find
entity Q19289811
relation P19
type Q20667921
['Q19289811', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q19289811 property:P19 ?m . ?m rdf:type ontology:Q20667921 }
Antoni Puiggarí
action filter_type
action find
entity Antoni Puiggarí
relation place of birth
type type of french administrative division
['Antoni Puiggarí', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Antoni_Puiggarí property:place_of_birth ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6730
SYSTEM
Perpignan
Q6730
(Q19289811,P19,c(Q20667921))
action filter_type
action find
entity Q19289811
relation P19
type Q20667921
Antoni Puiggarí was born in [ANSWER]
['Q19289811', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q19289811 property:P19 ?m . ?m rdf:type ontology:Q20667921 }
Perpignan
Antoni Puiggarí was born in Perpignan
Perpignan
action filter_type
action find
entity Antoni Puiggarí
relation place of birth
type type of french administrative division
['Antoni Puiggarí', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Antoni_Puiggarí property:place_of_birth ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19289811
P20
Q20667921
USER
Where did the expiration of that person occur ?
(Q6730,P20,c(Q20667921))
action filter_type
action find
entity Q19289811
relation P20
type Q20667921
['Q6730', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q19289811 property:P20 ?b . ?b rdf:type ontology:Q20667921 }
Antoni Puiggarí
action filter_type
action find
entity Antoni Puiggarí
relation place of death
type type of french administrative division
['Perpignan', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Antoni_Puiggarí property:place_of_death ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6730
SYSTEM
Perpignan
Q6730
(Q6730,P20,c(Q20667921))
action filter_type
action find
entity Q19289811
relation P20
type Q20667921
The expiration of that person occurred in [ANSWER]
['Q6730', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q19289811 property:P20 ?b . ?b rdf:type ontology:Q20667921 }
Perpignan
The expiration of that person occurred in Perpignan
Perpignan
action filter_type
action find
entity Antoni Puiggarí
relation place of death
type type of french administrative division
['Perpignan', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Antoni_Puiggarí property:place_of_death ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6730
P937
Q502895
USER
Which people have that french administrative division as work location ?
(c(Q502895),P937,Q6730)
action filter_type
action find_reverse
entity Q6730
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q6730']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P937 resource:Q6730 }
Perpignan
action filter_type
action find_reverse
entity Perpignan
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Perpignan']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:work_location resource:Perpignan }
[]
common name
Q22108446 Q1581659
SYSTEM
Guy Oliver, Hans de Suabia
Q22108446 Q1581659
(c(Q502895),P937,Q6730)
action filter_type
action find_reverse
entity Q6730
relation P937
type Q502895
[ANSWERS] have that french administrative division as work location
[{'concept': 'Q502895'}, 'P937', 'Q6730']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P937 resource:Q6730 }
Guy Oliver Hans de Suabia
Guy Oliver and Hans de Suabia have that french administrative division as work location
Guy Oliver Hans de Suabia
action filter_type
action find_reverse
entity Perpignan
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Perpignan']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:work_location resource:Perpignan }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q22108446 Q1581659
P21
Q290
USER
Which sexes do those people belong to ?
(Q22108446,P21,c(Q290)) (Q1581659,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q22108446', 'P21', {'concept': 'Q290'}] ['Q1581659', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . ?d property:P21 ?u . VALUES ( ?d ) { ( resource:Q22108446 ) ( resource:Q1581659 ) } }
Guy Oliver Hans de Suabia
action filter_type
action find
entity prev_answer
relation gender
type sex
['Guy Oliver', 'gender', {'concept': 'sex'}] ['Hans de Suabia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . ?d property:gender ?u . VALUES ( ?d ) { ( resource:Guy_Oliver ) ( resource:Hans_de_Suabia ) } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q22108446,P21,c(Q290)) (Q1581659,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER] and [ANSWER]
['Q22108446', 'P21', {'concept': 'Q290'}] ['Q1581659', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . ?d property:P21 ?u . VALUES ( ?d ) { ( resource:Q22108446 ) ( resource:Q1581659 ) } }
male male
Those people belong to male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Guy Oliver', 'gender', {'concept': 'sex'}] ['Hans de Suabia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . ?d property:gender ?u . VALUES ( ?d ) { ( resource:Guy_Oliver ) ( resource:Hans_de_Suabia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581659
P106
Q12737077
USER
What is the profession of Hans de Suabia ?
(Q1581659,P106,c(Q12737077))
action filter_type
action find
entity Q1581659
relation P106
type Q12737077
['Q1581659', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1581659 property:P106 ?g }
Hans de Suabia
action filter_type
action find
entity Hans de Suabia
relation occupation
type occupation
['Hans de Suabia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Hans_de_Suabia property:occupation ?g }
[]
occupation
Q1281618
SYSTEM
sculptor
Q1281618
(Q1581659,P106,c(Q12737077))
action filter_type
action find
entity Q1581659
relation P106
type Q12737077
The profession of Hans de Suabia is a [ANSWER]
['Q1581659', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1581659 property:P106 ?g }
sculptor
The profession of Hans de Suabia is a sculptor
sculptor
action filter_type
action find
entity Hans de Suabia
relation occupation
type occupation
['Hans de Suabia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Hans_de_Suabia property:occupation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581659
P27
Q1048835
USER
Which political territory does Hans de Suabia belong to ?
(Q1581659,P27,c(Q1048835))
action filter_type
action find
entity Q1581659
relation P27
type Q1048835
['Q1581659', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1581659 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Hans de Suabia
action filter_type
action find
entity Hans de Suabia
relation country of citizenship
type political territorial entity
['Hans de Suabia', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Hans_de_Suabia property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1581659,P27,c(Q1048835))
action filter_type
action find
entity Q1581659
relation P27
type Q1048835
Hans de Suabia belongs to [ANSWER]
['Q1581659', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1581659 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Germany
Hans de Suabia belongs to Germany
Germany
action filter_type
action find
entity Hans de Suabia
relation country of citizenship
type political territorial entity
['Hans de Suabia', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Hans_de_Suabia property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1222755
Q1048835
USER
And also tell me about Dieter Schellong?
(Q1222755,P27,c(Q1048835))
action filter_type
action find
entity Q1222755
relation P27
type Q1048835
['Q1222755', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1222755 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Dieter Schellong
action filter_type
action find
entity Dieter Schellong
relation country of citizenship
type political territorial entity
['Dieter Schellong', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Dieter_Schellong property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1222755,P27,c(Q1048835))
action filter_type
action find
entity Q1222755
relation P27
type Q1048835
[ANSWER]
['Q1222755', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1222755 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Dieter Schellong
relation country of citizenship
type political territorial entity
['Dieter Schellong', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Dieter_Schellong property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]