Simple Question (Direct)
Simple Question
Q2861326
P39
Q12737077
USER
Which occupations were a position held by Ariste Hémard ?
(Q2861326,P39,c(Q12737077))
action filter_type
action find
entity Q2861326
relation P39
type Q12737077
['Q2861326', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2861326 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Ariste Hémard
action filter_type
action find
entity Ariste Hémard
relation position held
type occupation
['Ariste Hémard', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ariste_Hémard property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3780304 Q382617 Q3044918
SYSTEM
Member of the General Council, maire, member of the French National Assembly
Q3780304 Q382617 Q3044918
(Q2861326,P39,c(Q12737077))
action filter_type
action find
entity Q2861326
relation P39
type Q12737077
[ANSWERS]
['Q2861326', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2861326 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of the General Council maire member of the French National Assembly
Member of the General Council, maire and member of the French National Assembly were a position held by Ariste Hémard
Member of the General Council maire member of the French National Assembly
action filter_type
action find
entity Ariste Hémard
relation position held
type occupation
['Ariste Hémard', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ariste_Hémard property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3780304 Q382617 Q3044918
P106
Q502895
USER
Which people have career as Member of the General Council, maire and member of the French National Assembly ?
(c(Q502895),P106,Q3780304) (c(Q502895),P106,Q382617) (c(Q502895),P106,Q3044918)
action union
action filter_type
action find_reverse
entity Q3780304
relation P106
type Q502895
action filter_type
action find_reverse
entity Q382617
relation P106
type Q502895
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3780304'] [{'concept': 'Q502895'}, 'P106', 'Q382617'] [{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?m WHERE { { ?m property:P106 resource:Q3780304 . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q382617 } }
Member of the General Council maire member of the French National Assembly
action union
action filter_type
action find_reverse
entity Member of the General Council
relation occupation
type common name
action filter_type
action find_reverse
entity maire
relation occupation
type common name
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of the General Council'] [{'concept': 'common name'}, 'occupation', 'maire'] [{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?m WHERE { { ?m property:occupation resource:Member_of_the_General_Council . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . ?m property:occupation resource:maire } }
[]
common name
Q3383859 Q3383859 Q16011375
SYSTEM
Jules Hunebelle for 3rd, Pierre Barbier for 1st, 2nd
Q24040723 Q21999307 Q18708455 Q3383859 Q23636058 Q20956093 Q24625745 Q26723529 Q20747968 Q20748069 Q22338515 Q16011375 Q3383859 Q3085896
(c(Q502895),P106,Q3780304) (c(Q502895),P106,Q382617) (c(Q502895),P106,Q3044918)
action union
action filter_type
action find_reverse
entity Q3780304
relation P106
type Q502895
action filter_type
action find_reverse
entity Q382617
relation P106
type Q502895
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P106', 'Q3780304'] [{'concept': 'Q502895'}, 'P106', 'Q382617'] [{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?m WHERE { { ?m property:P106 resource:Q3780304 . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q382617 } }
Jules Coste Ferdinand Le Menuet Marc Hervé Pierre Barbier Louis-Alexis-Arsène Valette des Hermaux Maurice Ancel François de Montherot Louis Mallet Guy Bergerault Jean-Pierre Duprat Charles Devos Jules Hunebelle Pierre Barbier François Thibault de Ménonville
Pierre Barbier, Pierre Barbier and Jules Hunebelle have career as Member of the General Council, maire and member of the French National Assembly
Pierre Barbier Pierre Barbier Jules Hunebelle
action union
action filter_type
action find_reverse
entity Member of the General Council
relation occupation
type common name
action filter_type
action find_reverse
entity maire
relation occupation
type common name
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of the General Council'] [{'concept': 'common name'}, 'occupation', 'maire'] [{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?m WHERE { { ?m property:occupation resource:Member_of_the_General_Council . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . ?m property:occupation resource:maire } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3383859
P166
Q618779
USER
What was won by that person ?
(Q3383859,P166,c(Q618779))
action filter_type
action find
entity Q3383859
relation P166
type Q618779
['Q3383859', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3383859 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Pierre Barbier
action filter_type
action find
entity Pierre Barbier
relation award received
type award
['Pierre Barbier', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Barbier property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q16011375
SYSTEM
Did you mean Jules Hunebelle ?
Q3383859 Q3383859 Q16011375
(Q3383859,P166,c(Q618779)) (Q3383859,P166,c(Q618779)) (Q16011375,P166,c(Q618779))
[ANSWER]
['Q3383859', 'P166', {'concept': 'Q618779'}] ['Q3383859', 'P166', {'concept': 'Q618779'}] ['Q16011375', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3383859 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Pierre Barbier Pierre Barbier Jules Hunebelle
Did you mean Jules Hunebelle ?
Jules Hunebelle
['Pierre Barbier', 'award received', {'concept': 'award'}] ['Pierre Barbier', 'award received', {'concept': 'award'}] ['Jules Hunebelle', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Barbier property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
No, I meant Pierre Barbier. Could you tell me the answer for that?
(Q3383859,P166,c(Q618779))
Q3383859
['Q3383859', 'P166', {'concept': 'Q618779'}]
['Pierre Barbier', 'award received', {'concept': 'award'}]
[]
Q2547676
SYSTEM
Croix de guerre 1939–1945
Q2547676
(Q3383859,P166,c(Q618779))
action filter_type
action find
entity Q3383859
relation P166
type Q618779
France [ANSWER] was won by that person
['Q3383859', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3383859 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Croix de guerre 1939–1945
France Croix de guerre 1939–1945 was won by that person
Croix de guerre 1939–1945
action filter_type
action find
entity Pierre Barbier
relation award received
type award
['Pierre Barbier', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Barbier property:award_received ?s . ?s rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q27169 Q3780304
P39
Q502895
USER
Which people held the position of Member of the General Council and member of the European Parliament ?
AND((c(Q502895),P39,Q3780304), (c(Q502895),P39,Q27169))
action filter_type
action intersection
action find_reverse
entity Q3780304
relation P39
action find_reverse
entity Q27169
relation P39
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q3780304'], [{'concept': 'Q502895'}, 'P39', 'Q27169']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P39 resource:Q3780304 . ?q property:P39 resource:Q27169 }
member of the European Parliament Member of the General Council
action filter_type
action intersection
action find_reverse
entity Member of the General Council
relation position held
action find_reverse
entity member of the European Parliament
relation position held
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Member of the General Council'], [{'concept': 'common name'}, 'position held', 'member of the European Parliament']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:position_held resource:Member_of_the_General_Council . ?q property:position_held resource:member_of_the_European_Parliament }
[]
common name
Q725609 Q895873 Q274652 Q2850772 Q2850857 Q436173 Q328504 Q935962 Q440151 Q544725
SYSTEM
Some of them are Charles Pasqua, Pierre Méhaignerie, Élie Hoarau, Hervé Novelli, Anne-Marie Dupuy, Roselyne Bachelot, Pierre Pflimlin, Paul Vergès, Fabienne Keller, Christophe Béchu
Q2874954 Q599643 Q2105 Q3130913 Q9155912 Q826275 Q2834022 Q2862177 Q359005 Q594672 Q328504 Q2830085 Q517196 Q356919 Q2124 Q2851160 Q1394083 Q582101 Q546046 Q959482 Q274652 Q467949 Q2898459 Q329 Q217070 Q461446 Q528462 Q543728 Q2401871 Q653166 Q12963 Q445705 Q2850772 Q787494 Q935962 Q442810 Q1238159 Q187099 Q230861 Q366016 Q1404258 Q2749277 Q2847545 Q2695709 Q727227 Q5829 Q2856372 Q764381 Q725609 Q704846 Q287849 Q1684702 Q2830315 Q714774 Q544725 Q395111 Q2386204 Q438465 Q957415 Q58130 Q314545 Q461454 Q440151 Q1442460 Q436173 Q2851092 Q377291 Q2850857 Q1284283 Q895873 Q2847739 Q546722 Q157 Q630747
AND((c(Q502895),P39,Q3780304), (c(Q502895),P39,Q27169))
action filter_type
action intersection
action find_reverse
entity Q3780304
relation P39
action find_reverse
entity Q27169
relation P39
type Q502895
[ANSWERS] held the position of Member of the General Council and member of the European Parliament
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q3780304'], [{'concept': 'Q502895'}, 'P39', 'Q27169']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P39 resource:Q3780304 . ?q property:P39 resource:Q27169 }
Aymeri de Montesquiou Jean-Louis Cottigny Jacques Chirac Henri Darras Anne-Marie Schaffner Jean-Pierre Cot Jean-Claude Pasty Armelle Guinebertière Raymond Forni Brigitte Fouré Pierre Pflimlin Alain Marleix André Bord Pierre Moscovici Valéry Giscard d'Estaing Anne Laperrouze François Léotard Alain Madelin Gaston Franco Bernard Poignant Élie Hoarau Marie-Arlette Carlotti Bernard Pons Nicolas Sarkozy Laurent Fabius Nathalie Griesbeck Jean Arthuis Jean Roatta Alain Carignon Yves Butel François Bayrou Philippe Juvin Hervé Novelli Roland Blum Paul Vergès Michèle Rivasi Dominique Baudis Lionel Jospin Édith Cresson Philippe Douste-Blazy Alain Cadec Dominique Souchet André Colin Raymond Triboulet Alain Bombard Jean-Luc Mélenchon Gilles Savary Yvon Bourges Charles Pasqua Philippe de Villiers Éric Andrieu Louis Eyraud Alain Terrenoire Christian Poncelet Christophe Béchu Agnès Le Brun Maurice-René Simonnet Michel Barnier André Laignel Michèle Alliot-Marie René Pleven Marie-Noëlle Lienemann Fabienne Keller Franck Proust Roselyne Bachelot Anne Ferreira Adrien Zeller Anne-Marie Dupuy Edgard Pisani Pierre Méhaignerie André Fanton Michel Dantin François Hollande Jean-Pierre Abelin
Charles Pasqua, Pierre Méhaignerie, Élie Hoarau, Hervé Novelli, Anne-Marie Dupuy, Roselyne Bachelot, Pierre Pflimlin, Paul Vergès, Fabienne Keller and Christophe Béchu held the position of Member of the General Council and member of the European Parliament
Charles Pasqua Pierre Méhaignerie Élie Hoarau Hervé Novelli Anne-Marie Dupuy Roselyne Bachelot Pierre Pflimlin Paul Vergès Fabienne Keller Christophe Béchu
action filter_type
action intersection
action find_reverse
entity Member of the General Council
relation position held
action find_reverse
entity member of the European Parliament
relation position held
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Member of the General Council'], [{'concept': 'common name'}, 'position held', 'member of the European Parliament']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:position_held resource:Member_of_the_General_Council . ?q property:position_held resource:member_of_the_European_Parliament }
[]