Simple Question (Direct)
Simple Question
Q6222522
P1196
Q1931388
USER
What situation did John Bostock die in ?
(Q6222522,P1196,c(Q1931388))
action filter_type
action find
entity Q6222522
relation P1196
type Q1931388
['Q6222522', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?v WHERE { resource:Q6222522 property:P1196 ?v . ?v rdf:type ontology:Q1931388 }
John Bostock
action filter_type
action find
entity John Bostock
relation manner of death
type cause of death
['John Bostock', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?v WHERE { resource:John_Bostock property:manner_of_death ?v . ?v rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6222522,P1196,c(Q1931388))
action filter_type
action find
entity Q6222522
relation P1196
type Q1931388
John Bostock died of [ANSWER]
['Q6222522', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?v WHERE { resource:Q6222522 property:P1196 ?v . ?v rdf:type ontology:Q1931388 }
natural causes
John Bostock died of natural causes
natural causes
action filter_type
action find
entity John Bostock
relation manner of death
type cause of death
['John Bostock', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?v WHERE { resource:John_Bostock property:manner_of_death ?v . ?v rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6222522
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q3739104,P39,c(Q12737077))
action filter_type
action find
entity Q6222522
relation P39
type Q12737077
['Q3739104', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6222522 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
John Bostock
action filter_type
action find
entity John Bostock
relation position held
type occupation
['natural causes', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:John_Bostock property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q7241336
SYSTEM
President of the Geological Society of London
Q7241336
(Q3739104,P39,c(Q12737077))
action filter_type
action find
entity Q6222522
relation P39
type Q12737077
[ANSWER] was a position held by that person
['Q3739104', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6222522 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
President of the Geological Society of London
President of the Geological Society of London was a position held by that person
President of the Geological Society of London
action filter_type
action find
entity John Bostock
relation position held
type occupation
['natural causes', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:John_Bostock property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7241336 Q6013890
P39
Q502895
USER
Was Martin Norberg responsible for occupying the position of that occupation ?
(Q6013890,P39,Q7241336)
action is_in
entity Q6013890
action find
entity Q7241336
relation P39
['Q6013890', 'P39', 'Q7241336']
ASK WHERE { resource:Q7241336 property:P39 resource:Q6013890 }
President of the Geological Society of London Martin Norberg
action is_in
entity Martin Norberg
action find
entity President of the Geological Society of London
relation position held
['Martin Norberg', 'position held', 'President of the Geological Society of London']
ASK WHERE { resource:President_of_the_Geological_Society_of_London property:position_held resource:Martin_Norberg }
[]
common name
SYSTEM
NO
(Q6013890,P39,Q7241336)
action is_in
entity Q6013890
action find
entity Q7241336
relation P39
[ANSWER]
['Q6013890', 'P39', 'Q7241336']
ASK WHERE { resource:Q7241336 property:P39 resource:Q6013890 }
No
action is_in
entity Martin Norberg
action find
entity President of the Geological Society of London
relation position held
['Martin Norberg', 'position held', 'President of the Geological Society of London']
ASK WHERE { resource:President_of_the_Geological_Society_of_London property:position_held resource:Martin_Norberg }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q12737077 Q178706 Q12737077
USER
Which occupations were appointed by max number of occupations and institutions ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?c ) WHERE { { ?v property:P748 ?j . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q12737077 } UNION { ?v property:P748 ?j . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q178706 } } GROUP BY ?v } . FILTER ( ?c = ?m ) }
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:institution ) } } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?c ) WHERE { { ?v property:appointed_by ?j . ?v rdf:type ontology:occupation . ?j rdf:type ontology:occupation } UNION { ?v property:appointed_by ?j . ?v rdf:type ontology:occupation . ?j rdf:type ontology:institution } } GROUP BY ?v } . FILTER ( ?c = ?m ) }
[]
occupation institution occupation
Q687075 Q1749063 Q81066
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, United Nations Secretary-General
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q740126 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q1749063 Q24636364 Q14565638 Q251724 Q1161813 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q634291 Q3251807 Q13526082 Q6866016 Q735587 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
[ANSWERS] were appointed by max number of occupations and institutions
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?c ) WHERE { { ?v property:P748 ?j . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q12737077 } UNION { ?v property:P748 ?j . ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q178706 } } GROUP BY ?v } . FILTER ( ?c = ?m ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government President of the European Parliament Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland President of the United Nations General Assembly Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport High Representative of the Union for Foreign Affairs and Security Policy Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and United Nations Secretary-General were appointed by max number of occupations and institutions
Prime Minister of Sweden Minister for Foreign Affairs of Sweden United Nations Secretary-General
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:institution ) } } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?c ) WHERE { { ?v property:appointed_by ?j . ?v rdf:type ontology:occupation . ?j rdf:type ontology:occupation } UNION { ?v property:appointed_by ?j . ?v rdf:type ontology:occupation . ?j rdf:type ontology:institution } } GROUP BY ?v } . FILTER ( ?c = ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12784803 Q6013890
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Martin Norberg or Anton Grčar ?
OR((Q6013890,P27,c(Q15617994)), (Q12784803,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6013890
relation P27
action find
entity Q12784803
relation P27
type Q15617994
{'OR': [['Q6013890', 'P27', {'concept': 'Q15617994'}], ['Q12784803', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Q6013890 ) ( resource:Q12784803 ) } . ?h property:P27 ?o } . ?o rdf:type ontology:Q15617994 }
Anton Grčar Martin Norberg
action filter_type
action union
action find
entity Martin Norberg
relation country of citizenship
action find
entity Anton Grčar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Martin Norberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Anton Grčar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Martin_Norberg ) ( resource:Anton_Grčar ) } . ?h property:country_of_citizenship ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34 Q215
SYSTEM
Sweden, Slovenia
Q34 Q215
OR((Q6013890,P27,c(Q15617994)), (Q12784803,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6013890
relation P27
action find
entity Q12784803
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Martin Norberg or Anton Grčar
{'OR': [['Q6013890', 'P27', {'concept': 'Q15617994'}], ['Q12784803', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Q6013890 ) ( resource:Q12784803 ) } . ?h property:P27 ?o } . ?o rdf:type ontology:Q15617994 }
Sweden Slovenia
Sweden and Slovenia are the countries of citizenship of Martin Norberg or Anton Grčar
Sweden Slovenia
action filter_type
action union
action find
entity Martin Norberg
relation country of citizenship
action find
entity Anton Grčar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Martin Norberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Anton Grčar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Martin_Norberg ) ( resource:Anton_Grčar ) } . ?h property:country_of_citizenship ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q34 Q215
P463
Q484652
USER
What international organizations were Sweden and Slovenia a member of ?
(Q34,P463,c(Q484652)) (Q215,P463,c(Q484652))
action union
action filter_type
action find
entity Q34
relation P463
type Q484652
action filter_type
action find
entity Q215
relation P463
type Q484652
['Q34', 'P463', {'concept': 'Q484652'}] ['Q215', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:Q34 ) ( resource:Q215 ) } . ?c property:P463 ?k }
Sweden Slovenia
action union
action filter_type
action find
entity Sweden
relation member of
type international organization
action filter_type
action find
entity Slovenia
relation member of
type international organization
['Sweden', 'member of', {'concept': 'international organization'}] ['Slovenia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:Sweden ) ( resource:Slovenia ) } . ?c property:member_of ?k }
[]
international organization
Q81299 Q81299 Q42262
SYSTEM
Organization for Security and Co-operation in Europe for 1st, 2nd, European Space Agency for 3rd
Q81299 Q789769 Q1065 Q188822 Q146165 Q674182 Q1043527 Q42262 Q81299 Q1065 Q1043527 Q7184
(Q34,P463,c(Q484652)) (Q215,P463,c(Q484652))
action union
action filter_type
action find
entity Q34
relation P463
type Q484652
action filter_type
action find
entity Q215
relation P463
type Q484652
[ANSWERS]
['Q34', 'P463', {'concept': 'Q484652'}] ['Q215', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:Q34 ) ( resource:Q215 ) } . ?c property:P463 ?k }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States United Nations Asian Development Bank Nordic Council Arctic Council Multilateral Investment Guarantee Agency European Space Agency Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency North Atlantic Treaty Organisation
Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and European Space Agency were Sweden and Slovenia a member of
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe European Space Agency
action union
action filter_type
action find
entity Sweden
relation member of
type international organization
action filter_type
action find
entity Slovenia
relation member of
type international organization
['Sweden', 'member of', {'concept': 'international organization'}] ['Slovenia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:Sweden ) ( resource:Slovenia ) } . ?c property:member_of ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q34
P1001
Q35798
USER
Which executive branches apply to jurisdiction over that administrative territory ?
(c(Q35798),P1001,Q34)
action filter_type
action find_reverse
entity Q34
relation P1001
type Q35798
[{'concept': 'Q35798'}, 'P1001', 'Q34']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q34 . ?q rdf:type ontology:Q35798 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation applies to jurisdiction
type executive branch
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'Sweden']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Sweden . ?q rdf:type ontology:executive_branch }
[]
executive branch
Clarification for simple ques.
Q34
SYSTEM
Did you mean Sweden ?
Q81299 Q81299 Q42262
(c(Q35798),P1001,Q81299) (c(Q35798),P1001,Q81299) (c(Q35798),P1001,Q42262)
[ANSWER]
[{'concept': 'Q35798'}, 'P1001', 'Q81299'] [{'concept': 'Q35798'}, 'P1001', 'Q81299'] [{'concept': 'Q35798'}, 'P1001', 'Q42262']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q34 . ?q rdf:type ontology:Q35798 }
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe European Space Agency
Did you mean Sweden ?
Sweden
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'Organization for Security and Co-operation in Europe'] [{'concept': 'executive branch'}, 'applies to jurisdiction', 'Organization for Security and Co-operation in Europe'] [{'concept': 'executive branch'}, 'applies to jurisdiction', 'European Space Agency']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Sweden . ?q rdf:type ontology:executive_branch }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q35798),P1001,Q34)
[{'concept': 'Q35798'}, 'P1001', 'Q34']
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'Sweden']
[]
Q4907653 Q3046743 Q4907240
SYSTEM
Bildt Cabinet, Reinfeldt Cabinet, Carlsson III Cabinet
Q4907240 Q3046743 Q4907653 Q5217837 Q10650416 Q5306179 Q5306186 Q5306190 Q4570330 Q10650420 Q5306200
(c(Q35798),P1001,Q34)
action filter_type
action find_reverse
entity Q34
relation P1001
type Q35798
[ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q35798'}, 'P1001', 'Q34']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q34 . ?q rdf:type ontology:Q35798 }
Carlsson III Cabinet Reinfeldt Cabinet Bildt Cabinet Palme II Cabinet Carlsson II Cabinet Ullsten Cabinet Fälldin III Cabinet Fälldin II Cabinet Persson Cabinet Edén Cabinet Fälldin I Cabinet
Bildt Cabinet, Reinfeldt Cabinet and Carlsson III Cabinet apply to jurisdiction over that administrative territory
Bildt Cabinet Reinfeldt Cabinet Carlsson III Cabinet
action filter_type
action find_reverse
entity Sweden
relation applies to jurisdiction
type executive branch
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'Sweden']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Sweden . ?q rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4907653 Q3046743 Q4907240
P35
Q502895
USER
Who are the chiefs of state of Bildt Cabinet, Reinfeldt Cabinet and Carlsson III Cabinet ?
(Q4907653,P35,c(Q502895)) (Q3046743,P35,c(Q502895)) (Q4907240,P35,c(Q502895))
action union
action filter_type
action find
entity Q4907653
relation P35
type Q502895
action filter_type
action find
entity Q3046743
relation P35
type Q502895
action filter_type
action find
entity Q4907240
relation P35
type Q502895
['Q4907653', 'P35', {'concept': 'Q502895'}] ['Q3046743', 'P35', {'concept': 'Q502895'}] ['Q4907240', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q4907653 property:P35 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q3046743 property:P35 ?n . ?n rdf:type ontology:Q502895 } }
Bildt Cabinet Reinfeldt Cabinet Carlsson III Cabinet
action union
action filter_type
action find
entity Bildt Cabinet
relation head of state
type common name
action filter_type
action find
entity Reinfeldt Cabinet
relation head of state
type common name
action filter_type
action find
entity Carlsson III Cabinet
relation head of state
type common name
['Bildt Cabinet', 'head of state', {'concept': 'common name'}] ['Reinfeldt Cabinet', 'head of state', {'concept': 'common name'}] ['Carlsson III Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:Bildt_Cabinet property:head_of_state ?n . ?n rdf:type ontology:common_name } UNION { resource:Reinfeldt_Cabinet property:head_of_state ?n . ?n rdf:type ontology:common_name } }
[]
common name
Q45068 Q45068 Q45068
SYSTEM
Carl XVI Gustaf of Sweden
Q45068 Q45068 Q45068
(Q4907653,P35,c(Q502895)) (Q3046743,P35,c(Q502895)) (Q4907240,P35,c(Q502895))
action union
action filter_type
action find
entity Q4907653
relation P35
type Q502895
action filter_type
action find
entity Q3046743
relation P35
type Q502895
action filter_type
action find
entity Q4907240
relation P35
type Q502895
The chiefs of state of Bildt Cabinet , Reinfeldt Cabinet and Carlsson III Cabinet are King [ANSWER], [ANSWER] and [ANSWER]
['Q4907653', 'P35', {'concept': 'Q502895'}] ['Q3046743', 'P35', {'concept': 'Q502895'}] ['Q4907240', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q4907653 property:P35 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q3046743 property:P35 ?n . ?n rdf:type ontology:Q502895 } }
Carl XVI Gustaf of Sweden Carl XVI Gustaf of Sweden Carl XVI Gustaf of Sweden
The chiefs of state of Bildt Cabinet , Reinfeldt Cabinet and Carlsson III Cabinet are King Carl XVI Gustaf of Sweden, Carl XVI Gustaf of Sweden and Carl XVI Gustaf of Sweden
Carl XVI Gustaf of Sweden Carl XVI Gustaf of Sweden Carl XVI Gustaf of Sweden
action union
action filter_type
action find
entity Bildt Cabinet
relation head of state
type common name
action filter_type
action find
entity Reinfeldt Cabinet
relation head of state
type common name
action filter_type
action find
entity Carlsson III Cabinet
relation head of state
type common name
['Bildt Cabinet', 'head of state', {'concept': 'common name'}] ['Reinfeldt Cabinet', 'head of state', {'concept': 'common name'}] ['Carlsson III Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:Bildt_Cabinet property:head_of_state ?n . ?n rdf:type ontology:common_name } UNION { resource:Reinfeldt_Cabinet property:head_of_state ?n . ?n rdf:type ontology:common_name } }
[]