Simple Question (Direct)
Simple Question
Q1321563
P47
Q20667921
USER
Which french administrative divisions are bordered by Gintrac ?
(Q1321563,P47,c(Q20667921))
action filter_type
action find
entity Q1321563
relation P47
type Q20667921
['Q1321563', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q1321563 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Gintrac
action filter_type
action find
entity Gintrac
relation shares border with
type type of french administrative division
['Gintrac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Gintrac property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1383559 Q660510 Q1321972
SYSTEM
Tauriac, Loubressac, Prudhomat
Q660510 Q1321972 Q1383559 Q1598020 Q1322536 Q635127
(Q1321563,P47,c(Q20667921))
action filter_type
action find
entity Q1321563
relation P47
type Q20667921
The [ANSWERS] are bordered by Gintrac
['Q1321563', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q1321563 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Loubressac Prudhomat Tauriac Miers Padirac Carennac
The Tauriac, Loubressac and Prudhomat are bordered by Gintrac
Tauriac Loubressac Prudhomat
action filter_type
action find
entity Gintrac
relation shares border with
type type of french administrative division
['Gintrac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Gintrac property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1383559
P17
Q15617994
USER
Which administrative territory is Tauriac situated in ?
(Q1383559,P17,c(Q15617994))
action filter_type
action find
entity Q1383559
relation P17
type Q15617994
['Q1383559', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1383559 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Tauriac
action filter_type
action find
entity Tauriac
relation country
type designation for an administrative territorial entity
['Tauriac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Tauriac property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1383559,P17,c(Q15617994))
action filter_type
action find
entity Q1383559
relation P17
type Q15617994
Tauriac is situated in [ANSWER]
['Q1383559', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1383559 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
France
Tauriac is situated in France
France
action filter_type
action find
entity Tauriac
relation country
type designation for an administrative territorial entity
['Tauriac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Tauriac property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10865024
Q15617994
USER
And what about Wanshan Station?
(Q10865024,P17,c(Q15617994))
action filter_type
action find
entity Q10865024
relation P17
type Q15617994
['Q10865024', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q10865024 property:P17 ?q }
Wanshan Station
action filter_type
action find
entity Wanshan Station
relation country
type designation for an administrative territorial entity
['Wanshan Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wanshan_Station property:country ?q }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q10865024,P17,c(Q15617994))
action filter_type
action find
entity Q10865024
relation P17
type Q15617994
[ANSWER]
['Q10865024', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q10865024 property:P17 ?q }
People's Republic of China
People's Republic of China
action filter_type
action find
entity Wanshan Station
relation country
type designation for an administrative territorial entity
['Wanshan Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wanshan_Station property:country ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P463
Q43229
USER
What were that administrative territory a member of ?
(Q148,P463,c(Q43229))
action filter_type
action find
entity Q148
relation P463
type Q43229
['Q148', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q148 property:P463 ?c . ?c rdf:type ontology:Q43229 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation member of
type organization
["People's Republic of China", 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:People's_Republic_of_China property:member_of ?c . ?c rdf:type ontology:organization }
[]
organization
Q7825 Q191384 Q485207
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, Shanghai Cooperation Organisation
Q340195 Q485207 Q899770 Q3772571 Q656801 Q191384 Q243630 Q170481 Q7825 Q827525
(Q148,P463,c(Q43229))
action filter_type
action find
entity Q148
relation P463
type Q43229
[ANSWERS] a member of
['Q148', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q148 property:P463 ?c . ?c rdf:type ontology:Q43229 }
African Development Bank Shanghai Cooperation Organisation International Centre for Settlement of Investment Disputes Caribbean Development Bank International Finance Corporation International Bank for Reconstruction and Development BRICS Asia-Pacific Economic Cooperation World Trade Organization International Development Association
World Trade Organization, International Bank for Reconstruction and Development and Shanghai Cooperation Organisation a member of
World Trade Organization International Bank for Reconstruction and Development Shanghai Cooperation Organisation
action filter_type
action find
entity People's Republic of China
relation member of
type organization
["People's Republic of China", 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:People's_Republic_of_China property:member_of ?c . ?c rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q148
P463
Q15617994
USER
Do People's Republic of China have a membership of those organizations ?
(Q148,P463,Q7825) (Q148,P463,Q191384) (Q148,P463,Q485207)
action is_in
entity prev_answer
action find
entity Q148
relation P463
['Q148', 'P463', 'Q7825'] ['Q148', 'P463', 'Q191384'] ['Q148', 'P463', 'Q485207']
ASK WHERE { resource:Q148 property:P463 ?c . VALUES ( ?c ) { ( resource:Q340195 ) ( resource:Q485207 ) ( resource:Q899770 ) } }
People's Republic of China
action is_in
entity prev_answer
action find
entity People's Republic of China
relation member of
["People's Republic of China", 'member of', 'World Trade Organization'] ["People's Republic of China", 'member of', 'International Bank for Reconstruction and Development'] ["People's Republic of China", 'member of', 'Shanghai Cooperation Organisation']
ASK WHERE { resource:People's_Republic_of_China property:member_of ?c . VALUES ( ?c ) { ( resource:African_Development_Bank ) ( resource:Shanghai_Cooperation_Organisation ) ( resource:International_Centre_for_Settlement_of_Investment_Disputes ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q148,P463,Q7825) (Q148,P463,Q191384) (Q148,P463,Q485207)
action is_in
entity prev_answer
action find
entity Q148
relation P463
[ANSWER]
['Q148', 'P463', 'Q7825'] ['Q148', 'P463', 'Q191384'] ['Q148', 'P463', 'Q485207']
ASK WHERE { resource:Q148 property:P463 ?c . VALUES ( ?c ) { ( resource:Q340195 ) ( resource:Q485207 ) ( resource:Q899770 ) } }
Yes
action is_in
entity prev_answer
action find
entity People's Republic of China
relation member of
["People's Republic of China", 'member of', 'World Trade Organization'] ["People's Republic of China", 'member of', 'International Bank for Reconstruction and Development'] ["People's Republic of China", 'member of', 'Shanghai Cooperation Organisation']
ASK WHERE { resource:People's_Republic_of_China property:member_of ?c . VALUES ( ?c ) { ( resource:African_Development_Bank ) ( resource:Shanghai_Cooperation_Organisation ) ( resource:International_Centre_for_Settlement_of_Investment_Disputes ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1321972 Q502710 Q1357953
P17
Q15617994
USER
Is Prudhomat present in Greiz and Youjiang District ?
(Q1321972,P17,Q502710) (Q1321972,P17,Q1357953)
action is_in
entity Q1321972
action intersection
action find_reverse
entity Q502710
relation P17
action find_reverse
entity Q1357953
relation P17
['Q1321972', 'P17', 'Q502710'] ['Q1321972', 'P17', 'Q1357953']
ASK WHERE { resource:Q1321972 property:P17 resource:Q502710 . resource:Q1321972 property:P17 resource:Q1357953 }
Prudhomat Greiz Youjiang District
action is_in
entity Prudhomat
action intersection
action find_reverse
entity Greiz
relation country
action find_reverse
entity Youjiang District
relation country
['Prudhomat', 'country', 'Greiz'] ['Prudhomat', 'country', 'Youjiang District']
ASK WHERE { resource:Prudhomat property:country resource:Greiz . resource:Prudhomat property:country resource:Youjiang_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1321972,P17,Q502710) (Q1321972,P17,Q1357953)
action is_in
entity Q1321972
action intersection
action find_reverse
entity Q502710
relation P17
action find_reverse
entity Q1357953
relation P17
[ANSWER]
['Q1321972', 'P17', 'Q502710'] ['Q1321972', 'P17', 'Q1357953']
ASK WHERE { resource:Q1321972 property:P17 resource:Q502710 . resource:Q1321972 property:P17 resource:Q1357953 }
No
action is_in
entity Prudhomat
action intersection
action find_reverse
entity Greiz
relation country
action find_reverse
entity Youjiang District
relation country
['Prudhomat', 'country', 'Greiz'] ['Prudhomat', 'country', 'Youjiang District']
ASK WHERE { resource:Prudhomat property:country resource:Greiz . resource:Prudhomat property:country resource:Youjiang_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1383559
P19
Q502895
USER
Who was born at Tauriac ?
(c(Q502895),P19,Q1383559)
action filter_type
action find_reverse
entity Q1383559
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1383559']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q1383559 . ?u rdf:type ontology:Q502895 }
Tauriac
action filter_type
action find_reverse
entity Tauriac
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Tauriac']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Tauriac . ?u rdf:type ontology:common_name }
[]
common name
Q3291074
SYSTEM
Maria Valtat
Q3291074
(c(Q502895),P19,Q1383559)
action filter_type
action find_reverse
entity Q1383559
relation P19
type Q502895
[ANSWER] was born at Tauriac
[{'concept': 'Q502895'}, 'P19', 'Q1383559']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q1383559 . ?u rdf:type ontology:Q502895 }
Maria Valtat
Maria Valtat was born at Tauriac
Maria Valtat
action filter_type
action find_reverse
entity Tauriac
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Tauriac']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Tauriac . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3291074 Q641584 Q142
P27
Q15617994
USER
Is that person a native of Mutterschied and France ?
(Q3291074,P27,Q641584) (Q3291074,P27,Q142)
action is_in
entity Q3291074
action intersection
action find_reverse
entity Q641584
relation P27
action find_reverse
entity Q142
relation P27
['Q3291074', 'P27', 'Q641584'] ['Q3291074', 'P27', 'Q142']
ASK WHERE { resource:Q3291074 property:P27 resource:Q641584 . resource:Q3291074 property:P27 resource:Q142 }
Maria Valtat Mutterschied France
action is_in
entity Maria Valtat
action intersection
action find_reverse
entity Mutterschied
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Maria Valtat', 'country of citizenship', 'Mutterschied'] ['Maria Valtat', 'country of citizenship', 'France']
ASK WHERE { resource:Maria_Valtat property:country_of_citizenship resource:Mutterschied . resource:Maria_Valtat property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3291074,P27,Q641584) (Q3291074,P27,Q142)
action is_in
entity Q3291074
action intersection
action find_reverse
entity Q641584
relation P27
action find_reverse
entity Q142
relation P27
[ANSWER]
['Q3291074', 'P27', 'Q641584'] ['Q3291074', 'P27', 'Q142']
ASK WHERE { resource:Q3291074 property:P27 resource:Q641584 . resource:Q3291074 property:P27 resource:Q142 }
NO and YES respectively
action is_in
entity Maria Valtat
action intersection
action find_reverse
entity Mutterschied
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Maria Valtat', 'country of citizenship', 'Mutterschied'] ['Maria Valtat', 'country of citizenship', 'France']
ASK WHERE { resource:Maria_Valtat property:country_of_citizenship resource:Mutterschied . resource:Maria_Valtat property:country_of_citizenship resource:France }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2345793 Q1321563
P495 P17
Q15617994
USER
Which administrative territories are Gintrac situated in or did Stars at Noon originate ?
OR((Q1321563,P17,c(Q15617994)), (Q2345793,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1321563
relation P17
action find
entity Q2345793
relation P495
type Q15617994
{'OR': [['Q1321563', 'P17', {'concept': 'Q15617994'}], ['Q2345793', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q1321563 property:P17 ?u } UNION { resource:Q2345793 property:P495 ?u } } }
Stars at Noon Gintrac
action filter_type
action union
action find
entity Gintrac
relation country
action find
entity Stars at Noon
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Gintrac', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stars at Noon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gintrac property:country ?u } UNION { resource:Stars_at_Noon property:country_of_origin ?u } } }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q1321563,P17,c(Q15617994)), (Q2345793,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1321563
relation P17
action find
entity Q2345793
relation P495
type Q15617994
Gintrac are situated originate from [ANSWER]
{'OR': [['Q1321563', 'P17', {'concept': 'Q15617994'}], ['Q2345793', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q1321563 property:P17 ?u } UNION { resource:Q2345793 property:P495 ?u } } }
France
Gintrac are situated originate from France
France
action filter_type
action union
action find
entity Gintrac
relation country
action find
entity Stars at Noon
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Gintrac', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stars at Noon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gintrac property:country ?u } UNION { resource:Stars_at_Noon property:country_of_origin ?u } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q39
P47
Q15617994
USER
Does Switzerland have a shared border with that one ?
(Q142,P47,Q39)
action is_in
entity Q39
action find
entity Q142
relation P47
['Q142', 'P47', 'Q39']
ASK WHERE { resource:Q142 property:P47 resource:Q39 }
France Switzerland
action is_in
entity Switzerland
action find
entity France
relation shares border with
['France', 'shares border with', 'Switzerland']
ASK WHERE { resource:France property:shares_border_with resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P47,Q39)
action is_in
entity Q39
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q39']
ASK WHERE { resource:Q142 property:P47 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity France
relation shares border with
['France', 'shares border with', 'Switzerland']
ASK WHERE { resource:France property:shares_border_with resource:Switzerland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P276
Q645883
USER
What is located at France ?
(c(Q645883),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q645883
[{'concept': 'Q645883'}, 'P276', 'Q142']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q645883 . ?d property:P276 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'France']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:military_operation . ?d property:location resource:France }
[]
military operation
Q2005867
SYSTEM
Nivelle Offensive
Q2005867
(c(Q645883),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q645883
At [ANSWER] is located at France
[{'concept': 'Q645883'}, 'P276', 'Q142']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q645883 . ?d property:P276 resource:Q142 }
Nivelle Offensive
At Nivelle Offensive is located at France
Nivelle Offensive
action filter_type
action find_reverse
entity France
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'France']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:military_operation . ?d property:location resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2005867
P710
Q502895
USER
Who attended that military operation ?
(Q2005867,P710,c(Q502895))
action filter_type
action find
entity Q2005867
relation P710
type Q502895
['Q2005867', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2005867 property:P710 ?u . ?u rdf:type ontology:Q502895 }
Nivelle Offensive
action filter_type
action find
entity Nivelle Offensive
relation participant
type common name
['Nivelle Offensive', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Nivelle_Offensive property:participant ?u . ?u rdf:type ontology:common_name }
[]
common name
Q57621 Q312564 Q58579
SYSTEM
Wilhelm, German Crown Prince, Douglas Haig, 1st Earl Haig, Erich Ludendorff
Q49448 Q57621 Q58579 Q312564
(Q2005867,P710,c(Q502895))
action filter_type
action find
entity Q2005867
relation P710
type Q502895
[ANSWERS] attended that military operation
['Q2005867', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2005867 property:P710 ?u . ?u rdf:type ontology:Q502895 }
Robert Nivelle Wilhelm, German Crown Prince Erich Ludendorff Douglas Haig, 1st Earl Haig
Wilhelm, German Crown Prince, Douglas Haig, 1st Earl Haig and Erich Ludendorff attended that military operation
Wilhelm, German Crown Prince Douglas Haig, 1st Earl Haig Erich Ludendorff
action filter_type
action find
entity Nivelle Offensive
relation participant
type common name
['Nivelle Offensive', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Nivelle_Offensive property:participant ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q57621 Q312564 Q58579
P106
Q12737077
USER
What do Wilhelm, German Crown Prince, Douglas Haig, 1st Earl Haig and Erich Ludendorff do for a living ?
(Q57621,P106,c(Q12737077)) (Q312564,P106,c(Q12737077)) (Q58579,P106,c(Q12737077))
action union
action filter_type
action find
entity Q57621
relation P106
type Q12737077
action filter_type
action find
entity Q312564
relation P106
type Q12737077
action filter_type
action find
entity Q58579
relation P106
type Q12737077
['Q57621', 'P106', {'concept': 'Q12737077'}] ['Q312564', 'P106', {'concept': 'Q12737077'}] ['Q58579', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?l ) { ( resource:Q57621 ) ( resource:Q312564 ) } . ?l property:P106 ?h }
Wilhelm, German Crown Prince Douglas Haig, 1st Earl Haig Erich Ludendorff
action union
action filter_type
action find
entity Wilhelm, German Crown Prince
relation occupation
type occupation
action filter_type
action find
entity Douglas Haig, 1st Earl Haig
relation occupation
type occupation
action filter_type
action find
entity Erich Ludendorff
relation occupation
type occupation
['Wilhelm, German Crown Prince', 'occupation', {'concept': 'occupation'}] ['Douglas Haig, 1st Earl Haig', 'occupation', {'concept': 'occupation'}] ['Erich Ludendorff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?l ) { ( resource:Wilhelm,_German_Crown_Prince ) ( resource:Douglas_Haig,_1st_Earl_Haig ) } . ?l property:occupation ?h }
[]
occupation
Q82955 Q82955 Q189290
SYSTEM
politician for 1st, 2nd, officer for 3rd
Q189290 Q82955 Q189290 Q82955 Q189290
(Q57621,P106,c(Q12737077)) (Q312564,P106,c(Q12737077)) (Q58579,P106,c(Q12737077))
action union
action filter_type
action find
entity Q57621
relation P106
type Q12737077
action filter_type
action find
entity Q312564
relation P106
type Q12737077
action filter_type
action find
entity Q58579
relation P106
type Q12737077
[ANSWERS]
['Q57621', 'P106', {'concept': 'Q12737077'}] ['Q312564', 'P106', {'concept': 'Q12737077'}] ['Q58579', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?l ) { ( resource:Q57621 ) ( resource:Q312564 ) } . ?l property:P106 ?h }
officer politician officer politician officer
Politician, politician and officer Wilhelm , German Crown Prince , Douglas Haig , 1st Earl Haig and Erich Ludendorff do for a living
politician politician officer
action union
action filter_type
action find
entity Wilhelm, German Crown Prince
relation occupation
type occupation
action filter_type
action find
entity Douglas Haig, 1st Earl Haig
relation occupation
type occupation
action filter_type
action find
entity Erich Ludendorff
relation occupation
type occupation
['Wilhelm, German Crown Prince', 'occupation', {'concept': 'occupation'}] ['Douglas Haig, 1st Earl Haig', 'occupation', {'concept': 'occupation'}] ['Erich Ludendorff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?l ) { ( resource:Wilhelm,_German_Crown_Prince ) ( resource:Douglas_Haig,_1st_Earl_Haig ) } . ?l property:occupation ?h }
[]