Simple Question (Direct)
Simple Question
Q3170631
P106
Q12737077
USER
What is the job of Jean Bastide ?
(Q3170631,P106,c(Q12737077))
action filter_type
action find
entity Q3170631
relation P106
type Q12737077
['Q3170631', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3170631 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Jean Bastide
action filter_type
action find
entity Jean Bastide
relation occupation
type occupation
['Jean Bastide', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jean_Bastide property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3170631,P106,c(Q12737077))
action filter_type
action find
entity Q3170631
relation P106
type Q12737077
The job of Jean Bastide is a [ANSWER]
['Q3170631', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3170631 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The job of Jean Bastide is a politician
politician
action filter_type
action find
entity Jean Bastide
relation occupation
type occupation
['Jean Bastide', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jean_Bastide property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3170631
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3170631
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3170631 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Jean Bastide
action filter_type
action find
entity Jean Bastide
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jean_Bastide property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3170631
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3170631 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
The France is the country of citizenship of that person
France
action filter_type
action find
entity Jean Bastide
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jean_Bastide property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3170631
P102
Q7210356
USER
Which parties do that person belong to ?
(Q142,P102,c(Q7210356))
action filter_type
action find
entity Q3170631
relation P102
type Q7210356
['Q142', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q3170631 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Jean Bastide
action filter_type
action find
entity Jean Bastide
relation member of political party
type political organization
['France', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Jean_Bastide property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q170972 Q1332068 Q862828
SYSTEM
Socialist Party, French Section of the Workers' International, Unified Socialist Party
Q170972 Q1332068 Q862828
(Q142,P102,c(Q7210356))
action filter_type
action find
entity Q3170631
relation P102
type Q7210356
That person belong to [ANSWERS]
['Q142', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q3170631 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Socialist Party French Section of the Workers' International Unified Socialist Party
That person belong to Socialist Party, French Section of the Workers' International and Unified Socialist Party
Socialist Party French Section of the Workers' International Unified Socialist Party
action filter_type
action find
entity Jean Bastide
relation member of political party
type political organization
['France', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Jean_Bastide property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1332068
P463
Q502895
USER
Which people have a membership of that political organization ?
(c(Q502895),P463,Q1332068)
action filter_type
action find_reverse
entity Q1332068
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q1332068']
SELECT DISTINCT ?u WHERE { ?u property:P463 resource:Q1332068 . ?u rdf:type ontology:Q502895 }
French Section of the Workers' International
action filter_type
action find_reverse
entity French Section of the Workers' International
relation member of
type common name
[{'concept': 'common name'}, 'member of', "French Section of the Workers' International"]
SELECT DISTINCT ?u WHERE { ?u property:member_of resource:French_Section_of_the_Workers'_International . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q170972
SYSTEM
Did you mean Socialist Party ?
Q170972 Q1332068 Q862828
(c(Q502895),P463,Q170972) (c(Q502895),P463,Q1332068) (c(Q502895),P463,Q862828)
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q170972'] [{'concept': 'Q502895'}, 'P463', 'Q1332068'] [{'concept': 'Q502895'}, 'P463', 'Q862828']
SELECT DISTINCT ?u WHERE { ?u property:P463 resource:Q1332068 . ?u rdf:type ontology:Q502895 }
Socialist Party French Section of the Workers' International Unified Socialist Party
Did you mean Socialist Party ?
Socialist Party
[{'concept': 'common name'}, 'member of', 'Socialist Party'] [{'concept': 'common name'}, 'member of', "French Section of the Workers' International"] [{'concept': 'common name'}, 'member of', 'Unified Socialist Party']
SELECT DISTINCT ?u WHERE { ?u property:member_of resource:French_Section_of_the_Workers'_International . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant French Section of the Workers' International. Could you tell me the answer for that?
(c(Q502895),P463,Q1332068)
Q1332068
[{'concept': 'Q502895'}, 'P463', 'Q1332068']
[{'concept': 'common name'}, 'member of', "French Section of the Workers' International"]
[]
Q2844641 Q316753 Q20746670
SYSTEM
Amédée Dherbecourt, Daniel Mayer, Michel Bernstein
Q316753 Q19915169 Q2857243 Q18195629 Q2844641 Q20746670
(c(Q502895),P463,Q1332068)
action filter_type
action find_reverse
entity Q1332068
relation P463
type Q502895
[ANSWERS] have a membership of that political organization
[{'concept': 'Q502895'}, 'P463', 'Q1332068']
SELECT DISTINCT ?u WHERE { ?u property:P463 resource:Q1332068 . ?u rdf:type ontology:Q502895 }
Daniel Mayer Léon Osmin Antonio Coen Jules Allanic Amédée Dherbecourt Michel Bernstein
Amédée Dherbecourt, Daniel Mayer and Michel Bernstein have a membership of that political organization
Amédée Dherbecourt Daniel Mayer Michel Bernstein
action filter_type
action find_reverse
entity French Section of the Workers' International
relation member of
type common name
[{'concept': 'common name'}, 'member of', "French Section of the Workers' International"]
SELECT DISTINCT ?u WHERE { ?u property:member_of resource:French_Section_of_the_Workers'_International . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2844641 Q316753 Q20746670
P21
Q290
USER
What are the sex of Amédée Dherbecourt, Daniel Mayer and Michel Bernstein ?
(Q2844641,P21,c(Q290)) (Q316753,P21,c(Q290)) (Q20746670,P21,c(Q290))
action union
action filter_type
action find
entity Q2844641
relation P21
type Q290
action filter_type
action find
entity Q316753
relation P21
type Q290
action filter_type
action find
entity Q20746670
relation P21
type Q290
['Q2844641', 'P21', {'concept': 'Q290'}] ['Q316753', 'P21', {'concept': 'Q290'}] ['Q20746670', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?v property:P21 ?a . VALUES ( ?v ) { ( resource:Q2844641 ) ( resource:Q316753 ) } }
Amédée Dherbecourt Daniel Mayer Michel Bernstein
action union
action filter_type
action find
entity Amédée Dherbecourt
relation gender
type sex
action filter_type
action find
entity Daniel Mayer
relation gender
type sex
action filter_type
action find
entity Michel Bernstein
relation gender
type sex
['Amédée Dherbecourt', 'gender', {'concept': 'sex'}] ['Daniel Mayer', 'gender', {'concept': 'sex'}] ['Michel Bernstein', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?v property:gender ?a . VALUES ( ?v ) { ( resource:Amédée_Dherbecourt ) ( resource:Daniel_Mayer ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q2844641,P21,c(Q290)) (Q316753,P21,c(Q290)) (Q20746670,P21,c(Q290))
action union
action filter_type
action find
entity Q2844641
relation P21
type Q290
action filter_type
action find
entity Q316753
relation P21
type Q290
action filter_type
action find
entity Q20746670
relation P21
type Q290
The sex of Amédée Dherbecourt , Daniel Mayer and Michel Bernstein are the [ANSWER], [ANSWER] and [ANSWER]
['Q2844641', 'P21', {'concept': 'Q290'}] ['Q316753', 'P21', {'concept': 'Q290'}] ['Q20746670', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?v property:P21 ?a . VALUES ( ?v ) { ( resource:Q2844641 ) ( resource:Q316753 ) } }
male male male
The sex of Amédée Dherbecourt , Daniel Mayer and Michel Bernstein are the male, male and male
male male male
action union
action filter_type
action find
entity Amédée Dherbecourt
relation gender
type sex
action filter_type
action find
entity Daniel Mayer
relation gender
type sex
action filter_type
action find
entity Michel Bernstein
relation gender
type sex
['Amédée Dherbecourt', 'gender', {'concept': 'sex'}] ['Daniel Mayer', 'gender', {'concept': 'sex'}] ['Michel Bernstein', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?v property:gender ?a . VALUES ( ?v ) { ( resource:Amédée_Dherbecourt ) ( resource:Daniel_Mayer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q316753
P19
Q56061
USER
Which administrative territory was Daniel Mayer born in ?
(Q316753,P19,c(Q56061))
action filter_type
action find
entity Q316753
relation P19
type Q56061
['Q316753', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q316753 property:P19 ?f }
Daniel Mayer
action filter_type
action find
entity Daniel Mayer
relation place of birth
type administrative territorial entity
['Daniel Mayer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Daniel_Mayer property:place_of_birth ?f }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q316753,P19,c(Q56061))
action filter_type
action find
entity Q316753
relation P19
type Q56061
Daniel Mayer was born [ANSWER]
['Q316753', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q316753 property:P19 ?f }
Paris
Daniel Mayer was born Paris
Paris
action filter_type
action find
entity Daniel Mayer
relation place of birth
type administrative territorial entity
['Daniel Mayer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Daniel_Mayer property:place_of_birth ?f }
[]