Simple Question (Direct)
Simple Question
Q2548944
P58
Q502895
USER
Who was the screenwriter for FAQ: Frequently Asked Questions ?
(Q2548944,P58,c(Q502895))
action filter_type
action find
entity Q2548944
relation P58
type Q502895
['Q2548944', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q2548944 property:P58 ?f . ?f rdf:type ontology:Q502895 }
FAQ: Frequently Asked Questions
action filter_type
action find
entity FAQ: Frequently Asked Questions
relation screenwriter
type common name
['FAQ: Frequently Asked Questions', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:FAQ:_Frequently_Asked_Questions property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
common name
Q535488
SYSTEM
Carlos Atanes
Q535488
(Q2548944,P58,c(Q502895))
action filter_type
action find
entity Q2548944
relation P58
type Q502895
The screenwriter for FAQ : Frequently Asked Questions was Juan [ANSWER]
['Q2548944', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q2548944 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Carlos Atanes
The screenwriter for FAQ : Frequently Asked Questions was Juan Carlos Atanes
Carlos Atanes
action filter_type
action find
entity FAQ: Frequently Asked Questions
relation screenwriter
type common name
['FAQ: Frequently Asked Questions', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:FAQ:_Frequently_Asked_Questions property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2548944
P136
Q1792379
USER
What can be considered as category for FAQ: Frequently Asked Questions ?
(Q2548944,P136,c(Q1792379))
action filter_type
action find
entity Q2548944
relation P136
type Q1792379
['Q2548944', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q2548944 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
FAQ: Frequently Asked Questions
action filter_type
action find
entity FAQ: Frequently Asked Questions
relation genre
type art genre
['FAQ: Frequently Asked Questions', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:FAQ:_Frequently_Asked_Questions property:genre ?m . ?m rdf:type ontology:art_genre }
[]
art genre
Q471839
SYSTEM
science fiction film
Q471839
(Q2548944,P136,c(Q1792379))
action filter_type
action find
entity Q2548944
relation P136
type Q1792379
[ANSWER] can be considered as category for FAQ: Frequently Asked Questions
['Q2548944', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q2548944 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
science fiction film
Science fiction film can be considered as category for FAQ: Frequently Asked Questions
science fiction film
action filter_type
action find
entity FAQ: Frequently Asked Questions
relation genre
type art genre
['FAQ: Frequently Asked Questions', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:FAQ:_Frequently_Asked_Questions property:genre ?m . ?m rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5977331
Q1792379
USER
And what about I Got a "D" in Salami?
(Q5977331,P136,c(Q1792379))
action filter_type
action find
entity Q5977331
relation P136
type Q1792379
['Q5977331', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1792379 . resource:Q5977331 property:P136 ?g }
I Got a "D" in Salami
action filter_type
action find
entity I Got a "D" in Salami
relation genre
type art genre
['I Got a "D" in Salami', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:art_genre . resource:I_Got_a_"D"_in_Salami property:genre ?g }
[]
art genre
Q8261 Q131539
SYSTEM
novel, children's literature
Q8261 Q131539
(Q5977331,P136,c(Q1792379))
action filter_type
action find
entity Q5977331
relation P136
type Q1792379
About Got ho [ANSWERS]
['Q5977331', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1792379 . resource:Q5977331 property:P136 ?g }
novel children's literature
About Got ho novel and children's literature
novel children's literature
action filter_type
action find
entity I Got a "D" in Salami
relation genre
type art genre
['I Got a "D" in Salami', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:art_genre . resource:I_Got_a_"D"_in_Salami property:genre ?g }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4224660
P136
Q2342494
USER
Do Kitab al-'Ayn have those art genres as their category ?
(Q4224660,P136,Q8261) (Q4224660,P136,Q131539)
action is_in
entity prev_answer
action find
entity Q4224660
relation P136
['Q4224660', 'P136', 'Q8261'] ['Q4224660', 'P136', 'Q131539']
ASK WHERE { VALUES ( ?q ) { ( resource:Q8261 ) ( resource:Q131539 ) } . resource:Q4224660 property:P136 ?q }
Kitab al-'Ayn
action is_in
entity prev_answer
action find
entity Kitab al-'Ayn
relation genre
["Kitab al-'Ayn", 'genre', 'novel'] ["Kitab al-'Ayn", 'genre', "children's literature"]
ASK WHERE { VALUES ( ?q ) { ( resource:novel ) ( resource:children's_literature ) } . resource:Kitab_al-'Ayn property:genre ?q }
[]
collectable
SYSTEM
NO
(Q4224660,P136,Q8261) (Q4224660,P136,Q131539)
action is_in
entity prev_answer
action find
entity Q4224660
relation P136
[ANSWER]
['Q4224660', 'P136', 'Q8261'] ['Q4224660', 'P136', 'Q131539']
ASK WHERE { VALUES ( ?q ) { ( resource:Q8261 ) ( resource:Q131539 ) } . resource:Q4224660 property:P136 ?q }
No
action is_in
entity prev_answer
action find
entity Kitab al-'Ayn
relation genre
["Kitab al-'Ayn", 'genre', 'novel'] ["Kitab al-'Ayn", 'genre', "children's literature"]
ASK WHERE { VALUES ( ?q ) { ( resource:novel ) ( resource:children's_literature ) } . resource:Kitab_al-'Ayn property:genre ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q309153
P361
Q838948 Q482994 Q7725634
USER
How many works of art are lesser number of albums and literary works a component of than Singin' in the Rain ?
(c(Q482994)|c(Q7725634),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q309153
relation P361
type Q482994
type Q7725634
[[{'concept': 'Q482994'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?o ) WHERE { { ?i property:P361 ?y . ?y rdf:type ontology:Q838948 . ?i rdf:type ontology:Q482994 } UNION { ?i property:P361 ?y . ?y rdf:type ontology:Q838948 . ?i rdf:type ontology:Q7725634 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P361 resource:Q309153 . { { ?s rdf:type ontology:Q7725634 } UNION { ?s rdf:type ontology:Q482994 } } } } . FILTER ( ?o < ?r ) }
Singin' in the Rain
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
action count
action filter_multi_types
action find_reverse
entity Singin' in the Rain
relation part of
type album
type literary work
[[{'concept': 'album'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?o ) WHERE { { ?i property:part_of ?y . ?y rdf:type ontology:work_of_art . ?i rdf:type ontology:album } UNION { ?i property:part_of ?y . ?y rdf:type ontology:work_of_art . ?i rdf:type ontology:literary_work } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:part_of resource:Singin'_in_the_Rain . { { ?s rdf:type ontology:literary_work } UNION { ?s rdf:type ontology:album } } } } . FILTER ( ?o < ?r ) }
[]
work of art album literary work
SYSTEM
107
Q2312028 Q1762957 Q5723375 Q3415280 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q18609716 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q977372 Q4656518 Q1411766 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q3983379 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q187483 Q6519361 Q874496 Q475476 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q1360347 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q18217301 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q482994)|c(Q7725634),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q309153
relation P361
type Q482994
type Q7725634
[ANSWER]
[[{'concept': 'Q482994'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?o ) WHERE { { ?i property:P361 ?y . ?y rdf:type ontology:Q838948 . ?i rdf:type ontology:Q482994 } UNION { ?i property:P361 ?y . ?y rdf:type ontology:Q838948 . ?i rdf:type ontology:Q7725634 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P361 resource:Q309153 . { { ?s rdf:type ontology:Q7725634 } UNION { ?s rdf:type ontology:Q482994 } } } } . FILTER ( ?o < ?r ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight 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 The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust 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 Scenes from the Life of the Virgin The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V New York Stories A Divine Double Feature predella The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D Ten Minutes Older: The Trumpet The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bayeux Tapestry Leif The Poseidon Adventure diptych Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Hunnestad Monument 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 Rizal Monument 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 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights 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?
107
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
action count
action filter_multi_types
action find_reverse
entity Singin' in the Rain
relation part of
type album
type literary work
[[{'concept': 'album'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?o ) WHERE { { ?i property:part_of ?y . ?y rdf:type ontology:work_of_art . ?i rdf:type ontology:album } UNION { ?i property:part_of ?y . ?y rdf:type ontology:work_of_art . ?i rdf:type ontology:literary_work } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:part_of resource:Singin'_in_the_Rain . { { ?s rdf:type ontology:literary_work } UNION { ?s rdf:type ontology:album } } } } . FILTER ( ?o < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q161687
P361
Q838948 Q482994 Q7725634
USER
And how about Harry Potter and the Half-Blood Prince?
(c(Q482994)|c(Q7725634),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q161687
relation P361
type Q482994
type Q7725634
[[{'concept': 'Q482994'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q482994 ) ( ontology:Q7725634 ) } } . ?h property:P361 resource:Q161687 } } . FILTER ( ?o < ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:P361 ?g . ?m rdf:type ontology:Q482994 . ?g rdf:type ontology:Q838948 } UNION { ?g rdf:type ontology:Q838948 . ?m rdf:type ontology:Q7725634 . ?m property:P361 ?g } } GROUP BY ?g } }
Harry Potter and the Half-Blood Prince
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
action count
action filter_multi_types
action find_reverse
entity Harry Potter and the Half-Blood Prince
relation part of
type album
type literary work
[[{'concept': 'album'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:album ) ( ontology:literary_work ) } } . ?h property:part_of resource:Harry_Potter_and_the_Half-Blood_Prince } } . FILTER ( ?o < ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:part_of ?g . ?m rdf:type ontology:album . ?g rdf:type ontology:work_of_art } UNION { ?g rdf:type ontology:work_of_art . ?m rdf:type ontology:literary_work . ?m property:part_of ?g } } GROUP BY ?g } }
[]
work of art album literary work
SYSTEM
107
Q2312028 Q1762957 Q5723375 Q3415280 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q18609716 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q977372 Q4656518 Q1411766 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q3983379 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q187483 Q6519361 Q874496 Q475476 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q1360347 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q18217301 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q482994)|c(Q7725634),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q161687
relation P361
type Q482994
type Q7725634
[ANSWER]
[[{'concept': 'Q482994'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q482994 ) ( ontology:Q7725634 ) } } . ?h property:P361 resource:Q161687 } } . FILTER ( ?o < ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:P361 ?g . ?m rdf:type ontology:Q482994 . ?g rdf:type ontology:Q838948 } UNION { ?g rdf:type ontology:Q838948 . ?m rdf:type ontology:Q7725634 . ?m property:P361 ?g } } GROUP BY ?g } }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight 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 The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust 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 Scenes from the Life of the Virgin The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V New York Stories A Divine Double Feature predella The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D Ten Minutes Older: The Trumpet The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bayeux Tapestry Leif The Poseidon Adventure diptych Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Hunnestad Monument 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 Rizal Monument 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 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights 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?
107
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
action count
action filter_multi_types
action find_reverse
entity Harry Potter and the Half-Blood Prince
relation part of
type album
type literary work
[[{'concept': 'album'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:album ) ( ontology:literary_work ) } } . ?h property:part_of resource:Harry_Potter_and_the_Half-Blood_Prince } } . FILTER ( ?o < ?s ) . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:part_of ?g . ?m rdf:type ontology:album . ?g rdf:type ontology:work_of_art } UNION { ?g rdf:type ontology:work_of_art . ?m rdf:type ontology:literary_work . ?m property:part_of ?g } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q535488
P21
Q290
USER
Which sex does Carlos Atanes belong to ?
(Q535488,P21,c(Q290))
action filter_type
action find
entity Q535488
relation P21
type Q290
['Q535488', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q535488 property:P21 ?h . ?h rdf:type ontology:Q290 }
Carlos Atanes
action filter_type
action find
entity Carlos Atanes
relation gender
type sex
['Carlos Atanes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Carlos_Atanes property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q535488,P21,c(Q290))
action filter_type
action find
entity Q535488
relation P21
type Q290
Carlos Atanes belongs to [ANSWER]
['Q535488', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q535488 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Carlos Atanes belongs to male
male
action filter_type
action find
entity Carlos Atanes
relation gender
type sex
['Carlos Atanes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Carlos_Atanes property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has that sex as his/her means of employment ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has that sex as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has that sex as his/her means of employment
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do exactly 1 person know to play ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?m = 1 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
Exactly 1 person know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?m = 1 ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Exactly 1 person know about davul, Wurlitzer electric piano and Bendir
davul Wurlitzer electric piano Bendir
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1303
Q34379 Q502895
USER
Which musical instruments do lesser number of people know to play than that musical instrument ?
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
musical instrument common name
Comparative|More/Less|Single entity type|Clarification
Q816793
SYSTEM
Did you mean Bendir ?
(c(Q502895),P1303,c(Q34379))
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
Did you mean Bendir ?
Bendir
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
[]
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
[ANSWERS] lesser number of people know to play than that musical instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
spoon cajón wind instrument
Spoon, cajón and wind instrument lesser number of people know to play than that musical instrument
spoon cajón wind instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]