Simple Question (Direct)
Simple Question
Q75529
P20
Q123705
USER
Where did Sophie Cruvelli die ?
(Q75529,P20,c(Q123705))
action filter_type
action find
entity Q75529
relation P20
type Q123705
['Q75529', 'P20', {'concept': 'Q123705'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q123705 . resource:Q75529 property:P20 ?q }
Sophie Cruvelli
action filter_type
action find
entity Sophie Cruvelli
relation place of death
type neighborhood
['Sophie Cruvelli', 'place of death', {'concept': 'neighborhood'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:neighborhood . resource:Sophie_Cruvelli property:place_of_death ?q }
[]
neighborhood
Q45240
SYSTEM
Monte Carlo
Q45240
(Q75529,P20,c(Q123705))
action filter_type
action find
entity Q75529
relation P20
type Q123705
Sophie Cruvelli died in [ANSWER]
['Q75529', 'P20', {'concept': 'Q123705'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q123705 . resource:Q75529 property:P20 ?q }
Monte Carlo
Sophie Cruvelli died in Monte Carlo
Monte Carlo
action filter_type
action find
entity Sophie Cruvelli
relation place of death
type neighborhood
['Sophie Cruvelli', 'place of death', {'concept': 'neighborhood'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:neighborhood . resource:Sophie_Cruvelli property:place_of_death ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q75529
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q45240)
action filter_type
action find
entity Q75529
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q45240']
SELECT DISTINCT ?s WHERE { resource:Q75529 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Sophie Cruvelli
action filter_type
action find
entity Sophie Cruvelli
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Monte Carlo']
SELECT DISTINCT ?s WHERE { resource:Sophie_Cruvelli property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q2823064
SYSTEM
Achille Georges Vigier
Q2823064
(c(Q502895),P26,Q45240)
action filter_type
action find
entity Q75529
relation P26
type Q502895
The spouse of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q45240']
SELECT DISTINCT ?s WHERE { resource:Q75529 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Achille Georges Vigier
The spouse of that one is the Achille Georges Vigier
Achille Georges Vigier
action filter_type
action find
entity Sophie Cruvelli
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Monte Carlo']
SELECT DISTINCT ?s WHERE { resource:Sophie_Cruvelli property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23060748 Q75529
P27
Q1048835
USER
Which political territories are Sophie Cruvelli or Mathias Rehfeldt a civilian of ?
OR((Q75529,P27,c(Q1048835)), (Q23060748,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q75529
relation P27
action find
entity Q23060748
relation P27
type Q1048835
{'OR': [['Q75529', 'P27', {'concept': 'Q1048835'}], ['Q23060748', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . { ?y property:P27 ?o . VALUES ( ?y ) { ( resource:Q75529 ) ( resource:Q23060748 ) } } }
Mathias Rehfeldt Sophie Cruvelli
action filter_type
action union
action find
entity Sophie Cruvelli
relation country of citizenship
action find
entity Mathias Rehfeldt
relation country of citizenship
type political territorial entity
{'OR': [['Sophie Cruvelli', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mathias Rehfeldt', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . { ?y property:country_of_citizenship ?o . VALUES ( ?y ) { ( resource:Sophie_Cruvelli ) ( resource:Mathias_Rehfeldt ) } } }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q75529,P27,c(Q1048835)), (Q23060748,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q75529
relation P27
action find
entity Q23060748
relation P27
type Q1048835
[ANSWER] is Sophie Cruvelli or Mathias Rehfeldt a civilian of
{'OR': [['Q75529', 'P27', {'concept': 'Q1048835'}], ['Q23060748', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . { ?y property:P27 ?o . VALUES ( ?y ) { ( resource:Q75529 ) ( resource:Q23060748 ) } } }
Germany
Germany is Sophie Cruvelli or Mathias Rehfeldt a civilian of
Germany
action filter_type
action union
action find
entity Sophie Cruvelli
relation country of citizenship
action find
entity Mathias Rehfeldt
relation country of citizenship
type political territorial entity
{'OR': [['Sophie Cruvelli', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mathias Rehfeldt', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . { ?y property:country_of_citizenship ?o . VALUES ( ?y ) { ( resource:Sophie_Cruvelli ) ( resource:Mathias_Rehfeldt ) } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q945 Q81588
P530
Q15617994
USER
Does that political territory have tactful political relations with Togo and San Rufo ?
(Q183,P530,Q945) (Q183,P530,Q81588)
action is_in
entity Q183
action intersection
action find_reverse
entity Q945
relation P530
action find_reverse
entity Q81588
relation P530
['Q183', 'P530', 'Q945'] ['Q183', 'P530', 'Q81588']
ASK WHERE { resource:Q183 property:P530 resource:Q945 . resource:Q183 property:P530 resource:Q81588 }
Germany Togo San Rufo
action is_in
entity Germany
action intersection
action find_reverse
entity Togo
relation diplomatic relation
action find_reverse
entity San Rufo
relation diplomatic relation
['Germany', 'diplomatic relation', 'Togo'] ['Germany', 'diplomatic relation', 'San Rufo']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Togo . resource:Germany property:diplomatic_relation resource:San_Rufo }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q945) (Q183,P530,Q81588)
action is_in
entity Q183
action intersection
action find_reverse
entity Q945
relation P530
action find_reverse
entity Q81588
relation P530
[ANSWER]
['Q183', 'P530', 'Q945'] ['Q183', 'P530', 'Q81588']
ASK WHERE { resource:Q183 property:P530 resource:Q945 . resource:Q183 property:P530 resource:Q81588 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Togo
relation diplomatic relation
action find_reverse
entity San Rufo
relation diplomatic relation
['Germany', 'diplomatic relation', 'Togo'] ['Germany', 'diplomatic relation', 'San Rufo']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Togo . resource:Germany property:diplomatic_relation resource:San_Rufo }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2823064 Q311
P119
Q39614
USER
Was Père Lachaise Cemetery that person buried ?
(Q2823064,P119,Q311)
action is_in
entity Q311
action find
entity Q2823064
relation P119
['Q2823064', 'P119', 'Q311']
ASK WHERE { resource:Q2823064 property:P119 resource:Q311 }
Achille Georges Vigier Père Lachaise Cemetery
action is_in
entity Père Lachaise Cemetery
action find
entity Achille Georges Vigier
relation place of burial
['Achille Georges Vigier', 'place of burial', 'Père Lachaise Cemetery']
ASK WHERE { resource:Achille_Georges_Vigier property:place_of_burial resource:Père_Lachaise_Cemetery }
[]
cemetery
SYSTEM
YES
(Q2823064,P119,Q311)
action is_in
entity Q311
action find
entity Q2823064
relation P119
[ANSWER]
['Q2823064', 'P119', 'Q311']
ASK WHERE { resource:Q2823064 property:P119 resource:Q311 }
Yes
action is_in
entity Père Lachaise Cemetery
action find
entity Achille Georges Vigier
relation place of burial
['Achille Georges Vigier', 'place of burial', 'Père Lachaise Cemetery']
ASK WHERE { resource:Achille_Georges_Vigier property:place_of_burial resource:Père_Lachaise_Cemetery }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q75529 Q183
P27
Q1048835
USER
Does Sophie Cruvelli belong to Germany ?
(Q75529,P27,Q183)
action is_in
entity Q183
action find
entity Q75529
relation P27
['Q75529', 'P27', 'Q183']
ASK WHERE { resource:Q75529 property:P27 resource:Q183 }
Sophie Cruvelli Germany
action is_in
entity Germany
action find
entity Sophie Cruvelli
relation country of citizenship
['Sophie Cruvelli', 'country of citizenship', 'Germany']
ASK WHERE { resource:Sophie_Cruvelli property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q75529,P27,Q183)
action is_in
entity Q183
action find
entity Q75529
relation P27
[ANSWER]
['Q75529', 'P27', 'Q183']
ASK WHERE { resource:Q75529 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Sophie Cruvelli
relation country of citizenship
['Sophie Cruvelli', 'country of citizenship', 'Germany']
ASK WHERE { resource:Sophie_Cruvelli property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13362 Q945
P47
Q15617994
USER
Which administrative territories have a shared border with Togo or Ferrara ?
OR((Q945,P47,c(Q15617994)), (Q13362,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q945
relation P47
action find
entity Q13362
relation P47
type Q15617994
{'OR': [['Q945', 'P47', {'concept': 'Q15617994'}], ['Q13362', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { ?t property:P47 ?c . VALUES ( ?t ) { ( resource:Q945 ) ( resource:Q13362 ) } } . ?c rdf:type ontology:Q15617994 }
Ferrara Togo
action filter_type
action union
action find
entity Togo
relation shares border with
action find
entity Ferrara
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Togo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ferrara', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?t property:shares_border_with ?c . VALUES ( ?t ) { ( resource:Togo ) ( resource:Ferrara ) } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34595 Q34592 Q34699 Q95098 Q95147 Q962 Q94540 Q34598 Q95102 Q95131
SYSTEM
Some of them are Ficarolo, Occhiobello, Canaro, Copparo, Voghiera, Benin, Baricella, Stienta, Formignana, Ostellato
Q95098 Q95090 Q965 Q34699 Q962 Q34598 Q34592 Q34593 Q95102 Q34595 Q117 Q95138 Q95137 Q95135 Q95146 Q95147 Q94540 Q95131
OR((Q945,P47,c(Q15617994)), (Q13362,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q945
relation P47
action find
entity Q13362
relation P47
type Q15617994
[ANSWERS] have a shared border with Togo or Ferrara
{'OR': [['Q945', 'P47', {'concept': 'Q15617994'}], ['Q13362', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { ?t property:P47 ?c . VALUES ( ?t ) { ( resource:Q945 ) ( resource:Q13362 ) } } . ?c rdf:type ontology:Q15617994 }
Copparo Argenta, Emilia–Romagna Burkina Faso Canaro Benin Stienta Occhiobello Gaiba Formignana Ficarolo Ghana Ro Portomaggiore Poggio Renatico Vigarano Mainarda Voghiera Baricella Ostellato
Ficarolo, Occhiobello, Canaro, Copparo, Voghiera, Benin, Baricella, Stienta, Formignana and Ostellato have a shared border with Togo or Ferrara
Ficarolo Occhiobello Canaro Copparo Voghiera Benin Baricella Stienta Formignana Ostellato
action filter_type
action union
action find
entity Togo
relation shares border with
action find
entity Ferrara
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Togo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ferrara', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?t property:shares_border_with ?c . VALUES ( ?t ) { ( resource:Togo ) ( resource:Ferrara ) } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]