Simple Question (Direct)
Simple Question
Q65003
P119
Q43229
USER
Which organization is the resting place of Barbara Rudnik ?
(Q65003,P119,c(Q43229))
action filter_type
action find
entity Q65003
relation P119
type Q43229
['Q65003', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?p WHERE { resource:Q65003 property:P119 ?p . ?p rdf:type ontology:Q43229 }
Barbara Rudnik
action filter_type
action find
entity Barbara Rudnik
relation place of burial
type organization
['Barbara Rudnik', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?p WHERE { resource:Barbara_Rudnik property:place_of_burial ?p . ?p rdf:type ontology:organization }
[]
organization
Q1030655
SYSTEM
Nordfriedhof
Q1030655
(Q65003,P119,c(Q43229))
action filter_type
action find
entity Q65003
relation P119
type Q43229
[ANSWER] is the resting place of Barbara Rudnik
['Q65003', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?p WHERE { resource:Q65003 property:P119 ?p . ?p rdf:type ontology:Q43229 }
Nordfriedhof
Nordfriedhof is the resting place of Barbara Rudnik
Nordfriedhof
action filter_type
action find
entity Barbara Rudnik
relation place of burial
type organization
['Barbara Rudnik', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?p WHERE { resource:Barbara_Rudnik property:place_of_burial ?p . ?p rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65003
P161
Q838948
USER
Which works of art have Barbara Rudnik as actor ?
(c(Q838948),P161,Q65003)
action filter_type
action find_reverse
entity Q65003
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q65003']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q65003 . ?j rdf:type ontology:Q838948 }
Barbara Rudnik
action filter_type
action find_reverse
entity Barbara Rudnik
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Barbara Rudnik']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Barbara_Rudnik . ?j rdf:type ontology:work_of_art }
[]
work of art
Q689605 Q876988
SYSTEM
Keinohrhasen, Come Sweet Death
Q689605 Q876988
(c(Q838948),P161,Q65003)
action filter_type
action find_reverse
entity Q65003
relation P161
type Q838948
[ANSWERS] have Barbara Rudnik as actor
[{'concept': 'Q838948'}, 'P161', 'Q65003']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q65003 . ?j rdf:type ontology:Q838948 }
Keinohrhasen Come Sweet Death
Keinohrhasen and Come Sweet Death have Barbara Rudnik as actor
Keinohrhasen Come Sweet Death
action filter_type
action find_reverse
entity Barbara Rudnik
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Barbara Rudnik']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Barbara_Rudnik . ?j rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q876988
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q876988,P136,c(Q1792379))
action filter_type
action find
entity Q876988
relation P136
type Q1792379
['Q876988', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q876988 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
Come Sweet Death
action filter_type
action find
entity Come Sweet Death
relation genre
type art genre
['Come Sweet Death', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Come_Sweet_Death property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q689605
SYSTEM
Did you mean Keinohrhasen ?
Q689605 Q876988
(Q689605,P136,c(Q1792379)) (Q876988,P136,c(Q1792379))
[ANSWER]
['Q689605', 'P136', {'concept': 'Q1792379'}] ['Q876988', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q876988 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
Keinohrhasen Come Sweet Death
Did you mean Keinohrhasen ?
Keinohrhasen
['Keinohrhasen', 'genre', {'concept': 'art genre'}] ['Come Sweet Death', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Come_Sweet_Death property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Come Sweet Death. Could you tell me the answer for that?
(Q876988,P136,c(Q1792379))
Q876988
['Q876988', 'P136', {'concept': 'Q1792379'}]
['Come Sweet Death', 'genre', {'concept': 'art genre'}]
[]
Q1257444 Q2484376 Q157443
SYSTEM
film adaptation, thriller film, comedy film
Q1257444 Q2484376 Q157443
(Q876988,P136,c(Q1792379))
action filter_type
action find
entity Q876988
relation P136
type Q1792379
[ANSWERS] can be considered as category for that work of art
['Q876988', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q876988 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
film adaptation thriller film comedy film
Film adaptation, thriller film and comedy film can be considered as category for that work of art
film adaptation thriller film comedy film
action filter_type
action find
entity Come Sweet Death
relation genre
type art genre
['Come Sweet Death', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Come_Sweet_Death property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41567
P361
Q838948 Q15619164 Q234460
USER
How many works of art are less number of abstract beings and texts a part of than Hamlet ?
(c(Q15619164)|c(Q234460),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q41567
relation P361
type Q15619164
type Q234460
[[{'concept': 'Q15619164'}, {'concept': 'Q234460'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?p WHERE { { ?u property:P361 ?p . ?p rdf:type ontology:Q838948 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P361 ?p . ?p rdf:type ontology:Q838948 . ?u rdf:type ontology:Q234460 } } GROUP BY ?p } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P361 resource:Q41567 . { { ?h rdf:type ontology:Q15619164 } UNION { ?h rdf:type ontology:Q234460 } } } } }
Hamlet
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type text
action count
action filter_multi_types
action find_reverse
entity Hamlet
relation part of
type abstract being
type text
[[{'concept': 'abstract being'}, {'concept': 'text'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?p WHERE { { ?u property:part_of ?p . ?p rdf:type ontology:work_of_art . ?u rdf:type ontology:abstract_being } UNION { ?u property:part_of ?p . ?p rdf:type ontology:work_of_art . ?u rdf:type ontology:text } } GROUP BY ?p } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:part_of resource:Hamlet . { { ?h rdf:type ontology:abstract_being } UNION { ?h rdf:type ontology:text } } } } }
[]
work of art abstract being text
SYSTEM
123
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q15619164)|c(Q234460),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q41567
relation P361
type Q15619164
type Q234460
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q234460'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?p WHERE { { ?u property:P361 ?p . ?p rdf:type ontology:Q838948 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P361 ?p . ?p rdf:type ontology:Q838948 . ?u rdf:type ontology:Q234460 } } GROUP BY ?p } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P361 resource:Q41567 . { { ?h rdf:type ontology:Q15619164 } UNION { ?h rdf:type ontology:Q234460 } } } } }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing Law of the Sea polyptych of Saint Augustine Assumption Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
123
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type text
action count
action filter_multi_types
action find_reverse
entity Hamlet
relation part of
type abstract being
type text
[[{'concept': 'abstract being'}, {'concept': 'text'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?p WHERE { { ?u property:part_of ?p . ?p rdf:type ontology:work_of_art . ?u rdf:type ontology:abstract_being } UNION { ?u property:part_of ?p . ?p rdf:type ontology:work_of_art . ?u rdf:type ontology:text } } GROUP BY ?p } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:part_of resource:Hamlet . { { ?h rdf:type ontology:abstract_being } UNION { ?h rdf:type ontology:text } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q29478
P361
Q838948 Q15619164 Q234460
USER
And what about Faust?
(c(Q15619164)|c(Q234460),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q29478
relation P361
type Q15619164
type Q234460
[[{'concept': 'Q15619164'}, {'concept': 'Q234460'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:Q15619164 } UNION { ?z rdf:type ontology:Q234460 } } . ?z property:P361 resource:Q29478 } } . FILTER ( ?x < ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?x ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q234460 ) } } GROUP BY ?n } }
Faust
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type text
action count
action filter_multi_types
action find_reverse
entity Faust
relation part of
type abstract being
type text
[[{'concept': 'abstract being'}, {'concept': 'text'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:abstract_being } UNION { ?z rdf:type ontology:text } } . ?z property:part_of resource:Faust } } . FILTER ( ?x < ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?x ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:text ) } } GROUP BY ?n } }
[]
work of art abstract being text
SYSTEM
128
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q15619164)|c(Q234460),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q29478
relation P361
type Q15619164
type Q234460
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q234460'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:Q15619164 } UNION { ?z rdf:type ontology:Q234460 } } . ?z property:P361 resource:Q29478 } } . FILTER ( ?x < ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?x ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q234460 ) } } GROUP BY ?n } }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
128
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type text
action count
action filter_multi_types
action find_reverse
entity Faust
relation part of
type abstract being
type text
[[{'concept': 'abstract being'}, {'concept': 'text'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:abstract_being } UNION { ?z rdf:type ontology:text } } . ?z property:part_of resource:Faust } } . FILTER ( ?x < ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?x ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:text ) } } GROUP BY ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29478
P800
Q502895
USER
Which people have that one as a notable work ?
action filter_type
action find_reverse
entity Q29478
relation P800
type Q502895
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q29478 . ?m rdf:type ontology:Q502895 }
Faust
action filter_type
action find_reverse
entity Faust
relation notable work
type common name
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Faust . ?m rdf:type ontology:common_name }
[]
common name
Q15699074 Q5879
SYSTEM
Qian Chunqi, Johann Wolfgang von Goethe
Q15699074 Q5879
action filter_type
action find_reverse
entity Q29478
relation P800
type Q502895
[ANSWERS] have that one as a notable work
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q29478 . ?m rdf:type ontology:Q502895 }
Qian Chunqi Johann Wolfgang von Goethe
Qian Chunqi and Johann Wolfgang von Goethe have that one as a notable work
Qian Chunqi Johann Wolfgang von Goethe
action filter_type
action find_reverse
entity Faust
relation notable work
type common name
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Faust . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4952230
P21
Q290
USER
Which sex does Boyapati Srinu have ?
(Q4952230,P21,c(Q290))
action filter_type
action find
entity Q4952230
relation P21
type Q290
['Q4952230', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4952230 property:P21 ?h . ?h rdf:type ontology:Q290 }
Boyapati Srinu
action filter_type
action find
entity Boyapati Srinu
relation gender
type sex
['Boyapati Srinu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Boyapati_Srinu property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4952230,P21,c(Q290))
action filter_type
action find
entity Q4952230
relation P21
type Q290
Boyapati Srinu has a [ANSWER]
['Q4952230', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4952230 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Boyapati Srinu has a male
male
action filter_type
action find
entity Boyapati Srinu
relation gender
type sex
['Boyapati Srinu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Boyapati_Srinu property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5879
P509
Q2057971
USER
Which health problem was the cause of death of Johann Wolfgang von Goethe ?
(Q5879,P509,c(Q2057971))
action filter_type
action find
entity Q5879
relation P509
type Q2057971
['Q5879', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2057971 . resource:Q5879 property:P509 ?g }
Johann Wolfgang von Goethe
action filter_type
action find
entity Johann Wolfgang von Goethe
relation cause of death
type health problem
['Johann Wolfgang von Goethe', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:health_problem . resource:Johann_Wolfgang_von_Goethe property:cause_of_death ?g }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q5879,P509,c(Q2057971))
action filter_type
action find
entity Q5879
relation P509
type Q2057971
The [ANSWER] was the cause of death of Johann Wolfgang von Goethe
['Q5879', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2057971 . resource:Q5879 property:P509 ?g }
myocardial infarction
The myocardial infarction was the cause of death of Johann Wolfgang von Goethe
myocardial infarction
action filter_type
action find
entity Johann Wolfgang von Goethe
relation cause of death
type health problem
['Johann Wolfgang von Goethe', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:health_problem . resource:Johann_Wolfgang_von_Goethe property:cause_of_death ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5879
P451
Q502895
USER
Which people are the partners of Johann Wolfgang von Goethe ?
(Q5879,P451,c(Q502895))
action filter_type
action find
entity Q5879
relation P451
type Q502895
['Q5879', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5879 property:P451 ?o . ?o rdf:type ontology:Q502895 }
Johann Wolfgang von Goethe
action filter_type
action find
entity Johann Wolfgang von Goethe
relation partner
type common name
['Johann Wolfgang von Goethe', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Johann_Wolfgang_von_Goethe property:partner ?o . ?o rdf:type ontology:common_name }
[]
common name
Q64187 Q96902
SYSTEM
Ulrike von Levetzow, Lili Schönemann
Q64187 Q96902
(Q5879,P451,c(Q502895))
action filter_type
action find
entity Q5879
relation P451
type Q502895
[ANSWERS] are the partners of Johann Wolfgang von Goethe
['Q5879', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5879 property:P451 ?o . ?o rdf:type ontology:Q502895 }
Ulrike von Levetzow Lili Schönemann
Ulrike von Levetzow and Lili Schönemann are the partners of Johann Wolfgang von Goethe
Ulrike von Levetzow Lili Schönemann
action filter_type
action find
entity Johann Wolfgang von Goethe
relation partner
type common name
['Johann Wolfgang von Goethe', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Johann_Wolfgang_von_Goethe property:partner ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3554543
Q502895
USER
And also tell me about Vanessa Lorenzo?
(Q3554543,P451,c(Q502895))
action filter_type
action find
entity Q3554543
relation P451
type Q502895
['Q3554543', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3554543 property:P451 ?m . ?m rdf:type ontology:Q502895 }
Vanessa Lorenzo
action filter_type
action find
entity Vanessa Lorenzo
relation partner
type common name
['Vanessa Lorenzo', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Vanessa_Lorenzo property:partner ?m . ?m rdf:type ontology:common_name }
[]
common name
Q17158
SYSTEM
Carles Puyol
Q17158
(Q3554543,P451,c(Q502895))
action filter_type
action find
entity Q3554543
relation P451
type Q502895
[ANSWER]
['Q3554543', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3554543 property:P451 ?m . ?m rdf:type ontology:Q502895 }
Carles Puyol
Carles Puyol
action filter_type
action find
entity Vanessa Lorenzo
relation partner
type common name
['Vanessa Lorenzo', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Vanessa_Lorenzo property:partner ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 498 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 498
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?s = 498 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 498
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?s = 498 ) }
[]
musical instrument common name
SYSTEM
62
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 498
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?s = 498 ) }
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 cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 498
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?s = 498 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q732130 Q876988
P58
Q502895
USER
Which people wrote the script for Come Sweet Death or Wild Grass ?
OR((Q876988,P58,c(Q502895)), (Q732130,P58,c(Q502895)))
action filter_type
action union
action find
entity Q876988
relation P58
action find
entity Q732130
relation P58
type Q502895
{'OR': [['Q876988', 'P58', {'concept': 'Q502895'}], ['Q732130', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q876988 property:P58 ?m } UNION { resource:Q732130 property:P58 ?m } } . ?m rdf:type ontology:Q502895 }
Wild Grass Come Sweet Death
action filter_type
action union
action find
entity Come Sweet Death
relation screenwriter
action find
entity Wild Grass
relation screenwriter
type common name
{'OR': [['Come Sweet Death', 'screenwriter', {'concept': 'common name'}], ['Wild Grass', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Come_Sweet_Death property:screenwriter ?m } UNION { resource:Wild_Grass property:screenwriter ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q6519 Q89639 Q218022 Q167090 Q3219280 Q2965280
SYSTEM
Wolf Haas, Wolfgang Murnberger, Alain Resnais, Josef Hader, Laurent Herbiet, Christian Gailly
Q6519 Q89639 Q218022 Q167090 Q3219280 Q2965280
OR((Q876988,P58,c(Q502895)), (Q732130,P58,c(Q502895)))
action filter_type
action union
action find
entity Q876988
relation P58
action find
entity Q732130
relation P58
type Q502895
[ANSWERS] wrote the script for Come Sweet Death or Wild Grass
{'OR': [['Q876988', 'P58', {'concept': 'Q502895'}], ['Q732130', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q876988 property:P58 ?m } UNION { resource:Q732130 property:P58 ?m } } . ?m rdf:type ontology:Q502895 }
Wolf Haas Wolfgang Murnberger Alain Resnais Josef Hader Laurent Herbiet Christian Gailly
Wolf Haas, Wolfgang Murnberger, Alain Resnais, Josef Hader, Laurent Herbiet and Christian Gailly wrote the script for Come Sweet Death or Wild Grass
Wolf Haas Wolfgang Murnberger Alain Resnais Josef Hader Laurent Herbiet Christian Gailly
action filter_type
action union
action find
entity Come Sweet Death
relation screenwriter
action find
entity Wild Grass
relation screenwriter
type common name
{'OR': [['Come Sweet Death', 'screenwriter', {'concept': 'common name'}], ['Wild Grass', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Come_Sweet_Death property:screenwriter ?m } UNION { resource:Wild_Grass property:screenwriter ?m } } . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12338568 Q876988
P27 P495
Q1048835
USER
Which political territories are the origins of Come Sweet Death or do Søren Phillip belong to ?
OR((Q876988,P495,c(Q1048835)), (Q12338568,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q876988
relation P495
action find
entity Q12338568
relation P27
type Q1048835
{'OR': [['Q876988', 'P495', {'concept': 'Q1048835'}], ['Q12338568', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q876988 property:P495 ?v } UNION { resource:Q12338568 property:P27 ?v } } . ?v rdf:type ontology:Q1048835 }
Søren Phillip Come Sweet Death
action filter_type
action union
action find
entity Come Sweet Death
relation country of origin
action find
entity Søren Phillip
relation country of citizenship
type political territorial entity
{'OR': [['Come Sweet Death', 'country of origin', {'concept': 'political territorial entity'}], ['Søren Phillip', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Come_Sweet_Death property:country_of_origin ?v } UNION { resource:Søren_Phillip property:country_of_citizenship ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40 Q35
SYSTEM
Austria, Denmark
Q40 Q35
OR((Q876988,P495,c(Q1048835)), (Q12338568,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q876988
relation P495
action find
entity Q12338568
relation P27
type Q1048835
[ANSWERS] are the origins of Come Sweet Death or do Søren Phillip belong to
{'OR': [['Q876988', 'P495', {'concept': 'Q1048835'}], ['Q12338568', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q876988 property:P495 ?v } UNION { resource:Q12338568 property:P27 ?v } } . ?v rdf:type ontology:Q1048835 }
Austria Denmark
Austria and Denmark are the origins of Come Sweet Death or do Søren Phillip belong to
Austria Denmark
action filter_type
action union
action find
entity Come Sweet Death
relation country of origin
action find
entity Søren Phillip
relation country of citizenship
type political territorial entity
{'OR': [['Come Sweet Death', 'country of origin', {'concept': 'political territorial entity'}], ['Søren Phillip', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Come_Sweet_Death property:country_of_origin ?v } UNION { resource:Søren_Phillip property:country_of_citizenship ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]