Simple Question (Direct)
Simple Question
Q18744815
P102
Q7210356
USER
Which party is André Lebrun affiliated with ?
(Q18744815,P102,c(Q7210356))
action filter_type
action find
entity Q18744815
relation P102
type Q7210356
['Q18744815', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q18744815 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
André Lebrun
action filter_type
action find
entity André Lebrun
relation member of political party
type political organization
['André Lebrun', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:André_Lebrun property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q18744815,P102,c(Q7210356))
action filter_type
action find
entity Q18744815
relation P102
type Q7210356
André Lebrun is affiliated with [ANSWER]
['Q18744815', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q18744815 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Socialist Party
André Lebrun is affiliated with Socialist Party
Socialist Party
action filter_type
action find
entity André Lebrun
relation member of political party
type political organization
['André Lebrun', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:André_Lebrun property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18744815
P734
Q82799
USER
Which name is associated with that person ?
(Q170972,P734,c(Q82799))
action filter_type
action find
entity Q18744815
relation P734
type Q82799
['Q170972', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82799 . resource:Q18744815 property:P734 ?x }
André Lebrun
action filter_type
action find
entity André Lebrun
relation family name
type name
['Socialist Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:name . resource:André_Lebrun property:family_name ?x }
[]
name
Q21492451
SYSTEM
Lebrun
Q21492451
(Q170972,P734,c(Q82799))
action filter_type
action find
entity Q18744815
relation P734
type Q82799
[ANSWER] is associated with that person
['Q170972', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82799 . resource:Q18744815 property:P734 ?x }
Lebrun
Lebrun is associated with that person
Lebrun
action filter_type
action find
entity André Lebrun
relation family name
type name
['Socialist Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:name . resource:André_Lebrun property:family_name ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18744815
P106
Q12737077
USER
Which occupation has André Lebrun as his/her 's career ?
(Q18744815,P106,c(Q12737077))
action filter_type
action find
entity Q18744815
relation P106
type Q12737077
['Q18744815', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q18744815 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
André Lebrun
action filter_type
action find
entity André Lebrun
relation occupation
type occupation
['André Lebrun', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:André_Lebrun property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q18744815,P106,c(Q12737077))
action filter_type
action find
entity Q18744815
relation P106
type Q12737077
The [ANSWER] has André Lebrun as his/her 's career
['Q18744815', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q18744815 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The politician has André Lebrun as his/her 's career
politician
action filter_type
action find
entity André Lebrun
relation occupation
type occupation
['André Lebrun', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:André_Lebrun property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7560427
Q12737077
USER
And also tell me about Somjibhai Damor?
(Q7560427,P106,c(Q12737077))
action filter_type
action find
entity Q7560427
relation P106
type Q12737077
['Q7560427', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7560427 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Somjibhai Damor
action filter_type
action find
entity Somjibhai Damor
relation occupation
type occupation
['Somjibhai Damor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Somjibhai_Damor property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7560427,P106,c(Q12737077))
action filter_type
action find
entity Q7560427
relation P106
type Q12737077
[ANSWER]
['Q7560427', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7560427 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Somjibhai Damor
relation occupation
type occupation
['Somjibhai Damor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Somjibhai_Damor property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7560427
P39
Q12737077
USER
What was the position held by that person ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q7560427
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7560427 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Somjibhai Damor
action filter_type
action find
entity Somjibhai Damor
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Somjibhai_Damor property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q16556694
SYSTEM
member of the Lok Sabha
Q16556694
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q7560427
relation P39
type Q12737077
The position held by that person was elected [ANSWER]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7560427 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the Lok Sabha
The position held by that person was elected member of the Lok Sabha
member of the Lok Sabha
action filter_type
action find
entity Somjibhai Damor
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Somjibhai_Damor property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16556694 Q668
P1001
Q15617994
USER
Does India come under the jurisdiction of member of the Lok Sabha ?
(Q16556694,P1001,Q668)
action is_in
entity Q668
action find
entity Q16556694
relation P1001
['Q16556694', 'P1001', 'Q668']
ASK WHERE { resource:Q16556694 property:P1001 resource:Q668 }
member of the Lok Sabha India
action is_in
entity India
action find
entity member of the Lok Sabha
relation applies to jurisdiction
['member of the Lok Sabha', 'applies to jurisdiction', 'India']
ASK WHERE { resource:member_of_the_Lok_Sabha property:applies_to_jurisdiction resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16556694,P1001,Q668)
action is_in
entity Q668
action find
entity Q16556694
relation P1001
[ANSWER]
['Q16556694', 'P1001', 'Q668']
ASK WHERE { resource:Q16556694 property:P1001 resource:Q668 }
Yes
action is_in
entity India
action find
entity member of the Lok Sabha
relation applies to jurisdiction
['member of the Lok Sabha', 'applies to jurisdiction', 'India']
ASK WHERE { resource:member_of_the_Lok_Sabha property:applies_to_jurisdiction resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q170972 Q5257183
P112
Q502895
USER
Is Denis Crossan the name of the founder of Socialist Party ?
(Q170972,P112,Q5257183)
action is_in
entity Q5257183
action find
entity Q170972
relation P112
['Q170972', 'P112', 'Q5257183']
ASK WHERE { resource:Q170972 property:P112 resource:Q5257183 }
Socialist Party Denis Crossan
action is_in
entity Denis Crossan
action find
entity Socialist Party
relation founder
['Socialist Party', 'founder', 'Denis Crossan']
ASK WHERE { resource:Socialist_Party property:founder resource:Denis_Crossan }
[]
common name
SYSTEM
NO
(Q170972,P112,Q5257183)
action is_in
entity Q5257183
action find
entity Q170972
relation P112
[ANSWER]
['Q170972', 'P112', 'Q5257183']
ASK WHERE { resource:Q170972 property:P112 resource:Q5257183 }
No
action is_in
entity Denis Crossan
action find
entity Socialist Party
relation founder
['Socialist Party', 'founder', 'Denis Crossan']
ASK WHERE { resource:Socialist_Party property:founder resource:Denis_Crossan }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18744815 Q4683151
P21
Q290
USER
How many sexes do André Lebrun or Adjassou-Linguetor have ?
(Q18744815,P21,c(Q290)) (Q4683151,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q18744815
relation P21
type Q290
action filter_type
action find
entity Q4683151
relation P21
type Q290
['Q18744815', 'P21', {'concept': 'Q290'}] ['Q4683151', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?a ) { ( resource:Q18744815 ) ( resource:Q4683151 ) } . ?a property:P21 ?z }
André Lebrun Adjassou-Linguetor
action count
action union
action filter_type
action find
entity André Lebrun
relation gender
type sex
action filter_type
action find
entity Adjassou-Linguetor
relation gender
type sex
['André Lebrun', 'gender', {'concept': 'sex'}] ['Adjassou-Linguetor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?a ) { ( resource:André_Lebrun ) ( resource:Adjassou-Linguetor ) } . ?a property:gender ?z }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q18744815,P21,c(Q290)) (Q4683151,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q18744815
relation P21
type Q290
action filter_type
action find
entity Q4683151
relation P21
type Q290
[ANSWER]
['Q18744815', 'P21', {'concept': 'Q290'}] ['Q4683151', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?a ) { ( resource:Q18744815 ) ( resource:Q4683151 ) } . ?a property:P21 ?z }
male female
2
action count
action union
action filter_type
action find
entity André Lebrun
relation gender
type sex
action filter_type
action find
entity Adjassou-Linguetor
relation gender
type sex
['André Lebrun', 'gender', {'concept': 'sex'}] ['Adjassou-Linguetor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?a ) { ( resource:André_Lebrun ) ( resource:Adjassou-Linguetor ) } . ?a property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170972
P488
Q502895
USER
Who was the chair of Socialist Party ?
(Q170972,P488,c(Q502895))
action filter_type
action find
entity Q170972
relation P488
type Q502895
['Q170972', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q170972 property:P488 ?t . ?t rdf:type ontology:Q502895 }
Socialist Party
action filter_type
action find
entity Socialist Party
relation chairperson
type common name
['Socialist Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Socialist_Party property:chairperson ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1684726
SYSTEM
Jean-Christophe Cambadélis
Q1684726
(Q170972,P488,c(Q502895))
action filter_type
action find
entity Q170972
relation P488
type Q502895
The chair of Socialist Party was elected [ANSWER]
['Q170972', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q170972 property:P488 ?t . ?t rdf:type ontology:Q502895 }
Jean-Christophe Cambadélis
The chair of Socialist Party was elected Jean-Christophe Cambadélis
Jean-Christophe Cambadélis
action filter_type
action find
entity Socialist Party
relation chairperson
type common name
['Socialist Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Socialist_Party property:chairperson ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1684726 Q1388903 Q1003284
P19
Q20667921
USER
Was that person born at Saint-André-la-Côte and Brectouville ?
(Q1684726,P19,Q1388903) (Q1684726,P19,Q1003284)
action is_in
entity Q1684726
action intersection
action find_reverse
entity Q1388903
relation P19
action find_reverse
entity Q1003284
relation P19
['Q1684726', 'P19', 'Q1388903'] ['Q1684726', 'P19', 'Q1003284']
ASK WHERE { resource:Q1684726 property:P19 resource:Q1388903 . resource:Q1684726 property:P19 resource:Q1003284 }
Jean-Christophe Cambadélis Saint-André-la-Côte Brectouville
action is_in
entity Jean-Christophe Cambadélis
action intersection
action find_reverse
entity Saint-André-la-Côte
relation place of birth
action find_reverse
entity Brectouville
relation place of birth
['Jean-Christophe Cambadélis', 'place of birth', 'Saint-André-la-Côte'] ['Jean-Christophe Cambadélis', 'place of birth', 'Brectouville']
ASK WHERE { resource:Jean-Christophe_Cambadélis property:place_of_birth resource:Saint-André-la-Côte . resource:Jean-Christophe_Cambadélis property:place_of_birth resource:Brectouville }
[]
type of french administrative division
SYSTEM
NO
(Q1684726,P19,Q1388903) (Q1684726,P19,Q1003284)
action is_in
entity Q1684726
action intersection
action find_reverse
entity Q1388903
relation P19
action find_reverse
entity Q1003284
relation P19
[ANSWER]
['Q1684726', 'P19', 'Q1388903'] ['Q1684726', 'P19', 'Q1003284']
ASK WHERE { resource:Q1684726 property:P19 resource:Q1388903 . resource:Q1684726 property:P19 resource:Q1003284 }
No
action is_in
entity Jean-Christophe Cambadélis
action intersection
action find_reverse
entity Saint-André-la-Côte
relation place of birth
action find_reverse
entity Brectouville
relation place of birth
['Jean-Christophe Cambadélis', 'place of birth', 'Saint-André-la-Côte'] ['Jean-Christophe Cambadélis', 'place of birth', 'Brectouville']
ASK WHERE { resource:Jean-Christophe_Cambadélis property:place_of_birth resource:Saint-André-la-Côte . resource:Jean-Christophe_Cambadélis property:place_of_birth resource:Brectouville }
[]