Simple Question (Direct)
Simple Question
Q3897689
P26
Q502895
USER
Who are married to Patrice Donnelly ?
(Q3897689,P26,c(Q502895))
action filter_type
action find
entity Q3897689
relation P26
type Q502895
['Q3897689', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3897689 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Patrice Donnelly
action filter_type
action find
entity Patrice Donnelly
relation spouse
type common name
['Patrice Donnelly', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Patrice_Donnelly property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q6768662 Q7176917
SYSTEM
Mark Lutz, Peter Shmock
Q6768662 Q7176917
(Q3897689,P26,c(Q502895))
action filter_type
action find
entity Q3897689
relation P26
type Q502895
[ANSWERS] are married to Patrice Donnelly
['Q3897689', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3897689 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Mark Lutz Peter Shmock
Mark Lutz and Peter Shmock are married to Patrice Donnelly
Mark Lutz Peter Shmock
action filter_type
action find
entity Patrice Donnelly
relation spouse
type common name
['Patrice Donnelly', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Patrice_Donnelly property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6768662 Q7176917
P26
Q502895
USER
Which people have Mark Lutz and Peter Shmock as spouse ?
(c(Q502895),P26,Q6768662) (c(Q502895),P26,Q7176917)
action union
action filter_type
action find
entity Q6768662
relation P26
type Q502895
action filter_type
action find
entity Q7176917
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6768662'] [{'concept': 'Q502895'}, 'P26', 'Q7176917']
SELECT DISTINCT ?d WHERE { { resource:Q6768662 property:P26 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q7176917 property:P26 ?d . ?d rdf:type ontology:Q502895 } }
Mark Lutz Peter Shmock
action union
action filter_type
action find
entity Mark Lutz
relation spouse
type common name
action filter_type
action find
entity Peter Shmock
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Mark Lutz'] [{'concept': 'common name'}, 'spouse', 'Peter Shmock']
SELECT DISTINCT ?d WHERE { { resource:Mark_Lutz property:spouse ?d . ?d rdf:type ontology:common_name } UNION { resource:Peter_Shmock property:spouse ?d . ?d rdf:type ontology:common_name } }
[]
common name
Q3897689
SYSTEM
Patrice Donnelly
Q3897689
(c(Q502895),P26,Q6768662) (c(Q502895),P26,Q7176917)
action union
action filter_type
action find
entity Q6768662
relation P26
type Q502895
action filter_type
action find
entity Q7176917
relation P26
type Q502895
[ANSWER] have Mark Lutz and Peter Shmock as spouse
[{'concept': 'Q502895'}, 'P26', 'Q6768662'] [{'concept': 'Q502895'}, 'P26', 'Q7176917']
SELECT DISTINCT ?d WHERE { { resource:Q6768662 property:P26 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q7176917 property:P26 ?d . ?d rdf:type ontology:Q502895 } }
Patrice Donnelly
Patrice Donnelly have Mark Lutz and Peter Shmock as spouse
Patrice Donnelly
action union
action filter_type
action find
entity Mark Lutz
relation spouse
type common name
action filter_type
action find
entity Peter Shmock
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Mark Lutz'] [{'concept': 'common name'}, 'spouse', 'Peter Shmock']
SELECT DISTINCT ?d WHERE { { resource:Mark_Lutz property:spouse ?d . ?d rdf:type ontology:common_name } UNION { resource:Peter_Shmock property:spouse ?d . ?d rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3897689
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q3897689)
action filter_type
action find_reverse
entity Q3897689
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3897689']
SELECT DISTINCT ?p WHERE { ?p property:P161 resource:Q3897689 . ?p rdf:type ontology:Q838948 }
Patrice Donnelly
action filter_type
action find_reverse
entity Patrice Donnelly
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patrice Donnelly']
SELECT DISTINCT ?p WHERE { ?p property:cast_member resource:Patrice_Donnelly . ?p rdf:type ontology:work_of_art }
[]
work of art
Q1615516 Q3083599
SYSTEM
Personal Best, American Anthem
Q1615516 Q3083599
(c(Q838948),P161,Q3897689)
action filter_type
action find_reverse
entity Q3897689
relation P161
type Q838948
[ANSWERS] have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q3897689']
SELECT DISTINCT ?p WHERE { ?p property:P161 resource:Q3897689 . ?p rdf:type ontology:Q838948 }
Personal Best American Anthem
Personal Best and American Anthem have that person as actor
Personal Best American Anthem
action filter_type
action find_reverse
entity Patrice Donnelly
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patrice Donnelly']
SELECT DISTINCT ?p WHERE { ?p property:cast_member resource:Patrice_Donnelly . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3897689
P106
Q151885
USER
Which concept is the profession of Patrice Donnelly ?
(Q3897689,P106,c(Q151885))
action filter_type
action find
entity Q3897689
relation P106
type Q151885
['Q3897689', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q3897689 property:P106 ?j . ?j rdf:type ontology:Q151885 }
Patrice Donnelly
action filter_type
action find
entity Patrice Donnelly
relation occupation
type concept
['Patrice Donnelly', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Patrice_Donnelly property:occupation ?j . ?j rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q3897689,P106,c(Q151885))
action filter_type
action find
entity Q3897689
relation P106
type Q151885
The [ANSWER] is the profession of Patrice Donnelly
['Q3897689', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q3897689 property:P106 ?j . ?j rdf:type ontology:Q151885 }
athletics competitor
The athletics competitor is the profession of Patrice Donnelly
athletics competitor
action filter_type
action find
entity Patrice Donnelly
relation occupation
type concept
['Patrice Donnelly', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Patrice_Donnelly property:occupation ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3897689
Q12737077
USER
And which occupation?
(Q3897689,P106,c(Q12737077))
action filter_type
action find
entity Q3897689
relation P106
type Q12737077
['Q3897689', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3897689 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Patrice Donnelly
action filter_type
action find
entity Patrice Donnelly
relation occupation
type occupation
['Patrice Donnelly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Patrice_Donnelly property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3897689,P106,c(Q12737077))
action filter_type
action find
entity Q3897689
relation P106
type Q12737077
[ANSWER]
['Q3897689', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3897689 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Patrice Donnelly
relation occupation
type occupation
['Patrice Donnelly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Patrice_Donnelly property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations do approximately the same number of collectables belong to as that occupation ?
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q33999
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?q ) WHERE { ?t rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q2342494 . ?o property:P101 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q33999 property:P101 ?u . ?u rdf:type ontology:Q12737077 } } . FILTER ( ?q = ?f ) }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity actor
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?q ) WHERE { ?t rdf:type ontology:occupation . ?o rdf:type ontology:collectable . ?o property:field_of_work ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:actor property:field_of_work ?u . ?u rdf:type ontology:occupation } } . FILTER ( ?q = ?f ) }
[]
occupation collectable
SYSTEM
117
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q33999
relation P101
type Q12737077
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?q ) WHERE { ?t rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q2342494 . ?o property:P101 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q33999 property:P101 ?u . ?u rdf:type ontology:Q12737077 } } . FILTER ( ?q = ?f ) }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
117
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity actor
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?q ) WHERE { ?t rdf:type ontology:occupation . ?o rdf:type ontology:collectable . ?o property:field_of_work ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:actor property:field_of_work ?u . ?u rdf:type ontology:occupation } } . FILTER ( ?q = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1615516
P750
Q375336
USER
Who distributes Personal Best ?
(Q1615516,P750,c(Q375336))
action filter_type
action find
entity Q1615516
relation P750
type Q375336
['Q1615516', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?i WHERE { resource:Q1615516 property:P750 ?i . ?i rdf:type ontology:Q375336 }
Personal Best
action filter_type
action find
entity Personal Best
relation distributor
type film studio
['Personal Best', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?i WHERE { resource:Personal_Best property:distributor ?i . ?i rdf:type ontology:film_studio }
[]
film studio
Q126399
SYSTEM
Warner Bros.
Q126399
(Q1615516,P750,c(Q375336))
action filter_type
action find
entity Q1615516
relation P750
type Q375336
[ANSWER] distributes Personal Best
['Q1615516', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?i WHERE { resource:Q1615516 property:P750 ?i . ?i rdf:type ontology:Q375336 }
Warner Bros.
Warner Bros. distributes Personal Best
Warner Bros.
action filter_type
action find
entity Personal Best
relation distributor
type film studio
['Personal Best', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?i WHERE { resource:Personal_Best property:distributor ?i . ?i rdf:type ontology:film_studio }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q126399
P1454
Q2712963
USER
Which abstract noun is the type of legal form of that film studio ?
(Q126399,P1454,c(Q2712963))
action filter_type
action find
entity Q126399
relation P1454
type Q2712963
['Q126399', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?s WHERE { resource:Q126399 property:P1454 ?s . ?s rdf:type ontology:Q2712963 }
Warner Bros.
action filter_type
action find
entity Warner Bros.
relation legal form
type abstract noun
['Warner Bros.', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?s WHERE { resource:Warner_Bros. property:legal_form ?s . ?s rdf:type ontology:abstract_noun }
[]
abstract noun
Q891723
SYSTEM
public company
Q891723
(Q126399,P1454,c(Q2712963))
action filter_type
action find
entity Q126399
relation P1454
type Q2712963
[ANSWER] is the type of legal form of that film studio
['Q126399', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?s WHERE { resource:Q126399 property:P1454 ?s . ?s rdf:type ontology:Q2712963 }
public company
Public company is the type of legal form of that film studio
public company
action filter_type
action find
entity Warner Bros.
relation legal form
type abstract noun
['Warner Bros.', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?s WHERE { resource:Warner_Bros. property:legal_form ?s . ?s rdf:type ontology:abstract_noun }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1622272 Q33999
P106
Q502895
USER
Which people have actor and university teacher as his/her means of employment ?
AND((c(Q502895),P106,Q33999), (c(Q502895),P106,Q1622272))
action filter_type
action intersection
action find_reverse
entity Q33999
relation P106
action find_reverse
entity Q1622272
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q33999'], [{'concept': 'Q502895'}, 'P106', 'Q1622272']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P106 resource:Q33999 . ?y property:P106 resource:Q1622272 }
university teacher actor
action filter_type
action intersection
action find_reverse
entity actor
relation occupation
action find_reverse
entity university teacher
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'actor'], [{'concept': 'common name'}, 'occupation', 'university teacher']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:occupation resource:actor . ?y property:occupation resource:university_teacher }
[]
common name
Q109990 Q1314444 Q1002882 Q11230425 Q1584713 Q112062 Q229338 Q107274 Q324570 Q561459
SYSTEM
Some of them are Hannelore Bey, Rolf Nagel, András Forgách, Boris Hybner, Harald Scheerer, Monica Bleibtreu, Jean Arthur, Dominik Graf, Scipio Colombo, Grigori Aleksandrov
Q2078529 Q107274 Q1565211 Q10292775 Q163357 Q79178 Q17418094 Q25536151 Q1317059 Q212167 Q3932735 Q161852 Q1070518 Q828127 Q324570 Q108619 Q1208993 Q215182 Q103158 Q125135 Q1354503 Q452761 Q698676 Q3376988 Q97260 Q1685526 Q286302 Q131112 Q459587 Q18410109 Q122123 Q1582072 Q2890619 Q532700 Q239823 Q1000309 Q1724928 Q88811 Q1959649 Q1377107 Q19958984 Q381414 Q168199 Q1037365 Q336460 Q1083637 Q194917 Q1663050 Q229338 Q2641104 Q1279434 Q1496463 Q1747426 Q289054 Q324218 Q2442211 Q833109 Q1705588 Q2333394 Q466396 Q51506 Q1817966 Q1909936 Q2347616 Q16105656 Q884258 Q1881574 Q688367 Q458464 Q86095 Q238315 Q93356 Q1435965 Q274280 Q6093102 Q120391 Q1584713 Q879830 Q1655240 Q1237542 Q1086562 Q23449310 Q1626634 Q1419306 Q45070 Q1314444 Q498897 Q8340575 Q762701 Q1222974 Q214299 Q1284021 Q84510 Q20056668 Q3419736 Q1623301 Q1555232 Q526135 Q111015 Q1324278 Q1570623 Q1524889 Q1657927 Q96660 Q1697378 Q123401 Q24205010 Q1668278 Q2637894 Q12335356 Q109990 Q506958 Q1578008 Q1373030 Q1085172 Q233876 Q290902 Q232876 Q18850985 Q2338858 Q67383 Q310283 Q2503030 Q1679036 Q1002882 Q1682029 Q1509863 Q11230425 Q976283 Q89376 Q2427129 Q1629924 Q708153 Q28152 Q733299 Q1233018 Q433979 Q2451829 Q328590 Q16665781 Q1508079 Q1500036 Q475162 Q1581235 Q1289269 Q102363 Q1465830 Q84409 Q112062 Q3659048 Q1004635 Q2097761 Q78639 Q6098104 Q108057 Q1687605 Q1991744 Q1580512 Q1345827 Q2421740 Q1358454 Q1078106 Q1807945 Q78533 Q546669 Q460491 Q23019803 Q1682686 Q459641 Q67231 Q96788 Q315734 Q2757 Q273113 Q2645221 Q526250 Q1893610 Q12034119 Q874443 Q2172520 Q1873219 Q1507723 Q17364125 Q562570 Q2285294 Q1332710 Q55411 Q89694 Q2462216 Q824344 Q86928 Q16296 Q19787591 Q194848 Q1769302 Q1212684 Q872881 Q107144 Q1503740 Q561459 Q1689052 Q1748538
AND((c(Q502895),P106,Q33999), (c(Q502895),P106,Q1622272))
action filter_type
action intersection
action find_reverse
entity Q33999
relation P106
action find_reverse
entity Q1622272
relation P106
type Q502895
[ANSWERS] have actor and university teacher as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q33999'], [{'concept': 'Q502895'}, 'P106', 'Q1622272']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P106 resource:Q33999 . ?y property:P106 resource:Q1622272 }
Peter Striebeck Dominik Graf Jürgen Marten Guilherme Filipe Carlos Álvarez-Nóvoa Grete Wiesenthal Thomas M. Meinhardt Theodosis Pelegrinis Friedhelm Eberle Atom Egoyan Renato Nicolini Zygmunt Hübner Cheryl Dunye Gad Kaynar Scipio Colombo Hilmar Hoffmann Diane Shalet Michael Stipe Heinz Emigholz Angelika Waller Erika Solbrig Giannina Braschi Stan Brakhage Peter von Bagh Friedrich Ulmer Ruth Herz Vera Oelschlegel Paul Krugman Dina Cocea Alexandra Gandi-Ossau Sibyl Moholy-Nagy Hans Rodenberg Enrique Irazoqui Aleksandra Śląska Chantal Akerman Frank Lienert-Mondanelli Nino Sandow Peter Patzak N. Viswanathan Richard Egan Werner Bernreuther László Gálffi Zbigniew Zapasiewicz Carl Clewing Lola Young, Baroness Young of Hornsey Christine Krüger Nikolay Baskov Karl Wesseler Jean Arthur Alessandro Marchetti Eberhard Storz Gavino Ledda Kurt Veth Catherine Breillat Aleksander Bardini Tonny Landy Karel Krautgartner Josef Rödl Dora van der Groen Etta Cameron Richard Attenborough Lennart Hjulström Matthias Günther Steven Muller Bruce Hyde Milan Sládek MK Lewis Armin Wick John Astin Heinrich von Ficker Claire Denis Seamus Heaney Lutz Köhlert Maja Komorowska Nurhan Karadağ Angelica Domröse Harald Scheerer Bjørn Melhus I Nyoman Wenten Dominic Boeer Christopher Castile Béatrice Perregaux Norbert Stöß Wolf-Dieter Panse Christoph Schlingensief Rolf Nagel John Dankworth Hans-Joachim Heyse Thom Hoffman Dieter Wardetzky Steffen Möller Edgar M. Böhlke Willi Domgraf-Fassbaender Igor Ciel Raquel Revuelta Vincent Leittersdorf Kristin Linklater Krystyna Zachwatowicz Peter Zimmermann Johannes Faber Jean Soubeyran Gina Pietsch Vérénice Rudolph Dieter Mann Johannes Conen Daniel Berger Melanie Oppenheimer René Harder Albert Fischer Pavlína Danková Hannelore Bey Andrew Robinson Hans-Peter Bögel Veit Schubert Christoph Hilger Teresa Berganza Wojciech Bogusławski Diana Rigg Marina Busse Steffi Kühnert Matthias Freihof Denis Leary Ute Lubosch Patrick Billingsley András Forgách Jan Machulski Gerald Florian Boris Hybner Giovanni Scognamillo Wolfgang Heinz Thomas Schmidt Horst Schulze Seymour Cassel Hark Bohm Ned Rorem Frank Cottrell Boyce Philippe Garrel Tresi Rudolph Christopher Durang Mélanie Traversier George Plimpton Gerburg Treusch-Dieter Mohan Agashe Hans Martin Ritter Klaus Schaller Otto Lang János Xantus Angela Schanelec Monica Bleibtreu Carlo Battisti Szeréna Fáy Pjotr Olev Max Reinhardt Serhat Kiliç Gertrud Eysoldt Jeremy Levy Nikolaus Wolcz Roland Matthies Mara Mattuschka Thom Bray Ernst Haeussermann Christa Lehmann Lauren Newton Klaus Maria Brandauer Ghassan Massoud Ingrid Luterkort Aranka Hettyey Janez Drozg Florence Delay Daniel Richter Lucie Höflich John Houseman Lech Kaczyński Anna Seniuk Alfred Jerger Jacqueline Samuda Marco Albrecht Meir Dohnal András Csorba Rudolf Debiel Lucia Mureșan George Kuchar Peter Meinhardt Otto Šimánek Sigrid Maria Schnückel Elmar Buck Wim Wenders Dieter Pfaff Kazuko Sugiyama Bernd Upnmoor Karl Ludwig Giesecke Patrick Stewart Ernst-Frieder Kratochwil Margareta Pogonat Lilly Ackermann Gábor Máté Luk Perceval Aurel Manthei Gustaw Holoubek Grigori Aleksandrov Jim Burnstein Ursula Cantieni
Hannelore Bey, Rolf Nagel, András Forgách, Boris Hybner, Harald Scheerer, Monica Bleibtreu, Jean Arthur, Dominik Graf, Scipio Colombo and Grigori Aleksandrov have actor and university teacher as his/her means of employment
Hannelore Bey Rolf Nagel András Forgách Boris Hybner Harald Scheerer Monica Bleibtreu Jean Arthur Dominik Graf Scipio Colombo Grigori Aleksandrov
action filter_type
action intersection
action find_reverse
entity actor
relation occupation
action find_reverse
entity university teacher
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'actor'], [{'concept': 'common name'}, 'occupation', 'university teacher']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:occupation resource:actor . ?y property:occupation resource:university_teacher }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do exactly 3 people know to play ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?a = 3 ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P1303 ?l . ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?a = 3 ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:instrument ?l . ?d rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } }
[]
musical instrument common name
Q626035 Q726306
SYSTEM
glockenspiel, erhu
Q626035 Q726306
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
Exactly 3 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?a = 3 ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P1303 ?l . ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } }
glockenspiel erhu
Exactly 3 people know about glockenspiel and erhu
glockenspiel erhu
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?a = 3 ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:instrument ?l . ?d rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 5378 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5378
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l <= 5378 ) . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?w } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5378
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l <= 5378 ) . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?w } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5378
[ANSWERS] can atmost 5378 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l <= 5378 ) . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?w } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can atmost 5378 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5378
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l <= 5378 ) . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?w } }
[]