Simple Question (Direct)
Simple Question
Q927330
P39
Q12737077
USER
What were the positions for which Alain Chatillon were appointed ?
(Q927330,P39,c(Q12737077))
action filter_type
action find
entity Q927330
relation P39
type Q12737077
['Q927330', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q927330 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Alain Chatillon
action filter_type
action find
entity Alain Chatillon
relation position held
type occupation
['Alain Chatillon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Alain_Chatillon property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q16886136 Q14828018 Q382617
SYSTEM
conseiller régional, member of the Senate of France, maire
Q16886136 Q14828018 Q382617
(Q927330,P39,c(Q12737077))
action filter_type
action find
entity Q927330
relation P39
type Q12737077
Of [ANSWERS]
['Q927330', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q927330 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
conseiller régional member of the Senate of France maire
Of conseiller régional, member of the Senate of France and maire
conseiller régional member of the Senate of France maire
action filter_type
action find
entity Alain Chatillon
relation position held
type occupation
['Alain Chatillon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Alain_Chatillon property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16886136 Q14828018 Q382617
P17
Q15617994
USER
Which administrative territories are those occupations a part of ?
(Q16886136,P17,c(Q15617994)) (Q14828018,P17,c(Q15617994)) (Q382617,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q16886136', 'P17', {'concept': 'Q15617994'}] ['Q14828018', 'P17', {'concept': 'Q15617994'}] ['Q382617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . ?t property:P17 ?s . VALUES ( ?t ) { ( resource:Q16886136 ) ( resource:Q14828018 ) ( resource:Q382617 ) } }
conseiller régional member of the Senate of France maire
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['conseiller régional', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Senate of France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['maire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:country ?s . VALUES ( ?t ) { ( resource:conseiller_régional ) ( resource:member_of_the_Senate_of_France ) ( resource:maire ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q16886136,P17,c(Q15617994)) (Q14828018,P17,c(Q15617994)) (Q382617,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are those occupations a part of
['Q16886136', 'P17', {'concept': 'Q15617994'}] ['Q14828018', 'P17', {'concept': 'Q15617994'}] ['Q382617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . ?t property:P17 ?s . VALUES ( ?t ) { ( resource:Q16886136 ) ( resource:Q14828018 ) ( resource:Q382617 ) } }
France France France
France, France and France are those occupations a part of
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['conseiller régional', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Senate of France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['maire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:country ?s . VALUES ( ?t ) { ( resource:conseiller_régional ) ( resource:member_of_the_Senate_of_France ) ( resource:maire ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q927330
P6
Q20667921
USER
Which french administrative division is Alain Chatillon the head of the goverment of ?
(c(Q20667921),P6,Q927330)
action filter_type
action find_reverse
entity Q927330
relation P6
type Q20667921
[{'concept': 'Q20667921'}, 'P6', 'Q927330']
SELECT DISTINCT ?r WHERE { ?r property:P6 resource:Q927330 . ?r rdf:type ontology:Q20667921 }
Alain Chatillon
action filter_type
action find_reverse
entity Alain Chatillon
relation head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'head of government', 'Alain Chatillon']
SELECT DISTINCT ?r WHERE { ?r property:head_of_government resource:Alain_Chatillon . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q496066
SYSTEM
Revel
Q496066
(c(Q20667921),P6,Q927330)
action filter_type
action find_reverse
entity Q927330
relation P6
type Q20667921
[ANSWER] is Alain Chatillon the head of the goverment of
[{'concept': 'Q20667921'}, 'P6', 'Q927330']
SELECT DISTINCT ?r WHERE { ?r property:P6 resource:Q927330 . ?r rdf:type ontology:Q20667921 }
Revel
Revel is Alain Chatillon the head of the goverment of
Revel
action filter_type
action find_reverse
entity Alain Chatillon
relation head of government
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'head of government', 'Alain Chatillon']
SELECT DISTINCT ?r WHERE { ?r property:head_of_government resource:Alain_Chatillon . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q927330
P102
Q7210356
USER
Which political organization is Alain Chatillon a member of ?
(Q927330,P102,c(Q7210356))
action filter_type
action find
entity Q927330
relation P102
type Q7210356
['Q927330', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q927330 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Alain Chatillon
action filter_type
action find
entity Alain Chatillon
relation member of political party
type political organization
['Alain Chatillon', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Alain_Chatillon property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q1542710
SYSTEM
Radical Party
Q1542710
(Q927330,P102,c(Q7210356))
action filter_type
action find
entity Q927330
relation P102
type Q7210356
The [ANSWER] is Alain Chatillon a member of
['Q927330', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q927330 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Radical Party
The Radical Party is Alain Chatillon a member of
Radical Party
action filter_type
action find
entity Alain Chatillon
relation member of political party
type political organization
['Alain Chatillon', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Alain_Chatillon property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1611057
Q7210356
USER
And how about Hermann Finckh?
(Q1611057,P102,c(Q7210356))
action filter_type
action find
entity Q1611057
relation P102
type Q7210356
['Q1611057', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q1611057 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Hermann Finckh
action filter_type
action find
entity Hermann Finckh
relation member of political party
type political organization
['Hermann Finckh', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Hermann_Finckh property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1611057,P102,c(Q7210356))
action filter_type
action find
entity Q1611057
relation P102
type Q7210356
[ANSWER]
['Q1611057', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q1611057 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Nazi Party
Nazi Party
action filter_type
action find
entity Hermann Finckh
relation member of political party
type political organization
['Hermann Finckh', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Hermann_Finckh property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7320 Q3112931 Q1726
P159
Q56061
USER
Does that political organization have its HQ location at Grabantići and Munich ?
(Q7320,P159,Q3112931) (Q7320,P159,Q1726)
action is_in
entity Q7320
action intersection
action find_reverse
entity Q3112931
relation P159
action find_reverse
entity Q1726
relation P159
['Q7320', 'P159', 'Q3112931'] ['Q7320', 'P159', 'Q1726']
ASK WHERE { resource:Q7320 property:P159 resource:Q3112931 . resource:Q7320 property:P159 resource:Q1726 }
Nazi Party Grabantići Munich
action is_in
entity Nazi Party
action intersection
action find_reverse
entity Grabantići
relation headquarters location
action find_reverse
entity Munich
relation headquarters location
['Nazi Party', 'headquarters location', 'Grabantići'] ['Nazi Party', 'headquarters location', 'Munich']
ASK WHERE { resource:Nazi_Party property:headquarters_location resource:Grabantići . resource:Nazi_Party property:headquarters_location resource:Munich }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q7320,P159,Q3112931) (Q7320,P159,Q1726)
action is_in
entity Q7320
action intersection
action find_reverse
entity Q3112931
relation P159
action find_reverse
entity Q1726
relation P159
[ANSWER]
['Q7320', 'P159', 'Q3112931'] ['Q7320', 'P159', 'Q1726']
ASK WHERE { resource:Q7320 property:P159 resource:Q3112931 . resource:Q7320 property:P159 resource:Q1726 }
NO and YES respectively
action is_in
entity Nazi Party
action intersection
action find_reverse
entity Grabantići
relation headquarters location
action find_reverse
entity Munich
relation headquarters location
['Nazi Party', 'headquarters location', 'Grabantići'] ['Nazi Party', 'headquarters location', 'Munich']
ASK WHERE { resource:Nazi_Party property:headquarters_location resource:Grabantići . resource:Nazi_Party property:headquarters_location resource:Munich }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q510854 Q14828018
P1001 P17
Q15617994
USER
Which administrative territories apply to jurisdiction of member of the Senate of France and do Brussels Cycling Classic belong to ?
AND((Q14828018,P1001,c(Q15617994)), (Q510854,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14828018
relation P1001
action find
entity Q510854
relation P17
type Q15617994
{'AND': [['Q14828018', 'P1001', {'concept': 'Q15617994'}], ['Q510854', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q14828018 property:P1001 ?s . resource:Q510854 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Brussels Cycling Classic member of the Senate of France
action filter_type
action intersection
action find
entity member of the Senate of France
relation applies to jurisdiction
action find
entity Brussels Cycling Classic
relation country
type designation for an administrative territorial entity
{'AND': [['member of the Senate of France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Brussels Cycling Classic', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:member_of_the_Senate_of_France property:applies_to_jurisdiction ?s . resource:Brussels_Cycling_Classic property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q14828018,P1001,c(Q15617994)), (Q510854,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14828018
relation P1001
action find
entity Q510854
relation P17
type Q15617994
[ANSWER] apply to jurisdiction of member of the Senate of [ANSWER] and do Brussels Cycling Classic belong to
{'AND': [['Q14828018', 'P1001', {'concept': 'Q15617994'}], ['Q510854', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q14828018 property:P1001 ?s . resource:Q510854 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France
France apply to jurisdiction of member of the Senate of France and do Brussels Cycling Classic belong to
France
action filter_type
action intersection
action find
entity member of the Senate of France
relation applies to jurisdiction
action find
entity Brussels Cycling Classic
relation country
type designation for an administrative territorial entity
{'AND': [['member of the Senate of France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Brussels Cycling Classic', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:member_of_the_Senate_of_France property:applies_to_jurisdiction ?s . resource:Brussels_Cycling_Classic property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q30
P530
Q15617994
USER
Does United States of America hold diplomatic relationship with that one ?
(Q142,P530,Q30)
action is_in
entity Q30
action find
entity Q142
relation P530
['Q142', 'P530', 'Q30']
ASK WHERE { resource:Q142 property:P530 resource:Q30 }
France United States of America
action is_in
entity United States of America
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:France property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q30)
action is_in
entity Q30
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q30']
ASK WHERE { resource:Q142 property:P530 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:France property:diplomatic_relation resource:United_States_of_America }
[]