Simple Question (Direct)
Simple Question
Q3141994
P39
Q12737077
USER
Which occupations were the positions for which Hubert Dupont-Fauville were appointed ?
(Q3141994,P39,c(Q12737077))
action filter_type
action find
entity Q3141994
relation P39
type Q12737077
['Q3141994', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3141994 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Hubert Dupont-Fauville
action filter_type
action find
entity Hubert Dupont-Fauville
relation position held
type occupation
['Hubert Dupont-Fauville', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Hubert_Dupont-Fauville property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3044918 Q1055894
SYSTEM
member of the French National Assembly, deputy
Q3044918 Q1055894
(Q3141994,P39,c(Q12737077))
action filter_type
action find
entity Q3141994
relation P39
type Q12737077
[ANSWERS]
['Q3141994', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3141994 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the French National Assembly deputy
Member of the French National Assembly and deputy were the positions for which Hubert Dupont-Fauville were appointed
member of the French National Assembly deputy
action filter_type
action find
entity Hubert Dupont-Fauville
relation position held
type occupation
['Hubert Dupont-Fauville', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Hubert_Dupont-Fauville property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3141994
P102
Q7210356
USER
Which party does that person belong to ?
(Q3044918,P102,c(Q7210356)) (Q1055894,P102,c(Q7210356))
action filter_type
action find
entity Q3141994
relation P102
type Q7210356
['Q3044918', 'P102', {'concept': 'Q7210356'}] ['Q1055894', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q3141994 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Hubert Dupont-Fauville
action filter_type
action find
entity Hubert Dupont-Fauville
relation member of political party
type political organization
['member of the French\xa0National Assembly', 'member of political party', {'concept': 'political organization'}] ['deputy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Hubert_Dupont-Fauville property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q1904825
SYSTEM
Union of Democrats for the Republic
Q1904825
(Q3044918,P102,c(Q7210356)) (Q1055894,P102,c(Q7210356))
action filter_type
action find
entity Q3141994
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q3044918', 'P102', {'concept': 'Q7210356'}] ['Q1055894', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q3141994 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Union of Democrats for the Republic
That person belongs to Union of Democrats for the Republic
Union of Democrats for the Republic
action filter_type
action find
entity Hubert Dupont-Fauville
relation member of political party
type political organization
['member of the French\xa0National Assembly', 'member of political party', {'concept': 'political organization'}] ['deputy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Hubert_Dupont-Fauville property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1904825 Q8317977
P102
Q502895
USER
Does Alexandre Bolo belong to the political party that one ?
(Q8317977,P102,Q1904825)
action is_in
entity Q1904825
action find
entity Q8317977
relation P102
['Q8317977', 'P102', 'Q1904825']
ASK WHERE { resource:Q8317977 property:P102 resource:Q1904825 }
Union of Democrats for the Republic Alexandre Bolo
action is_in
entity Union of Democrats for the Republic
action find
entity Alexandre Bolo
relation member of political party
['Alexandre Bolo', 'member of political party', 'Union of Democrats for the Republic']
ASK WHERE { resource:Alexandre_Bolo property:member_of_political_party resource:Union_of_Democrats_for_the_Republic }
[]
common name
SYSTEM
YES
(Q8317977,P102,Q1904825)
action is_in
entity Q1904825
action find
entity Q8317977
relation P102
[ANSWER]
['Q8317977', 'P102', 'Q1904825']
ASK WHERE { resource:Q8317977 property:P102 resource:Q1904825 }
Yes
action is_in
entity Union of Democrats for the Republic
action find
entity Alexandre Bolo
relation member of political party
['Alexandre Bolo', 'member of political party', 'Union of Democrats for the Republic']
ASK WHERE { resource:Alexandre_Bolo property:member_of_political_party resource:Union_of_Democrats_for_the_Republic }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3745918 Q1904825
P488 P161
Q502895
USER
Which people were the chairpersons of Union of Democrats for the Republic or starred in Fiorina la vacca ?
OR((Q1904825,P488,c(Q502895)), (Q3745918,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1904825
relation P488
action find
entity Q3745918
relation P161
type Q502895
{'OR': [['Q1904825', 'P488', {'concept': 'Q502895'}], ['Q3745918', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1904825 property:P488 ?w } UNION { resource:Q3745918 property:P161 ?w } } . ?w rdf:type ontology:Q502895 }
Fiorina la vacca Union of Democrats for the Republic
action filter_type
action union
action find
entity Union of Democrats for the Republic
relation chairperson
action find
entity Fiorina la vacca
relation cast member
type common name
{'OR': [['Union of Democrats for the Republic', 'chairperson', {'concept': 'common name'}], ['Fiorina la vacca', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Union_of_Democrats_for_the_Republic property:chairperson ?w } UNION { resource:Fiorina_la_vacca property:cast_member ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q1061848 Q696055 Q2042 Q3903384 Q2105051 Q3776077 Q979652 Q166562 Q3763552 Q463732
SYSTEM
Some of them are Jenny Tamburi, Gastone Moschin, Charles de Gaulle, Piero Vida, Ewa Aulin, Graziella Galvani, Felice Andreasi, Ornella Muti, Gianni Macchia, Mario Carotenuto
Q696055 Q3763552 Q3903384 Q3776077 Q1061848 Q3933034 Q3939918 Q2042 Q156769 Q2105051 Q979652 Q166562 Q463732 Q458026
OR((Q1904825,P488,c(Q502895)), (Q3745918,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1904825
relation P488
action find
entity Q3745918
relation P161
type Q502895
[ANSWERS] were the chairpersons of Union of Democrats for the Republic or starred in Fiorina la vacca
{'OR': [['Q1904825', 'P488', {'concept': 'Q502895'}], ['Q3745918', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1904825 property:P488 ?w } UNION { resource:Q3745918 property:P161 ?w } } . ?w rdf:type ontology:Q502895 }
Gastone Moschin Gianni Macchia Piero Vida Graziella Galvani Jenny Tamburi Renzo Marignano Rodolfo Baldini Charles de Gaulle Renzo Montagnani Ewa Aulin Felice Andreasi Ornella Muti Mario Carotenuto Janet Ågren
Jenny Tamburi, Gastone Moschin, Charles de Gaulle, Piero Vida, Ewa Aulin, Graziella Galvani, Felice Andreasi, Ornella Muti, Gianni Macchia and Mario Carotenuto were the chairpersons of Union of Democrats for the Republic or starred in Fiorina la vacca
Jenny Tamburi Gastone Moschin Charles de Gaulle Piero Vida Ewa Aulin Graziella Galvani Felice Andreasi Ornella Muti Gianni Macchia Mario Carotenuto
action filter_type
action union
action find
entity Union of Democrats for the Republic
relation chairperson
action find
entity Fiorina la vacca
relation cast member
type common name
{'OR': [['Union of Democrats for the Republic', 'chairperson', {'concept': 'common name'}], ['Fiorina la vacca', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Union_of_Democrats_for_the_Republic property:chairperson ?w } UNION { resource:Fiorina_la_vacca property:cast_member ?w } } . ?w rdf:type ontology:common_name }
[]