Simple Question (Direct)
Simple Question
Q11884380
P39
Q12737077
USER
Which occupation was a position held by Niilo Liakka ?
(Q11884380,P39,c(Q12737077))
action filter_type
action find
entity Q11884380
relation P39
type Q12737077
['Q11884380', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q11884380 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Niilo Liakka
action filter_type
action find
entity Niilo Liakka
relation position held
type occupation
['Niilo Liakka', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Niilo_Liakka property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q17592486
SYSTEM
member of the Parliament of Finland
Q17592486
(Q11884380,P39,c(Q12737077))
action filter_type
action find
entity Q11884380
relation P39
type Q12737077
The [ANSWER] was a position held by Niilo Liakka
['Q11884380', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q11884380 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
member of the Parliament of Finland
The member of the Parliament of Finland was a position held by Niilo Liakka
member of the Parliament of Finland
action filter_type
action find
entity Niilo Liakka
relation position held
type occupation
['Niilo Liakka', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Niilo_Liakka property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11884380
P937
Q56061
USER
Which is the work location of that person ?
(Q17592486,P937,c(Q56061))
action filter_type
action find
entity Q11884380
relation P937
type Q56061
['Q17592486', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q11884380 property:P937 ?z }
Niilo Liakka
action filter_type
action find
entity Niilo Liakka
relation work location
type administrative territorial entity
['member of the Parliament of Finland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Niilo_Liakka property:work_location ?z }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q17592486,P937,c(Q56061))
action filter_type
action find
entity Q11884380
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q17592486', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q11884380 property:P937 ?z }
Helsinki
The work location of that person is in Helsinki
Helsinki
action filter_type
action find
entity Niilo Liakka
relation work location
type administrative territorial entity
['member of the Parliament of Finland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Niilo_Liakka property:work_location ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1757
P127
Q43229 Q483110
USER
How many organizations or stadia are owned by Helsinki ?
(c(Q43229),P127,Q1757) (c(Q483110),P127,Q1757)
action count
action union
action filter_type
action find_reverse
entity Q1757
relation P127
type Q43229
action filter_type
action find_reverse
entity Q1757
relation P127
type Q483110
[{'concept': 'Q43229'}, 'P127', 'Q1757'] [{'concept': 'Q483110'}, 'P127', 'Q1757']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q483110 ) } }
Helsinki
action count
action union
action filter_type
action find_reverse
entity Helsinki
relation owned by
type organization
action filter_type
action find_reverse
entity Helsinki
relation owned by
type stadium
[{'concept': 'organization'}, 'owned by', 'Helsinki'] [{'concept': 'stadium'}, 'owned by', 'Helsinki']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:organization ) ( ontology:stadium ) } }
[]
organization stadium
SYSTEM
2
Q1139227 Q4357584
(c(Q43229),P127,Q1757) (c(Q483110),P127,Q1757)
action count
action union
action filter_type
action find_reverse
entity Q1757
relation P127
type Q43229
action filter_type
action find_reverse
entity Q1757
relation P127
type Q483110
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q1757'] [{'concept': 'Q483110'}, 'P127', 'Q1757']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q483110 ) } }
Sonera Stadium Port of Helsinki
2
action count
action union
action filter_type
action find_reverse
entity Helsinki
relation owned by
type organization
action filter_type
action find_reverse
entity Helsinki
relation owned by
type stadium
[{'concept': 'organization'}, 'owned by', 'Helsinki'] [{'concept': 'stadium'}, 'owned by', 'Helsinki']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:organization ) ( ontology:stadium ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P47
Q56061
USER
Which administrative territories are adjacent to Helsinki ?
(Q1757,P47,c(Q56061))
action filter_type
action find
entity Q1757
relation P47
type Q56061
['Q1757', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1757 property:P47 ?g }
Helsinki
action filter_type
action find
entity Helsinki
relation shares border with
type administrative territorial entity
['Helsinki', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Helsinki property:shares_border_with ?g }
[]
administrative territorial entity
Q47034 Q127623
SYSTEM
Espoo, Vantaa
Q47034 Q127623
(Q1757,P47,c(Q56061))
action filter_type
action find
entity Q1757
relation P47
type Q56061
Helsinki [ANSWERS] are adjacent to Helsinki
['Q1757', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1757 property:P47 ?g }
Espoo Vantaa
Helsinki Espoo and Vantaa are adjacent to Helsinki
Espoo Vantaa
action filter_type
action find
entity Helsinki
relation shares border with
type administrative territorial entity
['Helsinki', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Helsinki property:shares_border_with ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14215161
Q56061
USER
And also tell me about Eston?
(Q14215161,P47,c(Q56061))
action filter_type
action find
entity Q14215161
relation P47
type Q56061
['Q14215161', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q14215161 property:P47 ?h }
Eston
action filter_type
action find
entity Eston
relation shares border with
type administrative territorial entity
['Eston', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Eston property:shares_border_with ?h }
[]
administrative territorial entity
Q1915145
SYSTEM
Leader
Q1915145
(Q14215161,P47,c(Q56061))
action filter_type
action find
entity Q14215161
relation P47
type Q56061
[ANSWER]
['Q14215161', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q14215161 property:P47 ?h }
Leader
Leader
action filter_type
action find
entity Eston
relation shares border with
type administrative territorial entity
['Eston', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Eston property:shares_border_with ?h }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1915145 Q1636228 Q2013052
P17
Q1048835
USER
Is that administrative territory present in Torre en Cameros and Santa Quitéria do Maranhão ?
(Q1915145,P17,Q1636228) (Q1915145,P17,Q2013052)
action is_in
entity Q1915145
action intersection
action find_reverse
entity Q1636228
relation P17
action find_reverse
entity Q2013052
relation P17
['Q1915145', 'P17', 'Q1636228'] ['Q1915145', 'P17', 'Q2013052']
ASK WHERE { resource:Q1915145 property:P17 resource:Q1636228 . resource:Q1915145 property:P17 resource:Q2013052 }
Leader Torre en Cameros Santa Quitéria do Maranhão
action is_in
entity Leader
action intersection
action find_reverse
entity Torre en Cameros
relation country
action find_reverse
entity Santa Quitéria do Maranhão
relation country
['Leader', 'country', 'Torre en Cameros'] ['Leader', 'country', 'Santa Quitéria do Maranhão']
ASK WHERE { resource:Leader property:country resource:Torre_en_Cameros . resource:Leader property:country resource:Santa_Quitéria_do_Maranhão }
[]
political territorial entity
SYSTEM
NO
(Q1915145,P17,Q1636228) (Q1915145,P17,Q2013052)
action is_in
entity Q1915145
action intersection
action find_reverse
entity Q1636228
relation P17
action find_reverse
entity Q2013052
relation P17
[ANSWER]
['Q1915145', 'P17', 'Q1636228'] ['Q1915145', 'P17', 'Q2013052']
ASK WHERE { resource:Q1915145 property:P17 resource:Q1636228 . resource:Q1915145 property:P17 resource:Q2013052 }
No
action is_in
entity Leader
action intersection
action find_reverse
entity Torre en Cameros
relation country
action find_reverse
entity Santa Quitéria do Maranhão
relation country
['Leader', 'country', 'Torre en Cameros'] ['Leader', 'country', 'Santa Quitéria do Maranhão']
ASK WHERE { resource:Leader property:country resource:Torre_en_Cameros . resource:Leader property:country resource:Santa_Quitéria_do_Maranhão }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1167594 Q11884380
P102
Q7210356
USER
Which political organizations do Niilo Liakka or Rudolf Gradinger belong to ?
OR((Q11884380,P102,c(Q7210356)), (Q1167594,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q11884380
relation P102
action find
entity Q1167594
relation P102
type Q7210356
{'OR': [['Q11884380', 'P102', {'concept': 'Q7210356'}], ['Q1167594', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1167594 property:P102 ?d } UNION { resource:Q11884380 property:P102 ?d } } . ?d rdf:type ontology:Q7210356 }
Rudolf Gradinger Niilo Liakka
action filter_type
action union
action find
entity Niilo Liakka
relation member of political party
action find
entity Rudolf Gradinger
relation member of political party
type political organization
{'OR': [['Niilo Liakka', 'member of political party', {'concept': 'political organization'}], ['Rudolf Gradinger', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Rudolf_Gradinger property:member_of_political_party ?d } UNION { resource:Niilo_Liakka property:member_of_political_party ?d } } . ?d rdf:type ontology:political_organization }
[]
political organization
Q506591 Q186867
SYSTEM
Centre Party, Austrian People's Party
Q506591 Q186867
OR((Q11884380,P102,c(Q7210356)), (Q1167594,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q11884380
relation P102
action find
entity Q1167594
relation P102
type Q7210356
Niilo Liakka or Rudolf Gradinger belong to [ANSWERS]
{'OR': [['Q11884380', 'P102', {'concept': 'Q7210356'}], ['Q1167594', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1167594 property:P102 ?d } UNION { resource:Q11884380 property:P102 ?d } } . ?d rdf:type ontology:Q7210356 }
Centre Party Austrian People's Party
Niilo Liakka or Rudolf Gradinger belong to Centre Party and Austrian People's Party
Centre Party Austrian People's Party
action filter_type
action union
action find
entity Niilo Liakka
relation member of political party
action find
entity Rudolf Gradinger
relation member of political party
type political organization
{'OR': [['Niilo Liakka', 'member of political party', {'concept': 'political organization'}], ['Rudolf Gradinger', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Rudolf_Gradinger property:member_of_political_party ?d } UNION { resource:Niilo_Liakka property:member_of_political_party ?d } } . ?d rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q12737077 Q178706 Q12737077
USER
Which occupations are appointed by max number of occupations or 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 ?b WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?i ) WHERE { { ?w property:P748 ?n . ?n rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q12737077 } UNION { ?w rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q178706 . ?w property:P748 ?n } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q12737077 } UNION { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q178706 } } GROUP BY ?b } . FILTER ( ?r = ?k ) }
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 ?b WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?i ) WHERE { { ?w property:appointed_by ?n . ?n rdf:type ontology:occupation . ?w rdf:type ontology:occupation } UNION { ?w rdf:type ontology:occupation . ?n rdf:type ontology:institution . ?w property:appointed_by ?n } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:occupation } UNION { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:institution } } GROUP BY ?b } . FILTER ( ?r = ?k ) }
[]
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] are appointed by max number of occupations or institutions
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?i ) WHERE { { ?w property:P748 ?n . ?n rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q12737077 } UNION { ?w rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q178706 . ?w property:P748 ?n } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q12737077 } UNION { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q178706 } } GROUP BY ?b } . FILTER ( ?r = ?k ) }
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 are appointed by max number of occupations or 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 ?b WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?i ) WHERE { { ?w property:appointed_by ?n . ?n rdf:type ontology:occupation . ?w rdf:type ontology:occupation } UNION { ?w rdf:type ontology:occupation . ?n rdf:type ontology:institution . ?w property:appointed_by ?n } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?r ) WHERE { { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:occupation } UNION { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:institution } } GROUP BY ?b } . FILTER ( ?r = ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1749063
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that occupation ?
(Q1749063,P1001,c(Q15617994))
action filter_type
action find
entity Q1749063
relation P1001
type Q15617994
['Q1749063', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1749063 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Minister for Foreign Affairs of Sweden
action filter_type
action find
entity Minister for Foreign Affairs of Sweden
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister for Foreign Affairs of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Minister_for_Foreign_Affairs_of_Sweden property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q81066
SYSTEM
Did you mean United Nations Secretary-General ?
Q687075 Q1749063 Q81066
(Q687075,P1001,c(Q15617994)) (Q1749063,P1001,c(Q15617994)) (Q81066,P1001,c(Q15617994))
[ANSWER]
['Q687075', 'P1001', {'concept': 'Q15617994'}] ['Q1749063', 'P1001', {'concept': 'Q15617994'}] ['Q81066', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1749063 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Prime Minister of Sweden Minister for Foreign Affairs of Sweden United Nations Secretary-General
Did you mean United Nations Secretary-General ?
United Nations Secretary-General
['Prime Minister of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Foreign Affairs of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['United Nations Secretary-General', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Minister_for_Foreign_Affairs_of_Sweden property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Minister for Foreign Affairs of Sweden. Could you tell me the answer for that?
(Q1749063,P1001,c(Q15617994))
Q1749063
['Q1749063', 'P1001', {'concept': 'Q15617994'}]
['Minister for Foreign Affairs of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
Q34
SYSTEM
Sweden
Q34
(Q1749063,P1001,c(Q15617994))
action filter_type
action find
entity Q1749063
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of that occupation
['Q1749063', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1749063 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Sweden
Sweden belongs to jurisdiction of that occupation
Sweden
action filter_type
action find
entity Minister for Foreign Affairs of Sweden
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister for Foreign Affairs of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Minister_for_Foreign_Affairs_of_Sweden property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]