Simple Question (Direct)
Simple Question
Q7153319
P937
Q56061
USER
Which administrative territory is the work location of Paul Rose ?
(Q7153319,P937,c(Q56061))
action filter_type
action find
entity Q7153319
relation P937
type Q56061
['Q7153319', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q7153319 property:P937 ?e }
Paul Rose
action filter_type
action find
entity Paul Rose
relation work location
type administrative territorial entity
['Paul Rose', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Paul_Rose property:work_location ?e }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7153319,P937,c(Q56061))
action filter_type
action find
entity Q7153319
relation P937
type Q56061
[ANSWER] is the work location of Paul Rose
['Q7153319', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q7153319 property:P937 ?e }
London
London is the work location of Paul Rose
London
action filter_type
action find
entity Paul Rose
relation work location
type administrative territorial entity
['Paul Rose', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Paul_Rose property:work_location ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7153319
P102
Q7210356
USER
Which party does that person belong to ?
(Q84,P102,c(Q7210356))
action filter_type
action find
entity Q7153319
relation P102
type Q7210356
['Q84', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q7153319 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Paul Rose
action filter_type
action find
entity Paul Rose
relation member of political party
type political organization
['London', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Rose property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q84,P102,c(Q7210356))
action filter_type
action find
entity Q7153319
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q84', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q7153319 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Labour Party
That person belongs to Labour Party
Labour Party
action filter_type
action find
entity Paul Rose
relation member of political party
type political organization
['London', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Rose property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7153319
P734
Q82799
USER
Who is associated with that person ?
(Q9630,P734,c(Q82799))
action filter_type
action find
entity Q7153319
relation P734
type Q82799
['Q9630', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q7153319 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Paul Rose
action filter_type
action find
entity Paul Rose
relation family name
type name
['Labour Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Rose property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q1724227
SYSTEM
Rose
Q1724227
(Q9630,P734,c(Q82799))
action filter_type
action find
entity Q7153319
relation P734
type Q82799
[ANSWER] is associated with that person
['Q9630', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q7153319 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Rose
Rose is associated with that person
Rose
action filter_type
action find
entity Paul Rose
relation family name
type name
['Labour Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Rose property:family_name ?f . ?f rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1724227 Q6791161
P734
Q502895
USER
Does Matthew Rose have that one as their family name ?
(Q6791161,P734,Q1724227)
action is_in
entity Q1724227
action find
entity Q6791161
relation P734
['Q6791161', 'P734', 'Q1724227']
ASK WHERE { resource:Q6791161 property:P734 resource:Q1724227 }
Rose Matthew Rose
action is_in
entity Rose
action find
entity Matthew Rose
relation family name
['Matthew Rose', 'family name', 'Rose']
ASK WHERE { resource:Matthew_Rose property:family_name resource:Rose }
[]
common name
SYSTEM
YES
(Q6791161,P734,Q1724227)
action is_in
entity Q1724227
action find
entity Q6791161
relation P734
[ANSWER]
['Q6791161', 'P734', 'Q1724227']
ASK WHERE { resource:Q6791161 property:P734 resource:Q1724227 }
Yes
action is_in
entity Rose
action find
entity Matthew Rose
relation family name
['Matthew Rose', 'family name', 'Rose']
ASK WHERE { resource:Matthew_Rose property:family_name resource:Rose }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7561688 Q7153319
P27
Q15617994
USER
Which administrative territories do Paul Rose or Sonia Arova belong to ?
OR((Q7153319,P27,c(Q15617994)), (Q7561688,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7153319
relation P27
action find
entity Q7561688
relation P27
type Q15617994
{'OR': [['Q7153319', 'P27', {'concept': 'Q15617994'}], ['Q7561688', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q7153319 property:P27 ?k } UNION { resource:Q7561688 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Sonia Arova Paul Rose
action filter_type
action union
action find
entity Paul Rose
relation country of citizenship
action find
entity Sonia Arova
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Paul Rose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sonia Arova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Paul_Rose property:country_of_citizenship ?k } UNION { resource:Sonia_Arova property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219 Q145
SYSTEM
Bulgaria, United Kingdom
Q219 Q145
OR((Q7153319,P27,c(Q15617994)), (Q7561688,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7153319
relation P27
action find
entity Q7561688
relation P27
type Q15617994
Paul Rose or Sonia Arova belong to [ANSWERS]
{'OR': [['Q7153319', 'P27', {'concept': 'Q15617994'}], ['Q7561688', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q7153319 property:P27 ?k } UNION { resource:Q7561688 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Bulgaria United Kingdom
Paul Rose or Sonia Arova belong to Bulgaria and United Kingdom
Bulgaria United Kingdom
action filter_type
action union
action find
entity Paul Rose
relation country of citizenship
action find
entity Sonia Arova
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Paul Rose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sonia Arova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Paul_Rose property:country_of_citizenship ?k } UNION { resource:Sonia_Arova property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q40
P530
Q1048835
USER
How many political territories have diplomatic relationships with United Kingdom and Austria ?
(Q145,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q40
relation P530
type Q1048835
['Q145', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?y . resource:Q40 property:P530 ?y . ?y rdf:type ontology:Q1048835 }
United Kingdom Austria
action count
action intersection
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?y . resource:Austria property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q145,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
['Q145', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?y . resource:Q40 property:P530 ?y . ?y rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?y . resource:Austria property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P159
Q163740
USER
Which nonprofit organizations have the principal seat at that administrative territory ?
action filter_type
action find_reverse
entity Q145
relation P159
type Q163740
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q145 . ?s rdf:type ontology:Q163740 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type nonprofit organization
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:United_Kingdom . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q3785898 Q430696
SYSTEM
Historical Diving Society, International Vegetarian Union
Q3785898 Q430696
action filter_type
action find_reverse
entity Q145
relation P159
type Q163740
[ANSWERS] have the principal seat at that administrative territory
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q145 . ?s rdf:type ontology:Q163740 }
Historical Diving Society International Vegetarian Union
Historical Diving Society and International Vegetarian Union have the principal seat at that administrative territory
Historical Diving Society International Vegetarian Union
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type nonprofit organization
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:United_Kingdom . ?s rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13180100 Q7153319
P27 P17
Q15617994
USER
Which administrative territories are Paul Rose a civilian of or do Kisan Nagar belong to ?
OR((Q7153319,P27,c(Q15617994)), (Q13180100,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7153319
relation P27
action find
entity Q13180100
relation P17
type Q15617994
{'OR': [['Q7153319', 'P27', {'concept': 'Q15617994'}], ['Q13180100', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7153319 property:P27 ?r } UNION { resource:Q13180100 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Kisan Nagar Paul Rose
action filter_type
action union
action find
entity Paul Rose
relation country of citizenship
action find
entity Kisan Nagar
relation country
type designation for an administrative territorial entity
{'OR': [['Paul Rose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kisan Nagar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Paul_Rose property:country_of_citizenship ?r } UNION { resource:Kisan_Nagar property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q837 Q145
SYSTEM
Nepal, United Kingdom
Q837 Q145
OR((Q7153319,P27,c(Q15617994)), (Q13180100,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7153319
relation P27
action find
entity Q13180100
relation P17
type Q15617994
[ANSWERS] are Paul Rose a civilian of or do Kisan Nagar belong to
{'OR': [['Q7153319', 'P27', {'concept': 'Q15617994'}], ['Q13180100', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7153319 property:P27 ?r } UNION { resource:Q13180100 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Nepal United Kingdom
Nepal and United Kingdom are Paul Rose a civilian of or do Kisan Nagar belong to
Nepal United Kingdom
action filter_type
action union
action find
entity Paul Rose
relation country of citizenship
action find
entity Kisan Nagar
relation country
type designation for an administrative territorial entity
{'OR': [['Paul Rose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kisan Nagar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Paul_Rose property:country_of_citizenship ?r } UNION { resource:Kisan_Nagar property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q837 Q145
P47
Q15617994
USER
Who share the border with those ones ?
(Q837,P47,c(Q15617994)) (Q145,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q837', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?g ) { ( resource:Q837 ) ( resource:Q145 ) } . ?g property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Nepal United Kingdom
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Nepal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?g ) { ( resource:Nepal ) ( resource:United_Kingdom ) } . ?g property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q148 Q668
SYSTEM
France, People's Republic of China, India
Q148 Q668 Q142 Q717 Q27
(Q837,P47,c(Q15617994)) (Q145,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] share the border with those ones
['Q837', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?g ) { ( resource:Q837 ) ( resource:Q145 ) } . ?g property:P47 ?o . ?o rdf:type ontology:Q15617994 }
People's Republic of China India France Venezuela Ireland
France, People's Republic of China and India share the border with those ones
France People's Republic of China India
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Nepal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?g ) { ( resource:Nepal ) ( resource:United_Kingdom ) } . ?g property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q148 Q668
P35
Q502895
USER
Who are the chiefs of state of those administrative territories ?
(Q142,P35,c(Q502895)) (Q148,P35,c(Q502895)) (Q668,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}] ['Q148', 'P35', {'concept': 'Q502895'}] ['Q668', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?c property:P35 ?v . ?v rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q148 ) ( resource:Q668 ) ( resource:Q142 ) } }
France People's Republic of China India
action filter_type
action find
entity prev_answer
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}] ["People's Republic of China", 'head of state', {'concept': 'common name'}] ['India', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?c property:head_of_state ?v . ?v rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:People's_Republic_of_China ) ( resource:India ) ( resource:France ) } }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124 Q311413 Q15029 Q377935 Q17132 Q15031 Q16597 Q968038 Q16988 Q22513 Q504372 Q5816 Q57446
(Q142,P35,c(Q502895)) (Q148,P35,c(Q502895)) (Q668,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
The chiefs of state of those administrative territories are President [ANSWERS]
['Q142', 'P35', {'concept': 'Q502895'}] ['Q148', 'P35', {'concept': 'Q502895'}] ['Q668', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?c property:P35 ?v . ?v rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q148 ) ( resource:Q668 ) ( resource:Q142 ) } }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing Li Xiannian Hu Jintao Yang Shangkun Soong Ching-ling Xi Jinping Jiang Zemin Dong Biwu Liu Shaoqi Zhu De Ye Jianying Mao Zedong Pranab Mukherjee
The chiefs of state of those administrative territories are President Jacques Chirac, Charles de Gaulle and François Mitterrand
Jacques Chirac Charles de Gaulle François Mitterrand
action filter_type
action find
entity prev_answer
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}] ["People's Republic of China", 'head of state', {'concept': 'common name'}] ['India', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?c property:head_of_state ?v . ?v rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:People's_Republic_of_China ) ( resource:India ) ( resource:France ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2105 Q2042 Q2038
P25
Q502895
USER
Who were the mother of Jacques Chirac, Charles de Gaulle and François Mitterrand ?
(Q2105,P25,c(Q502895)) (Q2042,P25,c(Q502895)) (Q2038,P25,c(Q502895))
action union
action filter_type
action find
entity Q2105
relation P25
type Q502895
action filter_type
action find
entity Q2042
relation P25
type Q502895
action filter_type
action find
entity Q2038
relation P25
type Q502895
['Q2105', 'P25', {'concept': 'Q502895'}] ['Q2042', 'P25', {'concept': 'Q502895'}] ['Q2038', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { resource:Q2105 property:P25 ?p . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . resource:Q2042 property:P25 ?p } }
Jacques Chirac Charles de Gaulle François Mitterrand
action union
action filter_type
action find
entity Jacques Chirac
relation mother
type common name
action filter_type
action find
entity Charles de Gaulle
relation mother
type common name
action filter_type
action find
entity François Mitterrand
relation mother
type common name
['Jacques Chirac', 'mother', {'concept': 'common name'}] ['Charles de Gaulle', 'mother', {'concept': 'common name'}] ['François Mitterrand', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { resource:Jacques_Chirac property:mother ?p . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . resource:Charles_de_Gaulle property:mother ?p } }
[]
common name
Q16354830 Q16354853 Q16354832
SYSTEM
Marie-Louise Valette, Jeanne Maillot, Yvonne Lorrain
Q16354830 Q16354853 Q16354832
(Q2105,P25,c(Q502895)) (Q2042,P25,c(Q502895)) (Q2038,P25,c(Q502895))
action union
action filter_type
action find
entity Q2105
relation P25
type Q502895
action filter_type
action find
entity Q2042
relation P25
type Q502895
action filter_type
action find
entity Q2038
relation P25
type Q502895
The mother of Jacques Chirac , Charles de Gaulle and François Mitterrand were born [ANSWERS]
['Q2105', 'P25', {'concept': 'Q502895'}] ['Q2042', 'P25', {'concept': 'Q502895'}] ['Q2038', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { resource:Q2105 property:P25 ?p . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . resource:Q2042 property:P25 ?p } }
Marie-Louise Valette Jeanne Maillot Yvonne Lorrain
The mother of Jacques Chirac , Charles de Gaulle and François Mitterrand were born Marie-Louise Valette, Jeanne Maillot and Yvonne Lorrain
Marie-Louise Valette Jeanne Maillot Yvonne Lorrain
action union
action filter_type
action find
entity Jacques Chirac
relation mother
type common name
action filter_type
action find
entity Charles de Gaulle
relation mother
type common name
action filter_type
action find
entity François Mitterrand
relation mother
type common name
['Jacques Chirac', 'mother', {'concept': 'common name'}] ['Charles de Gaulle', 'mother', {'concept': 'common name'}] ['François Mitterrand', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { resource:Jacques_Chirac property:mother ?p . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . resource:Charles_de_Gaulle property:mother ?p } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16354830 Q16354853 Q16354832
P25
Q502895
USER
Who are the offspring of Marie-Louise Valette, Jeanne Maillot and Yvonne Lorrain ?
(c(Q502895),P25,Q16354830) (c(Q502895),P25,Q16354853) (c(Q502895),P25,Q16354832)
action union
action filter_type
action find_reverse
entity Q16354830
relation P25
type Q502895
action filter_type
action find_reverse
entity Q16354853
relation P25
type Q502895
action filter_type
action find_reverse
entity Q16354832
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q16354830'] [{'concept': 'Q502895'}, 'P25', 'Q16354853'] [{'concept': 'Q502895'}, 'P25', 'Q16354832']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q502895 . ?j property:P25 resource:Q16354830 } UNION { ?j property:P25 resource:Q16354853 . ?j rdf:type ontology:Q502895 } }
Marie-Louise Valette Jeanne Maillot Yvonne Lorrain
action union
action filter_type
action find_reverse
entity Marie-Louise Valette
relation mother
type common name
action filter_type
action find_reverse
entity Jeanne Maillot
relation mother
type common name
action filter_type
action find_reverse
entity Yvonne Lorrain
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Marie-Louise Valette'] [{'concept': 'common name'}, 'mother', 'Jeanne Maillot'] [{'concept': 'common name'}, 'mother', 'Yvonne Lorrain']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:common_name . ?j property:mother resource:Marie-Louise_Valette } UNION { ?j property:mother resource:Jeanne_Maillot . ?j rdf:type ontology:common_name } }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q3291439 Q16354862 Q2042 Q3387553 Q3570818 Q2038 Q1973016 Q3159583
(c(Q502895),P25,Q16354830) (c(Q502895),P25,Q16354853) (c(Q502895),P25,Q16354832)
action union
action filter_type
action find_reverse
entity Q16354830
relation P25
type Q502895
action filter_type
action find_reverse
entity Q16354853
relation P25
type Q502895
action filter_type
action find_reverse
entity Q16354832
relation P25
type Q502895
The offspring of Marie-Louise Valette , Jeanne Maillot and Yvonne Lorrain are [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q16354830'] [{'concept': 'Q502895'}, 'P25', 'Q16354853'] [{'concept': 'Q502895'}, 'P25', 'Q16354832']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q502895 . ?j property:P25 resource:Q16354830 } UNION { ?j property:P25 resource:Q16354853 . ?j rdf:type ontology:Q502895 } }
Jacques Chirac Marie-Agnès de Gaulle Jacques de Gaulle Charles de Gaulle Pierre de Gaulle Xavier de Gaulle François Mitterrand Robert Mitterrand Jacques Mitterrand
The offspring of Marie-Louise Valette , Jeanne Maillot and Yvonne Lorrain are Jacques Chirac, Charles de Gaulle and François Mitterrand
Jacques Chirac Charles de Gaulle François Mitterrand
action union
action filter_type
action find_reverse
entity Marie-Louise Valette
relation mother
type common name
action filter_type
action find_reverse
entity Jeanne Maillot
relation mother
type common name
action filter_type
action find_reverse
entity Yvonne Lorrain
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Marie-Louise Valette'] [{'concept': 'common name'}, 'mother', 'Jeanne Maillot'] [{'concept': 'common name'}, 'mother', 'Yvonne Lorrain']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:common_name . ?j property:mother resource:Marie-Louise_Valette } UNION { ?j property:mother resource:Jeanne_Maillot . ?j rdf:type ontology:common_name } }
[]