Simple Question (Direct)
Simple Question
Q2636365
P463
Q48204
USER
Which voluntary association was Alain Bensoussan a member of ?
(Q2636365,P463,c(Q48204))
action filter_type
action find
entity Q2636365
relation P463
type Q48204
['Q2636365', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?k WHERE { resource:Q2636365 property:P463 ?k . ?k rdf:type ontology:Q48204 }
Alain Bensoussan
action filter_type
action find
entity Alain Bensoussan
relation member of
type voluntary association
['Alain Bensoussan', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?k WHERE { resource:Alain_Bensoussan property:member_of ?k . ?k rdf:type ontology:voluntary_association }
[]
voluntary association
Q2822399
SYSTEM
French Academy of Technologies
Q2822399
(Q2636365,P463,c(Q48204))
action filter_type
action find
entity Q2636365
relation P463
type Q48204
[ANSWER] was Alain Bensoussan a member of
['Q2636365', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?k WHERE { resource:Q2636365 property:P463 ?k . ?k rdf:type ontology:Q48204 }
French Academy of Technologies
French Academy of Technologies was Alain Bensoussan a member of
French Academy of Technologies
action filter_type
action find
entity Alain Bensoussan
relation member of
type voluntary association
['Alain Bensoussan', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?k WHERE { resource:Alain_Bensoussan property:member_of ?k . ?k rdf:type ontology:voluntary_association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2636365
P166
Q618779
USER
Which awards were received by Alain Bensoussan ?
(Q2636365,P166,c(Q618779))
action filter_type
action find
entity Q2636365
relation P166
type Q618779
['Q2636365', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q2636365 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Alain Bensoussan
action filter_type
action find
entity Alain Bensoussan
relation award received
type award
['Alain Bensoussan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Alain_Bensoussan property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q1496528 Q10855195 Q13422141
SYSTEM
Gay-Lussac-Humboldt-Prize, Officer of the Legion of Honour, Commander of the National Order of Merit
Q1496528 Q13422141 Q10905334 Q10855195
(Q2636365,P166,c(Q618779))
action filter_type
action find
entity Q2636365
relation P166
type Q618779
[ANSWERS] were received by Alain Bensoussan
['Q2636365', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q2636365 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Gay-Lussac-Humboldt-Prize Commander of the National Order of Merit Officer's Cross of the Order of Merit of the Federal Republic of Germany Officer of the Legion of Honour
Gay-Lussac-Humboldt-Prize, Officer of the Legion of Honour and Commander of the National Order of Merit were received by Alain Bensoussan
Gay-Lussac-Humboldt-Prize Officer of the Legion of Honour Commander of the National Order of Merit
action filter_type
action find
entity Alain Bensoussan
relation award received
type award
['Alain Bensoussan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Alain_Bensoussan property:award_received ?r . ?r rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4964354
Q618779
USER
And what about Brian Kingcome?
(Q4964354,P166,c(Q618779))
action filter_type
action find
entity Q4964354
relation P166
type Q618779
['Q4964354', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q4964354 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Brian Kingcome
action filter_type
action find
entity Brian Kingcome
relation award received
type award
['Brian Kingcome', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Brian_Kingcome property:award_received ?k . ?k rdf:type ontology:award }
[]
award
Q1229534 Q615838
SYSTEM
Distinguished Flying Cross, Distinguished Service Order
Q1229534 Q615838
(Q4964354,P166,c(Q618779))
action filter_type
action find
entity Q4964354
relation P166
type Q618779
[ANSWERS]
['Q4964354', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q4964354 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Distinguished Flying Cross Distinguished Service Order
Distinguished Flying Cross Distinguished Service Order
action filter_type
action find
entity Brian Kingcome
relation award received
type award
['Brian Kingcome', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Brian_Kingcome property:award_received ?k . ?k rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q36180 Q1496528
P106 P166
Q502895
USER
Which people won Gay-Lussac-Humboldt-Prize and are not working as writer ?
AND((c(Q502895),P166,Q1496528), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q1496528
relation P166
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q1496528'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . MINUS { ?d property:P106 resource:Q36180 } . ?d property:P166 resource:Q1496528 }
writer Gay-Lussac-Humboldt-Prize
action filter_type
action difference
action find_reverse
entity Gay-Lussac-Humboldt-Prize
relation award received
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Gay-Lussac-Humboldt-Prize'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . MINUS { ?d property:occupation resource:writer } . ?d property:award_received resource:Gay-Lussac-Humboldt-Prize }
[]
common name
Q1308961 Q117163 Q15455234 Q96489 Q19297309 Q190697 Q118812 Q1429723 Q1334798 Q90604
SYSTEM
Some of them are Gerd Lüttig, Philippe G. Ciarlet, Paul Kienle, Achim Richter, Nikolai Semjonowitsch Nadiraschwili, Claude Cohen-Tannoudji, Rudolf Vierhaus, Florian Holsboer, Emanuel Vogel, Bernhard Korte
Q19275638 Q1897130 Q1386933 Q1909714 Q364997 Q1238346 Q1467659 Q90313 Q1308961 Q1930699 Q280176 Q822505 Q15455234 Q1558372 Q19297309 Q1354849 Q15110805 Q190697 Q19960048 Q1930849 Q968543 Q107600 Q91412 Q3026906 Q325131 Q1508999 Q3124458 Q1660078 Q117163 Q1901368 Q817962 Q1685079 Q1555206 Q2636365 Q1294675 Q90604 Q1473437 Q109588 Q15840507 Q979113 Q1595956 Q3122051 Q15842914 Q1334798 Q2060796 Q98304 Q2075381 Q3173503 Q99880 Q2476840 Q2045880 Q19630611 Q90599 Q1587464 Q182371 Q1605735 Q6836330 Q1247534 Q1085833 Q1387442 Q1555843 Q118330 Q27427 Q1162134 Q18024670 Q370496 Q105605 Q17575589 Q187224 Q3130767 Q100392 Q820139 Q78056 Q19630489 Q2078161 Q18625474 Q2689095 Q75944 Q1085694 Q1687185 Q792028 Q464173 Q455989 Q118812 Q1802172 Q16861326 Q107453 Q19521338 Q1275273 Q1495077 Q123989 Q1085049 Q531151 Q1892733 Q2592212 Q2078209 Q96489 Q960473 Q1466082 Q462051 Q1271764 Q1890791 Q153219 Q1745091 Q1429723 Q1337929 Q103708 Q18026479 Q1363588 Q107690 Q103669 Q1350950 Q22693854 Q106188 Q1612264 Q90246 Q15803803 Q1646606 Q20180067
AND((c(Q502895),P166,Q1496528), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q1496528
relation P166
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] won Gay-Lussac-Humboldt-Prize and are not working as writer
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q1496528'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . MINUS { ?d property:P106 resource:Q36180 } . ?d property:P166 resource:Q1496528 }
Borislav Bogdanović Marie-France Vignéras Georges Didi-Huberman Matthias Beller Alain Aspect Dominique Vautherin Fritz Nies Kurt Mehlhorn Gerd Lüttig Michel Delon Hannah Monyer Bernard Julia Paul Kienle Heinrich Betz Nikolai Semjonowitsch Nadiraschwili Michel Espagne Oriol Bohigas Martí Claude Cohen-Tannoudji Thomas Keller Michel Orrit Wolfgang A. Herrmann Jörg Hacker Dieter Lüst Didier Astruc Florian Pop Georges Martin Géraud Sénizergues Immo Appenzeller Philippe G. Ciarlet Markus Antonietti Benno Müller-Hill Jean-Michel Grandmont Henri Berestycki Alain Bensoussan Konrad Vössing Bernhard Korte Sucharit Bhakdi Serge Haroche Pierre Coullet Jean Rouxel Heindirk Tom Dieck Guy Ourisson Rolf Kemler Emanuel Vogel Paul Lagarde Gunther Teubner Peter Haasen Jean Meyer Roland Benz Ulrich Trottenberg Jean-Michel Raimond Nicolas Rouhier Reinhard Wilhelm Hartmut Kaelble Marc Julia Henri Brunner Michel Che Alfred Trautwein Christoph Schweigert Joachim Schwermer Hermann Kühn Frank Steglich Heiner Zieschang Daniel Poirion Manfred Regitz Jean-Marc Fontaine Jules Hoffmann Henning Hopf Pierre-Gilles de Gennes Henri Cabannes Wolfram Saenger Jacques Le Rider Herbert W. Roesky Jean-Pierre Jacquot Peter Schneider Helmuth Möhwald Yannick Mellier Achim Müller Christoph Reigber Jens Frehse Axel Brennicke Nicolaas Kuiper Robert Nicolaï Rudolf Vierhaus Michel Broyer Ernst Priesner Padma Kant Shukla Daniel Tondeur Franz Effenberger Alois Fürstner Dietrich Stauffer Christoph Gusy Gérard Férey Marc Mézard Wolfram von Oertzen Peter Schuck Achim Richter Maurice Godelier Fritz Eckstein Jozef Schell Jean Zinn-Justin Mannque Rho Albert Fert Klaus Fraedrich Florian Holsboer Albrecht W. Hofmann Helmut Ringsdorf Oliver Eickelberg Erwin Weiss Jean-Marie Lehn Hans Föllmer Erhard W. Fischer Rainer Schröder Johannes Masing Hermann Nicolai Michael Rapoport Constantin Bachas Jean-Paul Poirier Holger Martin
Gerd Lüttig, Philippe G. Ciarlet, Paul Kienle, Achim Richter, Nikolai Semjonowitsch Nadiraschwili, Claude Cohen-Tannoudji, Rudolf Vierhaus, Florian Holsboer, Emanuel Vogel and Bernhard Korte won Gay-Lussac-Humboldt-Prize and are not working as writer
Gerd Lüttig Philippe G. Ciarlet Paul Kienle Achim Richter Nikolai Semjonowitsch Nadiraschwili Claude Cohen-Tannoudji Rudolf Vierhaus Florian Holsboer Emanuel Vogel Bernhard Korte
action filter_type
action difference
action find_reverse
entity Gay-Lussac-Humboldt-Prize
relation award received
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Gay-Lussac-Humboldt-Prize'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . MINUS { ?d property:occupation resource:writer } . ?d property:award_received resource:Gay-Lussac-Humboldt-Prize }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?t = ?g ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?t = ?g ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?t = ?g ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?g ) { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?t = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
How many awards were atleast 137 works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 137
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?m rdf:type ?h } GROUP BY ?e } . FILTER ( ?y >= 137 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 137
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?m rdf:type ?h } GROUP BY ?e } . FILTER ( ?y >= 137 ) }
[]
award work of art common name
SYSTEM
11
Q640374 Q1723064 Q1445521 Q377293 Q1537996 Q37922 Q627778 Q13449461 Q185299 Q1474410 Q3993187
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 137
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?m rdf:type ?h } GROUP BY ?e } . FILTER ( ?y >= 137 ) }
Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play Tony Award for Best Direction of a Musical Tony Award for Best Actress in a Musical Nobel Prize in Literature Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play Tony Award for Best Costume Design
11
action count
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 137
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?m rdf:type ?h } GROUP BY ?e } . FILTER ( ?y >= 137 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q340169
USER
How many medias express around 1 musical instrument ?
(c(Q340169),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?g property:P180 ?x . ?g rdf:type ontology:Q340169 . ?x rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?n = 1 ) }
action count
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?g property:depicts ?x . ?g rdf:type ontology:media . ?x rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
musical instrument media
SYSTEM
2
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[ANSWER]
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?g property:P180 ?x . ?g rdf:type ontology:Q340169 . ?x rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?n = 1 ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
2
action count
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?g property:depicts ?x . ?g rdf:type ontology:media . ?x rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]