Simple Question (Direct)
Simple Question
Q982259
P140
Q879146
USER
Which Christian denomination is the religion of Mosiuoa Lekota ?
(Q982259,P140,c(Q879146))
action filter_type
action find
entity Q982259
relation P140
type Q879146
['Q982259', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q982259 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Mosiuoa Lekota
action filter_type
action find
entity Mosiuoa Lekota
relation religion
type Christian denomination
['Mosiuoa Lekota', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:Mosiuoa_Lekota property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q982259,P140,c(Q879146))
action filter_type
action find
entity Q982259
relation P140
type Q879146
U [ANSWER] is the religion of Mosiuoa Lekota
['Q982259', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q982259 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Roman Catholic Church
U Roman Catholic Church is the religion of Mosiuoa Lekota
Roman Catholic Church
action filter_type
action find
entity Mosiuoa Lekota
relation religion
type Christian denomination
['Mosiuoa Lekota', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:Mosiuoa_Lekota property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q982259
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q9592,P27,c(Q15617994))
action filter_type
action find
entity Q982259
relation P27
type Q15617994
['Q9592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q982259 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Mosiuoa Lekota
action filter_type
action find
entity Mosiuoa Lekota
relation country of citizenship
type designation for an administrative territorial entity
['Roman Catholic Church', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Mosiuoa_Lekota property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q9592,P27,c(Q15617994))
action filter_type
action find
entity Q982259
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q9592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q982259 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
South Africa
South Africa is the country of citizenship of that person
South Africa
action filter_type
action find
entity Mosiuoa Lekota
relation country of citizenship
type designation for an administrative territorial entity
['Roman Catholic Church', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Mosiuoa_Lekota property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q121254 Q982259
P112 P1142
Q7210356
USER
Which political organizations were founded by Mosiuoa Lekota and promote social democracy ?
AND((c(Q7210356),P112,Q982259), (c(Q7210356),P1142,Q121254))
action filter_type
action intersection
action find_reverse
entity Q982259
relation P112
action find_reverse
entity Q121254
relation P1142
type Q7210356
{'AND': [[{'concept': 'Q7210356'}, 'P112', 'Q982259'], [{'concept': 'Q7210356'}, 'P1142', 'Q121254']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . ?u property:P112 resource:Q982259 . ?u property:P1142 resource:Q121254 }
social democracy Mosiuoa Lekota
action filter_type
action intersection
action find_reverse
entity Mosiuoa Lekota
relation founder
action find_reverse
entity social democracy
relation political ideology
type political organization
{'AND': [[{'concept': 'political organization'}, 'founder', 'Mosiuoa Lekota'], [{'concept': 'political organization'}, 'political ideology', 'social democracy']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . ?u property:founder resource:Mosiuoa_Lekota . ?u property:political_ideology resource:social_democracy }
[]
political organization
Q1125988
SYSTEM
Congress of the People
Q1125988
AND((c(Q7210356),P112,Q982259), (c(Q7210356),P1142,Q121254))
action filter_type
action intersection
action find_reverse
entity Q982259
relation P112
action find_reverse
entity Q121254
relation P1142
type Q7210356
[ANSWER] was founded by Mosiuoa Lekota and promote social democracy
{'AND': [[{'concept': 'Q7210356'}, 'P112', 'Q982259'], [{'concept': 'Q7210356'}, 'P1142', 'Q121254']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . ?u property:P112 resource:Q982259 . ?u property:P1142 resource:Q121254 }
Congress of the People
Congress of the People was founded by Mosiuoa Lekota and promote social democracy
Congress of the People
action filter_type
action intersection
action find_reverse
entity Mosiuoa Lekota
relation founder
action find_reverse
entity social democracy
relation political ideology
type political organization
{'AND': [[{'concept': 'political organization'}, 'founder', 'Mosiuoa Lekota'], [{'concept': 'political organization'}, 'political ideology', 'social democracy']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . ?u property:founder resource:Mosiuoa_Lekota . ?u property:political_ideology resource:social_democracy }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1125988 Q258
P17
Q15617994
USER
Is that political organization present in South Africa ?
(Q1125988,P17,Q258)
action is_in
entity Q258
action find
entity Q1125988
relation P17
['Q1125988', 'P17', 'Q258']
ASK WHERE { resource:Q1125988 property:P17 resource:Q258 }
Congress of the People South Africa
action is_in
entity South Africa
action find
entity Congress of the People
relation country
['Congress of the People', 'country', 'South Africa']
ASK WHERE { resource:Congress_of_the_People property:country resource:South_Africa }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1125988,P17,Q258)
action is_in
entity Q258
action find
entity Q1125988
relation P17
[ANSWER]
['Q1125988', 'P17', 'Q258']
ASK WHERE { resource:Q1125988 property:P17 resource:Q258 }
Yes
action is_in
entity South Africa
action find
entity Congress of the People
relation country
['Congress of the People', 'country', 'South Africa']
ASK WHERE { resource:Congress_of_the_People property:country resource:South_Africa }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q115 Q121254
P1142 P17
Q7210356
USER
Which political organizations promote social democracy or are located in Ethiopia ?
OR((c(Q7210356),P1142,Q121254), (c(Q7210356),P17,Q115))
action filter_type
action union
action find_reverse
entity Q121254
relation P1142
action find_reverse
entity Q115
relation P17
type Q7210356
{'OR': [[{'concept': 'Q7210356'}, 'P1142', 'Q121254'], [{'concept': 'Q7210356'}, 'P17', 'Q115']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7210356 . { { ?g property:P1142 resource:Q121254 } UNION { ?g property:P17 resource:Q115 } } }
Ethiopia social democracy
action filter_type
action union
action find_reverse
entity social democracy
relation political ideology
action find_reverse
entity Ethiopia
relation country
type political organization
{'OR': [[{'concept': 'political organization'}, 'political ideology', 'social democracy'], [{'concept': 'political organization'}, 'country', 'Ethiopia']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_organization . { { ?g property:political_ideology resource:social_democracy } UNION { ?g property:country resource:Ethiopia } } }
[]
political organization
Q2297130 Q1509468 Q821929 Q1134412 Q1655276 Q6747647 Q280646 Q5551248 Q2838240 Q239951
SYSTEM
Some of them are Socialist Union of Popular Forces, Georgian Labour Party, Direction – Social Democracy, Oromo Federalist Democratic Movement, The Italian Socialists, Mancini List, Unity for Democracy and Justice, German Socialist Labour Party of Poland, Alliance for Democracy in Mali, Meretz
Q136754 Q2607318 Q751688 Q2707282 Q339183 Q4631893 Q170972 Q1129430 Q1354183 Q677505 Q15980877 Q2055010 Q1104292 Q1185837 Q215350 Q2491997 Q1249902 Q943126 Q549703 Q1984877 Q1785816 Q1146616 Q1506868 Q5551248 Q15980803 Q199007 Q4257411 Q7550550 Q5473122 Q5473121 Q9630 Q13537660 Q456307 Q49624 Q919052 Q2598527 Q1235589 Q7141634 Q1723321 Q1138606 Q7142045 Q2420320 Q1661160 Q1813766 Q2840719 Q216660 Q1096198 Q2306078 Q767010 Q216082 Q3847555 Q1133583 Q3896759 Q3407213 Q1135300 Q7318726 Q3150482 Q625541 Q645787 Q10747653 Q2838206 Q200875 Q821929 Q2195268 Q7249267 Q3079712 Q1029663 Q2867024 Q5661540 Q281745 Q1566536 Q7139007 Q1509468 Q766610 Q1531739 Q9056303 Q3805487 Q137437 Q2054893 Q1263608 Q1123814 Q1283367 Q2528660 Q1162691 Q849580 Q15980784 Q3027506 Q20970716 Q1150838 Q127790 Q648211 Q3345043 Q3345046 Q3345047 Q3345044 Q642882 Q15980652 Q3356033 Q2705468 Q947974 Q3815743 Q3366785 Q1477511 Q5601870 Q259800 Q1134381 Q917211 Q5527681 Q1287573 Q3088571 Q4025973 Q4736147 Q2482138 Q169223 Q1516222 Q1423126 Q3098914 Q4397994 Q2902594 Q1630365 Q1533055 Q774542 Q640820 Q1285399 Q63755 Q7165595 Q827589 Q1237557 Q5255569 Q176727 Q22032417 Q5187159 Q6517158 Q2838240 Q341148 Q953174 Q1530178 Q2054264 Q7058511 Q565429 Q5687570 Q1185905 Q836954 Q7886423 Q2054789 Q967759 Q6753299 Q748775 Q1491151 Q6972234 Q2297130 Q82591 Q499545 Q4732404 Q5687580 Q1787829 Q605960 Q2746044 Q11698121 Q28551 Q1135310 Q657089 Q2299911 Q1135251 Q808206 Q847263 Q280646 Q6036212 Q835109 Q5137463 Q5137462 Q4090673 Q1753703 Q212101 Q2838217 Q903671 Q1549779 Q281986 Q6122813 Q2651801 Q3419939 Q3366352 Q735105 Q11073969 Q239951 Q545563 Q1186219 Q275441 Q2498150 Q16364166 Q499029 Q4894021 Q3550242 Q270982 Q4313243 Q1185843 Q130765 Q169252 Q2742126 Q830323 Q1573271 Q5601893 Q856027 Q2248370 Q3206466 Q3345050 Q2688964 Q7550588 Q753013 Q2917600 Q2337323 Q5192012 Q1455518 Q753223 Q6467449 Q6064354 Q190219 Q7165717 Q13231807 Q4893600 Q1682547 Q889543 Q7141010 Q1128823 Q2471167 Q5191999 Q461351 Q3326837 Q922724 Q1048192 Q17507485 Q139514 Q123708 Q2558701 Q7569009 Q855669 Q1186157 Q1628291 Q47729 Q3366796 Q1470113 Q2711827 Q2305302 Q4005555 Q1153941 Q2436636 Q1322897 Q1135103 Q1258283 Q31284 Q543052 Q24511 Q3896828 Q962976 Q1104026 Q2724491 Q1395689 Q6747647 Q1788070 Q503614 Q5501084 Q2651772 Q1951163 Q2310801 Q1135107 Q1371752 Q5255501 Q429305 Q939354 Q3267854 Q1136032 Q2684631 Q673988 Q1699287 Q2886561 Q44066 Q1133626 Q5201856 Q2239194 Q913551 Q203934 Q7141116 Q24866 Q8846575 Q1186294 Q1111267 Q1294528 Q113598 Q2713129 Q1422092 Q1026514 Q2049356 Q980083 Q3366690 Q1591064 Q3896810 Q1658212 Q2700617 Q1143161 Q690240 Q7482832 Q1129427 Q2564279 Q815276 Q1348513 Q639395 Q2993184 Q571175 Q257343 Q5439493 Q6540805 Q487520 Q3567209 Q1135096 Q2264634 Q1655276 Q1125988 Q5137945 Q1851370 Q1641259 Q11954063 Q7550523 Q5616934 Q2728438 Q176956 Q2270797 Q160188 Q44102 Q1273056 Q9624 Q256561 Q1414708 Q3246842 Q491145 Q752435 Q971439 Q179111 Q250738 Q1145280 Q2372144 Q15920068 Q5249080 Q4362 Q18378683 Q2167704 Q7578782 Q9056455 Q3088954 Q1137248 Q3037090 Q3776973 Q713062 Q1127178 Q4430182 Q2251452 Q3179217 Q2915113 Q652091 Q1292804 Q3831626 Q2601550 Q3054830 Q1134412 Q1631143 Q4400053 Q2838261 Q1966902 Q1070311 Q257641 Q3088413 Q257355 Q2022865 Q175443 Q1462545 Q504564 Q1255973 Q2891994 Q563535 Q915562 Q382122 Q21015669 Q7878512 Q740420 Q186591 Q665335 Q166027 Q11227474 Q105112 Q1141127 Q897658 Q3179541 Q210703 Q3566093 Q53025 Q839826 Q49668 Q7889155 Q19587806 Q15629523 Q1624802 Q684886 Q1549174 Q2217942 Q2532509 Q5348423 Q15099528 Q731357 Q7893806 Q7558014 Q651141 Q7304616 Q3487422 Q3815375 Q1477631 Q257591
OR((c(Q7210356),P1142,Q121254), (c(Q7210356),P17,Q115))
action filter_type
action union
action find_reverse
entity Q121254
relation P1142
action find_reverse
entity Q115
relation P17
type Q7210356
[ANSWERS] promote social democracy or are located in Ethiopia
{'OR': [[{'concept': 'Q7210356'}, 'P1142', 'Q121254'], [{'concept': 'Q7210356'}, 'P17', 'Q115']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7210356 . { { ?g property:P1142 resource:Q121254 } UNION { ?g property:P17 resource:Q115 } } }
Gibraltar Social Democrats Muslim Social Democratic Party Reason Party Sammarinese Socialist Party Democratic Action 24 October Movement Socialist Party Broad Convergence for the Salvation of Angola National Socialists – 21st Century Left Patriotic Union of Kurdistan Democratic Party (Emilia-Romagna) Italian Reform Socialist Party Civic Coalition ARI Democratic Action Party Forza Italia Belarusian Social Democratic Party Social Democratic Action of Croatia Concertación Medrek Hromada Congolese Party of Labour Movement for Democratic Change – Tsvangirai Labour Union German Socialist Labour Party of Poland Democratic Coalition of Reformists The Greens Labor Party Social Democratic Party Forum for the Restoration of Democracy – People Forum for the Restoration of Democracy – Kenya Labour Party Agreement for the New Greece German Social Democratic Workers Party in the Czechoslovak Republic Korean Social Democratic Party British Columbia New Democratic Party Popular Socialist Party People's Party for Reconstruction and Democracy Pasban e Pakistan League of Struggle for the Emancipation of the Working Class Democratic Society Party Pashtoons Social Democratic Party National Democratic Party Saskatchewan New Democratic Party Socialist Party Forward Valley Nepali Congress National United Party Union for Peru Party of the Democratic Revolution Australian Labor Party Working People's Party of Puerto Rico China Association for Promoting Democracy Labour Democratic Party Projet Montréal All-Amhara People's Organization Revolutionary Action Party Independence Republic of Sardinia Forum for Democracy and Development Socialist Party Party of Social Democrats National Alliance for Change National Democratic Congress Direction – Social Democracy Party for Democracy and Socialism Project Republic of Sardinia Party of the Democratic Left People's Democratic Party of Uzbekistan Uruguay Assembly National Encounter Party Italian Socialist Party Social Democratic Union of Bosnia and Herzegovina Parliamentary Party of Kosovo Georgian Labour Party Somali People's Democratic Party Rose in the Fist Revolutionary Social Democratic Party Issa and Gurgura Liberation Front Hakka Party Social Democratic Party Social Democratic Union Socialist Movement for Integration Social Democratic Party For Social Democracy People's National Party Socialist Party Brazilian Labour Party (historical) Centrist Union of Moldova Possible Melanesian Progressive Party Party of Bulgarian Social Democrats Democratic Party of Socialists of Montenegro Newfoundland and Labrador New Democratic Party New Democratic Party of Prince Edward Island Nova Scotia New Democratic Party Alberta New Democratic Party Socialist Party of Albania Newfoundland People's Party Struggling People's Organization New Social Democratic Party Tarai-Madhesh Loktantrik Party Marxist–Leninist League of Tigray Labour Party Revolutionary Febrerista Party Greek Radical Movement Movement for Social Democracy Gambela People's Democratic Movement Social Democrats Gaumee Itthihaad Dominica Labour Party Front for Socialism and Democracy/Benno Jubël Orange Movement Kazakhstani Social Democratic Party Auyl Autonomy Liberty Participation Ecology Party of Democratic Socialism All-Ethiopia Socialist Movement Ukraine – Forward! Peace and Freedom Party Russian Party of Social Democracy Islamic Front for the Liberation of Oromia Democratic Revolutionary Party Social Democratic Party of Albania New Democratic Party of Manitoba Afar Revolutionary Democratic Unity Front United Progressive Party Democratic Labour Party of Lithuania People's Liberal Democratic Party Ontario New Democratic Party National Unity of Hope Democratic Centre Union Democratic Action Party Patriotic Unity Croatian Social Democrats Lega Lombardo Veneta Alliance for Democracy in Mali Czech Social Democratic Party Democratic Left Alliance Social Democracy Party of Albania Peace and Development Party Northern Ireland Labour Party Social Democratic Workers' Party of Germany Hazara Democratic Party Democratic Socialists '70 Communal Democracy Party Union for Change Party Brazilian Socialist Party Social Democracy of the Kingdom of Poland and Lithuania Manx Labour Party Yukon New Democratic Party 4K! – Fourth Republic! National Democratic Party Socialist Union of Popular Forces National Liberation Party Radical Movement of Social Democratic Alliance Alliance for Social Democracy Hazara Student Federation Social Democrats Socialist Forces Front Tavini Huiraatira United Socialist Party (Italy, 1949–1951) MPLA All Ethiopian Unity Party Workers' Party Workers' Party of Singapore Rainbow Ethiopia: Movement for Democracy and Social Justice Barisan Alternatif Socialist Party Unity for Democracy and Justice Innovation and Unity Party Social Democratic Party Co-operative Commonwealth Federation (Manitoba Section) Co-operative Commonwealth Federation (Ontario Section) Bulgarian Social Democratic Workers Party Social Democratic Party Social Democrats Autonomist People's Alliance Harmony Centre Radical Social Democratic Party Democratic Party Social Democratic Party Reform Socialist Party Rally for Mali Party of Democrats Bloc Québécois AVANZA Meretz Sammarinese Reformist Socialist Party Oromo Peoples' Democratic Organization Labour Party Socialist Party National Renaissance Social Democratic Party of Finland Botswana Congress Party Union of the Gabonese People Åland Social Democrats Bhutan Peoples' Party Democratic Freedom Party New Democratic Party Socialist Initiative The Progressives Social Democratic Party of Croatia Latvian Social Democratic Workers' Party Greek Socialist Party Social Democratic Party of the Faroe Islands Italian Socialists Democratic Federation New Brunswick New Democratic Party Labour Federation Social Democratic Party of Pridnestrovie Ata Meken Socialist Party Intransigent Party National Harmony Party Cuban Democratic Socialist Current Broad Progressive Front Hungarian Socialist Party Labour Party Spanish Democratic Socialist Party Norwegian Labour Party People's Progressive Alliance Democratic Front (Bosnia and Herzegovina) Catalan Agreement of Progress Janata Dal Eritrean People's Liberation Front Party for Social Democracy Democratic Left Social Democratic Party of Popular Accord Cuban Arco Progresista (Social-Democratic) Party Party for Social Renewal Social Movement for Renewal Socialist Party of Ukraine New Zealand Labour Party Reform Jersey Popular Unions of Bipartisan Social Groups Action Group Social Democratic Workers' Party South Yorkshire Young Labour American Popular Revolutionary Alliance Southern Ethiopian People's Democratic Movement Social Democracy of the Republic of Poland Democratic Party Labour Party Social Democratic Front Socialist People's Party of Montenegro Social Democratic Party of the Free City of Danzig Union of Socialists Oromo Liberation Front Republican Party of Labour and Justice Brazilian Social Democracy Party Hareri National League Alliance of Independent Social Democrats Dominicnn Revolutionary Party Istrian Social Democratic Forum Social Democratic Party of Kyrgyzstan Party of Italian Peasants National Union for the Progress of Romania Co-operative Commonwealth Federation United People's Freedom Alliance Fanmi Lavalas Mancini List United Democratic Movement Labour Party Freemen of the South Movement Socialist Party Movement for Multi-Party Democracy Botswana National Front Oromo People's Congress Democratic Forum for Labour and Liberties Democracy Party Eritrean Liberation Front Socialist Party Different Union of Social Democrats International Union of Socialist Youth Reformist Socialists Sandinista Renovation Movement Tigrayan People's Liberation Front Partido Alianza Patriótica New Socialist Party Chinese Peasants' and Workers' Democratic Party Czechoslovak Social Democratic Workers Party in the Republic of Austria New Front for Democracy and Development Social Democratic Party Panhellenic Socialist Movement Party of Social Democracy Social Democratic Party Basque Socialist Party Democratic Party of Moldova Democratic Socialist Party Greens of Serbia Belarusian Peasants' and Workers' Union Social Democratic Party of Montenegro Ivorian Popular Front League of Social Democrats Panhellenic Citizen Chariot Social Democracy of Poland Republican Party for Democracy and Renewal Sri Lanka Freedom Party Socialist Party The Sunflower Social Democratic Labour Party of Georgia Social Democratic Party of Bosnia and Herzegovina Rwandan Patriotic Front Social Democratic Party Convergence (Mexico) National Party of Suriname Belarusian Social Democratic Party China Democratic League Union of Citizens of Georgia Nepali Congress Siumut Ethiopian Democratic Unity Party Fearless People's Alliance Liberal Socialist Party Justice Party (South Korea) Union of Centrists United Ethiopian Democratic Party – Medhin Party Reformist Party ORA The Italian Socialists Congress of the People Coalition for Melilla New Space A New Era Union for Rebirth / Sankarist Movement Social Democratic Co-ordination of Cuba Lithuanian Social Democratic Union Democratic Change Party of Civic Rights Reformist Alliance Social Democratic Union of Macedonia Party of Socialists and Democrats Social Democratic Party of Serbia Liberal Democrats Independent Democrats Democratic Labour Party Social Democratic Party United Ethiopian Democratic Forces Social Democratic Party Coalition for Bulgaria Social Democratic Party of Austria Saint Kitts and Nevis Labour Party Ethiopian People's Revolutionary Democratic Front Social Democratic Party of Russia The River Decentralization Coalition Social Democratic Party of Lithuania Bloc for Social Democracy Social Democratic Party "Harmony" Social League Socialist Party of Catalonia-Regroupment Social Democratic Party Constitutional Democratic Rally Vertiente Artiguista Political Movement "Social Democrats" Taiwan Communist Party Mongolian People's Party Social-Democratic Party of Abkhazia Alternative Democratic Pole Reformists for Europe Rafi Party of the Revolution Saint Lucia Labour Party Liberal Socialists Progressief Woerden Together 2014 Oromo Federalist Democratic Movement New Italian Socialist Party Romanian National Party Progressive Alliance Amhara National Democratic Movement Luxembourg Socialist Workers' Party Ethiopian Social Democratic Party Liber Seregni Front Ethiopian Democratic League Bulgarian Workers' Social Democratic Party Social Democratic and Labour Party Western Somali Liberation Front FRELIMO Dravida Munnetra Kazhagam Unity of Aran Social Democratic Party in the GDR Democratic Left Afar National Democratic Party Democratic Party Ukrainian Social Democratic Party Barbados Labour Party Pakistan Peoples Party Italian Democratic Socialist Party Labour and Social Justice – The Electoral Alternative Justice Party Swedish Social Democratic Party Social Democratic Alliance Hungarian Social Democratic Party Scottish Labour Party Israeli Labor Party Red-Green Coalition Gibraltar Socialist Labour Party Social Democratic Party Free List United Social Democratic Party Ahora Madrid New Deal Independent Party Labour Party Italian Democratic Socialists Alliance of the Forces of Progress Belgian Socialist Party Egyptian Liberation Party Hungarian Social Democrats' Party - Szocdemek Republican Turkish Party Unity Party of Nigeria Solidarity – Work – Peace – Ecology All India Anna Dravida Munnetra Kazhagam Red Moors Social Democrats, USA Western Somali Democratic Party Ogaden National Liberation Front Ethiopian People's Revolutionary Party
Socialist Union of Popular Forces, Georgian Labour Party, Direction – Social Democracy, Oromo Federalist Democratic Movement, The Italian Socialists, Mancini List, Unity for Democracy and Justice, German Socialist Labour Party of Poland, Alliance for Democracy in Mali and Meretz promote social democracy or are located in Ethiopia
Socialist Union of Popular Forces Georgian Labour Party Direction – Social Democracy Oromo Federalist Democratic Movement The Italian Socialists Mancini List Unity for Democracy and Justice German Socialist Labour Party of Poland Alliance for Democracy in Mali Meretz
action filter_type
action union
action find_reverse
entity social democracy
relation political ideology
action find_reverse
entity Ethiopia
relation country
type political organization
{'OR': [[{'concept': 'political organization'}, 'political ideology', 'social democracy'], [{'concept': 'political organization'}, 'country', 'Ethiopia']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_organization . { { ?g property:political_ideology resource:social_democracy } UNION { ?g property:country resource:Ethiopia } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q879146 Q874405 Q12737077
USER
Which Christian denominations are exactly 2 social groups or occupations a part of ?
(c(Q874405)|c(Q12737077),P361,c(Q879146))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q874405
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
value 2
[[{'concept': 'Q874405'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:P361 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q879146 } UNION { ?w property:P361 ?o . ?o rdf:type ontology:Q879146 . ?w rdf:type ontology:Q874405 } } GROUP BY ?o } . FILTER ( ?v = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type social group
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
value 2
[[{'concept': 'social group'}, {'concept': 'occupation'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:part_of ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:Christian_denomination } UNION { ?w property:part_of ?o . ?o rdf:type ontology:Christian_denomination . ?w rdf:type ontology:social_group } } GROUP BY ?o } . FILTER ( ?v = 2 ) }
[]
Christian denomination social group occupation
Q682443 Q170111
SYSTEM
Episcopal Church, Evangelical Church in Germany
Q682443 Q170111
(c(Q874405)|c(Q12737077),P361,c(Q879146))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q874405
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
value 2
[ANSWERS] are exactly 2 social groups or occupations a part of
[[{'concept': 'Q874405'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:P361 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q879146 } UNION { ?w property:P361 ?o . ?o rdf:type ontology:Q879146 . ?w rdf:type ontology:Q874405 } } GROUP BY ?o } . FILTER ( ?v = 2 ) }
Episcopal Church Evangelical Church in Germany
Episcopal Church and Evangelical Church in Germany are exactly 2 social groups or occupations a part of
Episcopal Church Evangelical Church in Germany
action equal
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type social group
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
value 2
[[{'concept': 'social group'}, {'concept': 'occupation'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?v ) WHERE { { ?w property:part_of ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:Christian_denomination } UNION { ?w property:part_of ?o . ?o rdf:type ontology:Christian_denomination . ?w rdf:type ontology:social_group } } GROUP BY ?o } . FILTER ( ?v = 2 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P140
Q7275 Q502895
USER
How many states or people are religiously associated with that Christian denomination ?
(c(Q7275),P140,Q170111) (c(Q502895),P140,Q170111) (c(Q7275),P140,Q682443) (c(Q502895),P140,Q682443) (c(Q7275),P140,Q170111) (c(Q502895),P140,Q170111)
[{'concept': 'Q7275'}, 'P140', 'Q170111'] [{'concept': 'Q502895'}, 'P140', 'Q170111'] [{'concept': 'Q7275'}, 'P140', 'Q682443'] [{'concept': 'Q502895'}, 'P140', 'Q682443'] [{'concept': 'Q7275'}, 'P140', 'Q170111'] [{'concept': 'Q502895'}, 'P140', 'Q170111']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q170111 } UNION { ?y property:Q9174 resource:Q170111 } UNION { ?z property:Q9174 resource:Q682443 } UNION { ?y property:Q9174 resource:Q682443 } UNION { ?z property:Q9174 resource:Q170111 } UNION { ?y property:Q9174 resource:Q170111 } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q502895 }
[{'concept': 'state'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'common name'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'state'}, 'religion', 'Episcopal Church'] [{'concept': 'common name'}, 'religion', 'Episcopal Church'] [{'concept': 'state'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'common name'}, 'religion', 'Evangelical Church in Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Evangelical_Church_in_Germany } UNION { ?y property:religion resource:Evangelical_Church_in_Germany } UNION { ?z property:religion resource:Episcopal_Church } UNION { ?y property:religion resource:Episcopal_Church } UNION { ?z property:religion resource:Evangelical_Church_in_Germany } UNION { ?y property:religion resource:Evangelical_Church_in_Germany } } . ?z rdf:type ontology:state . ?y rdf:type ontology:common_name }
[]
state common name
Quantitative|Count|Mult. entity type|Clarification
Q170111
SYSTEM
Did you mean Evangelical Church in Germany ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q170111 } UNION { ?y property:Q9174 resource:Q170111 } UNION { ?z property:Q9174 resource:Q682443 } UNION { ?y property:Q9174 resource:Q682443 } UNION { ?z property:Q9174 resource:Q170111 } UNION { ?y property:Q9174 resource:Q170111 } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q502895 }
Did you mean Evangelical Church in Germany ?
Evangelical Church in Germany
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Evangelical_Church_in_Germany } UNION { ?y property:religion resource:Evangelical_Church_in_Germany } UNION { ?z property:religion resource:Episcopal_Church } UNION { ?y property:religion resource:Episcopal_Church } UNION { ?z property:religion resource:Evangelical_Church_in_Germany } UNION { ?y property:religion resource:Evangelical_Church_in_Germany } } . ?z rdf:type ontology:state . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q7275),P140,Q170111) (c(Q502895),P140,Q170111) (c(Q7275),P140,Q682443) (c(Q502895),P140,Q682443) (c(Q7275),P140,Q170111) (c(Q502895),P140,Q170111)
[{'concept': 'Q7275'}, 'P140', 'Q170111'] [{'concept': 'Q502895'}, 'P140', 'Q170111'] [{'concept': 'Q7275'}, 'P140', 'Q682443'] [{'concept': 'Q502895'}, 'P140', 'Q682443'] [{'concept': 'Q7275'}, 'P140', 'Q170111'] [{'concept': 'Q502895'}, 'P140', 'Q170111']
[{'concept': 'state'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'common name'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'state'}, 'religion', 'Episcopal Church'] [{'concept': 'common name'}, 'religion', 'Episcopal Church'] [{'concept': 'state'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'common name'}, 'religion', 'Evangelical Church in Germany']
[]
SYSTEM
43
Q20898982 Q160902 Q23893222 Q2514 Q19056989 Q2571 Q121174 Q78325 Q99705 Q91081 Q17546877 Q153015 Q9160489 Q90623 Q19285371 Q1016495 Q19223317 Q20051614 Q18759237 Q70089 Q102844 Q1327793 Q2569 Q19116954 Q27306 Q2563 Q154195 Q19834635 Q111189 Q20018578 Q18844324 Q18815147 Q15450557 Q567 Q96968 Q18815128 Q2551 Q2392856 Q18815121 Q60353 Q1648540 Q15435113 Q1469989
(c(Q7275),P140,Q170111) (c(Q502895),P140,Q170111) (c(Q7275),P140,Q682443) (c(Q502895),P140,Q682443) (c(Q7275),P140,Q170111) (c(Q502895),P140,Q170111)
[ANSWER]
[{'concept': 'Q7275'}, 'P140', 'Q170111'] [{'concept': 'Q502895'}, 'P140', 'Q170111'] [{'concept': 'Q7275'}, 'P140', 'Q682443'] [{'concept': 'Q502895'}, 'P140', 'Q682443'] [{'concept': 'Q7275'}, 'P140', 'Q170111'] [{'concept': 'Q502895'}, 'P140', 'Q170111']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q170111 } UNION { ?y property:Q9174 resource:Q170111 } UNION { ?z property:Q9174 resource:Q682443 } UNION { ?y property:Q9174 resource:Q682443 } UNION { ?z property:Q9174 resource:Q170111 } UNION { ?y property:Q9174 resource:Q170111 } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q502895 }
Hermann Flebbe Sigmar Gabriel Harald von Heyden Willy Brandt Annelise Modrze Walter Scheel Michael Brand Cajus Julius Caesar Willi Brase Sören Bartol Oskar Seyffert Kingdom of Saxony Arthur Rhode Thomas Bareiß Henriette Reker Burkhard Schneeweiß Paul Habel Hermann Schrader Otto Fiebiger Christoph Bergner Michael Müller Manfred Behrens Karl Carstens Annemarie Jeanette Neubecker Kingdom of Prussia Roman Herzog Kingdom of Bavaria Angelika Glöckner Steffen Seibert Paulheinz Ahlert Christian Belger Richard Schneider Felix Atenstädt Angela Merkel Rainer Arnold Gustav Adolf Klix Johannes Rau Tankred Schipanski Emil Thomas Erich Koch Steffen Bilger Gustav Queck Siegmund Ehrmann
43
[{'concept': 'state'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'common name'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'state'}, 'religion', 'Episcopal Church'] [{'concept': 'common name'}, 'religion', 'Episcopal Church'] [{'concept': 'state'}, 'religion', 'Evangelical Church in Germany'] [{'concept': 'common name'}, 'religion', 'Evangelical Church in Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Evangelical_Church_in_Germany } UNION { ?y property:religion resource:Evangelical_Church_in_Germany } UNION { ?z property:religion resource:Episcopal_Church } UNION { ?y property:religion resource:Episcopal_Church } UNION { ?z property:religion resource:Evangelical_Church_in_Germany } UNION { ?y property:religion resource:Evangelical_Church_in_Germany } } . ?z rdf:type ontology:state . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q682443
P463
Q874405
USER
Which social group was Episcopal Church a member of ?
(Q682443,P463,c(Q874405))
action filter_type
action find
entity Q682443
relation P463
type Q874405
['Q682443', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q682443 property:P463 ?y . ?y rdf:type ontology:Q874405 }
Episcopal Church
action filter_type
action find
entity Episcopal Church
relation member of
type social group
['Episcopal Church', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Episcopal_Church property:member_of ?y . ?y rdf:type ontology:social_group }
[]
social group
Q283639
SYSTEM
World Council of Churches
Q283639
(Q682443,P463,c(Q874405))
action filter_type
action find
entity Q682443
relation P463
type Q874405
The [ANSWER] was Episcopal Church a member of
['Q682443', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q682443 property:P463 ?y . ?y rdf:type ontology:Q874405 }
World Council of Churches
The World Council of Churches was Episcopal Church a member of
World Council of Churches
action filter_type
action find
entity Episcopal Church
relation member of
type social group
['Episcopal Church', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Episcopal_Church property:member_of ?y . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q258
P530
Q1048835
USER
How many political territories have diplomatic relations with South Africa ?
(Q258,P530,c(Q1048835))
action count
action filter_type
action find
entity Q258
relation P530
type Q1048835
['Q258', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q258 property:P530 ?y }
South Africa
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type political territorial entity
['South Africa', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:South_Africa property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
3
Q183 Q408 Q16
(Q258,P530,c(Q1048835))
action count
action filter_type
action find
entity Q258
relation P530
type Q1048835
[ANSWER]
['Q258', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q258 property:P530 ?y }
Germany Australia Canada
3
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type political territorial entity
['South Africa', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:South_Africa property:diplomatic_relation ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q258
P276
Q15275719
USER
Which recurring event has its location as that administrative territory ?
action filter_type
action find_reverse
entity Q258
relation P276
type Q15275719
SELECT DISTINCT ?j WHERE { ?j property:P276 resource:Q258 . ?j rdf:type ontology:Q15275719 }
South Africa
action filter_type
action find_reverse
entity South Africa
relation location
type recurring event
SELECT DISTINCT ?j WHERE { ?j property:location resource:South_Africa . ?j rdf:type ontology:recurring_event }
[]
recurring event
Q7834194
SYSTEM
Transforming Stories International Christian Film Festival
Q7834194
action filter_type
action find_reverse
entity Q258
relation P276
type Q15275719
[ANSWER] has its location as that administrative territory
SELECT DISTINCT ?j WHERE { ?j property:P276 resource:Q258 . ?j rdf:type ontology:Q15275719 }
Transforming Stories International Christian Film Festival
Transforming Stories International Christian Film Festival has its location as that administrative territory
Transforming Stories International Christian Film Festival
action filter_type
action find_reverse
entity South Africa
relation location
type recurring event
SELECT DISTINCT ?j WHERE { ?j property:location resource:South_Africa . ?j rdf:type ontology:recurring_event }
[]