Simple Question (Direct)
Simple Question
Q193046
P47
Q20667921
USER
Who share the border with Saint-Usage ?
(Q193046,P47,c(Q20667921))
action filter_type
action find
entity Q193046
relation P47
type Q20667921
['Q193046', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q193046 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Saint-Usage
action filter_type
action find
entity Saint-Usage
relation shares border with
type type of french administrative division
['Saint-Usage', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Saint-Usage property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6960 Q16777 Q16834
SYSTEM
Pagny-le-Château, Brazey-en-Plaine, Saint-Symphorien-sur-Saône
Q16834 Q6960 Q16771 Q16773 Q16774 Q16775 Q16777 Q16839 Q16832
(Q193046,P47,c(Q20667921))
action filter_type
action find
entity Q193046
relation P47
type Q20667921
Of [ANSWERS] share the border with Saint-Usage
['Q193046', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q193046 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Saint-Symphorien-sur-Saône Pagny-le-Château Losne Montot Esbarres Échenon Brazey-en-Plaine Trouhans Saint-Jean-de-Losne
Of Pagny-le-Château, Brazey-en-Plaine and Saint-Symphorien-sur-Saône share the border with Saint-Usage
Pagny-le-Château Brazey-en-Plaine Saint-Symphorien-sur-Saône
action filter_type
action find
entity Saint-Usage
relation shares border with
type type of french administrative division
['Saint-Usage', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Saint-Usage property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6960 Q16777 Q16834
P47
Q20667921
USER
Which french administrative divisions are adjacent to those ones ?
(Q6960,P47,c(Q20667921)) (Q16777,P47,c(Q20667921)) (Q16834,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
['Q6960', 'P47', {'concept': 'Q20667921'}] ['Q16777', 'P47', {'concept': 'Q20667921'}] ['Q16834', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?c property:P47 ?v . ?v rdf:type ontology:Q20667921 . VALUES ( ?c ) { ( resource:Q16834 ) ( resource:Q6960 ) ( resource:Q16771 ) } }
Pagny-le-Château Brazey-en-Plaine Saint-Symphorien-sur-Saône
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Pagny-le-Château', 'shares border with', {'concept': 'type of french administrative division'}] ['Brazey-en-Plaine', 'shares border with', {'concept': 'type of french administrative division'}] ['Saint-Symphorien-sur-Saône', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?c property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division . VALUES ( ?c ) { ( resource:Saint-Symphorien-sur-Saône ) ( resource:Pagny-le-Château ) ( resource:Losne ) } }
[]
type of french administrative division
Q20155 Q193046 Q193046
SYSTEM
Les Maillys for 1st, Saint-Usage for 2nd, 3rd
Q13838 Q16770 Q16771 Q16891 Q16774 Q16890 Q16882 Q6980 Q16888 Q193046 Q46988 Q46995 Q47827 Q46986 Q16773 Q16774 Q16778 Q16796 Q47847 Q193046 Q1161122 Q657807 Q16771 Q16772 Q20155 Q16775 Q193046 Q16838
(Q6960,P47,c(Q20667921)) (Q16777,P47,c(Q20667921)) (Q16834,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS]
['Q6960', 'P47', {'concept': 'Q20667921'}] ['Q16777', 'P47', {'concept': 'Q20667921'}] ['Q16834', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?c property:P47 ?v . ?v rdf:type ontology:Q20667921 . VALUES ( ?c ) { ( resource:Q16834 ) ( resource:Q6960 ) ( resource:Q16771 ) } }
Pagny-la-Ville Montagny-lès-Seurre Losne Lanthes Esbarres Labruyère Chamblanc Franxault Grosbois-lès-Tichey Saint-Usage Bessey-lès-Cîteaux Échigey Tart-l'Abbaye Aiserey Montot Esbarres Aubigny-en-Plaine Magny-lès-Aubigny Tart-le-Haut Saint-Usage Aumur Abergement-la-Ronce Losne Laperrière-sur-Saône Les Maillys Échenon Saint-Usage Samerey
Les Maillys, Saint-Usage and Saint-Usage are adjacent to those ones
Les Maillys Saint-Usage Saint-Usage
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Pagny-le-Château', 'shares border with', {'concept': 'type of french administrative division'}] ['Brazey-en-Plaine', 'shares border with', {'concept': 'type of french administrative division'}] ['Saint-Symphorien-sur-Saône', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?c property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division . VALUES ( ?c ) { ( resource:Saint-Symphorien-sur-Saône ) ( resource:Pagny-le-Château ) ( resource:Losne ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193046
P17
Q15617994
USER
Which administrative territory is Saint-Usage located in ?
(Q193046,P17,c(Q15617994))
action filter_type
action find
entity Q193046
relation P17
type Q15617994
['Q193046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q193046 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Saint-Usage
action filter_type
action find
entity Saint-Usage
relation country
type designation for an administrative territorial entity
['Saint-Usage', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Saint-Usage property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q193046,P17,c(Q15617994))
action filter_type
action find
entity Q193046
relation P17
type Q15617994
Which administrative territory is Saint-Usage located in
['Q193046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q193046 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
France
Which administrative territory is Saint-Usage located in
France
action filter_type
action find
entity Saint-Usage
relation country
type designation for an administrative territorial entity
['Saint-Usage', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Saint-Usage property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5833442 Q193046
P17
Q15617994
USER
Or Rajab Sara?
OR((Q193046,P17,c(Q15617994)), (Q5833442,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q193046
relation P17
action find
entity Q5833442
relation P17
type Q15617994
{'OR': [['Q193046', 'P17', {'concept': 'Q15617994'}], ['Q5833442', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5833442 property:P17 ?j } UNION { resource:Q193046 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Rajab Sara Saint-Usage
action filter_type
action union
action find
entity Saint-Usage
relation country
action find
entity Rajab Sara
relation country
type designation for an administrative territorial entity
{'OR': [['Saint-Usage', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rajab Sara', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Rajab_Sara property:country ?j } UNION { resource:Saint-Usage property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q794
SYSTEM
France, Iran
Q142 Q794
OR((Q193046,P17,c(Q15617994)), (Q5833442,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q193046
relation P17
action find
entity Q5833442
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q193046', 'P17', {'concept': 'Q15617994'}], ['Q5833442', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5833442 property:P17 ?j } UNION { resource:Q193046 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
France Iran
France Iran
action filter_type
action union
action find
entity Saint-Usage
relation country
action find
entity Rajab Sara
relation country
type designation for an administrative territorial entity
{'OR': [['Saint-Usage', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rajab Sara', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Rajab_Sara property:country ?j } UNION { resource:Saint-Usage property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q794
P17
Q874405
USER
Which social groups are present in France and Iran ?
(c(Q874405),P17,Q142) (c(Q874405),P17,Q794)
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q874405
action filter_type
action find_reverse
entity Q794
relation P17
type Q874405
[{'concept': 'Q874405'}, 'P17', 'Q142'] [{'concept': 'Q874405'}, 'P17', 'Q794']
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:Q142 ) ( resource:Q794 ) } . ?s property:P17 ?j }
France Iran
action union
action filter_type
action find_reverse
entity France
relation country
type social group
action filter_type
action find_reverse
entity Iran
relation country
type social group
[{'concept': 'social group'}, 'country', 'France'] [{'concept': 'social group'}, 'country', 'Iran']
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:France ) ( resource:Iran ) } . ?s property:country ?j }
[]
social group
Q3152053 Q3152427 Q3152168
SYSTEM
Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille), Institute for National Research in Transportation and Safety, Lille institute for molecular and condensed matter
Q3512094 Q3330843 Q3152053 Q3550282 Q2985268 Q739586 Q20828392 Q4744944 Q3578157 Q1010517 Q653054 Q20819803 Q2086469 Q2828740 Q20089976 Q2996566 Q24049359 Q5301187 Q3487788 Q19859682 Q654784 Q3117642 Q15974693 Q2819090 Q440622 Q2867770 Q3152701 Q3152168 Q26272141 Q8908 Q3092031 Q2985495 Q3091701 Q3278594 Q15116752 Q13406636 Q16677204 Q6952592 Q3570367 Q2664394 Q3001512 Q1756635 Q17577069 Q3459189 Q2994317 Q403949 Q3151869 Q16034235 Q2178814 Q391083 Q4971272 Q3091594 Q687896 Q5464989 Q19766157 Q2822267 Q552168 Q18745236 Q3505529 Q429197 Q2931877 Q3152297 Q612853 Q20088600 Q636818 Q2946517 Q3291340 Q3488113 Q3213589 Q20639932 Q343624 Q26037303 Q18005337 Q20829790 Q8046777 Q13363209 Q2867919 Q3065144 Q3055268 Q21708032 Q4096 Q3091597 Q2990090 Q3152354 Q4698480 Q2961217 Q3459901 Q20731568 Q2635445 Q3569448 Q655810 Q1575029 Q1747944 Q2549418 Q841212 Q19947256 Q21014488 Q2297128 Q2639365 Q12949065 Q2478857 Q2994102 Q571715 Q2858967 Q1115612 Q2407379 Q17354527 Q2819315 Q3348328 Q3151947 Q7885780 Q27489901 Q3003182 Q3152427 Q3106650 Q2944149 Q989437 Q1755204 Q2926535 Q3140145 Q2867603 Q3195113 Q13923742 Q22110485 Q3074859 Q3145264 Q6798235 Q1674127 Q5251326 Q3355992 Q4203070 Q3470808 Q572596
(c(Q874405),P17,Q142) (c(Q874405),P17,Q794)
action union
action filter_type
action find_reverse
entity Q142
relation P17
type Q874405
action filter_type
action find_reverse
entity Q794
relation P17
type Q874405
[ANSWERS] are present in France and Iran
[{'concept': 'Q874405'}, 'P17', 'Q142'] [{'concept': 'Q874405'}, 'P17', 'Q794']
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:Q142 ) ( resource:Q794 ) } . ?s property:P17 ?j }
Telecom Lille 1 musée de la ville de Paris Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille) UFC Que Choisir Comité catholique contre la faim et pour le développement International Confederation of Societies of Authors and Composers Société d'études et de développement pour l'environnement (France) American School of Paris École nationale des travaux publics de l'État Bureau des Longitudes International Council of Museums Institut d'aménagement et d'urbanisme de la Région parisienne‏ Maison du Roi Airparif Association for the Study and Documentation of Asian Textiles Coop Breizh French association of micromineralogy Dastum Society of Anthropology of Paris Montpellier University Hospital École nationale supérieure de chimie de Lille GISTI Assistance Publique-Hôpitaux de Marseille Association pour le développement industriel du Massif Central Institut français Association française pour l'information scientifique Institut universitaire de technologie de Lille A Lille institute for molecular and condensed matter Union Française des Arts du Costume Council of Europe Fédération nationale des déportés et internés résistants et patriotes Comité international des études créoles Théâtre du Capitole Arthus-Bertrand Pays des Impressionnistes Counts of Comminges Société d'encouragement à l'art et à l'industrie NATO Research and Technology Organisation XIII Catalan religion in France Institut supérieur ouvrier École pour l'informatique et les nouvelles technologies French national team U23 SAMU Social Conseil supérieur de la propriété littéraire et artistique Aide médicale internationale Institut Colonial de Marseille Fustel family Réseau des Émetteurs Français Pasteur Institute British and Commonwealth Women's Association Fédération des associations et sociétés françaises d'ingénieurs diplômés Thomson-CSF Fondation Jean Dausset-CEPH Team France U23 2015 French Catholic Academy International Agency for Research on Cancer Centre Hospitalier Universitaire Estaing Survivre et vivre Order of the Hop CPIE Bocage de l'Avesnois IFSTTAR Etudes Sans Frontières International Groupe de recherche sur la lecture littéraire École des technologies numériques appliquées Cercle des économistes Société Philomathique de Paris Société des Autoroutes de Paris Normandie La Vie Claire Cybedroïd Action Against Hunger BELC Association pour le développement de l'enseignement et de la recherche (Aquitaine) Syndicat intercommunal des transports urbains de l'agglomération chalonnaise Yahad-In Unum Free French Forces Association négaWatt Francine family ETHIC Greek study association Vélo'v Fédération des associations générales étudiantes Scioto Company Lille Institute for health systems engineering Airbus Operations S.A.S. Union nationale des industries de carrières et matériaux de construction SOS Amitié ACHAC InterVarsity Christian Fellowship WISE-Paris Alliance française Handicap International Syndicat des transports d'Île-de-France Jeune France Les Six société de récoltants Société de psychanalyse freudienne Société de Géographie Conselh de la Lenga Occitana Provence Research Institute Aéro-Club de France International Council for Film Television and Audiovisual Communication La Fondation pour la Mémoire de la Déportation April Commission internationale pour la protection des eaux du Léman Centre d'études, de recherches et de formation institutionnelles (Paris) Magon Association pour la promotion de l'artisanat dans le Massif Central (Le Puy-en-Velay, Haute-Loire) OHM - human and environmental Observatories Institut d'étude des faits religieux (Nord-Pas-de-Calais) Union Interlinguiste de France Fédération française de l'assurance Fédération internationale des centres d'études et de documentation libertaires Institute for National Research in Transportation and Safety Gimar Montaz Mautino Celtic de Paris Emmaus Cantons of the Gers department Bruitparif Honneur de la Police Association des professionnels navigants de l'aviation Kendalc'h LIRYC Centre de Biologie et de Gestion des Populations Foire de Paris Centre Hospitalier Universitaire Hautepierre Mazandaran TV Islamic Republic of Iran Broadcasting Defenders of Human Rights Center Cultural Heritage, Handcrafts and Tourism Organization Iran Aviation Industries Organization Samii Iranian Space Agency
Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille), Institute for National Research in Transportation and Safety and Lille institute for molecular and condensed matter are present in France and Iran
Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille) Institute for National Research in Transportation and Safety Lille institute for molecular and condensed matter
action union
action filter_type
action find_reverse
entity France
relation country
type social group
action filter_type
action find_reverse
entity Iran
relation country
type social group
[{'concept': 'social group'}, 'country', 'France'] [{'concept': 'social group'}, 'country', 'Iran']
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:France ) ( resource:Iran ) } . ?s property:country ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3152053
P108
Q502895
USER
Who works for that social group ?
(c(Q502895),P108,Q3152053)
action filter_type
action find_reverse
entity Q3152053
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q3152053']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q3152053 . ?b rdf:type ontology:Q502895 }
Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)
action filter_type
action find_reverse
entity Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Fluid_Mechanics_Institute_-_Institut_de_mécanique_des_fluides_de_Lille_(ONERA_Lille) . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3152053
SYSTEM
Did you mean Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille) ?
Q3152053 Q3152427 Q3152168
(c(Q502895),P108,Q3152053) (c(Q502895),P108,Q3152427) (c(Q502895),P108,Q3152168)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q3152053'] [{'concept': 'Q502895'}, 'P108', 'Q3152427'] [{'concept': 'Q502895'}, 'P108', 'Q3152168']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q3152053 . ?b rdf:type ontology:Q502895 }
Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille) Institute for National Research in Transportation and Safety Lille institute for molecular and condensed matter
Did you mean Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille) ?
Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)
[{'concept': 'common name'}, 'employer', 'Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)'] [{'concept': 'common name'}, 'employer', 'Institute for National Research in Transportation and Safety'] [{'concept': 'common name'}, 'employer', 'Lille institute for molecular and condensed matter']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Fluid_Mechanics_Institute_-_Institut_de_mécanique_des_fluides_de_Lille_(ONERA_Lille) . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P108,Q3152053)
[{'concept': 'Q502895'}, 'P108', 'Q3152053']
[{'concept': 'common name'}, 'employer', 'Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)']
[]
Q2848260 Q3185154
SYSTEM
André Martinot Lagarde, Joseph Kampé de Fériet
Q2848260 Q3185154
(c(Q502895),P108,Q3152053)
action filter_type
action find_reverse
entity Q3152053
relation P108
type Q502895
[ANSWERS] work for that social group
[{'concept': 'Q502895'}, 'P108', 'Q3152053']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q3152053 . ?b rdf:type ontology:Q502895 }
André Martinot Lagarde Joseph Kampé de Fériet
André Martinot Lagarde and Joseph Kampé de Fériet work for that social group
André Martinot Lagarde Joseph Kampé de Fériet
action filter_type
action find_reverse
entity Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Fluid Mechanics Institute - Institut de mécanique des fluides de Lille (ONERA Lille)']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Fluid_Mechanics_Institute_-_Institut_de_mécanique_des_fluides_de_Lille_(ONERA_Lille) . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q193046
P19 P27
Q502895
USER
Which people have location of birth at Saint-Usage and are a citizen of France ?
AND((c(Q502895),P19,Q193046), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q193046
relation P19
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q193046'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q193046 . ?w property:P27 resource:Q142 . ?w rdf:type ontology:Q502895 }
France Saint-Usage
action filter_type
action intersection
action find_reverse
entity Saint-Usage
relation place of birth
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Saint-Usage'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Saint-Usage . ?w property:country_of_citizenship resource:France . ?w rdf:type ontology:common_name }
[]
common name
Q3263741
SYSTEM
Louise Fouquet
Q3263741
AND((c(Q502895),P19,Q193046), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q193046
relation P19
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWER] have location of birth at Saint-Usage and are a citizen of France
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q193046'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q193046 . ?w property:P27 resource:Q142 . ?w rdf:type ontology:Q502895 }
Louise Fouquet
Louise Fouquet have location of birth at Saint-Usage and are a citizen of France
Louise Fouquet
action filter_type
action intersection
action find_reverse
entity Saint-Usage
relation place of birth
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Saint-Usage'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Saint-Usage . ?w property:country_of_citizenship resource:France . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3263741
P20
Q56061
USER
Where did that person expire ?
(Q3263741,P20,c(Q56061))
action filter_type
action find
entity Q3263741
relation P20
type Q56061
['Q3263741', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q3263741 property:P20 ?i }
Louise Fouquet
action filter_type
action find
entity Louise Fouquet
relation place of death
type administrative territorial entity
['Louise Fouquet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Louise_Fouquet property:place_of_death ?i }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3263741,P20,c(Q56061))
action filter_type
action find
entity Q3263741
relation P20
type Q56061
That person expired in [ANSWER]
['Q3263741', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q3263741 property:P20 ?i }
Paris
That person expired in Paris
Paris
action filter_type
action find
entity Louise Fouquet
relation place of death
type administrative territorial entity
['Louise Fouquet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Louise_Fouquet property:place_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3263741
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q90)
action filter_type
action find_reverse
entity Q3263741
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q90']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q3263741 }
Louise Fouquet
action filter_type
action find_reverse
entity Louise Fouquet
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Paris']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Louise_Fouquet }
[]
work of art
Q1110260 Q3210552 Q1753964
SYSTEM
The Curtain Rises, La Marie du port, Juliette, or Key of Dreams
Q1110260 Q3210552 Q1753964
(c(Q838948),P161,Q90)
action filter_type
action find_reverse
entity Q3263741
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q90']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q3263741 }
The Curtain Rises La Marie du port Juliette, or Key of Dreams
The name of works of art staring that person are The Curtain Rises, La Marie du port and Juliette, or Key of Dreams
The Curtain Rises La Marie du port Juliette, or Key of Dreams
action filter_type
action find_reverse
entity Louise Fouquet
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Paris']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Louise_Fouquet }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3263741
P26
Q502895
USER
Which person is married to that one ?
(c(Q502895),P26,Q1110260) (c(Q502895),P26,Q3210552) (c(Q502895),P26,Q1753964)
action filter_type
action find
entity Q3263741
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1110260'] [{'concept': 'Q502895'}, 'P26', 'Q3210552'] [{'concept': 'Q502895'}, 'P26', 'Q1753964']
SELECT DISTINCT ?q WHERE { resource:Q3263741 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Louise Fouquet
action filter_type
action find
entity Louise Fouquet
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'The Curtain Rises'] [{'concept': 'common name'}, 'spouse', 'La Marie du port'] [{'concept': 'common name'}, 'spouse', 'Juliette, or Key of Dreams']
SELECT DISTINCT ?q WHERE { resource:Louise_Fouquet property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q993521
SYSTEM
Marcel Mouloudji
Q993521
(c(Q502895),P26,Q1110260) (c(Q502895),P26,Q3210552) (c(Q502895),P26,Q1753964)
action filter_type
action find
entity Q3263741
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q1110260'] [{'concept': 'Q502895'}, 'P26', 'Q3210552'] [{'concept': 'Q502895'}, 'P26', 'Q1753964']
SELECT DISTINCT ?q WHERE { resource:Q3263741 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Marcel Mouloudji
Marcel Mouloudji is married to that one
Marcel Mouloudji
action filter_type
action find
entity Louise Fouquet
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'The Curtain Rises'] [{'concept': 'common name'}, 'spouse', 'La Marie du port'] [{'concept': 'common name'}, 'spouse', 'Juliette, or Key of Dreams']
SELECT DISTINCT ?q WHERE { resource:Louise_Fouquet property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q993521 Q90 Q7034122
P19
Q56061
USER
Does that person have birthplace at Paris and Nigozi ?
(Q993521,P19,Q90) (Q993521,P19,Q7034122)
action is_in
entity Q993521
action intersection
action find_reverse
entity Q90
relation P19
action find_reverse
entity Q7034122
relation P19
['Q993521', 'P19', 'Q90'] ['Q993521', 'P19', 'Q7034122']
ASK WHERE { resource:Q993521 property:P19 resource:Q7034122 . resource:Q993521 property:P19 resource:Q90 }
Marcel Mouloudji Paris Nigozi
action is_in
entity Marcel Mouloudji
action intersection
action find_reverse
entity Paris
relation place of birth
action find_reverse
entity Nigozi
relation place of birth
['Marcel Mouloudji', 'place of birth', 'Paris'] ['Marcel Mouloudji', 'place of birth', 'Nigozi']
ASK WHERE { resource:Marcel_Mouloudji property:place_of_birth resource:Nigozi . resource:Marcel_Mouloudji property:place_of_birth resource:Paris }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q993521,P19,Q90) (Q993521,P19,Q7034122)
action is_in
entity Q993521
action intersection
action find_reverse
entity Q90
relation P19
action find_reverse
entity Q7034122
relation P19
[ANSWER]
['Q993521', 'P19', 'Q90'] ['Q993521', 'P19', 'Q7034122']
ASK WHERE { resource:Q993521 property:P19 resource:Q7034122 . resource:Q993521 property:P19 resource:Q90 }
YES and NO respectively
action is_in
entity Marcel Mouloudji
action intersection
action find_reverse
entity Paris
relation place of birth
action find_reverse
entity Nigozi
relation place of birth
['Marcel Mouloudji', 'place of birth', 'Paris'] ['Marcel Mouloudji', 'place of birth', 'Nigozi']
ASK WHERE { resource:Marcel_Mouloudji property:place_of_birth resource:Nigozi . resource:Marcel_Mouloudji property:place_of_birth resource:Paris }
[]