Simple Question (Direct)
Simple Question
Q1353147
P106
Q151885
USER
What is the job of Erich Schilling ?
(Q1353147,P106,c(Q151885))
action filter_type
action find
entity Q1353147
relation P106
type Q151885
['Q1353147', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q1353147 property:P106 ?a . ?a rdf:type ontology:Q151885 }
Erich Schilling
action filter_type
action find
entity Erich Schilling
relation occupation
type concept
['Erich Schilling', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Erich_Schilling property:occupation ?a . ?a rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q1353147,P106,c(Q151885))
action filter_type
action find
entity Q1353147
relation P106
type Q151885
The job of Erich Schilling is a [ANSWER]
['Q1353147', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q1353147 property:P106 ?a . ?a rdf:type ontology:Q151885 }
trade unionist
The job of Erich Schilling is a trade unionist
trade unionist
action filter_type
action find
entity Erich Schilling
relation occupation
type concept
['Erich Schilling', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Erich_Schilling property:occupation ?a . ?a rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353147
P102
Q7278
USER
Which political parties are Erich Schilling a member of ?
(Q1353147,P102,c(Q7278))
action filter_type
action find
entity Q1353147
relation P102
type Q7278
['Q1353147', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q1353147 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Erich Schilling
action filter_type
action find
entity Erich Schilling
relation member of political party
type political party
['Erich Schilling', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Schilling property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
political party
Q49750 Q49768
SYSTEM
Socialist Unity Party of Germany, Social Democratic Party of Germany
Q49750 Q49768
(Q1353147,P102,c(Q7278))
action filter_type
action find
entity Q1353147
relation P102
type Q7278
Party [ANSWERS] are Erich Schilling a member of
['Q1353147', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q1353147 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Socialist Unity Party of Germany Social Democratic Party of Germany
Party Socialist Unity Party of Germany and Social Democratic Party of Germany are Erich Schilling a member of
Socialist Unity Party of Germany Social Democratic Party of Germany
action filter_type
action find
entity Erich Schilling
relation member of political party
type political party
['Erich Schilling', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Schilling property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49768
P108
Q502895
USER
Which person is working for that political party ?
(c(Q502895),P108,Q49768)
action filter_type
action find_reverse
entity Q49768
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q49768']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q49768 . ?a rdf:type ontology:Q502895 }
Social Democratic Party of Germany
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Social Democratic Party of Germany']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:Social_Democratic_Party_of_Germany . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q49750
SYSTEM
Did you mean Socialist Unity Party of Germany ?
Q49750 Q49768
(c(Q502895),P108,Q49750) (c(Q502895),P108,Q49768)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q49750'] [{'concept': 'Q502895'}, 'P108', 'Q49768']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q49768 . ?a rdf:type ontology:Q502895 }
Socialist Unity Party of Germany Social Democratic Party of Germany
Did you mean Socialist Unity Party of Germany ?
Socialist Unity Party of Germany
[{'concept': 'common name'}, 'employer', 'Socialist Unity Party of Germany'] [{'concept': 'common name'}, 'employer', 'Social Democratic Party of Germany']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:Social_Democratic_Party_of_Germany . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Social Democratic Party of Germany. Could you tell me the answer for that?
(c(Q502895),P108,Q49768)
Q49768
[{'concept': 'Q502895'}, 'P108', 'Q49768']
[{'concept': 'common name'}, 'employer', 'Social Democratic Party of Germany']
[]
Q15606894
SYSTEM
Yasmin Fahimi
Q15606894
(c(Q502895),P108,Q49768)
action filter_type
action find_reverse
entity Q49768
relation P108
type Q502895
[ANSWER] is working for that political party
[{'concept': 'Q502895'}, 'P108', 'Q49768']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q49768 . ?a rdf:type ontology:Q502895 }
Yasmin Fahimi
Yasmin Fahimi is working for that political party
Yasmin Fahimi
action filter_type
action find_reverse
entity Social Democratic Party of Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Social Democratic Party of Germany']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:Social_Democratic_Party_of_Germany . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21956264 Q49750
P17
Q1048835
USER
Which political territories are Socialist Unity Party of Germany or Batchlers Shore located in ?
OR((Q49750,P17,c(Q1048835)), (Q21956264,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q49750
relation P17
action find
entity Q21956264
relation P17
type Q1048835
{'OR': [['Q49750', 'P17', {'concept': 'Q1048835'}], ['Q21956264', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q49750 property:P17 ?g } UNION { resource:Q21956264 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Batchlers Shore Socialist Unity Party of Germany
action filter_type
action union
action find
entity Socialist Unity Party of Germany
relation country
action find
entity Batchlers Shore
relation country
type political territorial entity
{'OR': [['Socialist Unity Party of Germany', 'country', {'concept': 'political territorial entity'}], ['Batchlers Shore', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Socialist_Unity_Party_of_Germany property:country ?g } UNION { resource:Batchlers_Shore property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q49750,P17,c(Q1048835)), (Q21956264,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q49750
relation P17
action find
entity Q21956264
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q49750', 'P17', {'concept': 'Q1048835'}], ['Q21956264', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q49750 property:P17 ?g } UNION { resource:Q21956264 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Australia Germany
Which political territories are Socialist Unity Party of Germany or Batchlers Shore located in
Australia Germany
action filter_type
action union
action find
entity Socialist Unity Party of Germany
relation country
action find
entity Batchlers Shore
relation country
type political territorial entity
{'OR': [['Socialist Unity Party of Germany', 'country', {'concept': 'political territorial entity'}], ['Batchlers Shore', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Socialist_Unity_Party_of_Germany property:country ?g } UNION { resource:Batchlers_Shore property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1002169
P361
Q49447 Q11862829 Q151885
USER
How many concepts are a component of around the same number of world views and academic disciplines as Bug-Dniester culture ?
(c(Q151885),P361,c(Q49447)|c(Q11862829))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q151885
type Q49447
action find_tuple_counts
relation P361
type Q151885
type Q11862829
action count
action filter_multi_types
action find
entity Q1002169
relation P361
type Q49447
type Q11862829
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { VALUES ( ?c ) { ( ontology:Q49447 ) ( ontology:Q11862829 ) } . ?t rdf:type ?c } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q1002169 property:P361 ?u . { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:Q49447 ) ( ontology:Q11862829 ) } } } } . FILTER ( ?r = ?z ) }
Bug-Dniester culture
action count
action approx
action union
action find_tuple_counts
relation part of
type concept
type world view
action find_tuple_counts
relation part of
type concept
type academic discipline
action count
action filter_multi_types
action find
entity Bug-Dniester culture
relation part of
type world view
type academic discipline
[{'concept': 'concept'}, 'part of', [{'concept': 'world view'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { VALUES ( ?c ) { ( ontology:world_view ) ( ontology:academic_discipline ) } . ?t rdf:type ?c } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Bug-Dniester_culture property:part_of ?u . { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:world_view ) ( ontology:academic_discipline ) } } } } . FILTER ( ?r = ?z ) }
[]
world view academic discipline concept
SYSTEM
315
Q1784032 Q1585136 Q1075080 Q17504771 Q3071 Q402743 Q80974 Q896395 Q140842 Q5152891 Q228182 Q5127848 Q6165848 Q314639 Q1886212 Q1262328 Q13409799 Q2332687 Q2560070 Q816829 Q575396 Q2064825 Q647858 Q1676081 Q7398540 Q131222 Q2379716 Q231139 Q739604 Q22294685 Q1257373 Q1263312 Q5195095 Q831336 Q933996 Q318756 Q1483547 Q1049966 Q24444087 Q720959 Q26696044 Q205237 Q3699342 Q7310741 Q2452314 Q687230 Q400086 Q2347305 Q29175 Q9200127 Q2537330 Q1369777 Q855546 Q645489 Q1737460 Q2249365 Q756905 Q484641 Q1508613 Q279792 Q202930 Q2047814 Q1867823 Q1757895 Q2666408 Q2624476 Q22308529 Q4386060 Q4863051 Q1470165 Q1663054 Q246672 Q693549 Q1511519 Q2603061 Q426737 Q1041623 Q871703 Q792542 Q2632835 Q1686610 Q1755426 Q3007186 Q395167 Q780517 Q1499566 Q5027838 Q14864013 Q1728968 Q11348 Q1298414 Q773818 Q1295751 Q575574 Q694751 Q170430 Q502702 Q2252048 Q570798 Q1469205 Q3651998 Q286916 Q2710557 Q378100 Q875479 Q4070700 Q4833212 Q382357 Q8188 Q1205679 Q169349 Q1859432 Q534606 Q1473687 Q785653 Q205215 Q304020 Q1932196 Q259118 Q306627 Q1474345 Q127455 Q4213912 Q2556093 Q4410983 Q2045807 Q2098731 Q1090851 Q903820 Q877674 Q24339990 Q81639 Q928511 Q23038345 Q1814141 Q218257 Q1051663 Q485132 Q2285706 Q727781 Q729429 Q527101 Q971802 Q8361 Q396077 Q1808482 Q120811 Q1017984 Q2640569 Q427986 Q19478619 Q202165 Q245156 Q275186 Q20905961 Q379671 Q80641 Q205200 Q5206183 Q134178 Q1551765 Q1402719 Q811671 Q1423912 Q1473758 Q690109 Q2216194 Q5876138 Q875115 Q175263 Q176353 Q175661 Q389981 Q177826 Q2988851 Q49447 Q19361238 Q1362485 Q1398184 Q1054850 Q571515 Q39072 Q1759091 Q459376 Q1646300 Q2006045 Q668742 Q1421436 Q508295 Q1002169 Q460674 Q481062 Q306837 Q39680 Q897323 Q1234153 Q651480 Q2108957 Q4138754 Q399951 Q321651 Q744417 Q1062400 Q665093 Q1941338 Q703534 Q219834 Q672010 Q1121344 Q1041674 Q624580 Q228513 Q94951 Q2301851 Q753679 Q20747150 Q1229136 Q113965 Q2556572 Q21108211 Q879021 Q604100 Q1374731 Q961596 Q372349 Q2370603 Q700039 Q398485 Q1266782 Q7170676 Q10262223 Q500099 Q1688286 Q832161 Q1134237 Q273508 Q2166381 Q1139760 Q3651996 Q4070702 Q1973554 Q1887797 Q1470903 Q1509262 Q228487 Q322500 Q2005344 Q2625916 Q5639767 Q187025 Q322461 Q2372667 Q3328590 Q688898 Q5610719 Q131476 Q1241067 Q1162419 Q467 Q1807594 Q320074 Q2442882 Q1035710 Q1047444 Q208247 Q188539 Q2995537 Q1781546 Q746287 Q221901 Q2446445 Q5149108 Q1755265 Q2884829 Q7672529 Q470867 Q3333865 Q893119 Q675717 Q1469830 Q336124 Q169320 Q5282039 Q188507 Q371745 Q40953 Q445618 Q186075 Q1577518 Q671984 Q733489 Q19597596 Q210774 Q2015677 Q1377163 Q2612317 Q1379958 Q228834 Q3296134 Q4096641 Q223998 Q5267401 Q58339 Q2636498 Q7190517 Q1088939 Q8441 Q1365530 Q660984 Q2628571 Q611017 Q129282 Q2083958 Q260801 Q806348
(c(Q151885),P361,c(Q49447)|c(Q11862829))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q151885
type Q49447
action find_tuple_counts
relation P361
type Q151885
type Q11862829
action count
action filter_multi_types
action find
entity Q1002169
relation P361
type Q49447
type Q11862829
[ANSWER]
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { VALUES ( ?c ) { ( ontology:Q49447 ) ( ontology:Q11862829 ) } . ?t rdf:type ?c } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q1002169 property:P361 ?u . { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:Q49447 ) ( ontology:Q11862829 ) } } } } . FILTER ( ?r = ?z ) }
Viking rock Monte Claro culture Upper Xiajiadian culture History of Catholic church in Catalonia punk rock Ahrensburg culture Afanasevo culture Jugendamt (Germany) Zahlungsverbot Commit random path class W8 Baalberge group Rössen culture field theory Argaric culture Piliny culture Magosian periodization Cernavodă culture Pavlovian culture Zarzian culture Iwi safe mode information theory Sögel-Wohlde culture Immigrant group Körös culture rejection of pollen from other species Maykop culture Tiszapolgár culture Current conveyor Vinča culture Corded Ware culture Abelian Lemma Starčevo culture Castro culture concept about Norse culture Sludge metal candidate status Zinsschranke Kurgan culture relationship Trialetian Baden culture Ahasites Polada culture derivative member Trzciniec culture Este culture Bükk culture Baradostian culture Kayue culture Kawina Gravettian pop rock House Urns culture Botai culture reggaeton Palingsound proper Poltavka culture Asturian culture Marajoara culture interaction with other organism via secreted substance involved in symbiotic interaction Cognitive architecture Baroque music of the British Isles Srubna culture ingestion mathematical object Magdalenian Catacomb culture Coțofeni culture Yamna culture Tisza culture Walternienburg-Bernburg Culture axiomatic system Okunev Culture Yekaterininka Culture Valdivia culture Arzachena culture Agochorie speed garage money multiplier campaign manager interaction with host Karanovo culture function Egolzwil Culture Unetice culture definitions of fascism Pintupi Nine Cult Wagon of Strettweg predation Hamburg culture Schussenried culture Michelsberg culture Fritzens-Sanzeno culture South-German Urnfield culture ABC theory Dnieper–Donets culture Vlaardingen culture Wartberg culture archetype A¹ homotopy theory Affenliebe syllable Pengtoushan culture Kura–Araxes culture Varna culture Swamp blues shieldmaiden Jungian archetype Zinsleute Ab nach Kassel Stroke-ornamented ware culture Mousterian Abblitzen Chernyakhov culture Ordos culture Karakol culture Gumelniţa–Karanovo culture Swifterbant culture Duvensee paddle Slab Grave Culture Châtelperronian field theory touch Norse mythological concept exonym Maglemosian culture Wikipedian Oksywie culture Globular Amphora culture Erlitou culture Software analysis pattern head of government Latin American music Extreme value theory complete measure Potapovka culture Baroque music agrarian history Tardenoisian Detection theory Butmir culture Aldy-Bel culture Gaudo culture metaclass Hallstatt culture Ubaid period gang Cultural Creatives post-grunge Samara culture Zinsertrag DSRP Minoan civilization Pitted Ware culture prototype theory Bauopfer Przeworsk culture Ozieri culture branch of service Salzmünde group Hodge–Arakelov theory Funnelbeaker culture data structure beekeeping action theory Dispersal mechanisms of plants clergy Finnish rock world view Wikidata metaclass Ertebølle culture Fatyanovo–Balanovo culture Bactria–Margiana Archaeological Complex Warrior of Hirschlanden microeconomics Micoquien Andronovo culture Deverel-Rimbury culture business oligarch Lengyel culture Nuragic civilization account Bug-Dniester culture Ska punk Elp culture Abbruchbedingung macroeconomics Pre-Pottery Neolithic B Almeria culture Main diagonal Press center hypercycle Ahar-Banas culture Eberswalde Hoard Italo disco chanson Magnetostatics burgess employee Zona alba Horgen culture Solutrean Lower Xiajiadian culture Eulerian path Zugsignal regional cuisine Scout Group Gangsta rap guerrilla Grooved ware Khvalynsk culture order interaction with symbiont pluralism Sredny Stog culture Euro disco Stokes drift Gáva culture Boian culture Wielbark culture Agujero de oro autonym Personification in the Bible Dimini Culture Jastorf culture Esik Bes-Shatir Culture financial ratio court inflation Ottomány culture Creswellian culture Middle-Danube Urnfield culture literary archetype Glazkov culture Mal'ta-Buret' culture Iberomaurusian Hamangia culture Zugriff Purchase guarantee Tagar culture Gandhara grave culture Haitian vodou drumming Zeitungsbuch warning costs Swiderian culture French Baroque music Chasséen culture Grothendieck's Galois theory graph theory Old Europe Cucuteni-Trypillian culture woman Luco-Meluno culture Abfohlbox Middle Dnieper culture Cardium Pottery Pre-Pottery Neolithic A La Tène culture glam metal Soanian Kongemose culture Oldowan Aurignacian Milograd culture Colossal Baroque Kulli culture Early Baroque music TWA Moonliner Beaker culture Metropolis of Halych Boat Axe culture Clactonian Kunda culture Abverkauf Trialeti culture Discrete Morse theory apartment Timba prayer Banat Swabians contemporary history Komsa culture Cortaillod culture Natufian culture Inter-universal Teichmüller theory Acheulean Zarubintsy culture sociological theory Milavce culture contemporary Christian music supply pyramid Wizard rock Brnjica culture Urnfield culture typographic unit disco Chernoles culture Picard–Lefschetz theory Kebaran man turn intelligent dance music Dyakovo culture Lusatian culture Karasuk culture pattern Havelland culture Linear Pottery culture
315
action count
action approx
action union
action find_tuple_counts
relation part of
type concept
type world view
action find_tuple_counts
relation part of
type concept
type academic discipline
action count
action filter_multi_types
action find
entity Bug-Dniester culture
relation part of
type world view
type academic discipline
[{'concept': 'concept'}, 'part of', [{'concept': 'world view'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { VALUES ( ?c ) { ( ontology:world_view ) ( ontology:academic_discipline ) } . ?t rdf:type ?c } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Bug-Dniester_culture property:part_of ?u . { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:world_view ) ( ontology:academic_discipline ) } } } } . FILTER ( ?r = ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q49762 Q49768
P102
Q502895
USER
Which people are members of Social Democratic Party of Germany and Christian Democratic Union ?
AND((c(Q502895),P102,Q49768), (c(Q502895),P102,Q49762))
action filter_type
action intersection
action find_reverse
entity Q49768
relation P102
action find_reverse
entity Q49762
relation P102
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q49768'], [{'concept': 'Q502895'}, 'P102', 'Q49762']]}
SELECT DISTINCT ?g WHERE { ?g property:P102 resource:Q49768 . ?g property:P102 resource:Q49762 . ?g rdf:type ontology:Q502895 }
Christian Democratic Union Social Democratic Party of Germany
action filter_type
action intersection
action find_reverse
entity Social Democratic Party of Germany
relation member of political party
action find_reverse
entity Christian Democratic Union
relation member of political party
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Social Democratic Party of Germany'], [{'concept': 'common name'}, 'member of political party', 'Christian Democratic Union']]}
SELECT DISTINCT ?g WHERE { ?g property:member_of_political_party resource:Social_Democratic_Party_of_Germany . ?g property:member_of_political_party resource:Christian_Democratic_Union . ?g rdf:type ontology:common_name }
[]
common name
Q1249111 Q1512648 Q1359231 Q2061274 Q114981 Q1560908 Q1449065 Q1603334 Q1472614 Q15854545
SYSTEM
Some of them are Helmut Kupski, Gerhard Thierbach, Ernst Leuninger, Paul Metzger, Hanfried Lenz, Günter Porsiel, Franz Seume, Helmut Adamzyk, Heinrich Hossiep, Wilhelm Silvanus
Q1302390 Q1359231 Q1684838 Q1472614 Q1412785 Q1804099 Q2573 Q102286 Q1249111 Q2545437 Q2140570 Q75719 Q98403 Q114981 Q15854545 Q2591324 Q2141198 Q2643011 Q1730221 Q1729775 Q1729567 Q2590523 Q971470 Q1359138 Q1597435 Q1744824 Q1896167 Q87942 Q1560908 Q1611979 Q2176561 Q1890092 Q1603334 Q1672755 Q84942 Q534162 Q1360816 Q1895003 Q865882 Q2543881 Q2061274 Q1512648 Q1320368 Q108781 Q71508 Q106354 Q2584327 Q15837914 Q123755 Q100904 Q1271409 Q1374367 Q2543546 Q1446228 Q1707328 Q100294 Q1561198 Q1449065 Q1610921 Q1078328 Q1927858 Q1603130 Q1468657 Q14849871 Q105676 Q1228001
AND((c(Q502895),P102,Q49768), (c(Q502895),P102,Q49762))
action filter_type
action intersection
action find_reverse
entity Q49768
relation P102
action find_reverse
entity Q49762
relation P102
type Q502895
[ANSWERS] are members of Social Democratic Party of Germany and Christian Democratic Union
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q49768'], [{'concept': 'Q502895'}, 'P102', 'Q49762']]}
SELECT DISTINCT ?g WHERE { ?g property:P102 resource:Q49768 . ?g property:P102 resource:Q49762 . ?g rdf:type ontology:Q502895 }
Wolf-Dieter Ringguth Ernst Leuninger Peter-Michael Koenig Heinrich Hossiep Peter Nellen Swantje Hartmann Gustav Heinemann Gerhard Kleinmagd Helmut Kupski Walter Löhr Reinhard Barsuhn Karl Albrecht Schachtschneider Siegfried Reiprich Hanfried Lenz Wilhelm Silvanus Wolfgang Schulz Reinhardt Thomas Alexander Schwan Oswald Metzger Karl-Georg Wellmann Karin Stieringer Wolfgang Marcus Max Emcke Ernst Küchler Heinrich Gutermuth Klaus-Peter Schulz Maria Meyer-Sevenich Herbert Schirmer Günter Porsiel Klaus Dreikopf Rupert Kubon Manfred Wilke Helmut Adamzyk Iris Spieß Herbert Hupka Angelika Barbe Ernst von Essen Margarete Müller Birte Gutzki-Heitmann Walter Christian Steinbach Paul Metzger Gerhard Thierbach Josef Heinrichs Fritz Schenk Charles M. Huber August Winnig Winfried Steffani Otto Lauer Hans-Erich Volkmann Hans Paul Ganter-Gilmans Klaus Thüsing Werner Grübmeyer Walter Baselau Franz Becker Kurt Landsberg Reinhold Rehs Günter Wetzel Franz Seume Hermann Dold Christel Oldenburg Michael Hoffmann Lothar Bossle Karin Tuczek Guido Till Karl Lauterbach Dirk Nockemann
Helmut Kupski, Gerhard Thierbach, Ernst Leuninger, Paul Metzger, Hanfried Lenz, Günter Porsiel, Franz Seume, Helmut Adamzyk, Heinrich Hossiep and Wilhelm Silvanus are members of Social Democratic Party of Germany and Christian Democratic Union
Helmut Kupski Gerhard Thierbach Ernst Leuninger Paul Metzger Hanfried Lenz Günter Porsiel Franz Seume Helmut Adamzyk Heinrich Hossiep Wilhelm Silvanus
action filter_type
action intersection
action find_reverse
entity Social Democratic Party of Germany
relation member of political party
action find_reverse
entity Christian Democratic Union
relation member of political party
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Social Democratic Party of Germany'], [{'concept': 'common name'}, 'member of political party', 'Christian Democratic Union']]}
SELECT DISTINCT ?g WHERE { ?g property:member_of_political_party resource:Social_Democratic_Party_of_Germany . ?g property:member_of_political_party resource:Christian_Democratic_Union . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q1048835 Q553036 Q1048835
USER
Which political territories have their location as max number of political territories and natural region of Germanys ?
(c(Q1048835),P706,c(Q1048835)|c(Q553036))
action argmax
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q553036
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { { ?n property:P706 ?m . ?n rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } UNION { ?n property:P706 ?m . ?m rdf:type ontology:Q553036 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?a ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q553036 ) } . ?w rdf:type ?c } GROUP BY ?s } . FILTER ( ?a = ?u ) }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { { ?n property:located_on_terrain_feature ?m . ?n rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } UNION { ?n property:located_on_terrain_feature ?m . ?m rdf:type ontology:natural_region_of_Germany . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?a ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:natural_region_of_Germany ) } . ?w rdf:type ?c } GROUP BY ?s } . FILTER ( ?a = ?u ) }
[]
political territorial entity natural region of Germany political territorial entity
Q8583 Q8593 Q9337
SYSTEM
Vulkaneifel, Mayen-Koblenz, Flemish Region
Q8583 Q8593 Q9337
(c(Q1048835),P706,c(Q1048835)|c(Q553036))
action argmax
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q553036
[ANSWERS] have their location as max number of political territories and natural region of Germanys
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { { ?n property:P706 ?m . ?n rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } UNION { ?n property:P706 ?m . ?m rdf:type ontology:Q553036 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?a ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q553036 ) } . ?w rdf:type ?c } GROUP BY ?s } . FILTER ( ?a = ?u ) }
Vulkaneifel Mayen-Koblenz Flemish Region
Vulkaneifel, Mayen-Koblenz and Flemish Region have their location as max number of political territories and natural region of Germanys
Vulkaneifel Mayen-Koblenz Flemish Region
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { { ?n property:located_on_terrain_feature ?m . ?n rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } UNION { ?n property:located_on_terrain_feature ?m . ?m rdf:type ontology:natural_region_of_Germany . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?a ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:natural_region_of_Germany ) } . ?w rdf:type ?c } GROUP BY ?s } . FILTER ( ?a = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9337 Q81931
P1001
Q12737077
USER
How many occupations have jurisdiction over Flemish Region or Confederate States of America ?
(c(Q12737077),P1001,Q9337) (c(Q12737077),P1001,Q81931)
action count
action union
action filter_type
action find_reverse
entity Q9337
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q9337'] [{'concept': 'Q12737077'}, 'P1001', 'Q81931']
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1001 ?b . VALUES ( ?b ) { ( resource:Q9337 ) ( resource:Q81931 ) } }
Flemish Region Confederate States of America
action count
action union
action filter_type
action find_reverse
entity Flemish Region
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Flemish Region'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Confederate States of America']
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:applies_to_jurisdiction ?b . VALUES ( ?b ) { ( resource:Flemish_Region ) ( resource:Confederate_States_of_America ) } }
[]
occupation
SYSTEM
5
Q5159745 Q2500100 Q5159737 Q1999471 Q2523231
(c(Q12737077),P1001,Q9337) (c(Q12737077),P1001,Q81931)
action count
action union
action filter_type
action find_reverse
entity Q9337
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q9337'] [{'concept': 'Q12737077'}, 'P1001', 'Q81931']
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1001 ?b . VALUES ( ?b ) { ( resource:Q9337 ) ( resource:Q81931 ) } }
Confederate States of America Secretary of the Treasury Confederate States Secretary of War Confederate States Attorney General President of the Confederate States of America Confederate States Secretary of State
5
action count
action union
action filter_type
action find_reverse
entity Flemish Region
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Flemish Region'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Confederate States of America']
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:applies_to_jurisdiction ?b . VALUES ( ?b ) { ( resource:Flemish_Region ) ( resource:Confederate_States_of_America ) } }
[]