Simple Question (Direct)
Simple Question
Q3196860
P21
Q290
USER
Which sex does Melinda M. Snodgrass belong to ?
(Q3196860,P21,c(Q290))
action filter_type
action find
entity Q3196860
relation P21
type Q290
['Q3196860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3196860 property:P21 ?c . ?c rdf:type ontology:Q290 }
Melinda M. Snodgrass
action filter_type
action find
entity Melinda M. Snodgrass
relation gender
type sex
['Melinda M. Snodgrass', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Melinda_M._Snodgrass property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3196860,P21,c(Q290))
action filter_type
action find
entity Q3196860
relation P21
type Q290
Melinda M. Snodgrass belongs to [ANSWER]
['Q3196860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3196860 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
Melinda M. Snodgrass belongs to female
female
action filter_type
action find
entity Melinda M. Snodgrass
relation gender
type sex
['Melinda M. Snodgrass', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Melinda_M._Snodgrass property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3196860
P58
Q15416
USER
What is Melinda M. Snodgrass a screwriter of ?
(c(Q15416),P58,Q3196860)
action filter_type
action find_reverse
entity Q3196860
relation P58
type Q15416
[{'concept': 'Q15416'}, 'P58', 'Q3196860']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q3196860 . ?q rdf:type ontology:Q15416 }
Melinda M. Snodgrass
action filter_type
action find_reverse
entity Melinda M. Snodgrass
relation screenwriter
type television program
[{'concept': 'television program'}, 'screenwriter', 'Melinda M. Snodgrass']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Melinda_M._Snodgrass . ?q rdf:type ontology:television_program }
[]
television program
Q4360103
SYSTEM
The Sandkings
Q4360103
(c(Q15416),P58,Q3196860)
action filter_type
action find_reverse
entity Q3196860
relation P58
type Q15416
[ANSWER] is Melinda M. Snodgrass a screwriter of
[{'concept': 'Q15416'}, 'P58', 'Q3196860']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q3196860 . ?q rdf:type ontology:Q15416 }
The Sandkings
The Sandkings is Melinda M. Snodgrass a screwriter of
The Sandkings
action filter_type
action find_reverse
entity Melinda M. Snodgrass
relation screenwriter
type television program
[{'concept': 'television program'}, 'screenwriter', 'Melinda M. Snodgrass']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Melinda_M._Snodgrass . ?q rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4360103
P57
Q502895
USER
Who directed that television program ?
(Q4360103,P57,c(Q502895))
action filter_type
action find
entity Q4360103
relation P57
type Q502895
['Q4360103', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4360103 property:P57 ?v . ?v rdf:type ontology:Q502895 }
The Sandkings
action filter_type
action find
entity The Sandkings
relation director
type common name
['The Sandkings', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Sandkings property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q278713
SYSTEM
Stuart Gillard
Q278713
(Q4360103,P57,c(Q502895))
action filter_type
action find
entity Q4360103
relation P57
type Q502895
[ANSWER] directed that television program
['Q4360103', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4360103 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Stuart Gillard
Stuart Gillard directed that television program
Stuart Gillard
action filter_type
action find
entity The Sandkings
relation director
type common name
['The Sandkings', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Sandkings property:director ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q278713 Q1215256
P161
Q838948
USER
Does that person star in The Neptune Factor ?
(Q1215256,P161,Q278713)
action is_in
entity Q278713
action find
entity Q1215256
relation P161
['Q1215256', 'P161', 'Q278713']
ASK WHERE { resource:Q1215256 property:P161 resource:Q278713 }
Stuart Gillard The Neptune Factor
action is_in
entity Stuart Gillard
action find
entity The Neptune Factor
relation cast member
['The Neptune Factor', 'cast member', 'Stuart Gillard']
ASK WHERE { resource:The_Neptune_Factor property:cast_member resource:Stuart_Gillard }
[]
work of art
SYSTEM
YES
(Q1215256,P161,Q278713)
action is_in
entity Q278713
action find
entity Q1215256
relation P161
[ANSWER]
['Q1215256', 'P161', 'Q278713']
ASK WHERE { resource:Q1215256 property:P161 resource:Q278713 }
Yes
action is_in
entity Stuart Gillard
action find
entity The Neptune Factor
relation cast member
['The Neptune Factor', 'cast member', 'Stuart Gillard']
ASK WHERE { resource:The_Neptune_Factor property:cast_member resource:Stuart_Gillard }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q278713
P1412
Q34770
USER
Which language does that person speak in ?
action filter_type
action find
entity Q278713
relation P1412
type Q34770
SELECT DISTINCT ?p WHERE { resource:Q278713 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Stuart Gillard
action filter_type
action find
entity Stuart Gillard
relation languages spoken, written or signed
type language
SELECT DISTINCT ?p WHERE { resource:Stuart_Gillard property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q278713
relation P1412
type Q34770
That person speaks the [ANSWER]
SELECT DISTINCT ?p WHERE { resource:Q278713 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Stuart Gillard
relation languages spoken, written or signed
type language
SELECT DISTINCT ?p WHERE { resource:Stuart_Gillard property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q5329170 Q6092603
P361
Q5962346
USER
Is that language a part of Anglo-Frisian languages and Italian 600 Series submarines ?
(Q1860,P361,Q5329170) (Q1860,P361,Q6092603)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q6092603
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q6092603']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q6092603 }
English Anglo-Frisian languages Italian 600 Series submarines
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Italian 600 Series submarines
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Italian 600 Series submarines']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Italian_600_Series_submarines }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q5329170) (Q1860,P361,Q6092603)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q6092603
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q6092603']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q6092603 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Italian 600 Series submarines
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Italian 600 Series submarines']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Italian_600_Series_submarines }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P629
Q571
USER
Which is an edition or translation of that language ?
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
SELECT DISTINCT ?a WHERE { ?a property:P629 resource:Q1860 . ?a rdf:type ontology:Q571 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
SELECT DISTINCT ?a WHERE { ?a property:edition_or_translation_of resource:English . ?a rdf:type ontology:book }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] is an edition or translation of that language
SELECT DISTINCT ?a WHERE { ?a property:P629 resource:Q1860 . ?a rdf:type ontology:Q571 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony is an edition or translation of that language
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
SELECT DISTINCT ?a WHERE { ?a property:edition_or_translation_of resource:English . ?a rdf:type ontology:book }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3977140 Q4360103
P58
Q502895
USER
Which people served as the screenwriter for The Sandkings or Suor Letizia ?
OR((Q4360103,P58,c(Q502895)), (Q3977140,P58,c(Q502895)))
action filter_type
action union
action find
entity Q4360103
relation P58
action find
entity Q3977140
relation P58
type Q502895
{'OR': [['Q4360103', 'P58', {'concept': 'Q502895'}], ['Q3977140', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Q4360103 ) ( resource:Q3977140 ) } . ?d property:P58 ?j } . ?j rdf:type ontology:Q502895 }
Suor Letizia The Sandkings
action filter_type
action union
action find
entity The Sandkings
relation screenwriter
action find
entity Suor Letizia
relation screenwriter
type common name
{'OR': [['The Sandkings', 'screenwriter', {'concept': 'common name'}], ['Suor Letizia', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:The_Sandkings ) ( resource:Suor_Letizia ) } . ?d property:screenwriter ?j } . ?j rdf:type ontology:common_name }
[]
common name
Q4013937 Q3962054 Q181677 Q469164 Q1357559 Q3619169 Q3196860 Q1343394
SYSTEM
Virgilio Tosi, Siro Angeli, George R. R. Martin, Cesare Zavattini, Piero De Bernardi, Antonio Altoviti, Melinda M. Snodgrass, Ennio de Concini
Q4013937 Q3962054 Q181677 Q469164 Q1357559 Q3619169 Q3196860 Q1343394
OR((Q4360103,P58,c(Q502895)), (Q3977140,P58,c(Q502895)))
action filter_type
action union
action find
entity Q4360103
relation P58
action find
entity Q3977140
relation P58
type Q502895
[ANSWERS]
{'OR': [['Q4360103', 'P58', {'concept': 'Q502895'}], ['Q3977140', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Q4360103 ) ( resource:Q3977140 ) } . ?d property:P58 ?j } . ?j rdf:type ontology:Q502895 }
Virgilio Tosi Siro Angeli George R. R. Martin Cesare Zavattini Piero De Bernardi Antonio Altoviti Melinda M. Snodgrass Ennio de Concini
Virgilio Tosi, Siro Angeli, George R. Martin, Cesare Zavattini, Piero De Bernardi, Antonio Altoviti, Melinda M. Snodgrass and Ennio de Concini served as the screenwriter for The Sandkings or Suor Letizia
Virgilio Tosi Siro Angeli George R. R. Martin Cesare Zavattini Piero De Bernardi Antonio Altoviti Melinda M. Snodgrass Ennio de Concini
action filter_type
action union
action find
entity The Sandkings
relation screenwriter
action find
entity Suor Letizia
relation screenwriter
type common name
{'OR': [['The Sandkings', 'screenwriter', {'concept': 'common name'}], ['Suor Letizia', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:The_Sandkings ) ( resource:Suor_Letizia ) } . ?d property:screenwriter ?j } . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art have been dubbed by around 30 people ?
(c(Q838948),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 30
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { ?h rdf:type ontology:Q502895 . ?e rdf:type ontology:Q838948 . ?e property:P725 ?h } GROUP BY ?e } . FILTER ( ?z = 30 ) }
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 30
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { ?h rdf:type ontology:common_name . ?e rdf:type ontology:work_of_art . ?e property:voice_actor ?h } GROUP BY ?e } . FILTER ( ?z = 30 ) }
[]
common name work of art
Q477365 Q16857406 Q19263748
SYSTEM
101 Dalmatians II: Patch's London Adventure, The Jungle Book, The Anthem of the Heart
Q477365 Q16857406 Q19263748
(c(Q838948),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 30
[ANSWERS] have been dubbed by around 30 people
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { ?h rdf:type ontology:Q502895 . ?e rdf:type ontology:Q838948 . ?e property:P725 ?h } GROUP BY ?e } . FILTER ( ?z = 30 ) }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
101 Dalmatians II: Patch's London Adventure, The Jungle Book and The Anthem of the Heart have been dubbed by around 30 people
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 30
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { ?h rdf:type ontology:common_name . ?e rdf:type ontology:work_of_art . ?e property:voice_actor ?h } GROUP BY ?e } . FILTER ( ?z = 30 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of min number of works of art ?
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P2079 ?t . ?b rdf:type ontology:Q838948 . ?t rdf:type ontology:Q2695280 } GROUP BY ?t } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?n ) WHERE { ?a rdf:type ontology:Q2695280 . ?v rdf:type ontology:Q838948 . ?v property:P2079 ?a } GROUP BY ?a } } }
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:fabrication_method ?t . ?b rdf:type ontology:work_of_art . ?t rdf:type ontology:technics } GROUP BY ?t } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?n ) WHERE { ?a rdf:type ontology:technics . ?v rdf:type ontology:work_of_art . ?v property:fabrication_method ?a } GROUP BY ?a } } }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used for the assembly of min number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P2079 ?t . ?b rdf:type ontology:Q838948 . ?t rdf:type ontology:Q2695280 } GROUP BY ?t } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?n ) WHERE { ?a rdf:type ontology:Q2695280 . ?v rdf:type ontology:Q838948 . ?v property:P2079 ?a } GROUP BY ?a } } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used for the assembly of min number of works of art
woodcut technique chasing engraving
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:fabrication_method ?t . ?b rdf:type ontology:work_of_art . ?t rdf:type ontology:technics } GROUP BY ?t } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?n ) WHERE { ?a rdf:type ontology:technics . ?v rdf:type ontology:work_of_art . ?v property:fabrication_method ?a } GROUP BY ?a } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181677
P737
Q502895
USER
Who did George R. R. Martin have an influence on ?
(c(Q502895),P737,Q181677)
action filter_type
action find_reverse
entity Q181677
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q181677']
SELECT DISTINCT ?k WHERE { ?k property:P737 resource:Q181677 . ?k rdf:type ontology:Q502895 }
George R. R. Martin
action filter_type
action find_reverse
entity George R. R. Martin
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'George R. R. Martin']
SELECT DISTINCT ?k WHERE { ?k property:influenced_by resource:George_R._R._Martin . ?k rdf:type ontology:common_name }
[]
common name
Q313466
SYSTEM
Michael Chabon
Q313466
(c(Q502895),P737,Q181677)
action filter_type
action find_reverse
entity Q181677
relation P737
type Q502895
George R. Martin had given [ANSWER] an influence on
[{'concept': 'Q502895'}, 'P737', 'Q181677']
SELECT DISTINCT ?k WHERE { ?k property:P737 resource:Q181677 . ?k rdf:type ontology:Q502895 }
Michael Chabon
George R. Martin had given Michael Chabon an influence on
Michael Chabon
action filter_type
action find_reverse
entity George R. R. Martin
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'George R. R. Martin']
SELECT DISTINCT ?k WHERE { ?k property:influenced_by resource:George_R._R._Martin . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313466
P1346
Q378427
USER
Which literary awards were that person decalred as a champion of ?
(c(Q378427),P1346,Q313466)
action filter_type
action find_reverse
entity Q313466
relation P1346
type Q378427
[{'concept': 'Q378427'}, 'P1346', 'Q313466']
SELECT DISTINCT ?b WHERE { ?b property:P1346 resource:Q313466 . ?b rdf:type ontology:Q378427 }
Michael Chabon
action filter_type
action find_reverse
entity Michael Chabon
relation winner
type literary award
[{'concept': 'literary award'}, 'winner', 'Michael Chabon']
SELECT DISTINCT ?b WHERE { ?b property:winner resource:Michael_Chabon . ?b rdf:type ontology:literary_award }
[]
literary award
Q255032 Q2576795
SYSTEM
Hugo Award for Best Novel, Locus Award for Best Science Fiction Novel
Q255032 Q2576795
(c(Q378427),P1346,Q313466)
action filter_type
action find_reverse
entity Q313466
relation P1346
type Q378427
[ANSWERS] were that person decalred as a champion of
[{'concept': 'Q378427'}, 'P1346', 'Q313466']
SELECT DISTINCT ?b WHERE { ?b property:P1346 resource:Q313466 . ?b rdf:type ontology:Q378427 }
Hugo Award for Best Novel Locus Award for Best Science Fiction Novel
Hugo Award for Best Novel and Locus Award for Best Science Fiction Novel were that person decalred as a champion of
Hugo Award for Best Novel Locus Award for Best Science Fiction Novel
action filter_type
action find_reverse
entity Michael Chabon
relation winner
type literary award
[{'concept': 'literary award'}, 'winner', 'Michael Chabon']
SELECT DISTINCT ?b WHERE { ?b property:winner resource:Michael_Chabon . ?b rdf:type ontology:literary_award }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P166
Q502895
USER
How many people were awarded with that literary award ?
(c(Q502895),P166,Q255032)
[{'concept': 'Q502895'}, 'P166', 'Q255032']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P166 resource:Q255032 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'award received', 'Hugo Award for Best Novel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:award_received resource:Hugo_Award_for_Best_Novel . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q255032
SYSTEM
Did you mean Hugo Award for Best Novel ?
(c(Q502895),P166,Q255032) (c(Q502895),P166,Q2576795)
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q255032'] [{'concept': 'Q502895'}, 'P166', 'Q2576795']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P166 resource:Q255032 . ?z rdf:type ontology:Q502895 }
Did you mean Hugo Award for Best Novel ?
Hugo Award for Best Novel
[{'concept': 'common name'}, 'award received', 'Hugo Award for Best Novel'] [{'concept': 'common name'}, 'award received', 'Locus Award for Best Science Fiction Novel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:award_received resource:Hugo_Award_for_Best_Novel . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P166,Q255032)
[{'concept': 'Q502895'}, 'P166', 'Q255032']
[{'concept': 'common name'}, 'award received', 'Hugo Award for Best Novel']
[]
SYSTEM
30
Q296256 Q286116 Q248867 Q347461 Q347461 Q319196 Q357839 Q210059 Q210059 Q312853 Q7934 Q34660 Q171091 Q232772 Q378807 Q297538 Q313466 Q295406 Q295406 Q123078 Q123078 Q123078 Q123078 Q181659 Q181659 Q16204354 Q313185 Q313185 Q2427544 Q1760899
(c(Q502895),P166,Q255032)
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q255032']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P166 resource:Q255032 . ?z rdf:type ontology:Q502895 }
Philip José Farmer Alfred Bester James Blish Joe Haldeman Joe Haldeman China Miéville Walter M. Miller Neil Gaiman Neil Gaiman Neal Stephenson Frank Herbert J. K. Rowling Philip K. Dick Susanna Clarke John Brunner Dan Simmons Michael Chabon Roger Zelazny Roger Zelazny Robert A. Heinlein Robert A. Heinlein Robert A. Heinlein Robert A. Heinlein Ursula K. Le Guin Ursula K. Le Guin Ann Leckie Fritz Leiber Junior Fritz Leiber Junior N. K. Jemisin Mark Clifton
30
[{'concept': 'common name'}, 'award received', 'Hugo Award for Best Novel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:award_received resource:Hugo_Award_for_Best_Novel . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1937502
Q502895
USER
And how about Son of Dracula?
(Q1937502,P166,c(Q502895))
action count
action filter_type
action find
entity Q1937502
relation P166
type Q502895
['Q1937502', 'P166', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1937502 property:P166 ?k . ?k rdf:type ontology:Q502895 }
Son of Dracula
action count
action filter_type
action find
entity Son of Dracula
relation award received
type common name
['Son of Dracula', 'award received', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Son_of_Dracula property:award_received ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
17
(Q1937502,P166,c(Q502895))
action count
action filter_type
action find
entity Q1937502
relation P166
type Q502895
[ANSWER]
['Q1937502', 'P166', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1937502 property:P166 ?k . ?k rdf:type ontology:Q502895 }
17
action count
action filter_type
action find
entity Son of Dracula
relation award received
type common name
['Son of Dracula', 'award received', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Son_of_Dracula property:award_received ?k . ?k rdf:type ontology:common_name }
[]