Simple Question (Direct)
Simple Question
Q3616172
P21
Q290
USER
What is the sex of Andreas Moen ?
(Q3616172,P21,c(Q290))
action filter_type
action find
entity Q3616172
relation P21
type Q290
['Q3616172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3616172 property:P21 ?m . ?m rdf:type ontology:Q290 }
Andreas Moen
action filter_type
action find
entity Andreas Moen
relation gender
type sex
['Andreas Moen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Andreas_Moen property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3616172,P21,c(Q290))
action filter_type
action find
entity Q3616172
relation P21
type Q290
The sex of Andreas Moen is the [ANSWER]
['Q3616172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3616172 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Andreas Moen is the male
male
action filter_type
action find
entity Andreas Moen
relation gender
type sex
['Andreas Moen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Andreas_Moen property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616172
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Andreas Moen ?
(Q3616172,P27,c(Q15617994))
action filter_type
action find
entity Q3616172
relation P27
type Q15617994
['Q3616172', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3616172 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Andreas Moen
action filter_type
action find
entity Andreas Moen
relation country of citizenship
type designation for an administrative territorial entity
['Andreas Moen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Andreas_Moen property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q3616172,P27,c(Q15617994))
action filter_type
action find
entity Q3616172
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of Andreas Moen
['Q3616172', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3616172 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Norway
The Norway is the country of citizenship of Andreas Moen
Norway
action filter_type
action find
entity Andreas Moen
relation country of citizenship
type designation for an administrative territorial entity
['Andreas Moen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Andreas_Moen property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15407030
Q15617994
USER
And what about Hugues Daussy?
(Q15407030,P27,c(Q15617994))
action filter_type
action find
entity Q15407030
relation P27
type Q15617994
['Q15407030', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q15407030 property:P27 ?v }
Hugues Daussy
action filter_type
action find
entity Hugues Daussy
relation country of citizenship
type designation for an administrative territorial entity
['Hugues Daussy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hugues_Daussy property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q15407030,P27,c(Q15617994))
action filter_type
action find
entity Q15407030
relation P27
type Q15617994
[ANSWER]
['Q15407030', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q15407030 property:P27 ?v }
France
France
action filter_type
action find
entity Hugues Daussy
relation country of citizenship
type designation for an administrative territorial entity
['Hugues Daussy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hugues_Daussy property:country_of_citizenship ?v }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1526390 Q142
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with France or are Lloyd Parks a civilian of ?
OR((Q142,P530,c(Q1048835)), (Q1526390,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q1526390
relation P27
type Q1048835
{'OR': [['Q142', 'P530', {'concept': 'Q1048835'}], ['Q1526390', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q142 property:P530 ?b } UNION { resource:Q1526390 property:P27 ?b } } . ?b rdf:type ontology:Q1048835 }
Lloyd Parks France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Lloyd Parks
relation country of citizenship
type political territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Lloyd Parks', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:France property:diplomatic_relation ?b } UNION { resource:Lloyd_Parks property:country_of_citizenship ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q766 Q183 Q40
SYSTEM
Australia, Jamaica, Germany, Austria
Q408 Q766 Q183 Q40
OR((Q142,P530,c(Q1048835)), (Q1526390,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q1526390
relation P27
type Q1048835
[ANSWERS] hold diplomatic relationship with France or are Lloyd Parks a civilian of
{'OR': [['Q142', 'P530', {'concept': 'Q1048835'}], ['Q1526390', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q142 property:P530 ?b } UNION { resource:Q1526390 property:P27 ?b } } . ?b rdf:type ontology:Q1048835 }
Australia Jamaica Germany Austria
Australia, Jamaica, Germany and Austria hold diplomatic relationship with France or are Lloyd Parks a civilian of
Australia Jamaica Germany Austria
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Lloyd Parks
relation country of citizenship
type political territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Lloyd Parks', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:France property:diplomatic_relation ?b } UNION { resource:Lloyd_Parks property:country_of_citizenship ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16 Q142
P463
Q484652
USER
Which international organizations were France and Canada a member of ?
AND((Q142,P463,c(Q484652)), (Q16,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q142
relation P463
action find
entity Q16
relation P463
type Q484652
{'AND': [['Q142', 'P463', {'concept': 'Q484652'}], ['Q16', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?h WHERE { resource:Q142 property:P463 ?h . resource:Q16 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Canada France
action filter_type
action intersection
action find
entity France
relation member of
action find
entity Canada
relation member of
type international organization
{'AND': [['France', 'member of', {'concept': 'international organization'}], ['Canada', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?h WHERE { resource:France property:member_of ?h . resource:Canada property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q19771 Q188822 Q37143 Q134102 Q7184 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, G20, Asian Development Bank, G8, Organisation internationale de la Francophonie, North Atlantic Treaty Organisation, Multilateral Investment Guarantee Agency
Q81299 Q1065 Q19771 Q188822 Q37143 Q134102 Q7184 Q1043527
AND((Q142,P463,c(Q484652)), (Q16,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q142
relation P463
action find
entity Q16
relation P463
type Q484652
[ANSWERS] were France and Canada a member of
{'AND': [['Q142', 'P463', {'concept': 'Q484652'}], ['Q16', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?h WHERE { resource:Q142 property:P463 ?h . resource:Q16 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation internationale de la Francophonie North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, United Nations, G20, Asian Development Bank, G8, Organisation internationale de la Francophonie, North Atlantic Treaty Organisation and Multilateral Investment Guarantee Agency were France and Canada a member of
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation internationale de la Francophonie North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity France
relation member of
action find
entity Canada
relation member of
type international organization
{'AND': [['France', 'member of', {'concept': 'international organization'}], ['Canada', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?h WHERE { resource:France property:member_of ?h . resource:Canada property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P108
Q484652 Q502895
USER
Which international organizations do lesser number of people work for than that international organization ?
(c(Q502895),P108,c(Q484652))
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
international organization common name
Comparative|More/Less|Single entity type|Clarification
Q188822
SYSTEM
Did you mean Asian Development Bank ?
(c(Q502895),P108,c(Q484652))
[ANSWER]
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
Did you mean Asian Development Bank ?
Asian Development Bank
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
Comparative Reasoning (All)
USER
No, I meant United Nations. Could you tell me the answer for that?
(c(Q502895),P108,c(Q484652))
Q1065
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
[]
Q81299 Q122880 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, European Court of Human Rights, European Space Agency
Q1117074 Q81299 Q4951 Q697711 Q204344 Q188822 Q54129 Q122880 Q7801 Q8475 Q7164 Q47488 Q7804 Q1045198 Q192177 Q182000 Q7184 Q42262 Q134102
(c(Q502895),P108,c(Q484652))
[ANSWERS] lesser number of people work for than that international organization
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
Commonwealth War Graves Commission Organization for Security and Co-operation in Europe Court of Justice of the European Union European Space Operations Centre World Food Program Asian Development Bank International Labour Organization European Court of Human Rights International Court of Justice Interpol World Bank International Criminal Court International Monetary Fund Permanent Court of Arbitration Union for the Mediterranean United Nations Conference on Trade and Development North Atlantic Treaty Organisation European Space Agency Organisation internationale de la Francophonie
Organization for Security and Co-operation in Europe, European Court of Human Rights and European Space Agency lesser number of people work for than that international organization
Organization for Security and Co-operation in Europe European Court of Human Rights European Space Agency
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q81299 Q122880 Q42262
P108
Q502895
USER
Who works for those international organizations ?
(c(Q502895),P108,Q81299) (c(Q502895),P108,Q122880) (c(Q502895),P108,Q42262)
action filter_type
action find_reverse
entity prev_answer
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q81299'] [{'concept': 'Q502895'}, 'P108', 'Q122880'] [{'concept': 'Q502895'}, 'P108', 'Q42262']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q1117074 ) ( resource:Q81299 ) ( resource:Q4951 ) } . ?a property:P108 ?c }
Organization for Security and Co-operation in Europe European Court of Human Rights European Space Agency
action filter_type
action find_reverse
entity prev_answer
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Organization for Security and Co-operation in Europe'] [{'concept': 'common name'}, 'employer', 'European Court of Human Rights'] [{'concept': 'common name'}, 'employer', 'European Space Agency']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Commonwealth_War_Graves_Commission ) ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:Court_of_Justice_of_the_European_Union ) } . ?a property:employer ?c }
[]
common name
Q57229 Q166616 Q379039
SYSTEM
Sigmund Jähn, Thomas Reiter, Samantha Cristoforetti
Q15529276 Q6369311 Q518012 Q379039 Q1394857 Q3438615 Q116962 Q2795317 Q57229 Q956842 Q352069 Q727572 Q23706029 Q166616
(c(Q502895),P108,Q81299) (c(Q502895),P108,Q122880) (c(Q502895),P108,Q42262)
action filter_type
action find_reverse
entity prev_answer
relation P108
type Q502895
[ANSWERS] work for those international organizations
[{'concept': 'Q502895'}, 'P108', 'Q81299'] [{'concept': 'Q502895'}, 'P108', 'Q122880'] [{'concept': 'Q502895'}, 'P108', 'Q42262']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q1117074 ) ( resource:Q81299 ) ( resource:Q4951 ) } . ?a property:P108 ?c }
Alexis Chahtahtinsky Karel Jungwiert Timothy Peake Samantha Cristoforetti Luca Parmitano Roger-Maurice Bonnet Claude Nicollier Wim Jansen Sigmund Jähn Maurizio Cheli Léopold Eyharts Umberto Guidoni Pierre-Yves Bely Thomas Reiter
Sigmund Jähn, Thomas Reiter and Samantha Cristoforetti work for those international organizations
Sigmund Jähn Thomas Reiter Samantha Cristoforetti
action filter_type
action find_reverse
entity prev_answer
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Organization for Security and Co-operation in Europe'] [{'concept': 'common name'}, 'employer', 'European Court of Human Rights'] [{'concept': 'common name'}, 'employer', 'European Space Agency']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Commonwealth_War_Graves_Commission ) ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:Court_of_Justice_of_the_European_Union ) } . ?a property:employer ?c }
[]