Simple Question (Direct)
Simple Question
Q16025667
P39
Q12737077
USER
What were the positions held by Arnaud d'Elissagaray de Jaurgain ?
(Q16025667,P39,c(Q12737077))
action filter_type
action find
entity Q16025667
relation P39
type Q12737077
['Q16025667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q16025667 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Arnaud d'Elissagaray de Jaurgain
action filter_type
action find
entity Arnaud d'Elissagaray de Jaurgain
relation position held
type occupation
["Arnaud d'Elissagaray de Jaurgain", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Arnaud_d'Elissagaray_de_Jaurgain property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q16025667,P39,c(Q12737077))
action filter_type
action find
entity Q16025667
relation P39
type Q12737077
[ANSWERS]
['Q16025667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q16025667 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The positions held by Arnaud d' Elissagaray de Jaurgain were maire and member of the French National Assembly
maire member of the French National Assembly
action filter_type
action find
entity Arnaud d'Elissagaray de Jaurgain
relation position held
type occupation
["Arnaud d'Elissagaray de Jaurgain", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Arnaud_d'Elissagaray_de_Jaurgain property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q382617 Q3044918
P17
Q15617994
USER
Which administrative territories are those occupations a part of ?
(Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Q382617 ) ( resource:Q3044918 ) } . ?o property:P17 ?g . ?g rdf:type ontology:Q15617994 }
maire member of the French National Assembly
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:maire ) ( resource:member_of_the_French National_Assembly ) } . ?o property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
And [ANSWER] and [ANSWER] are those occupations a part of
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Q382617 ) ( resource:Q3044918 ) } . ?o property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France France
And France and France are those occupations a part of
France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:maire ) ( resource:member_of_the_French National_Assembly ) } . ?o property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16025667
P106
Q12737077
USER
What does Arnaud d'Elissagaray de Jaurgain do for a living ?
(Q16025667,P106,c(Q12737077))
action filter_type
action find
entity Q16025667
relation P106
type Q12737077
['Q16025667', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q16025667 property:P106 ?b }
Arnaud d'Elissagaray de Jaurgain
action filter_type
action find
entity Arnaud d'Elissagaray de Jaurgain
relation occupation
type occupation
["Arnaud d'Elissagaray de Jaurgain", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Arnaud_d'Elissagaray_de_Jaurgain property:occupation ?b }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16025667,P106,c(Q12737077))
action filter_type
action find
entity Q16025667
relation P106
type Q12737077
Arnaud d' Elissagaray de Jaurgain does a [ANSWER] for a living
['Q16025667', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q16025667 property:P106 ?b }
politician
Arnaud d' Elissagaray de Jaurgain does a politician for a living
politician
action filter_type
action find
entity Arnaud d'Elissagaray de Jaurgain
relation occupation
type occupation
["Arnaud d'Elissagaray de Jaurgain", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Arnaud_d'Elissagaray_de_Jaurgain property:occupation ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5563657
Q12737077
USER
And how about Giovanni Andrea Biscaino?
(Q5563657,P106,c(Q12737077))
action filter_type
action find
entity Q5563657
relation P106
type Q12737077
['Q5563657', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q5563657 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Giovanni Andrea Biscaino
action filter_type
action find
entity Giovanni Andrea Biscaino
relation occupation
type occupation
['Giovanni Andrea Biscaino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Giovanni_Andrea_Biscaino property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q5563657,P106,c(Q12737077))
action filter_type
action find
entity Q5563657
relation P106
type Q12737077
[ANSWER]
['Q5563657', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q5563657 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
painter
painter
action filter_type
action find
entity Giovanni Andrea Biscaino
relation occupation
type occupation
['Giovanni Andrea Biscaino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Giovanni_Andrea_Biscaino property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5563657
P20
Q56061
USER
Where did that person die ?
(Q1028181,P20,c(Q56061))
action filter_type
action find
entity Q5563657
relation P20
type Q56061
['Q1028181', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q5563657 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Giovanni Andrea Biscaino
action filter_type
action find
entity Giovanni Andrea Biscaino
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Giovanni_Andrea_Biscaino property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449
SYSTEM
Genoa
Q1449
(Q1028181,P20,c(Q56061))
action filter_type
action find
entity Q5563657
relation P20
type Q56061
That person died in [ANSWER]
['Q1028181', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q5563657 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Genoa
That person died in Genoa
Genoa
action filter_type
action find
entity Giovanni Andrea Biscaino
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Giovanni_Andrea_Biscaino property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5563657
P21
Q290
USER
What is the sex of that person ?
(Q1449,P21,c(Q290))
action filter_type
action find
entity Q5563657
relation P21
type Q290
['Q1449', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5563657 property:P21 ?v . ?v rdf:type ontology:Q290 }
Giovanni Andrea Biscaino
action filter_type
action find
entity Giovanni Andrea Biscaino
relation gender
type sex
['Genoa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Giovanni_Andrea_Biscaino property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1449,P21,c(Q290))
action filter_type
action find
entity Q5563657
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1449', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5563657 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Giovanni Andrea Biscaino
relation gender
type sex
['Genoa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Giovanni_Andrea_Biscaino property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1449
P138
Q34442
USER
Which roads come from Genoa ?
(c(Q34442),P138,Q1449)
action filter_type
action find_reverse
entity Q1449
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q1449']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34442 . ?y property:P138 resource:Q1449 }
Genoa
action filter_type
action find_reverse
entity Genoa
relation named after
type road
[{'concept': 'road'}, 'named after', 'Genoa']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:road . ?y property:named_after resource:Genoa }
[]
road
Q19839521 Q24294474
SYSTEM
Katerynynska Street, calle de Génova
Q19839521 Q24294474
(c(Q34442),P138,Q1449)
action filter_type
action find_reverse
entity Q1449
relation P138
type Q34442
[ANSWERS] come from Genoa
[{'concept': 'Q34442'}, 'P138', 'Q1449']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34442 . ?y property:P138 resource:Q1449 }
Katerynynska Street calle de Génova
Katerynynska Street and calle de Génova come from Genoa
Katerynynska Street calle de Génova
action filter_type
action find_reverse
entity Genoa
relation named after
type road
[{'concept': 'road'}, 'named after', 'Genoa']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:road . ?y property:named_after resource:Genoa }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19839521
P47
Q34442
USER
Which roads share border with that one ?
(Q19839521,P47,c(Q34442))
action filter_type
action find
entity Q19839521
relation P47
type Q34442
['Q19839521', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34442 . resource:Q19839521 property:P47 ?z }
Katerynynska Street
action filter_type
action find
entity Katerynynska Street
relation shares border with
type road
['Katerynynska Street', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:road . resource:Katerynynska_Street property:shares_border_with ?z }
[]
road
Clarification for simple ques.
Q24294474
SYSTEM
Did you mean calle de Génova ?
Q19839521 Q24294474
(Q19839521,P47,c(Q34442)) (Q24294474,P47,c(Q34442))
[ANSWER]
['Q19839521', 'P47', {'concept': 'Q34442'}] ['Q24294474', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34442 . resource:Q19839521 property:P47 ?z }
Katerynynska Street calle de Génova
Did you mean calle de Génova ?
calle de Génova
['Katerynynska Street', 'shares border with', {'concept': 'road'}] ['calle de Génova', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:road . resource:Katerynynska_Street property:shares_border_with ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant Katerynynska Street. Could you tell me the answer for that?
(Q19839521,P47,c(Q34442))
Q19839521
['Q19839521', 'P47', {'concept': 'Q34442'}]
['Katerynynska Street', 'shares border with', {'concept': 'road'}]
[]
Q1975755 Q19816581 Q19588457
SYSTEM
Deribasivska Street, Lanzheronivska Street, Hretska Street
Q1975755 Q19816581 Q19588457
(Q19839521,P47,c(Q34442))
action filter_type
action find
entity Q19839521
relation P47
type Q34442
[ANSWERS] share border with that one
['Q19839521', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34442 . resource:Q19839521 property:P47 ?z }
Deribasivska Street Lanzheronivska Street Hretska Street
Deribasivska Street, Lanzheronivska Street and Hretska Street share border with that one
Deribasivska Street Lanzheronivska Street Hretska Street
action filter_type
action find
entity Katerynynska Street
relation shares border with
type road
['Katerynynska Street', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:road . resource:Katerynynska_Street property:shares_border_with ?z }
[]