Simple Question (Direct)
Simple Question
Q17619499
P106
Q12737077
USER
What is the profession of Myriam El Khomri ?
(Q17619499,P106,c(Q12737077))
action filter_type
action find
entity Q17619499
relation P106
type Q12737077
['Q17619499', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q17619499 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Myriam El Khomri
action filter_type
action find
entity Myriam El Khomri
relation occupation
type occupation
['Myriam El Khomri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Myriam_El_Khomri property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q17619499,P106,c(Q12737077))
action filter_type
action find
entity Q17619499
relation P106
type Q12737077
The profession of Myriam El Khomri is a [ANSWER]
['Q17619499', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q17619499 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
The profession of Myriam El Khomri is a politician
politician
action filter_type
action find
entity Myriam El Khomri
relation occupation
type occupation
['Myriam El Khomri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Myriam_El_Khomri property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17619499
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q17619499
relation P102
type Q7210356
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q17619499 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Myriam El Khomri
action filter_type
action find
entity Myriam El Khomri
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Myriam_El_Khomri property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q17619499
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q17619499 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Socialist Party
The Socialist Party is that person a member of
Socialist Party
action filter_type
action find
entity Myriam El Khomri
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Myriam_El_Khomri property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q170972 Q142
P17
Q15617994
USER
Does that political organization belong to France ?
(Q170972,P17,Q142)
action is_in
entity Q142
action find
entity Q170972
relation P17
['Q170972', 'P17', 'Q142']
ASK WHERE { resource:Q170972 property:P17 resource:Q142 }
Socialist Party France
action is_in
entity France
action find
entity Socialist Party
relation country
['Socialist Party', 'country', 'France']
ASK WHERE { resource:Socialist_Party property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q170972,P17,Q142)
action is_in
entity Q142
action find
entity Q170972
relation P17
[ANSWER]
['Q170972', 'P17', 'Q142']
ASK WHERE { resource:Q170972 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Socialist Party
relation country
['Socialist Party', 'country', 'France']
ASK WHERE { resource:Socialist_Party property:country resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17619499 Q142
P27
Q15617994
USER
Is Myriam El Khomri an inhabitant of France ?
(Q17619499,P27,Q142)
action is_in
entity Q142
action find
entity Q17619499
relation P27
['Q17619499', 'P27', 'Q142']
ASK WHERE { resource:Q17619499 property:P27 resource:Q142 }
Myriam El Khomri France
action is_in
entity France
action find
entity Myriam El Khomri
relation country of citizenship
['Myriam El Khomri', 'country of citizenship', 'France']
ASK WHERE { resource:Myriam_El_Khomri property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17619499,P27,Q142)
action is_in
entity Q142
action find
entity Q17619499
relation P27
[ANSWER]
['Q17619499', 'P27', 'Q142']
ASK WHERE { resource:Q17619499 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Myriam El Khomri
relation country of citizenship
['Myriam El Khomri', 'country of citizenship', 'France']
ASK WHERE { resource:Myriam_El_Khomri property:country_of_citizenship resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q170972 Q2038
P112
Q502895
USER
Socialist Party ?
(Q170972,P112,Q2038)
action is_in
entity Q2038
action find
entity Q170972
relation P112
['Q170972', 'P112', 'Q2038']
ASK WHERE { resource:Q170972 property:P112 resource:Q2038 }
Socialist Party François Mitterrand
action is_in
entity François Mitterrand
action find
entity Socialist Party
relation founder
['Socialist Party', 'founder', 'François Mitterrand']
ASK WHERE { resource:Socialist_Party property:founder resource:François_Mitterrand }
[]
common name
SYSTEM
YES
(Q170972,P112,Q2038)
action is_in
entity Q2038
action find
entity Q170972
relation P112
[ANSWER]
['Q170972', 'P112', 'Q2038']
ASK WHERE { resource:Q170972 property:P112 resource:Q2038 }
Yes
action is_in
entity François Mitterrand
action find
entity Socialist Party
relation founder
['Socialist Party', 'founder', 'François Mitterrand']
ASK WHERE { resource:Socialist_Party property:founder resource:François_Mitterrand }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170972
P463
Q502895
USER
Which people have a membership of that political organization ?
action filter_type
action find_reverse
entity Q170972
relation P463
type Q502895
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q170972 . ?f rdf:type ontology:Q502895 }
Socialist Party
action filter_type
action find_reverse
entity Socialist Party
relation member of
type common name
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:Socialist_Party . ?f rdf:type ontology:common_name }
[]
common name
Q3174079 Q16266321 Q3301434
SYSTEM
Jean Poperen, Christophe Premat, Maurice Séveno
Q15963771 Q3301434 Q16266321 Q3174079
action filter_type
action find_reverse
entity Q170972
relation P463
type Q502895
[ANSWERS] have a membership of that political organization
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q170972 . ?f rdf:type ontology:Q502895 }
Karine Gloanec Maurin Maurice Séveno Christophe Premat Jean Poperen
Jean Poperen, Christophe Premat and Maurice Séveno have a membership of that political organization
Jean Poperen Christophe Premat Maurice Séveno
action filter_type
action find_reverse
entity Socialist Party
relation member of
type common name
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:Socialist_Party . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q661488 Q170972
P495 P17
Q15617994
USER
Which administrative territories do Socialist Party belong to and are the countries of origin of Sex Quartet ?
AND((Q170972,P17,c(Q15617994)), (Q661488,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q170972
relation P17
action find
entity Q661488
relation P495
type Q15617994
{'AND': [['Q170972', 'P17', {'concept': 'Q15617994'}], ['Q661488', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q170972 property:P17 ?e . resource:Q661488 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
Sex Quartet Socialist Party
action filter_type
action intersection
action find
entity Socialist Party
relation country
action find
entity Sex Quartet
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sex Quartet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Socialist_Party property:country ?e . resource:Sex_Quartet property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q170972,P17,c(Q15617994)), (Q661488,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q170972
relation P17
action find
entity Q661488
relation P495
type Q15617994
[ANSWER] Socialist Party belong to and are the countries of origin of Sex Quartet
{'AND': [['Q170972', 'P17', {'concept': 'Q15617994'}], ['Q661488', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q170972 property:P17 ?e . resource:Q661488 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
France
France Socialist Party belong to and are the countries of origin of Sex Quartet
France
action filter_type
action intersection
action find
entity Socialist Party
relation country
action find
entity Sex Quartet
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sex Quartet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Socialist_Party property:country ?e . resource:Sex_Quartet property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P1444
Q2472587
USER
Which people ends at that administrative territory ?
(c(Q2472587),P1444,Q142)
action filter_type
action find_reverse
entity Q142
relation P1444
type Q2472587
[{'concept': 'Q2472587'}, 'P1444', 'Q142']
SELECT DISTINCT ?u WHERE { ?u property:P1444 resource:Q142 . ?u rdf:type ontology:Q2472587 }
France
action filter_type
action find_reverse
entity France
relation destination point
type people
[{'concept': 'people'}, 'destination point', 'France']
SELECT DISTINCT ?u WHERE { ?u property:destination_point resource:France . ?u rdf:type ontology:people }
[]
people
Q5548127
SYSTEM
Georgians in France
Q5548127
(c(Q2472587),P1444,Q142)
action filter_type
action find_reverse
entity Q142
relation P1444
type Q2472587
[ANSWER] ends at that administrative territory
[{'concept': 'Q2472587'}, 'P1444', 'Q142']
SELECT DISTINCT ?u WHERE { ?u property:P1444 resource:Q142 . ?u rdf:type ontology:Q2472587 }
Georgians in France
Georgians in France ends at that administrative territory
Georgians in France
action filter_type
action find_reverse
entity France
relation destination point
type people
[{'concept': 'people'}, 'destination point', 'France']
SELECT DISTINCT ?u WHERE { ?u property:destination_point resource:France . ?u rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2547466 Q17619499
P19 P20
Q56061
USER
Which administrative territories were Myriam El Khomri born at or did Walther Sontheimer expire ?
OR((Q17619499,P19,c(Q56061)), (Q2547466,P20,c(Q56061)))
action filter_type
action union
action find
entity Q17619499
relation P19
action find
entity Q2547466
relation P20
type Q56061
{'OR': [['Q17619499', 'P19', {'concept': 'Q56061'}], ['Q2547466', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q17619499 property:P19 ?c } UNION { resource:Q2547466 property:P20 ?c } } . ?c rdf:type ontology:Q56061 }
Walther Sontheimer Myriam El Khomri
action filter_type
action union
action find
entity Myriam El Khomri
relation place of birth
action find
entity Walther Sontheimer
relation place of death
type administrative territorial entity
{'OR': [['Myriam El Khomri', 'place of birth', {'concept': 'administrative territorial entity'}], ['Walther Sontheimer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Myriam_El_Khomri property:place_of_birth ?c } UNION { resource:Walther_Sontheimer property:place_of_death ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3551 Q1022
SYSTEM
Rabat, Stuttgart
Q3551 Q1022
OR((Q17619499,P19,c(Q56061)), (Q2547466,P20,c(Q56061)))
action filter_type
action union
action find
entity Q17619499
relation P19
action find
entity Q2547466
relation P20
type Q56061
Myriam El Khomri were born at expire in [ANSWERS]
{'OR': [['Q17619499', 'P19', {'concept': 'Q56061'}], ['Q2547466', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q17619499 property:P19 ?c } UNION { resource:Q2547466 property:P20 ?c } } . ?c rdf:type ontology:Q56061 }
Rabat Stuttgart
Myriam El Khomri were born at expire in Rabat and Stuttgart
Rabat Stuttgart
action filter_type
action union
action find
entity Myriam El Khomri
relation place of birth
action find
entity Walther Sontheimer
relation place of death
type administrative territorial entity
{'OR': [['Myriam El Khomri', 'place of birth', {'concept': 'administrative territorial entity'}], ['Walther Sontheimer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Myriam_El_Khomri property:place_of_birth ?c } UNION { resource:Walther_Sontheimer property:place_of_death ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16266321
P39
Q12737077
USER
Which occupation was a position occupied by Christophe Premat ?
(Q16266321,P39,c(Q12737077))
action filter_type
action find
entity Q16266321
relation P39
type Q12737077
['Q16266321', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16266321 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Christophe Premat
action filter_type
action find
entity Christophe Premat
relation position held
type occupation
['Christophe Premat', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Christophe_Premat property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16266321,P39,c(Q12737077))
action filter_type
action find
entity Q16266321
relation P39
type Q12737077
The member of the French National Assembly was a position occupied by Christophe Premat
['Q16266321', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16266321 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the French National Assembly
The member of the French National Assembly was a position occupied by Christophe Premat
member of the French National Assembly
action filter_type
action find
entity Christophe Premat
relation position held
type occupation
['Christophe Premat', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Christophe_Premat property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2896080
Q12737077
USER
And also tell me about Benjamin Franklin Smith?
(Q2896080,P39,c(Q12737077))
action filter_type
action find
entity Q2896080
relation P39
type Q12737077
['Q2896080', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q2896080 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Benjamin Franklin Smith
action filter_type
action find
entity Benjamin Franklin Smith
relation position held
type occupation
['Benjamin Franklin Smith', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Benjamin_Franklin_Smith property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q15964890 Q18524027
SYSTEM
member of the House of Commons of Canada, Member of the Senate of Canada
Q15964890 Q18524027
(Q2896080,P39,c(Q12737077))
action filter_type
action find
entity Q2896080
relation P39
type Q12737077
[ANSWERS]
['Q2896080', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q2896080 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
member of the House of Commons of Canada Member of the Senate of Canada
member of the House of Commons of Canada Member of the Senate of Canada
action filter_type
action find
entity Benjamin Franklin Smith
relation position held
type occupation
['Benjamin Franklin Smith', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Benjamin_Franklin_Smith property:position_held ?s . ?s rdf:type ontology:occupation }
[]