Simple Question (Direct)
Simple Question
Q16026779
P20
Q20667921
USER
Where did the expiration of Benoît Fond occur ?
(Q16026779,P20,c(Q20667921))
action filter_type
action find
entity Q16026779
relation P20
type Q20667921
['Q16026779', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q16026779 property:P20 ?t . ?t rdf:type ontology:Q20667921 }
Benoît Fond
action filter_type
action find
entity Benoît Fond
relation place of death
type type of french administrative division
['Benoît Fond', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Benoît_Fond property:place_of_death ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1151735
SYSTEM
Chaponost
Q1151735
(Q16026779,P20,c(Q20667921))
action filter_type
action find
entity Q16026779
relation P20
type Q20667921
The expiration of Benoît Fond occurred in [ANSWER]
['Q16026779', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q16026779 property:P20 ?t . ?t rdf:type ontology:Q20667921 }
Chaponost
The expiration of Benoît Fond occurred in Chaponost
Chaponost
action filter_type
action find
entity Benoît Fond
relation place of death
type type of french administrative division
['Benoît Fond', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Benoît_Fond property:place_of_death ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16026779
P39
Q12737077
USER
Which occupations were a position held by Benoît Fond ?
(Q16026779,P39,c(Q12737077))
action filter_type
action find
entity Q16026779
relation P39
type Q12737077
['Q16026779', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16026779 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Benoît Fond
action filter_type
action find
entity Benoît Fond
relation position held
type occupation
['Benoît Fond', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Benoît_Fond property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q16026779,P39,c(Q12737077))
action filter_type
action find
entity Q16026779
relation P39
type Q12737077
[ANSWERS]
['Q16026779', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16026779 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were a position held by Benoît Fond
maire member of the French National Assembly
action filter_type
action find
entity Benoît Fond
relation position held
type occupation
['Benoît Fond', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Benoît_Fond property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5883959
Q12737077
USER
And also tell me about Graciela Camaño?
(Q5883959,P39,c(Q12737077))
action filter_type
action find
entity Q5883959
relation P39
type Q12737077
['Q5883959', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5883959 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Graciela Camaño
action filter_type
action find
entity Graciela Camaño
relation position held
type occupation
['Graciela Camaño', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Graciela_Camaño property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q18229570
SYSTEM
Member of the Argentine Chamber of Deputies
Q18229570
(Q5883959,P39,c(Q12737077))
action filter_type
action find
entity Q5883959
relation P39
type Q12737077
[ANSWER]
['Q5883959', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5883959 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Member of the Argentine Chamber of Deputies
Member of the Argentine Chamber of Deputies
action filter_type
action find
entity Graciela Camaño
relation position held
type occupation
['Graciela Camaño', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Graciela_Camaño property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18229570 Q4838027
P39
Q502895
USER
Was Ricardo Colombi appointed for the position of that occupation ?
(Q4838027,P39,Q18229570)
action is_in
entity Q18229570
action find
entity Q4838027
relation P39
['Q4838027', 'P39', 'Q18229570']
ASK WHERE { resource:Q4838027 property:P39 resource:Q18229570 }
Member of the Argentine Chamber of Deputies Ricardo Colombi
action is_in
entity Member of the Argentine Chamber of Deputies
action find
entity Ricardo Colombi
relation position held
['Ricardo Colombi', 'position held', 'Member of the Argentine Chamber of Deputies']
ASK WHERE { resource:Ricardo_Colombi property:position_held resource:Member_of_the_Argentine_Chamber_of_Deputies }
[]
common name
SYSTEM
YES
(Q4838027,P39,Q18229570)
action is_in
entity Q18229570
action find
entity Q4838027
relation P39
[ANSWER]
['Q4838027', 'P39', 'Q18229570']
ASK WHERE { resource:Q4838027 property:P39 resource:Q18229570 }
Yes
action is_in
entity Member of the Argentine Chamber of Deputies
action find
entity Ricardo Colombi
relation position held
['Ricardo Colombi', 'position held', 'Member of the Argentine Chamber of Deputies']
ASK WHERE { resource:Ricardo_Colombi property:position_held resource:Member_of_the_Argentine_Chamber_of_Deputies }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2437228 Q3044918
P27 P17
Q15617994
USER
Which administrative territories are member of the French National Assembly situated in or are the countries of citizenship of Tite Margwelaschwili ?
OR((Q3044918,P17,c(Q15617994)), (Q2437228,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q2437228
relation P27
type Q15617994
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q2437228', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3044918 property:P17 ?r } UNION { resource:Q2437228 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Tite Margwelaschwili member of the French National Assembly
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity Tite Margwelaschwili
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tite Margwelaschwili', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:member_of_the_French National_Assembly property:country ?r } UNION { resource:Tite_Margwelaschwili property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q230
SYSTEM
France, Georgia
Q142 Q230
OR((Q3044918,P17,c(Q15617994)), (Q2437228,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q2437228
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q2437228', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3044918 property:P17 ?r } UNION { resource:Q2437228 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
France Georgia
Which administrative territories are member of the French National Assembly situated in or are the countries of citizenship of Tite Margwelaschwili
France Georgia
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity Tite Margwelaschwili
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tite Margwelaschwili', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:member_of_the_French National_Assembly property:country ?r } UNION { resource:Tite_Margwelaschwili property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23771334
P27
Q502895
USER
Are Fabio Spiranelli a native of those administrative territories ?
(Q23771334,P27,Q142) (Q23771334,P27,Q230)
action is_in
entity prev_answer
action find
entity Q23771334
relation P27
['Q23771334', 'P27', 'Q142'] ['Q23771334', 'P27', 'Q230']
ASK WHERE { VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q230 ) } . resource:Q23771334 property:P27 ?q }
Fabio Spiranelli
action is_in
entity prev_answer
action find
entity Fabio Spiranelli
relation country of citizenship
['Fabio Spiranelli', 'country of citizenship', 'France'] ['Fabio Spiranelli', 'country of citizenship', 'Georgia']
ASK WHERE { VALUES ( ?q ) { ( resource:France ) ( resource:Georgia ) } . resource:Fabio_Spiranelli property:country_of_citizenship ?q }
[]
common name
SYSTEM
NO
(Q23771334,P27,Q142) (Q23771334,P27,Q230)
action is_in
entity prev_answer
action find
entity Q23771334
relation P27
[ANSWER]
['Q23771334', 'P27', 'Q142'] ['Q23771334', 'P27', 'Q230']
ASK WHERE { VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q230 ) } . resource:Q23771334 property:P27 ?q }
No
action is_in
entity prev_answer
action find
entity Fabio Spiranelli
relation country of citizenship
['Fabio Spiranelli', 'country of citizenship', 'France'] ['Fabio Spiranelli', 'country of citizenship', 'Georgia']
ASK WHERE { VALUES ( ?q ) { ( resource:France ) ( resource:Georgia ) } . resource:Fabio_Spiranelli property:country_of_citizenship ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1151735 Q582184
P47
Q20667921
USER
Does Brignais share border with Chaponost ?
(Q1151735,P47,Q582184)
action is_in
entity Q582184
action find
entity Q1151735
relation P47
['Q1151735', 'P47', 'Q582184']
ASK WHERE { resource:Q1151735 property:P47 resource:Q582184 }
Chaponost Brignais
action is_in
entity Brignais
action find
entity Chaponost
relation shares border with
['Chaponost', 'shares border with', 'Brignais']
ASK WHERE { resource:Chaponost property:shares_border_with resource:Brignais }
[]
type of french administrative division
SYSTEM
YES
(Q1151735,P47,Q582184)
action is_in
entity Q582184
action find
entity Q1151735
relation P47
[ANSWER]
['Q1151735', 'P47', 'Q582184']
ASK WHERE { resource:Q1151735 property:P47 resource:Q582184 }
Yes
action is_in
entity Brignais
action find
entity Chaponost
relation shares border with
['Chaponost', 'shares border with', 'Brignais']
ASK WHERE { resource:Chaponost property:shares_border_with resource:Brignais }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1151735
P19
Q502895
USER
Who was born at Chaponost ?
action filter_type
action find_reverse
entity Q1151735
relation P19
type Q502895
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q1151735 . ?o rdf:type ontology:Q502895 }
Chaponost
action filter_type
action find_reverse
entity Chaponost
relation place of birth
type common name
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Chaponost . ?o rdf:type ontology:common_name }
[]
common name
Q16269379
SYSTEM
Jean-Luc Perraud
Q16269379
action filter_type
action find_reverse
entity Q1151735
relation P19
type Q502895
[ANSWER] was born at Chaponost
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q1151735 . ?o rdf:type ontology:Q502895 }
Jean-Luc Perraud
Jean-Luc Perraud was born at Chaponost
Jean-Luc Perraud
action filter_type
action find_reverse
entity Chaponost
relation place of birth
type common name
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Chaponost . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16269379 Q26697125
P106
Q12737077
USER
Is mayor of Mantinos the job of that person ?
(Q16269379,P106,Q26697125)
action is_in
entity Q26697125
action find
entity Q16269379
relation P106
['Q16269379', 'P106', 'Q26697125']
ASK WHERE { resource:Q16269379 property:P106 resource:Q26697125 }
Jean-Luc Perraud mayor of Mantinos
action is_in
entity mayor of Mantinos
action find
entity Jean-Luc Perraud
relation occupation
['Jean-Luc Perraud', 'occupation', 'mayor of Mantinos']
ASK WHERE { resource:Jean-Luc_Perraud property:occupation resource:mayor_of_Mantinos }
[]
occupation
SYSTEM
NO
(Q16269379,P106,Q26697125)
action is_in
entity Q26697125
action find
entity Q16269379
relation P106
[ANSWER]
['Q16269379', 'P106', 'Q26697125']
ASK WHERE { resource:Q16269379 property:P106 resource:Q26697125 }
No
action is_in
entity mayor of Mantinos
action find
entity Jean-Luc Perraud
relation occupation
['Jean-Luc Perraud', 'occupation', 'mayor of Mantinos']
ASK WHERE { resource:Jean-Luc_Perraud property:occupation resource:mayor_of_Mantinos }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16026779 Q142
P27
Q15617994
USER
Does Benoît Fond belong to France ?
(Q16026779,P27,Q142)
action is_in
entity Q142
action find
entity Q16026779
relation P27
['Q16026779', 'P27', 'Q142']
ASK WHERE { resource:Q16026779 property:P27 resource:Q142 }
Benoît Fond France
action is_in
entity France
action find
entity Benoît Fond
relation country of citizenship
['Benoît Fond', 'country of citizenship', 'France']
ASK WHERE { resource:Benoît_Fond property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16026779,P27,Q142)
action is_in
entity Q142
action find
entity Q16026779
relation P27
[ANSWER]
['Q16026779', 'P27', 'Q142']
ASK WHERE { resource:Q16026779 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Benoît Fond
relation country of citizenship
['Benoît Fond', 'country of citizenship', 'France']
ASK WHERE { resource:Benoît_Fond property:country_of_citizenship resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18229570 Q297851 Q414
P1001
Q15617994
USER
Does Member of the Argentine Chamber of Deputies apply to jurisdiction over Peio and Argentina ?
(Q18229570,P1001,Q297851) (Q18229570,P1001,Q414)
action is_in
entity Q18229570
action intersection
action find_reverse
entity Q297851
relation P1001
action find_reverse
entity Q414
relation P1001
['Q18229570', 'P1001', 'Q297851'] ['Q18229570', 'P1001', 'Q414']
ASK WHERE { resource:Q18229570 property:P1001 resource:Q297851 . resource:Q18229570 property:P1001 resource:Q414 }
Member of the Argentine Chamber of Deputies Peio Argentina
action is_in
entity Member of the Argentine Chamber of Deputies
action intersection
action find_reverse
entity Peio
relation applies to jurisdiction
action find_reverse
entity Argentina
relation applies to jurisdiction
['Member of the Argentine Chamber of Deputies', 'applies to jurisdiction', 'Peio'] ['Member of the Argentine Chamber of Deputies', 'applies to jurisdiction', 'Argentina']
ASK WHERE { resource:Member_of_the_Argentine_Chamber_of_Deputies property:applies_to_jurisdiction resource:Peio . resource:Member_of_the_Argentine_Chamber_of_Deputies property:applies_to_jurisdiction resource:Argentina }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18229570,P1001,Q297851) (Q18229570,P1001,Q414)
action is_in
entity Q18229570
action intersection
action find_reverse
entity Q297851
relation P1001
action find_reverse
entity Q414
relation P1001
[ANSWER]
['Q18229570', 'P1001', 'Q297851'] ['Q18229570', 'P1001', 'Q414']
ASK WHERE { resource:Q18229570 property:P1001 resource:Q297851 . resource:Q18229570 property:P1001 resource:Q414 }
NO and YES respectively
action is_in
entity Member of the Argentine Chamber of Deputies
action intersection
action find_reverse
entity Peio
relation applies to jurisdiction
action find_reverse
entity Argentina
relation applies to jurisdiction
['Member of the Argentine Chamber of Deputies', 'applies to jurisdiction', 'Peio'] ['Member of the Argentine Chamber of Deputies', 'applies to jurisdiction', 'Argentina']
ASK WHERE { resource:Member_of_the_Argentine_Chamber_of_Deputies property:applies_to_jurisdiction resource:Peio . resource:Member_of_the_Argentine_Chamber_of_Deputies property:applies_to_jurisdiction resource:Argentina }
[]