Simple Question (Direct)
Simple Question
Q1465855
P102
Q7278
USER
Which political party is Fritz Brügel a member of ?
(Q1465855,P102,c(Q7278))
action filter_type
action find
entity Q1465855
relation P102
type Q7278
['Q1465855', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?m WHERE { resource:Q1465855 property:P102 ?m . ?m rdf:type ontology:Q7278 }
Fritz Brügel
action filter_type
action find
entity Fritz Brügel
relation member of political party
type political party
['Fritz Brügel', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?m WHERE { resource:Fritz_Brügel property:member_of_political_party ?m . ?m rdf:type ontology:political_party }
[]
political party
Q161118
SYSTEM
Communist Party of Austria
Q161118
(Q1465855,P102,c(Q7278))
action filter_type
action find
entity Q1465855
relation P102
type Q7278
Party [ANSWER] is Fritz Brügel a member of
['Q1465855', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?m WHERE { resource:Q1465855 property:P102 ?m . ?m rdf:type ontology:Q7278 }
Communist Party of Austria
Party Communist Party of Austria is Fritz Brügel a member of
Communist Party of Austria
action filter_type
action find
entity Fritz Brügel
relation member of political party
type political party
['Fritz Brügel', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?m WHERE { resource:Fritz_Brügel property:member_of_political_party ?m . ?m rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1465855
P512
Q3412758
USER
What is the name of the degree held by that person ?
(Q161118,P512,c(Q3412758))
action filter_type
action find
entity Q1465855
relation P512
type Q3412758
['Q161118', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3412758 . resource:Q1465855 property:P512 ?g }
Fritz Brügel
action filter_type
action find
entity Fritz Brügel
relation academic degree
type qualification
['Communist Party of Austria', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:qualification . resource:Fritz_Brügel property:academic_degree ?g }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q161118,P512,c(Q3412758))
action filter_type
action find
entity Q1465855
relation P512
type Q3412758
The name of the degree held by that person is a [ANSWER]
['Q161118', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3412758 . resource:Q1465855 property:P512 ?g }
doctoral degree
The name of the degree held by that person is a doctoral degree
doctoral degree
action filter_type
action find
entity Fritz Brügel
relation academic degree
type qualification
['Communist Party of Austria', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:qualification . resource:Fritz_Brügel property:academic_degree ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q4184030 Q1465855
P512
Q3412758
USER
Or Vasily Zadorozhny?
OR((Q1465855,P512,c(Q3412758)), (Q4184030,P512,c(Q3412758)))
action filter_type
action union
action find
entity Q1465855
relation P512
action find
entity Q4184030
relation P512
type Q3412758
{'OR': [['Q1465855', 'P512', {'concept': 'Q3412758'}], ['Q4184030', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?s ) { ( resource:Q1465855 ) ( resource:Q4184030 ) } . ?s property:P512 ?f } . ?f rdf:type ontology:Q3412758 }
Vasily Zadorozhny Fritz Brügel
action filter_type
action union
action find
entity Fritz Brügel
relation academic degree
action find
entity Vasily Zadorozhny
relation academic degree
type qualification
{'OR': [['Fritz Brügel', 'academic degree', {'concept': 'qualification'}], ['Vasily Zadorozhny', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?s ) { ( resource:Fritz_Brügel ) ( resource:Vasily_Zadorozhny ) } . ?s property:academic_degree ?f } . ?f rdf:type ontology:qualification }
[]
qualification
Q17281072 Q849697
SYSTEM
Doktor Nauk in Economics, doctoral degree
Q17281072 Q849697
OR((Q1465855,P512,c(Q3412758)), (Q4184030,P512,c(Q3412758)))
action filter_type
action union
action find
entity Q1465855
relation P512
action find
entity Q4184030
relation P512
type Q3412758
[ANSWERS]
{'OR': [['Q1465855', 'P512', {'concept': 'Q3412758'}], ['Q4184030', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?s ) { ( resource:Q1465855 ) ( resource:Q4184030 ) } . ?s property:P512 ?f } . ?f rdf:type ontology:Q3412758 }
Doktor Nauk in Economics doctoral degree
Doktor Nauk in Economics doctoral degree
action filter_type
action union
action find
entity Fritz Brügel
relation academic degree
action find
entity Vasily Zadorozhny
relation academic degree
type qualification
{'OR': [['Fritz Brügel', 'academic degree', {'concept': 'qualification'}], ['Vasily Zadorozhny', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?s ) { ( resource:Fritz_Brügel ) ( resource:Vasily_Zadorozhny ) } . ?s property:academic_degree ?f } . ?f rdf:type ontology:qualification }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P512
Q3412758 Q502895
USER
How many qualifications do around the same number of people hold as that qualification ?
(c(Q502895),P512,c(Q3412758))
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q189533 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3412758 }
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:academic_degree ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:qualification }
[]
qualification common name
Comparative|Count over More/Less|Single entity type|Clarification
Q849697
SYSTEM
Did you mean doctoral degree ?
(c(Q502895),P512,c(Q3412758))
[ANSWER]
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q189533 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3412758 }
Did you mean doctoral degree ?
doctoral degree
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:academic_degree ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:qualification }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Doktor Nauk in Economics. Could you tell me the answer for that?
(c(Q502895),P512,c(Q3412758))
Q17281072
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
[]
SYSTEM
77
Q420477 Q948128 Q9344260 Q787674 Q1312529 Q611694 Q4115013 Q19610210 Q17281188 Q1553123 Q3616510 Q15206450 Q17281180 Q18071588 Q2091008 Q4000966 Q17281186 Q17281187 Q16698082 Q6008527 Q16698080 Q2903406 Q19610206 Q17281084 Q16698084 Q17281072 Q1589434 Q17281087 Q737462 Q12101787 Q11963076 Q18745564 Q17281165 Q397610 Q17281161 Q19610320 Q2088189 Q3356421 Q17744738 Q3238045 Q19610186 Q17281125 Q4838783 Q6785213 Q19651783 Q19603970 Q25339110 Q749020 Q1796114 Q18523814 Q43923 Q209896 Q18523811 Q17379493 Q503765 Q4838817 Q4212319 Q959320 Q17281079 Q16698090 Q19898751 Q16698078 Q17281097 Q357813 Q17281153 Q17281152 Q21752647 Q17281156 Q23429091 Q19603972 Q3487030 Q18002832 Q121594 Q16973977 Q17281115 Q12101789 Q20981929
(c(Q502895),P512,c(Q3412758))
[ANSWER]
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q189533 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3412758 }
jinshi Magister Juris associate professor Bachelor of Science high school diploma Master of Architecture law degree Candidate of Agricultural Sciences Doktor Nauk in Biology Lector candidate Engineer's degree Doktor Nauk in History of art Candidate of Technical Sciences Master of Arts Master Doktor Nauk in Warfare Doktor Nauk in Veterinary Doktor Nauk in Geology undergraduate degree Doktor Nauk in Geography Master of Science in Engineering Candidate of Sciences in Pedagogy Doktor Nauk in Philosophy Doktor Nauk in Cultural Studies Doktor Nauk in Economics Magister Doktor Nauk in Philology Kandidat Nauk Doktor Nauk in Political Science Cand.merc Doktor Nauk in Juridical Science Doktor Nauk in Medicine Agrégation Doktor Nauk in Pedagogy PhD in Law Licentiate of Theology Cand.polit. Kandidat Nauk in Economics law degree in France Candidate of Biology Sciences Doktor Nauk in Engineering Bachelor of Business Management Master of Medicine Doctor decretorum Candidate of Philology professor licentiate Cand.oecon. Candidate of Art Doctor of Canon Law honorary degree Candidate of Historical Sciences Doctor of Economics Doctor rerum naturalium Bachelor of Philosophy PhD in Political Science Doctor of Law Doktor Nauk in Chemistry Doktor Nauk in Social Communication doctor of Humanitarian Sciences Doktor Nauk in Architecture Doktor Nauk in Physics and Mathematics adjunct professor Doktor Nauk in Agriculture Doktor Nauk in Sociology Dr. rer. nat. Doktor Nauk in Psychology Master of Science in Public Health PhD in Philosophical Sciences Doctor of Technology Candidate of Sciences in Physics and Mathematics professor Doctor Medicinae Doktor Nauk in Pharmaceutics Doktor Nauk in History civilingeniør
77
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:academic_degree ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:qualification }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q161118
P21 P102
Q502895
USER
Which people are the members of Communist Party of Austria and have male as the sex ?
AND((c(Q502895),P102,Q161118), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q161118
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q161118'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P21 resource:Q6581097 . ?f property:P102 resource:Q161118 . ?f rdf:type ontology:Q502895 }
male Communist Party of Austria
action filter_type
action intersection
action find_reverse
entity Communist Party of Austria
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Communist Party of Austria'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:gender resource:male . ?f property:member_of_political_party resource:Communist_Party_of_Austria . ?f rdf:type ontology:common_name }
[]
common name
Q1168153 Q1818561 Q1358043 Q1280577 Q1237609 Q1300621 Q1819838 Q1927531 Q1696359 Q1763551
SYSTEM
Some of them are Wilhelm Schütte, Leo Gabler, Ernst Fellinger, Franz Rauscher, Hans Maršálek, Willi Gaisch, Leopold Spira, Michael Genner, Johann Teufel, Vinzenz Böröcz
Q1280577 Q15821679 Q1704742 Q1597093 Q1695620 Q1705881 Q711977 Q1819838 Q79072 Q2077866 Q1448026 Q1912196 Q1679316 Q1298905 Q15456012 Q18412616 Q1258189 Q105273 Q2582246 Q1875039 Q1704192 Q1238217 Q78791 Q90177 Q88084 Q792576 Q19298290 Q16509278 Q1425862 Q994628 Q86820 Q1234413 Q993258 Q2036965 Q1357691 Q993250 Q86316 Q1360249 Q1110135 Q1277886 Q1457578 Q2650383 Q2427208 Q78983 Q45267 Q1609144 Q1818751 Q86135 Q216205 Q85674 Q214953 Q19758133 Q603522 Q1363624 Q1368862 Q1430698 Q1029134 Q1818561 Q1664706 Q1732650 Q15823844 Q1300621 Q1679556 Q78646 Q2039110 Q2418135 Q1454692 Q2577080 Q1763551 Q89459 Q86270 Q1447067 Q115063 Q15434476 Q1289369 Q15992127 Q2645274 Q1365574 Q13360765 Q166294 Q1276128 Q2172681 Q1360634 Q1449034 Q1730936 Q1468423 Q1467283 Q1447307 Q1732426 Q113878 Q90217 Q1229931 Q15808464 Q1358043 Q1447656 Q1356397 Q1236199 Q593396 Q1111725 Q89372 Q1447959 Q1710706 Q1457094 Q1449441 Q1341211 Q21936946 Q1429715 Q2524333 Q695994 Q1234644 Q94370 Q1237609 Q1465855 Q1267643 Q1448337 Q593575 Q1696359 Q2156910 Q15823008 Q1409005 Q1733377 Q65013 Q1927531 Q1806449 Q2544801 Q590328 Q1505019 Q1446522 Q112610 Q1266196 Q1168153 Q1303618 Q1405832 Q1808248 Q2172881 Q1468352 Q89002 Q1453850
AND((c(Q502895),P102,Q161118), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q161118
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are the members of Communist Party of Austria and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q161118'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P21 resource:Q6581097 . ?f property:P102 resource:Q161118 . ?f rdf:type ontology:Q502895 }
Franz Rauscher Josef Bloderer Josef Hans Grafl Heinrich Dürmayer Johann Muschik Josef Teufl Arthur West Leopold Spira Ernst Fischer Peter Rindl Franz Leitner Max Bair Jakob Rosner Egon Schönhof Leopold Grünwald Richard Wadani Hans Sassmann Gerhart Eisler André Verlon Ludwig Soswinski Josef Angermann Max Haller Egon Erwin Kisch Karl Steinhardt Hugo Sonnenschein Axl Leskoschek Paul Friedländer Franz Pixner Franz Schuster Franz Nemschak Hugo Huppert Karl Boromäus Frank Bruno Furch Othmar Wundsam Ernst Burger Bruno Frei Ernst Kirchweger Ernst Spitz Julius Mende Hans Kalt Friedl Fürnberg Alois Pisnik Thomas Schönfeld Helmut Zilk Jura Soyfer Herbert Steiner Leo Stern Johann Koplenig Fred Wander Arnold Deutsch Roman Rosdolsky Hermann Köhler Willi Schlamm Erwin Zucker-Schilling Josef Sieder Wilhelm Frank Gustav Wegerer Leo Gabler Leopold Stípčak Karl R. Stadler Klemens Friemel Willi Gaisch Otto Horn Alfred Hrdlicka Otto Heller Theodor Prager Max Schneider Willi Frank Vinzenz Böröcz Kurt Landau Mirko Messner Franz Haider Walter Baier Gerhard Oberkofler Eduard März Otto Bruckner Alfred Klahr Hans Schwarz Erwin Schärf Franz Marek Karl Altmann Rudolf Friemel Ernst Wimmer Franz Sebek Karl Falschlunger Werner Murgg Fritz Lauscher Franz Honner Karl Mörwald Leo Katz Robert Schindel Karl Paryla Ernst Bettelheim Ernst Fellinger Franz Kain Ernest Kaltenegger Josef Strasser Anton Reisinger Gottlieb Fiala Christian Broda Franz Käfer Albert Huttary Karl Flanner Franz West Hans Wolker Jakob Zanger Sigi Maron Viktor Matejka Arnold Reisberg Johann Kazianka Viktor Stern Hans Maršálek Fritz Brügel Hermann Langbein Franz Muhri Anton Ruh Johann Teufel Robert Dubovsky Karl Punzer Rudolf Bartonek Karl Wiesinger Otto Winzer Michael Genner Otto Mödlagl Walter Hollitscher Anton Hofer Georg Knepler Franz Danimann Erich Kern Viktor Elser Wilhelm Schütte Oskar Grossmann Ferdinand Strasser Laurenz Genner Rudolf Hautmann Fritz Schwager Helmut Zenker Heinz Markstein
Wilhelm Schütte, Leo Gabler, Ernst Fellinger, Franz Rauscher, Hans Maršálek, Willi Gaisch, Leopold Spira, Michael Genner, Johann Teufel and Vinzenz Böröcz are the members of Communist Party of Austria and have male as the sex
Wilhelm Schütte Leo Gabler Ernst Fellinger Franz Rauscher Hans Maršálek Willi Gaisch Leopold Spira Michael Genner Johann Teufel Vinzenz Böröcz
action filter_type
action intersection
action find_reverse
entity Communist Party of Austria
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Communist Party of Austria'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:gender resource:male . ?f property:member_of_political_party resource:Communist_Party_of_Austria . ?f rdf:type ontology:common_name }
[]