Simple Question (Direct)
Simple Question
Q2316636
P20
Q56061
USER
Where did the expiration of Charles de Berlaymont occur ?
(Q2316636,P20,c(Q56061))
action filter_type
action find
entity Q2316636
relation P20
type Q56061
['Q2316636', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2316636 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Charles de Berlaymont
action filter_type
action find
entity Charles de Berlaymont
relation place of death
type administrative territorial entity
['Charles de Berlaymont', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Charles_de_Berlaymont property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q134121
SYSTEM
Namur
Q134121
(Q2316636,P20,c(Q56061))
action filter_type
action find
entity Q2316636
relation P20
type Q56061
Nt In [ANSWER] the expiration of Charles de Berlaymo occurred
['Q2316636', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2316636 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Namur
Nt In Namur the expiration of Charles de Berlaymo occurred
Namur
action filter_type
action find
entity Charles de Berlaymont
relation place of death
type administrative territorial entity
['Charles de Berlaymont', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Charles_de_Berlaymont property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2316636
P106
Q12737077
USER
What is the job of Charles de Berlaymont ?
(Q2316636,P106,c(Q12737077))
action filter_type
action find
entity Q2316636
relation P106
type Q12737077
['Q2316636', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q2316636 property:P106 ?h }
Charles de Berlaymont
action filter_type
action find
entity Charles de Berlaymont
relation occupation
type occupation
['Charles de Berlaymont', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Charles_de_Berlaymont property:occupation ?h }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2316636,P106,c(Q12737077))
action filter_type
action find
entity Q2316636
relation P106
type Q12737077
The job of Charles de Berlaymont is a [ANSWER]
['Q2316636', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q2316636 property:P106 ?h }
politician
The job of Charles de Berlaymont is a politician
politician
action filter_type
action find
entity Charles de Berlaymont
relation occupation
type occupation
['Charles de Berlaymont', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Charles_de_Berlaymont property:occupation ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q744336
Q12737077
USER
And what about Jan Gunnar Hoff?
(Q744336,P106,c(Q12737077))
action filter_type
action find
entity Q744336
relation P106
type Q12737077
['Q744336', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q744336 property:P106 ?h }
Jan Gunnar Hoff
action filter_type
action find
entity Jan Gunnar Hoff
relation occupation
type occupation
['Jan Gunnar Hoff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Jan_Gunnar_Hoff property:occupation ?h }
[]
occupation
Q36834 Q14915627 Q15981151
SYSTEM
composer, musicologist, jazz musician
Q14915627 Q15981151 Q36834 Q486748
(Q744336,P106,c(Q12737077))
action filter_type
action find
entity Q744336
relation P106
type Q12737077
[ANSWERS]
['Q744336', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q744336 property:P106 ?h }
musicologist jazz musician composer pianist
composer musicologist jazz musician
action filter_type
action find
entity Jan Gunnar Hoff
relation occupation
type occupation
['Jan Gunnar Hoff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Jan_Gunnar_Hoff property:occupation ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36834
P175
Q7725634
USER
Who performed that occupation ?
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q36834 . ?z rdf:type ontology:Q7725634 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:composer . ?z rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q15981151
SYSTEM
Did you mean jazz musician ?
Q36834 Q14915627 Q15981151
(c(Q7725634),P175,Q36834) (c(Q7725634),P175,Q14915627) (c(Q7725634),P175,Q15981151)
[ANSWER]
[{'concept': 'Q7725634'}, 'P175', 'Q36834'] [{'concept': 'Q7725634'}, 'P175', 'Q14915627'] [{'concept': 'Q7725634'}, 'P175', 'Q15981151']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q36834 . ?z rdf:type ontology:Q7725634 }
composer musicologist jazz musician
Did you mean jazz musician ?
jazz musician
[{'concept': 'literary work'}, 'performer', 'composer'] [{'concept': 'literary work'}, 'performer', 'musicologist'] [{'concept': 'literary work'}, 'performer', 'jazz musician']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:composer . ?z rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
No, I meant composer. Could you tell me the answer for that?
(c(Q7725634),P175,Q36834)
Q36834
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
[{'concept': 'literary work'}, 'performer', 'composer']
[]
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] performed that occupation
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q36834 . ?z rdf:type ontology:Q7725634 }
Hosanna
Hosanna performed that occupation
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:composer . ?z rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1006398
P748
Q1307214 Q895526 Q12737077
USER
Which occupations are appointed by around the same number of forms of government and authority organs as Federal Chancellor of Austria ?
(c(Q12737077),P748,c(Q1307214)|c(Q895526))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q1006398
relation P748
type Q1307214
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?k WHERE { { ?k property:P748 ?v . ?k rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1307214 } UNION { ?k property:P748 ?v . ?k rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q895526 } } GROUP BY ?k } . FILTER ( ?d = ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:Q1006398 property:P748 ?s . { { ?s rdf:type ontology:Q1307214 } UNION { ?s rdf:type ontology:Q895526 } } } } }
Federal Chancellor of Austria
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Federal Chancellor of Austria
relation appointed by
type form of government
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?k WHERE { { ?k property:appointed_by ?v . ?k rdf:type ontology:occupation . ?v rdf:type ontology:form_of_government } UNION { ?k property:appointed_by ?v . ?k rdf:type ontology:occupation . ?v rdf:type ontology:authority_organ } } GROUP BY ?k } . FILTER ( ?d = ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:Federal_Chancellor_of_Austria property:appointed_by ?s . { { ?s rdf:type ontology:form_of_government } UNION { ?s rdf:type ontology:authority_organ } } } } }
[]
form of government authority organ occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q27650822 Q21371106 Q2631987 Q735575 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q21384866 Q596123 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q895526))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q1006398
relation P748
type Q1307214
type Q895526
[ANSWERS] are appointed by around the same number of forms of government and authority organs as Federal Chancellor of Austria
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?k WHERE { { ?k property:P748 ?v . ?k rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1307214 } UNION { ?k property:P748 ?v . ?k rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q895526 } } GROUP BY ?k } . FILTER ( ?d = ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:Q1006398 property:P748 ?s . { { ?s rdf:type ontology:Q1307214 } UNION { ?s rdf:type ontology:Q895526 } } } } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Attorney General for England and Wales Prime Minister of Pakistan Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan municipal executive of Rotterdam president of Bangladesh Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria Mayor of Mierlo President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu 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 municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China are appointed by around the same number of forms of government and authority organs as Federal Chancellor of Austria
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Federal Chancellor of Austria
relation appointed by
type form of government
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?k WHERE { { ?k property:appointed_by ?v . ?k rdf:type ontology:occupation . ?v rdf:type ontology:form_of_government } UNION { ?k property:appointed_by ?v . ?k rdf:type ontology:occupation . ?v rdf:type ontology:authority_organ } } GROUP BY ?k } . FILTER ( ?d = ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:Federal_Chancellor_of_Austria property:appointed_by ?s . { { ?s rdf:type ontology:form_of_government } UNION { ?s rdf:type ontology:authority_organ } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20891385
P748
Q1307214 Q895526 Q12737077
USER
And also tell me about municipal executive of Deventer?
(c(Q12737077),P748,c(Q1307214)|c(Q895526))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q20891385
relation P748
type Q1307214
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?j WHERE { { ?j property:P748 ?w . ?j rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q1307214 } UNION { ?j property:P748 ?w . ?j rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q895526 } } GROUP BY ?j } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q20891385 property:P748 ?p . { { ?p rdf:type ontology:Q1307214 } UNION { ?p rdf:type ontology:Q895526 } } } } }
municipal executive of Deventer
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity municipal executive of Deventer
relation appointed by
type form of government
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?j WHERE { { ?j property:appointed_by ?w . ?j rdf:type ontology:occupation . ?w rdf:type ontology:form_of_government } UNION { ?j property:appointed_by ?w . ?j rdf:type ontology:occupation . ?w rdf:type ontology:authority_organ } } GROUP BY ?j } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:municipal_executive_of_Deventer property:appointed_by ?p . { { ?p rdf:type ontology:form_of_government } UNION { ?p rdf:type ontology:authority_organ } } } } }
[]
form of government authority organ occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q27650822 Q21371106 Q2631987 Q735575 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q21384866 Q596123 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q895526))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q20891385
relation P748
type Q1307214
type Q895526
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?j WHERE { { ?j property:P748 ?w . ?j rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q1307214 } UNION { ?j property:P748 ?w . ?j rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q895526 } } GROUP BY ?j } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q20891385 property:P748 ?p . { { ?p rdf:type ontology:Q1307214 } UNION { ?p rdf:type ontology:Q895526 } } } } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Attorney General for England and Wales Prime Minister of Pakistan Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan municipal executive of Rotterdam president of Bangladesh Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria Mayor of Mierlo President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu 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 municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity municipal executive of Deventer
relation appointed by
type form of government
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?j WHERE { { ?j property:appointed_by ?w . ?j rdf:type ontology:occupation . ?w rdf:type ontology:form_of_government } UNION { ?j property:appointed_by ?w . ?j rdf:type ontology:occupation . ?w rdf:type ontology:authority_organ } } GROUP BY ?j } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:municipal_executive_of_Deventer property:appointed_by ?p . { { ?p rdf:type ontology:form_of_government } UNION { ?p rdf:type ontology:authority_organ } } } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q687075 Q1749063 Q655407
P39
Q502895
USER
Which people held the position of those occupations ?
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q655407)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q655407']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P39 ?l . VALUES ( ?l ) { ( resource:Q15934457 ) ( resource:Q7643465 ) ( resource:Q27650845 ) } }
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', "President of the People's Republic of China"]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:position_held ?l . VALUES ( ?l ) { ( resource:Minister_of_Transport ) ( resource:Superintendent_of_Finance_of_the_United_States ) ( resource:member_of_the_Provincial_Executive_of_Utrecht ) } }
[]
common name
Q5816 Q53713 Q53713
SYSTEM
Olof Palme for 2nd, 3rd, Mao Zedong for 1st
Q53292 Q53292 Q53294 Q53294 Q53642 Q53642 Q53286 Q2740012 Q52920 Q52922 Q52972 Q52960 Q52964 Q52969 Q52968 Q52968 Q52958 Q52956 Q52950 Q53747 Q53740 Q53740 Q53305 Q53300 Q53701 Q53707 Q53713 Q53713 Q53721 Q53721 Q53733 Q53660 Q53660 Q53650 Q53633 Q53637 Q53620 Q53620 Q53620 Q53626 Q53628 Q53310 Q291648 Q179493 Q208591 Q52922 Q298317 Q298317 Q237522 Q2938797 Q549955 Q53733 Q297275 Q311413 Q17132 Q377935 Q15031 Q15029 Q16988 Q968038 Q5816 Q16597
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q655407)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q655407']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P39 ?l . VALUES ( ?l ) { ( resource:Q15934457 ) ( resource:Q7643465 ) ( resource:Q27650845 ) } }
Karl Staaff Karl Staaff Arvid Lindman Arvid Lindman Carl Gustaf Ekman Carl Gustaf Ekman Christian Lundeberg Stefan Löfven Fredrik Reinfeldt Carl Bildt Johan Ramstedt Gillis Bildt Gustaf Åkerhielm Fredrik von Otter Erik Gustaf Boström Erik Gustaf Boström Robert Themptander Carl Johan Thyselius Louis Gerhard De Geer Göran Persson Ingvar Carlsson Ingvar Carlsson Carl Swartz Hjalmar Hammarskjöld Axel Pehrsson-Bramstorp Tage Erlander Olof Palme Olof Palme Thorbjörn Fälldin Thorbjörn Fälldin Ola Ullsten Per Albin Hansson Per Albin Hansson Felix Hamrin Ernst Trygger Rickard Sandler Hjalmar Branting Hjalmar Branting Hjalmar Branting Gerhard Louis De Geer Oscar von Sydow Nils Edén Laila Freivalds Bertil Ohlin Anna Lindh Carl Bildt Östen Undén Östen Undén Margot Wallström Carin Jämtin Jan Eliasson Ola Ullsten Hans Blix Li Xiannian Soong Ching-ling Yang Shangkun Xi Jinping Hu Jintao Liu Shaoqi Dong Biwu Mao Zedong Jiang Zemin
Mao Zedong, Olof Palme and Olof Palme held the position of those occupations
Mao Zedong Olof Palme Olof Palme
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', "President of the People's Republic of China"]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:position_held ?l . VALUES ( ?l ) { ( resource:Minister_of_Transport ) ( resource:Superintendent_of_Finance_of_the_United_States ) ( resource:member_of_the_Provincial_Executive_of_Utrecht ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5816
P69
Q159334
USER
Which secondary schools are Mao Zedong an alumni of ?
(Q5816,P69,c(Q159334))
action filter_type
action find
entity Q5816
relation P69
type Q159334
['Q5816', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?d WHERE { resource:Q5816 property:P69 ?d . ?d rdf:type ontology:Q159334 }
Mao Zedong
action filter_type
action find
entity Mao Zedong
relation educated at
type secondary school
['Mao Zedong', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?d WHERE { resource:Mao_Zedong property:educated_at ?d . ?d rdf:type ontology:secondary_school }
[]
secondary school
Q10870085 Q4126571
SYSTEM
Dongshan Senior High School, Xiangxiang First Senior High School
Q10870085 Q4126571
(Q5816,P69,c(Q159334))
action filter_type
action find
entity Q5816
relation P69
type Q159334
[ANSWERS] are Mao Zedong an alumni of
['Q5816', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?d WHERE { resource:Q5816 property:P69 ?d . ?d rdf:type ontology:Q159334 }
Dongshan Senior High School Xiangxiang First Senior High School
Dongshan Senior High School and Xiangxiang First Senior High School are Mao Zedong an alumni of
Dongshan Senior High School Xiangxiang First Senior High School
action filter_type
action find
entity Mao Zedong
relation educated at
type secondary school
['Mao Zedong', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?d WHERE { resource:Mao_Zedong property:educated_at ?d . ?d rdf:type ontology:secondary_school }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10870085 Q4126571
P69
Q502895
USER
Who are an alumni of Dongshan Senior High School and Xiangxiang First Senior High School ?
(c(Q502895),P69,Q10870085) (c(Q502895),P69,Q4126571)
action union
action filter_type
action find_reverse
entity Q10870085
relation P69
type Q502895
action filter_type
action find_reverse
entity Q4126571
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q10870085'] [{'concept': 'Q502895'}, 'P69', 'Q4126571']
SELECT DISTINCT ?u WHERE { { ?u property:P69 resource:Q10870085 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P69 resource:Q4126571 . ?u rdf:type ontology:Q502895 } }
Dongshan Senior High School Xiangxiang First Senior High School
action union
action filter_type
action find_reverse
entity Dongshan Senior High School
relation educated at
type common name
action filter_type
action find_reverse
entity Xiangxiang First Senior High School
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Dongshan Senior High School'] [{'concept': 'common name'}, 'educated at', 'Xiangxiang First Senior High School']
SELECT DISTINCT ?u WHERE { { ?u property:educated_at resource:Dongshan_Senior_High_School . ?u rdf:type ontology:common_name } UNION { ?u property:educated_at resource:Xiangxiang_First_Senior_High_School . ?u rdf:type ontology:common_name } }
[]
common name
Q5816
SYSTEM
Mao Zedong
Q5816
(c(Q502895),P69,Q10870085) (c(Q502895),P69,Q4126571)
action union
action filter_type
action find_reverse
entity Q10870085
relation P69
type Q502895
action filter_type
action find_reverse
entity Q4126571
relation P69
type Q502895
An alumni of Dongshan Senior High School and Xiangxiang First Senior High School are born [ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q10870085'] [{'concept': 'Q502895'}, 'P69', 'Q4126571']
SELECT DISTINCT ?u WHERE { { ?u property:P69 resource:Q10870085 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P69 resource:Q4126571 . ?u rdf:type ontology:Q502895 } }
Mao Zedong
An alumni of Dongshan Senior High School and Xiangxiang First Senior High School are born Mao Zedong
Mao Zedong
action union
action filter_type
action find_reverse
entity Dongshan Senior High School
relation educated at
type common name
action filter_type
action find_reverse
entity Xiangxiang First Senior High School
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Dongshan Senior High School'] [{'concept': 'common name'}, 'educated at', 'Xiangxiang First Senior High School']
SELECT DISTINCT ?u WHERE { { ?u property:educated_at resource:Dongshan_Senior_High_School . ?u rdf:type ontology:common_name } UNION { ?u property:educated_at resource:Xiangxiang_First_Senior_High_School . ?u rdf:type ontology:common_name } }
[]