Simple Question (Direct)
Simple Question
Q3902912
P937
Q56061
USER
Where did Pier Luigi Romita work ?
(Q3902912,P937,c(Q56061))
action filter_type
action find
entity Q3902912
relation P937
type Q56061
['Q3902912', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3902912 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Pier Luigi Romita
action filter_type
action find
entity Pier Luigi Romita
relation work location
type administrative territorial entity
['Pier Luigi Romita', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pier_Luigi_Romita property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3902912,P937,c(Q56061))
action filter_type
action find
entity Q3902912
relation P937
type Q56061
Pier Luigi Romita worked in [ANSWER]
['Q3902912', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3902912 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Rome
Pier Luigi Romita worked in Rome
Rome
action filter_type
action find
entity Pier Luigi Romita
relation work location
type administrative territorial entity
['Pier Luigi Romita', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pier_Luigi_Romita property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P119
Q502895
USER
Which people have that administrative territory as resting place ?
(c(Q502895),P119,Q220)
action filter_type
action find_reverse
entity Q220
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q220']
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q220 . ?j rdf:type ontology:Q502895 }
Rome
action filter_type
action find_reverse
entity Rome
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Rome']
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:Rome . ?j rdf:type ontology:common_name }
[]
common name
Q647934 Q1434 Q1413
SYSTEM
Joseph-Marie Vien, Commodus, Nero
Q1413 Q647934 Q1419 Q4228919 Q20732212 Q1421 Q1423 Q1434
(c(Q502895),P119,Q220)
action filter_type
action find_reverse
entity Q220
relation P119
type Q502895
[ANSWERS] have that administrative territory as resting place
[{'concept': 'Q502895'}, 'P119', 'Q220']
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q220 . ?j rdf:type ontology:Q502895 }
Nero Joseph-Marie Vien Vespasian Marie Colban Paul Tripier Titus Domitian Commodus
Joseph-Marie Vien, Commodus and Nero have that administrative territory as resting place
Joseph-Marie Vien Commodus Nero
action filter_type
action find_reverse
entity Rome
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Rome']
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:Rome . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q647934 Q1434 Q1413
P39
Q12737077
USER
What were the positions held by Joseph-Marie Vien, Commodus and Nero ?
(Q647934,P39,c(Q12737077)) (Q1434,P39,c(Q12737077)) (Q1413,P39,c(Q12737077))
action union
action filter_type
action find
entity Q647934
relation P39
type Q12737077
action filter_type
action find
entity Q1434
relation P39
type Q12737077
action filter_type
action find
entity Q1413
relation P39
type Q12737077
['Q647934', 'P39', {'concept': 'Q12737077'}] ['Q1434', 'P39', {'concept': 'Q12737077'}] ['Q1413', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?c property:P39 ?a . VALUES ( ?c ) { ( resource:Q647934 ) ( resource:Q1434 ) } }
Joseph-Marie Vien Commodus Nero
action union
action filter_type
action find
entity Joseph-Marie Vien
relation position held
type occupation
action filter_type
action find
entity Commodus
relation position held
type occupation
action filter_type
action find
entity Nero
relation position held
type occupation
['Joseph-Marie Vien', 'position held', {'concept': 'occupation'}] ['Commodus', 'position held', {'concept': 'occupation'}] ['Nero', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?c property:position_held ?a . VALUES ( ?c ) { ( resource:Joseph-Marie_Vien ) ( resource:Commodus ) } }
[]
occupation
Q26203875 Q3401779 Q21032677
SYSTEM
consul of the Roman Empire, Premier peintre du Roi, member of the Sénat conservateur
Q3401779 Q21032677 Q842606 Q20056508 Q26203875 Q842606 Q20056508
(Q647934,P39,c(Q12737077)) (Q1434,P39,c(Q12737077)) (Q1413,P39,c(Q12737077))
action union
action filter_type
action find
entity Q647934
relation P39
type Q12737077
action filter_type
action find
entity Q1434
relation P39
type Q12737077
action filter_type
action find
entity Q1413
relation P39
type Q12737077
The positions held by Joseph-Marie Vien , Commodus and Nero were the [ANSWERS]
['Q647934', 'P39', {'concept': 'Q12737077'}] ['Q1434', 'P39', {'concept': 'Q12737077'}] ['Q1413', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?c property:P39 ?a . VALUES ( ?c ) { ( resource:Q647934 ) ( resource:Q1434 ) } }
Premier peintre du Roi member of the Sénat conservateur Roman emperor Ancient Roman senator consul of the Roman Empire Roman emperor Ancient Roman senator
The positions held by Joseph-Marie Vien , Commodus and Nero were the consul of the Roman Empire, Premier peintre du Roi and member of the Sénat conservateur
consul of the Roman Empire Premier peintre du Roi member of the Sénat conservateur
action union
action filter_type
action find
entity Joseph-Marie Vien
relation position held
type occupation
action filter_type
action find
entity Commodus
relation position held
type occupation
action filter_type
action find
entity Nero
relation position held
type occupation
['Joseph-Marie Vien', 'position held', {'concept': 'occupation'}] ['Commodus', 'position held', {'concept': 'occupation'}] ['Nero', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?c property:position_held ?a . VALUES ( ?c ) { ( resource:Joseph-Marie_Vien ) ( resource:Commodus ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21032677
P17
Q7275
USER
Which states do that occupation belong to ?
(Q21032677,P17,c(Q7275))
action filter_type
action find
entity Q21032677
relation P17
type Q7275
['Q21032677', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . resource:Q21032677 property:P17 ?d }
member of the Sénat conservateur
action filter_type
action find
entity member of the Sénat conservateur
relation country
type state
['member of the Sénat conservateur', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . resource:member_of_the_Sénat_conservateur property:country ?d }
[]
state
Clarification for simple ques.
Q3401779
SYSTEM
Did you mean Premier peintre du Roi ?
Q26203875 Q3401779 Q21032677
(Q26203875,P17,c(Q7275)) (Q3401779,P17,c(Q7275)) (Q21032677,P17,c(Q7275))
[ANSWER]
['Q26203875', 'P17', {'concept': 'Q7275'}] ['Q3401779', 'P17', {'concept': 'Q7275'}] ['Q21032677', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . resource:Q21032677 property:P17 ?d }
consul of the Roman Empire Premier peintre du Roi member of the Sénat conservateur
Did you mean Premier peintre du Roi ?
Premier peintre du Roi
['consul of the Roman Empire', 'country', {'concept': 'state'}] ['Premier peintre du Roi', 'country', {'concept': 'state'}] ['member of the Sénat conservateur', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . resource:member_of_the_Sénat_conservateur property:country ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant member of the Sénat conservateur. Could you tell me the answer for that?
(Q21032677,P17,c(Q7275))
Q21032677
['Q21032677', 'P17', {'concept': 'Q7275'}]
['member of the Sénat conservateur', 'country', {'concept': 'state'}]
[]
Q71084 Q58296
SYSTEM
First French Empire, French Republic
Q71084 Q58296
(Q21032677,P17,c(Q7275))
action filter_type
action find
entity Q21032677
relation P17
type Q7275
That occupation belong to the [ANSWERS]
['Q21032677', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . resource:Q21032677 property:P17 ?d }
First French Empire French Republic
That occupation belong to the First French Empire and French Republic
First French Empire French Republic
action filter_type
action find
entity member of the Sénat conservateur
relation country
type state
['member of the Sénat conservateur', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . resource:member_of_the_Sénat_conservateur property:country ?d }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q71084 Q58296
P17
Q12737077
USER
Which occupations are situated in First French Empire and French Republic ?
(c(Q12737077),P17,Q71084) (c(Q12737077),P17,Q58296)
action union
action filter_type
action find_reverse
entity Q71084
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q58296
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q71084'] [{'concept': 'Q12737077'}, 'P17', 'Q58296']
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:Q71084 ) ( resource:Q58296 ) } . ?w property:P17 ?y }
First French Empire French Republic
action union
action filter_type
action find_reverse
entity First French Empire
relation country
type occupation
action filter_type
action find_reverse
entity French Republic
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'First French Empire'] [{'concept': 'occupation'}, 'country', 'French Republic']
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:First_French_Empire ) ( resource:French_Republic ) } . ?w property:country ?y }
[]
occupation
Q20808382 Q21032677 Q21032677
SYSTEM
deputy to the National Convention for 1st, member of the Sénat conservateur for 2nd, 3rd
Q21032677 Q20808382 Q1988026 Q21032677
(c(Q12737077),P17,Q71084) (c(Q12737077),P17,Q58296)
action union
action filter_type
action find_reverse
entity Q71084
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q58296
relation P17
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P17', 'Q71084'] [{'concept': 'Q12737077'}, 'P17', 'Q58296']
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:Q71084 ) ( resource:Q58296 ) } . ?w property:P17 ?y }
member of the Sénat conservateur deputy to the National Convention représentant en mission member of the Sénat conservateur
Deputy to the National Convention, member of the Sénat conservateur and member of the Sénat conservateur are situated in First French Empire and French Republic
deputy to the National Convention member of the Sénat conservateur member of the Sénat conservateur
action union
action filter_type
action find_reverse
entity First French Empire
relation country
type occupation
action filter_type
action find_reverse
entity French Republic
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'First French Empire'] [{'concept': 'occupation'}, 'country', 'French Republic']
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:First_French_Empire ) ( resource:French_Republic ) } . ?w property:country ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20808382
P361
Q1752346
USER
What is that occupation a part of ?
(Q20808382,P361,c(Q1752346))
action filter_type
action find
entity Q20808382
relation P361
type Q1752346
['Q20808382', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q20808382 property:P361 ?d . ?d rdf:type ontology:Q1752346 }
deputy to the National Convention
action filter_type
action find
entity deputy to the National Convention
relation part of
type assembly
['deputy to the National Convention', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:deputy_to_the_National_Convention property:part_of ?d . ?d rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q21032677
SYSTEM
Did you mean member of the Sénat conservateur ?
Q20808382 Q21032677 Q21032677
(Q20808382,P361,c(Q1752346)) (Q21032677,P361,c(Q1752346)) (Q21032677,P361,c(Q1752346))
[ANSWER]
['Q20808382', 'P361', {'concept': 'Q1752346'}] ['Q21032677', 'P361', {'concept': 'Q1752346'}] ['Q21032677', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q20808382 property:P361 ?d . ?d rdf:type ontology:Q1752346 }
deputy to the National Convention member of the Sénat conservateur member of the Sénat conservateur
Did you mean member of the Sénat conservateur ?
member of the Sénat conservateur
['deputy to the National Convention', 'part of', {'concept': 'assembly'}] ['member of the Sénat conservateur', 'part of', {'concept': 'assembly'}] ['member of the Sénat conservateur', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:deputy_to_the_National_Convention property:part_of ?d . ?d rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
No, I meant deputy to the National Convention. Could you tell me the answer for that?
(Q20808382,P361,c(Q1752346))
Q20808382
['Q20808382', 'P361', {'concept': 'Q1752346'}]
['deputy to the National Convention', 'part of', {'concept': 'assembly'}]
[]
Q219825
SYSTEM
National Convention
Q219825
(Q20808382,P361,c(Q1752346))
action filter_type
action find
entity Q20808382
relation P361
type Q1752346
That occupation a part of is the [ANSWER]
['Q20808382', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q20808382 property:P361 ?d . ?d rdf:type ontology:Q1752346 }
National Convention
That occupation a part of is the National Convention
National Convention
action filter_type
action find
entity deputy to the National Convention
relation part of
type assembly
['deputy to the National Convention', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:deputy_to_the_National_Convention property:part_of ?d . ?d rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q219825 Q12255034
P463
Q502895
USER
Does Bernabé Txabarri have a membership of that assembly ?
(Q12255034,P463,Q219825)
action is_in
entity Q12255034
action find
entity Q219825
relation P463
['Q12255034', 'P463', 'Q219825']
ASK WHERE { resource:Q219825 property:P463 resource:Q12255034 }
National Convention Bernabé Txabarri
action is_in
entity Bernabé Txabarri
action find
entity National Convention
relation member of
['Bernabé Txabarri', 'member of', 'National Convention']
ASK WHERE { resource:National_Convention property:member_of resource:Bernabé_Txabarri }
[]
common name
SYSTEM
NO
(Q12255034,P463,Q219825)
action is_in
entity Q12255034
action find
entity Q219825
relation P463
[ANSWER]
['Q12255034', 'P463', 'Q219825']
ASK WHERE { resource:Q219825 property:P463 resource:Q12255034 }
No
action is_in
entity Bernabé Txabarri
action find
entity National Convention
relation member of
['Bernabé Txabarri', 'member of', 'National Convention']
ASK WHERE { resource:National_Convention property:member_of resource:Bernabé_Txabarri }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3902912 Q5783733
P20
Q56061
USER
Did the expiration of Pier Luigi Romita occur Garchidan ?
(Q3902912,P20,Q5783733)
action is_in
entity Q5783733
action find
entity Q3902912
relation P20
['Q3902912', 'P20', 'Q5783733']
ASK WHERE { resource:Q3902912 property:P20 resource:Q5783733 }
Pier Luigi Romita Garchidan
action is_in
entity Garchidan
action find
entity Pier Luigi Romita
relation place of death
['Pier Luigi Romita', 'place of death', 'Garchidan']
ASK WHERE { resource:Pier_Luigi_Romita property:place_of_death resource:Garchidan }
[]
administrative territorial entity
SYSTEM
NO
(Q3902912,P20,Q5783733)
action is_in
entity Q5783733
action find
entity Q3902912
relation P20
[ANSWER]
['Q3902912', 'P20', 'Q5783733']
ASK WHERE { resource:Q3902912 property:P20 resource:Q5783733 }
No
action is_in
entity Garchidan
action find
entity Pier Luigi Romita
relation place of death
['Pier Luigi Romita', 'place of death', 'Garchidan']
ASK WHERE { resource:Pier_Luigi_Romita property:place_of_death resource:Garchidan }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q71084 Q224719 Q142
P17
Q15617994
USER
Is First French Empire located in Varco Sabino and France ?
(Q71084,P17,Q224719) (Q71084,P17,Q142)
action is_in
entity Q71084
action intersection
action find_reverse
entity Q224719
relation P17
action find_reverse
entity Q142
relation P17
['Q71084', 'P17', 'Q224719'] ['Q71084', 'P17', 'Q142']
ASK WHERE { resource:Q71084 property:P17 resource:Q142 . resource:Q71084 property:P17 resource:Q224719 }
First French Empire Varco Sabino France
action is_in
entity First French Empire
action intersection
action find_reverse
entity Varco Sabino
relation country
action find_reverse
entity France
relation country
['First French Empire', 'country', 'Varco Sabino'] ['First French Empire', 'country', 'France']
ASK WHERE { resource:First_French_Empire property:country resource:France . resource:First_French_Empire property:country resource:Varco_Sabino }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q71084,P17,Q224719) (Q71084,P17,Q142)
action is_in
entity Q71084
action intersection
action find_reverse
entity Q224719
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q71084', 'P17', 'Q224719'] ['Q71084', 'P17', 'Q142']
ASK WHERE { resource:Q71084 property:P17 resource:Q142 . resource:Q71084 property:P17 resource:Q224719 }
NO and YES respectively
action is_in
entity First French Empire
action intersection
action find_reverse
entity Varco Sabino
relation country
action find_reverse
entity France
relation country
['First French Empire', 'country', 'Varco Sabino'] ['First French Empire', 'country', 'France']
ASK WHERE { resource:First_French_Empire property:country resource:France . resource:First_French_Empire property:country resource:Varco_Sabino }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q647934
P97
Q4164871
USER
What was the title held by Joseph-Marie Vien ?
(Q647934,P97,c(Q4164871))
action filter_type
action find
entity Q647934
relation P97
type Q4164871
['Q647934', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?d WHERE { resource:Q647934 property:P97 ?d . ?d rdf:type ontology:Q4164871 }
Joseph-Marie Vien
action filter_type
action find
entity Joseph-Marie Vien
relation noble title
type position
['Joseph-Marie Vien', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?d WHERE { resource:Joseph-Marie_Vien property:noble_title ?d . ?d rdf:type ontology:position }
[]
position
Q3519259
SYSTEM
count
Q3519259
(Q647934,P97,c(Q4164871))
action filter_type
action find
entity Q647934
relation P97
type Q4164871
The title held by Joseph-Marie Vien was a [ANSWER]
['Q647934', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?d WHERE { resource:Q647934 property:P97 ?d . ?d rdf:type ontology:Q4164871 }
count
The title held by Joseph-Marie Vien was a count
count
action filter_type
action find
entity Joseph-Marie Vien
relation noble title
type position
['Joseph-Marie Vien', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?d WHERE { resource:Joseph-Marie_Vien property:noble_title ?d . ?d rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q647934
P26
Q502895
USER
Which person is married to Joseph-Marie Vien ?
(Q647934,P26,c(Q502895))
action filter_type
action find
entity Q647934
relation P26
type Q502895
['Q647934', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q647934 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Joseph-Marie Vien
action filter_type
action find
entity Joseph-Marie Vien
relation spouse
type common name
['Joseph-Marie Vien', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Joseph-Marie_Vien property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q652013
SYSTEM
Marie-Thérèse Reboul
Q652013
(Q647934,P26,c(Q502895))
action filter_type
action find
entity Q647934
relation P26
type Q502895
[ANSWER] is married to Joseph-Marie Vien
['Q647934', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q647934 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Marie-Thérèse Reboul
Marie-Thérèse Reboul is married to Joseph-Marie Vien
Marie-Thérèse Reboul
action filter_type
action find
entity Joseph-Marie Vien
relation spouse
type common name
['Joseph-Marie Vien', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Joseph-Marie_Vien property:spouse ?i . ?i rdf:type ontology:common_name }
[]