Simple Question (Direct)
Simple Question
Q359442
P1142
Q7257
USER
What do Bernie Sanders believe in ?
(Q359442,P1142,c(Q7257))
action filter_type
action find
entity Q359442
relation P1142
type Q7257
['Q359442', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?h WHERE { resource:Q359442 property:P1142 ?h . ?h rdf:type ontology:Q7257 }
Bernie Sanders
action filter_type
action find
entity Bernie Sanders
relation political ideology
type ideology
['Bernie Sanders', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?h WHERE { resource:Bernie_Sanders property:political_ideology ?h . ?h rdf:type ontology:ideology }
[]
ideology
Q821102 Q121254
SYSTEM
progressivism, social democracy
Q821102 Q121254
(Q359442,P1142,c(Q7257))
action filter_type
action find
entity Q359442
relation P1142
type Q7257
Bernie Sanders believe in [ANSWERS]
['Q359442', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?h WHERE { resource:Q359442 property:P1142 ?h . ?h rdf:type ontology:Q7257 }
progressivism social democracy
Bernie Sanders believe in progressivism and social democracy
progressivism social democracy
action filter_type
action find
entity Bernie Sanders
relation political ideology
type ideology
['Bernie Sanders', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?h WHERE { resource:Bernie_Sanders property:political_ideology ?h . ?h rdf:type ontology:ideology }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q821102 Q121254
P1142
Q7210356
USER
Which political organizations have the ideology as progressivism and social democracy ?
(c(Q7210356),P1142,Q821102) (c(Q7210356),P1142,Q121254)
action union
action filter_type
action find_reverse
entity Q821102
relation P1142
type Q7210356
action filter_type
action find_reverse
entity Q121254
relation P1142
type Q7210356
[{'concept': 'Q7210356'}, 'P1142', 'Q821102'] [{'concept': 'Q7210356'}, 'P1142', 'Q121254']
SELECT DISTINCT ?f WHERE { ?f property:P1142 ?h . VALUES ( ?h ) { ( resource:Q821102 ) ( resource:Q121254 ) } }
progressivism social democracy
action union
action filter_type
action find_reverse
entity progressivism
relation political ideology
type political organization
action filter_type
action find_reverse
entity social democracy
relation political ideology
type political organization
[{'concept': 'political organization'}, 'political ideology', 'progressivism'] [{'concept': 'political organization'}, 'political ideology', 'social democracy']
SELECT DISTINCT ?f WHERE { ?f property:political_ideology ?h . VALUES ( ?h ) { ( resource:progressivism ) ( resource:social_democracy ) } }
[]
political organization
Q47729 Q105112 Q2482138
SYSTEM
Democratic Party, Swedish Social Democratic Party, Autonomy Liberty Participation Ecology
Q15104641 Q1680786 Q635351 Q5031140 Q903822 Q22080990 Q2996341 Q1629486 Q3043128 Q2649119 Q11694799 Q1470082 Q1561861 Q3561254 Q5713120 Q7558006 Q6064239 Q6926970 Q620781 Q1951132 Q4893655 Q1759292 Q7248613 Q15980734 Q3366271 Q4729271 Q20970716 Q15629523 Q4897343 Q1071444 Q7252913 Q642234 Q1809831 Q2247226 Q3561034 Q1144342 Q7248799 Q483365 Q29552 Q1133626 Q7165717 Q1628291 Q2700617 Q565429 Q137437 Q3246842 Q1048192 Q7550523 Q3179541 Q5616934 Q3366690 Q3831626 Q200875 Q113598 Q677505 Q943126 Q2264634 Q740420 Q7165595 Q5249080 Q5255569 Q847263 Q1491151 Q6540805 Q7304616 Q7318726 Q2558701 Q179111 Q821929 Q1573271 Q5551248 Q2601550 Q3088413 Q1641259 Q639395 Q2886561 Q7142045 Q130765 Q82591 Q7550588 Q4090673 Q1237557 Q1111267 Q281745 Q1549779 Q2724491 Q2838206 Q160188 Q2598527 Q186591 Q731357 Q5501084 Q17507485 Q4430182 Q1125988 Q176956 Q3345043 Q3345046 Q3345047 Q3345044 Q5191999 Q49668 Q4631893 Q1682547 Q5473121 Q2711827 Q713062 Q3345050 Q753013 Q1813766 Q748775 Q971439 Q645787 Q1185905 Q2471167 Q2167704 Q18378683 Q1354183 Q2270797 Q2054789 Q1146616 Q6064354 Q2054264 Q49624 Q5192012 Q19587806 Q2993184 Q2248370 Q7569009 Q6972234 Q2054893 Q22032417 Q1506868 Q1655276 Q2239194 Q2498150 Q1294528 Q339183 Q2217942 Q3326837 Q3366352 Q3487422 Q2195268 Q2306078 Q947974 Q1143161 Q2688964 Q648211 Q1138606 Q7550550 Q7578782 Q1533055 Q2022865 Q1371752 Q139514 Q980083 Q2891994 Q503614 Q1104292 Q2251452 Q3267854 Q545563 Q5137463 Q5137462 Q3098914 Q15099528 Q170972 Q166027 Q4005555 Q4736147 Q1455518 Q3079712 Q5527681 Q3179217 Q4397994 Q215350 Q7558014 Q2838217 Q1591064 Q4025973 Q605960 Q2436636 Q2705468 Q3566093 Q1566536 Q7141634 Q7141010 Q752435 Q2310801 Q2742126 Q24511 Q6467449 Q15980652 Q1788070 Q5601870 Q7482832 Q11698121 Q3356033 Q1951163 Q625541 Q4732404 Q53025 Q5439493 Q543052 Q2651772 Q2838261 Q499029 Q456307 Q1753703 Q1477511 Q47729 Q6517158 Q169223 Q203934 Q1785816 Q2305302 Q903671 Q2049356 Q922724 Q1423126 Q15980784 Q2491997 Q1414708 Q2838240 Q2055010 Q735105 Q2482138 Q1509468 Q2532509 Q13231807 Q499545 Q4257411 Q5137945 Q1851370 Q6036212 Q1984877 Q2915113 Q657089 Q4313243 Q24866 Q3419939 Q7249267 Q504564 Q684886 Q169252 Q953174 Q3896810 Q5687580 Q3847555 Q1422092 Q176727 Q830323 Q281986 Q123708 Q1287573 Q1070311 Q4894021 Q3776973 Q7058511 Q855669 Q2372144 Q5601893 Q28551 Q1661160 Q2684631 Q1128823 Q5473122 Q3896828 Q1285399 Q175443 Q1630365 Q216660 Q4362 Q1658212 Q1127178 Q275441 Q1322897 Q15920068 Q839826 Q3037090 Q7141116 Q753223 Q1150838 Q849580 Q1123814 Q212101 Q6747647 Q21015669 Q250738 Q1136032 Q20970716 Q5687570 Q919052 Q8846575 Q7886423 Q15629523 Q3088954 Q11227474 Q7893806 Q835109 Q199007 Q642882 Q967759 Q774542 Q3407213 Q4893600 Q259800 Q651141 Q1255973 Q2337323 Q1162691 Q808206 Q1258283 Q939354 Q270982 Q2840719 Q487520 Q1137248 Q1348513 Q1470113 Q1723321 Q44066 Q216082 Q16364166 Q962976 Q3206466 Q690240 Q3567209 Q1787829 Q239951 Q1026514 Q44102 Q1235589 Q2713129 Q1549174 Q815276 Q4400053 Q673988 Q1263608 Q491145 Q1292804 Q1273056 Q3027506 Q1129427 Q856027 Q2297130 Q3150482 Q9056455 Q2651801 Q2728438 Q1129430 Q1029663 Q3054830 Q652091 Q1395689 Q461351 Q2746044 Q3550242 Q2707282 Q1631143 Q1283367 Q571175 Q1186294 Q2867024 Q1096198 Q11073969 Q10747653 Q15980803 Q136754 Q15980877 Q1141127 Q913551 Q2299911 Q11954063 Q7878512 Q63755 Q127790 Q5201856 Q9624 Q3896759 Q1104026 Q6122813 Q1530178 Q1185837 Q1249902 Q9056303 Q9630 Q190219 Q917211 Q751688 Q5661540 Q6753299 Q7139007 Q5187159 Q31284 Q897658 Q1133583 Q2420320 Q3366785 Q341148 Q1624802 Q665335 Q13537660 Q7889155 Q836954 Q3366796 Q5348423 Q2607318 Q256561 Q563535 Q827589 Q5255501 Q3088571 Q767010 Q2564279 Q1185843 Q2528660 Q2917600 Q915562 Q1531739 Q210703 Q105112
(c(Q7210356),P1142,Q821102) (c(Q7210356),P1142,Q121254)
action union
action filter_type
action find_reverse
entity Q821102
relation P1142
type Q7210356
action filter_type
action find_reverse
entity Q121254
relation P1142
type Q7210356
Party [ANSWERS] have the ideology as progressivism and social democracy
[{'concept': 'Q7210356'}, 'P1142', 'Q821102'] [{'concept': 'Q7210356'}, 'P1142', 'Q121254']
SELECT DISTINCT ?f WHERE { ?f property:P1142 ?h . VALUES ( ?h ) { ( resource:Q821102 ) ( resource:Q121254 ) } }
If You Want It, Chile Changes New Party Progressive Party Canarian Nationalist Party Democratic Progressive Party The Network 2018 Convention for a Progressive Alternative Democratic Unity Roundtable Défi Vert de Québec Alliance for Democracy Més per Mallorca Social Forces Front Nationalist Congress Party Greek Ecologists Advanced Progressive Solidarity and Equality Progressive Party (Chile) Movimiento Nueva República Geroa Bai Movement for the Social Evolution of Black Africa Botswana Alliance Movement Party for Democracy Progressive, Civic and Social Front National Justice Movement Alberta Party All Progressives Grand Alliance Possible New Deal Unidad Regionalista de Castilla y León Jim Anderton's Progressive Party Proyecto Sur Free Bolivia Movement United Farmers of Alberta Sardinia Project Vision Montreal Union, Progress and Democracy Progressive Peoples Alliance Unified Progressive Party Democratic Party Chinese Peasants' and Workers' Democratic Party People's Progressive Alliance Social Democracy of the Republic of Poland Social Democratic Labour Party of Georgia Social Democratic Workers' Party of Germany Hakka Party Social Democratic Party New Zealand Labour Party Social Democratic Co-ordination of Cuba Scottish Labour Party Lithuanian Social Democratic Union Republican Party for Democracy and Renewal Liberal Socialists National Democratic Congress Belarusian Peasants' and Workers' Union Patriotic Union of Kurdistan Concertación Reformist Party ORA Barbados Labour Party People's Liberal Democratic Party Decentralization Coalition Democratic Centre Union Socialist Party 4K! – Fourth Republic! Liberal Socialist Party Red Moors Revolutionary Action Party Social Democratic Workers' Party Social Democratic Party of Austria Direction – Social Democracy Latvian Social Democratic Workers' Party German Socialist Labour Party of Poland Progressief Woerden Liber Seregni Front A New Era Union of Citizens of Georgia Partido Alianza Patriótica Pashtoons Social Democratic Party New Democratic Party National Liberation Party Social Democratic Party of Pridnestrovie Bulgarian Social Democratic Workers Party National Unity of Hope Democratic Socialist Party Italian Socialist Party Radical Social Democratic Party United People's Freedom Alliance National Alliance for Change Social Democratic Union of Macedonia Popular Socialist Party Pakistan Peoples Party Republican Turkish Party Freemen of the South Movement Reform Jersey Social-Democratic Party of Abkhazia Congress of the People Party of Civic Rights Newfoundland and Labrador New Democratic Party New Democratic Party of Prince Edward Island Nova Scotia New Democratic Party Alberta New Democratic Party Cuban Arco Progresista (Social-Democratic) Party Free List 24 October Movement Janata Dal Forum for the Restoration of Democracy – Kenya Socialist People's Party of Montenegro Taiwan Communist Party New Brunswick New Democratic Party Ata Meken Socialist Party Socialist Party Yukon New Democratic Party Coalition for Bulgaria Socialist Party Democratic Socialists '70 Social Democratic Party of Popular Accord Social Democratic Party "Harmony" Bloc for Social Democracy National Socialists – 21st Century Left Reformist Alliance Brazilian Socialist Party Movement for Democratic Change – Tsvangirai Spanish Democratic Socialist Party Peace and Development Party Korean Social Democratic Party Cuban Democratic Socialist Current Ahora Madrid Nepali Congress Italian Socialists South Yorkshire Young Labour National Democratic Party Social Democratic Party Patriotic Unity Labour Union The Italian Socialists New Front for Democracy and Development Socialist Party Greens of Serbia Democratic Action Alliance of the Forces of Progress Social Movement for Renewal Party of Democrats Social Democrats, USA Party for Democracy and Socialism Union for Peru Tarai-Madhesh Loktantrik Party Social Democratic Party of Bosnia and Herzegovina Labour Federation Democratic Party of Socialists of Montenegro Democratic Society Party Social Democratic Party Social League Social Democratic Party of Albania Bulgarian Workers' Social Democratic Party Democratic Forum for Labour and Liberties Popular Unions of Bipartisan Social Groups Social Democracy of Poland Unity of Aran Labour Party Civic Coalition ARI Alternative Democratic Pole Union of Social Democrats Sammarinese Reformist Socialist Party Co-operative Commonwealth Federation (Manitoba Section) Co-operative Commonwealth Federation (Ontario Section) Peace and Freedom Party Hungarian Social Democrats' Party - Szocdemek Socialist Party Labour and Social Justice – The Electoral Alternative Union of Socialists Kazakhstani Social Democratic Party Auyl Broad Progressive Front Party of the Democratic Left Gaumee Itthihaad Reformists for Europe Russian Party of Social Democracy Forza Italia Solidarity – Work – Peace – Ecology Autonomist People's Alliance Sri Lanka Freedom Party Orange Movement Socialist Forces Front Republican Party of Labour and Justice New Social Democratic Party Red-Green Coalition Social Democratic Union of Bosnia and Herzegovina Pasban e Pakistan Party for Social Democracy Social Democratic Party Botswana National Front The Progressives Social Democratic Party of Kyrgyzstan Labour Party Newfoundland People's Party United Democratic Movement Greek Radical Movement Social Democratic Party United Socialist Party (Italy, 1949–1951) Struggling People's Organization Movement for Multi-Party Democracy Forum for Democracy and Development Alliance for Social Democracy Gibraltar Socialist Labour Party Fearless People's Alliance Istrian Social Democratic Forum Socialist Party Progressive Alliance Social Democratic Party of Finland German Social Democratic Workers Party in the Czechoslovak Republic Social Democratic Party Revolutionary Febrerista Party Democratic Party Lega Lombardo Veneta Party of Democratic Socialism Panhellenic Socialist Movement Congolese Party of Labour Social Democratic Party of the Free City of Danzig Harmony Centre Panhellenic Citizen Chariot Socialist Party of Ukraine Ukraine – Forward! Brazilian Labour Party (historical) Belarusian Social Democratic Party Democratic Labour Party Alliance for Democracy in Mali Italian Reform Socialist Party Bloc Québécois Autonomy Liberty Participation Ecology Georgian Labour Party Belgian Socialist Party Democratic Front (Bosnia and Herzegovina) Radical Movement of Social Democratic Alliance Labor Party Coalition for Melilla New Space Innovation and Unity Party Hromada Rafi Workers' Party Bhutan Peoples' Party Social Democratic Party Rally for Mali Project Republic of Sardinia FRELIMO Labour Party Socialist Initiative Democratic Left Alliance Socialist Party Hazara Student Federation Working People's Party of Puerto Rico Ivorian Popular Front Democratic Action Party Social Democratic Party of Croatia Democratic Party Action Group Dominica Labour Party Luxembourg Socialist Workers' Party Botswana Congress Party Political Movement "Social Democrats" Northern Ireland Labour Party American Popular Revolutionary Alliance Social Democratic Party of Russia Greek Socialist Party MPLA Saskatchewan New Democratic Party Reformist Socialists Democratic Left Forum for the Restoration of Democracy – People Party of Italian Peasants United Progressive Party Social Democratic and Labour Party Democratic Revolutionary Party Nepali Congress Social Democratic Party of Lithuania The Sunflower Mongolian People's Party Labour Party Brazilian Social Democracy Party The River Social Democratic Party Vertiente Artiguista Party of Social Democracy Hungarian Socialist Party Melanesian Progressive Party Socialist Party Socialist Movement for Integration Social Democrats Mancini List Democratic Party Saint Kitts and Nevis Labour Party International Union of Socialist Youth Possible Hazara Democratic Party British Columbia New Democratic Party Basque Socialist Party Union for Change Party New Deal Social Democratic Party Justice Party Unity Party of Nigeria Social Democratic Party The Greens Socialist Party of Albania Social Democracy of the Kingdom of Poland and Lithuania New Democratic Party of Manitoba Projet Montréal Catalan Agreement of Progress Movement for Social Democracy All India Anna Dravida Munnetra Kazhagam Dravida Munnetra Kazhagam National Harmony Party People's National Party Barisan Alternatif Alliance of Independent Social Democrats Socialist Party Different Åland Social Democrats Forward Valley Justice Party (South Korea) Constitutional Democratic Rally China Democratic League Social Democratic Front League of Struggle for the Emancipation of the Working Class New Socialist Party Australian Labor Party National Renaissance National Union for the Progress of Romania Democratic Federation Rwandan Patriotic Front Union of Centrists Social Democrats Meretz League of Social Democrats Party of Socialists and Democrats People's Party for Reconstruction and Democracy Social Democratic Party of Montenegro Italian Democratic Socialists Belarusian Social Democratic Party Romanian National Party Sandinista Renovation Movement Social Democratic Union United Ethiopian Democratic Forces Saint Lucia Labour Party Social Democratic Party of Serbia Centrist Union of Moldova Convergence (Mexico) Social Democratic Party of the Faroe Islands Socialist Union of Popular Forces Independence Republic of Sardinia Socialist Party of Catalonia-Regroupment Reform Socialist Party Democratic Change Broad Convergence for the Salvation of Angola People's Democratic Party of Uzbekistan Together 2014 Party of the Revolution Fanmi Lavalas Party for Social Renewal Tavini Huiraatira Union of the Gabonese People Sammarinese Socialist Party New Italian Socialist Party Social Democratic Party Siumut Democratic Party of Moldova Uruguay Assembly National United Party AVANZA Party of Social Democrats Democratic Coalition of Reformists Gibraltar Social Democrats Democratic Party (Emilia-Romagna) Social Democratic Alliance Social Democratic Party Workers' Party of Singapore Union for Rebirth / Sankarist Movement Ukrainian Social Democratic Party Democratic Labour Party of Lithuania Party of Bulgarian Social Democrats Czechoslovak Social Democratic Workers Party in the Republic of Austria Liberal Democrats Labour Democratic Party Co-operative Commonwealth Federation Social Democratic Party Social Democracy Party of Albania Democratic Action Party Social Democratic Action of Croatia Revolutionary Social Democratic Party Labour Party Norwegian Labour Party Social Democrats Reason Party National Encounter Party Manx Labour Party Parliamentary Party of Kosovo Croatian Social Democrats Dominicnn Revolutionary Party Hungarian Social Democratic Party China Association for Promoting Democracy National Democratic Party Labour Party Czech Social Democratic Party Independent Party Italian Democratic Socialist Party Agreement for the New Greece United Social Democratic Party Communal Democracy Party Labour Party Egyptian Liberation Party Muslim Social Democratic Party Independent Democrats Social Democratic Party in the GDR Ontario New Democratic Party Democracy Party Front for Socialism and Democracy/Benno Jubël Party of the Democratic Revolution National Party of Suriname Democratic Freedom Party For Social Democracy Intransigent Party Democratic Left Rose in the Fist Israeli Labor Party Swedish Social Democratic Party
Party Democratic Party, Swedish Social Democratic Party and Autonomy Liberty Participation Ecology have the ideology as progressivism and social democracy
Democratic Party Swedish Social Democratic Party Autonomy Liberty Participation Ecology
action union
action filter_type
action find_reverse
entity progressivism
relation political ideology
type political organization
action filter_type
action find_reverse
entity social democracy
relation political ideology
type political organization
[{'concept': 'political organization'}, 'political ideology', 'progressivism'] [{'concept': 'political organization'}, 'political ideology', 'social democracy']
SELECT DISTINCT ?f WHERE { ?f property:political_ideology ?h . VALUES ( ?h ) { ( resource:progressivism ) ( resource:social_democracy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q359442
P7
Q502895
USER
Who is Bernie Sanders a sibling of ?
(Q359442,P7,c(Q502895))
action filter_type
action find
entity Q359442
relation P7
type Q502895
['Q359442', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q359442 property:P7 ?d }
Bernie Sanders
action filter_type
action find
entity Bernie Sanders
relation brother
type common name
['Bernie Sanders', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Bernie_Sanders property:brother ?d }
[]
common name
Q22162595
SYSTEM
Larry Sanders
Q22162595
(Q359442,P7,c(Q502895))
action filter_type
action find
entity Q359442
relation P7
type Q502895
Bernie Sanders a sibling of is her [ANSWER]
['Q359442', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q359442 property:P7 ?d }
Larry Sanders
Bernie Sanders a sibling of is her Larry Sanders
Larry Sanders
action filter_type
action find
entity Bernie Sanders
relation brother
type common name
['Bernie Sanders', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Bernie_Sanders property:brother ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22162595
P69
Q3914
USER
Which school is that person an alumni of ?
(Q22162595,P69,c(Q3914))
action filter_type
action find
entity Q22162595
relation P69
type Q3914
['Q22162595', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3914 . resource:Q22162595 property:P69 ?t }
Larry Sanders
action filter_type
action find
entity Larry Sanders
relation educated at
type school
['Larry Sanders', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:school . resource:Larry_Sanders property:educated_at ?t }
[]
school
Q49122
SYSTEM
Harvard Law School
Q49122
(Q22162595,P69,c(Q3914))
action filter_type
action find
entity Q22162595
relation P69
type Q3914
[ANSWER] is that person an alumni of
['Q22162595', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3914 . resource:Q22162595 property:P69 ?t }
Harvard Law School
Harvard Law School is that person an alumni of
Harvard Law School
action filter_type
action find
entity Larry Sanders
relation educated at
type school
['Larry Sanders', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:school . resource:Larry_Sanders property:educated_at ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49122
P108
Q502895
USER
Which people have that school as their employer ?
(c(Q502895),P108,Q49122)
action filter_type
action find_reverse
entity Q49122
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q49122']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P108 resource:Q49122 }
Harvard Law School
action filter_type
action find_reverse
entity Harvard Law School
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Harvard Law School']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:employer resource:Harvard_Law_School }
[]
common name
Q1247765 Q7183120 Q465477
SYSTEM
Annette Gordon-Reed, Philip Alston, Anne-Marie Slaughter
Q7183120 Q5967982 Q1247765 Q465477
(c(Q502895),P108,Q49122)
action filter_type
action find_reverse
entity Q49122
relation P108
type Q502895
[ANSWERS] have that school as their employer
[{'concept': 'Q502895'}, 'P108', 'Q49122']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P108 resource:Q49122 }
Philip Alston I. Glenn Cohen Annette Gordon-Reed Anne-Marie Slaughter
Annette Gordon-Reed, Philip Alston and Anne-Marie Slaughter have that school as their employer
Annette Gordon-Reed Philip Alston Anne-Marie Slaughter
action filter_type
action find_reverse
entity Harvard Law School
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Harvard Law School']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:employer resource:Harvard_Law_School }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1247765 Q7183120 Q465477
P106
Q12737077
USER
What are the job of Annette Gordon-Reed, Philip Alston and Anne-Marie Slaughter ?
(Q1247765,P106,c(Q12737077)) (Q7183120,P106,c(Q12737077)) (Q465477,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1247765
relation P106
type Q12737077
action filter_type
action find
entity Q7183120
relation P106
type Q12737077
action filter_type
action find
entity Q465477
relation P106
type Q12737077
['Q1247765', 'P106', {'concept': 'Q12737077'}] ['Q7183120', 'P106', {'concept': 'Q12737077'}] ['Q465477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q12737077 . resource:Q7183120 property:P106 ?a } UNION { resource:Q1247765 property:P106 ?a . ?a rdf:type ontology:Q12737077 } }
Annette Gordon-Reed Philip Alston Anne-Marie Slaughter
action union
action filter_type
action find
entity Annette Gordon-Reed
relation occupation
type occupation
action filter_type
action find
entity Philip Alston
relation occupation
type occupation
action filter_type
action find
entity Anne-Marie Slaughter
relation occupation
type occupation
['Annette Gordon-Reed', 'occupation', {'concept': 'occupation'}] ['Philip Alston', 'occupation', {'concept': 'occupation'}] ['Anne-Marie Slaughter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:occupation . resource:Philip_Alston property:occupation ?a } UNION { resource:Annette_Gordon-Reed property:occupation ?a . ?a rdf:type ontology:occupation } }
[]
occupation
Q201788 Q1622272 Q1622272
SYSTEM
historian for 1st, university teacher for 2nd, 3rd
Q201788 Q36180 Q1622272 Q1622272
(Q1247765,P106,c(Q12737077)) (Q7183120,P106,c(Q12737077)) (Q465477,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1247765
relation P106
type Q12737077
action filter_type
action find
entity Q7183120
relation P106
type Q12737077
action filter_type
action find
entity Q465477
relation P106
type Q12737077
[ANSWERS]
['Q1247765', 'P106', {'concept': 'Q12737077'}] ['Q7183120', 'P106', {'concept': 'Q12737077'}] ['Q465477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q12737077 . resource:Q7183120 property:P106 ?a } UNION { resource:Q1247765 property:P106 ?a . ?a rdf:type ontology:Q12737077 } }
historian writer university teacher university teacher
The job of Annette Gordon-Reed , Philip Alston and Anne-Marie Slaughter are a historian, university teacher and university teacher
historian university teacher university teacher
action union
action filter_type
action find
entity Annette Gordon-Reed
relation occupation
type occupation
action filter_type
action find
entity Philip Alston
relation occupation
type occupation
action filter_type
action find
entity Anne-Marie Slaughter
relation occupation
type occupation
['Annette Gordon-Reed', 'occupation', {'concept': 'occupation'}] ['Philip Alston', 'occupation', {'concept': 'occupation'}] ['Anne-Marie Slaughter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:occupation . resource:Philip_Alston property:occupation ?a } UNION { resource:Annette_Gordon-Reed property:occupation ?a . ?a rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1247765
P50
Q2342494
USER
Which collectable has that person as its author ?
(c(Q2342494),P50,Q1247765)
action filter_type
action find_reverse
entity Q1247765
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1247765']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q1247765 . ?i rdf:type ontology:Q2342494 }
Annette Gordon-Reed
action filter_type
action find_reverse
entity Annette Gordon-Reed
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Annette Gordon-Reed']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Annette_Gordon-Reed . ?i rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q1247765
SYSTEM
Did you mean Annette Gordon-Reed ?
Q201788 Q1622272 Q1622272
(c(Q2342494),P50,Q201788) (c(Q2342494),P50,Q1622272) (c(Q2342494),P50,Q1622272)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q201788'] [{'concept': 'Q2342494'}, 'P50', 'Q1622272'] [{'concept': 'Q2342494'}, 'P50', 'Q1622272']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q1247765 . ?i rdf:type ontology:Q2342494 }
historian university teacher university teacher
Did you mean Annette Gordon-Reed ?
Annette Gordon-Reed
[{'concept': 'collectable'}, 'author', 'historian'] [{'concept': 'collectable'}, 'author', 'university teacher'] [{'concept': 'collectable'}, 'author', 'university teacher']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Annette_Gordon-Reed . ?i rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P50,Q1247765)
[{'concept': 'Q2342494'}, 'P50', 'Q1247765']
[{'concept': 'collectable'}, 'author', 'Annette Gordon-Reed']
[]
Q7739360
SYSTEM
The Hemingses of Monticello: An American Family
Q7739360
(c(Q2342494),P50,Q1247765)
action filter_type
action find_reverse
entity Q1247765
relation P50
type Q2342494
[ANSWER] has that person as its author
[{'concept': 'Q2342494'}, 'P50', 'Q1247765']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q1247765 . ?i rdf:type ontology:Q2342494 }
The Hemingses of Monticello: An American Family
The Hemingses of Monticello: An American Family has that person as its author
The Hemingses of Monticello: An American Family
action filter_type
action find_reverse
entity Annette Gordon-Reed
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Annette Gordon-Reed']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Annette_Gordon-Reed . ?i rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7739360 Q19959024 Q1247765
P50
Q502895
USER
Is that collectable written by George Boateng and Annette Gordon-Reed ?
(Q7739360,P50,Q19959024) (Q7739360,P50,Q1247765)
action is_in
entity Q7739360
action intersection
action find_reverse
entity Q19959024
relation P50
action find_reverse
entity Q1247765
relation P50
['Q7739360', 'P50', 'Q19959024'] ['Q7739360', 'P50', 'Q1247765']
ASK WHERE { resource:Q7739360 property:P50 resource:Q19959024 . resource:Q7739360 property:P50 resource:Q1247765 }
The Hemingses of Monticello: An American Family George Boateng Annette Gordon-Reed
action is_in
entity The Hemingses of Monticello: An American Family
action intersection
action find_reverse
entity George Boateng
relation author
action find_reverse
entity Annette Gordon-Reed
relation author
['The Hemingses of Monticello: An American Family', 'author', 'George Boateng'] ['The Hemingses of Monticello: An American Family', 'author', 'Annette Gordon-Reed']
ASK WHERE { resource:The_Hemingses_of_Monticello:_An_American_Family property:author resource:George_Boateng . resource:The_Hemingses_of_Monticello:_An_American_Family property:author resource:Annette_Gordon-Reed }
[]
common name
SYSTEM
NO and YES respectively
(Q7739360,P50,Q19959024) (Q7739360,P50,Q1247765)
action is_in
entity Q7739360
action intersection
action find_reverse
entity Q19959024
relation P50
action find_reverse
entity Q1247765
relation P50
[ANSWER]
['Q7739360', 'P50', 'Q19959024'] ['Q7739360', 'P50', 'Q1247765']
ASK WHERE { resource:Q7739360 property:P50 resource:Q19959024 . resource:Q7739360 property:P50 resource:Q1247765 }
NO and YES respectively
action is_in
entity The Hemingses of Monticello: An American Family
action intersection
action find_reverse
entity George Boateng
relation author
action find_reverse
entity Annette Gordon-Reed
relation author
['The Hemingses of Monticello: An American Family', 'author', 'George Boateng'] ['The Hemingses of Monticello: An American Family', 'author', 'Annette Gordon-Reed']
ASK WHERE { resource:The_Hemingses_of_Monticello:_An_American_Family property:author resource:George_Boateng . resource:The_Hemingses_of_Monticello:_An_American_Family property:author resource:Annette_Gordon-Reed }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q465477 Q30
P27
Q15617994
USER
Does Anne-Marie Slaughter belong to United States of America ?
(Q465477,P27,Q30)
action is_in
entity Q30
action find
entity Q465477
relation P27
['Q465477', 'P27', 'Q30']
ASK WHERE { resource:Q465477 property:P27 resource:Q30 }
Anne-Marie Slaughter United States of America
action is_in
entity United States of America
action find
entity Anne-Marie Slaughter
relation country of citizenship
['Anne-Marie Slaughter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Anne-Marie_Slaughter property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q465477,P27,Q30)
action is_in
entity Q30
action find
entity Q465477
relation P27
[ANSWER]
['Q465477', 'P27', 'Q30']
ASK WHERE { resource:Q465477 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Anne-Marie Slaughter
relation country of citizenship
['Anne-Marie Slaughter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Anne-Marie_Slaughter property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q105112 Q2978763
P159
Q56061
USER
Is Clearwater Beach the head office for Swedish Social Democratic Party located ?
(Q105112,P159,Q2978763)
action is_in
entity Q2978763
action find
entity Q105112
relation P159
['Q105112', 'P159', 'Q2978763']
ASK WHERE { resource:Q105112 property:P159 resource:Q2978763 }
Swedish Social Democratic Party Clearwater Beach
action is_in
entity Clearwater Beach
action find
entity Swedish Social Democratic Party
relation headquarters location
['Swedish Social Democratic Party', 'headquarters location', 'Clearwater Beach']
ASK WHERE { resource:Swedish_Social_Democratic_Party property:headquarters_location resource:Clearwater_Beach }
[]
administrative territorial entity
SYSTEM
NO
(Q105112,P159,Q2978763)
action is_in
entity Q2978763
action find
entity Q105112
relation P159
[ANSWER]
['Q105112', 'P159', 'Q2978763']
ASK WHERE { resource:Q105112 property:P159 resource:Q2978763 }
No
action is_in
entity Clearwater Beach
action find
entity Swedish Social Democratic Party
relation headquarters location
['Swedish Social Democratic Party', 'headquarters location', 'Clearwater Beach']
ASK WHERE { resource:Swedish_Social_Democratic_Party property:headquarters_location resource:Clearwater_Beach }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13630486 Q7739360
P161 P50
Q502895
USER
Which people penned The Hemingses of Monticello: An American Family or are in Brother's Keeper ?
OR((Q7739360,P50,c(Q502895)), (Q13630486,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7739360
relation P50
action find
entity Q13630486
relation P161
type Q502895
{'OR': [['Q7739360', 'P50', {'concept': 'Q502895'}], ['Q13630486', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7739360 property:P50 ?a } UNION { resource:Q13630486 property:P161 ?a } } . ?a rdf:type ontology:Q502895 }
Brother's Keeper The Hemingses of Monticello: An American Family
action filter_type
action union
action find
entity The Hemingses of Monticello: An American Family
relation author
action find
entity Brother's Keeper
relation cast member
type common name
{'OR': [['The Hemingses of Monticello: An American Family', 'author', {'concept': 'common name'}], ["Brother's Keeper", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:The_Hemingses_of_Monticello:_An_American_Family property:author ?a } UNION { resource:Brother's_Keeper property:cast_member ?a } } . ?a rdf:type ontology:common_name }
[]
common name
Q5049085 Q15605724 Q6548524 Q8261241 Q8260663 Q5120780 Q9430644 Q15909363 Q701971 Q5105508
SYSTEM
Some of them are Casper Chan, Parkman Wong, Lily Li, Cecilia Fong, Leanne Li, King Kong Lam, Jack Hui, Yao Bin, Li Shing-cheong, Chow Chung
Q8260663 Q86448 Q9366717 Q6686900 Q7233496 Q7226166 Q9322081 Q9299274 Q13423445 Q13423443 Q15918843 Q1766385 Q9064205 Q7225718 Q8262048 Q8260984 Q5561900 Q701874 Q15271366 Q6782745 Q701971 Q1652494 Q11119262 Q9299203 Q4963233 Q9094492 Q8261023 Q15921914 Q4163662 Q9349075 Q14940504 Q16062524 Q15905237 Q369997 Q5120780 Q6198446 Q14948330 Q7259166 Q18118151 Q18669517 Q6548524 Q7931317 Q18574947 Q5049085 Q17339281 Q18610187 Q6773093 Q9017365 Q6753225 Q8261884 Q11091407 Q8262316 Q9367070 Q15080837 Q9081722 Q15927925 Q7224904 Q8262150 Q18653783 Q5354253 Q9094985 Q15920025 Q701921 Q8261509 Q7206314 Q10336831 Q8999968 Q8985458 Q16336408 Q15909363 Q9430644 Q5105508 Q7243534 Q5354783 Q18762336 Q18610204 Q18610201 Q3270126 Q8261241 Q9356790 Q9188603 Q7225945 Q9211846 Q8263053 Q15605724 Q16077236 Q11070640 Q1652742 Q15932484 Q118042 Q17075046 Q7260686 Q1247765 Q1374693 Q2007933 Q15919433 Q8261248 Q8263067 Q6437706 Q9145100 Q9320470 Q8260768 Q17339326 Q9355374
OR((Q7739360,P50,c(Q502895)), (Q13630486,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7739360
relation P50
action find
entity Q13630486
relation P161
type Q502895
[ANSWERS] penned The Hemingses of Monticello: An American Family or are in Brother's Keeper
{'OR': [['Q7739360', 'P50', {'concept': 'Q502895'}], ['Q13630486', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7739360 property:P50 ?a } UNION { resource:Q13630486 property:P161 ?a } } . ?a rdf:type ontology:Q502895 }
Leanne Li Chan Wing Chun Calvin Chan Louis Cheung Dia Yiu Ming Becky Lee Chun Wong Joseph Yeung Eric Chung Chan Dick Hak Dolby Kwan Susan Tse Alan Wan Glen Lee Gemma Choi Helen Ng Gill Mohindepaul Singh Ruco Chan Elaine Tsang Joseph Lee Li Shing-cheong Samson Yeung Man Yeung Yeung Chiu Hoi Brian Burrell Brian Chu Rosanne Lui Apple Chan Louis Yuen Raymond Chiu Nicole Leung Owen Cheung Jayden Kau Sarah Song King Kong Lam Jim Tang Nicole Wan Stephen Ho Adam Ip Wong Wai Tong Lily Li Vin Choi Kelvin Chan Casper Chan Eddie Law Athena Ng Mars Coleman Tam Ricky Wong Rachel Kan Leo Tsang Celine Ma Penny Chan Hebe Chan Joe Yau Lisa Lau Kirby Lam Candice Chiu Akai Lee Lau Kong Albert Cheung Ankie Lau Louise Lee Coffee Lam English Tang Lee Hoi-sang Joey Law Gregory Lee Anthony Ho Yao Bin Jack Hui Chow Chung Snow Suen Stephen Wong Ka-lok Milkson Fong Lydia Law Janice Shum Edwin Siu Cecilia Fong Timothy Cheng Max Cheung Leo Lee Do Tai Wai Tina Shek Parkman Wong Bitto Singh Alan Chui Yue Chi Ming William Chu Ankie Beilke Helen Shum Yu Yang Annette Gordon-Reed Linda Chung Au Sui-Wai Janey Yan Shally Tsang Ceci So Kristal Tin Candy Man Angelina Lo Ho Yee Wan Kerry Chan Marcus Kwok
Casper Chan, Parkman Wong, Lily Li, Cecilia Fong, Leanne Li, King Kong Lam, Jack Hui, Yao Bin, Li Shing-cheong and Chow Chung penned The Hemingses of Monticello: An American Family or are in Brother's Keeper
Casper Chan Parkman Wong Lily Li Cecilia Fong Leanne Li King Kong Lam Jack Hui Yao Bin Li Shing-cheong Chow Chung
action filter_type
action union
action find
entity The Hemingses of Monticello: An American Family
relation author
action find
entity Brother's Keeper
relation cast member
type common name
{'OR': [['The Hemingses of Monticello: An American Family', 'author', {'concept': 'common name'}], ["Brother's Keeper", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:The_Hemingses_of_Monticello:_An_American_Family property:author ?a } UNION { resource:Brother's_Keeper property:cast_member ?a } } . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2563510
P1303
Q34379 Q502895
USER
Which musical instruments do more number of people know to play than steel-string acoustic guitar ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2563510
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P1303 ?i . ?s rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q2563510 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?m > ?d ) }
steel-string acoustic guitar
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity steel-string acoustic guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:instrument ?i . ?s rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:steel-string_acoustic_guitar property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?d ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2563510
relation P1303
type Q34379
[ANSWERS] more number of people know to play than steel-string acoustic guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P1303 ?i . ?s rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q2563510 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?m > ?d ) }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin upright piano viola d'amore organ marimba drum kit electronic keyboard drum
Piano, harpsichord and viola more number of people know to play than steel-string acoustic guitar
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity steel-string acoustic guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:instrument ?i . ?s rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:steel-string_acoustic_guitar property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6548524
P21
Q290
USER
Which sex does Lily Li have ?
(Q6548524,P21,c(Q290))
action filter_type
action find
entity Q6548524
relation P21
type Q290
['Q6548524', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q6548524 property:P21 ?m . ?m rdf:type ontology:Q290 }
Lily Li
action filter_type
action find
entity Lily Li
relation gender
type sex
['Lily Li', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Lily_Li property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6548524,P21,c(Q290))
action filter_type
action find
entity Q6548524
relation P21
type Q290
Is [ANSWER] does Lily Li have
['Q6548524', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q6548524 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
Is female does Lily Li have
female
action filter_type
action find
entity Lily Li
relation gender
type sex
['Lily Li', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Lily_Li property:gender ?m . ?m rdf:type ontology:sex }
[]