Simple Question (Direct)
Simple Question
Q11579928
P136
Q20087698
USER
What can be considered as category for Marimo Shirasawa ?
(Q11579928,P136,c(Q20087698))
action filter_type
action find
entity Q11579928
relation P136
type Q20087698
['Q11579928', 'P136', {'concept': 'Q20087698'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20087698 . resource:Q11579928 property:P136 ?n }
Marimo Shirasawa
action filter_type
action find
entity Marimo Shirasawa
relation genre
type comic genre
['Marimo Shirasawa', 'genre', {'concept': 'comic genre'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:comic_genre . resource:Marimo_Shirasawa property:genre ?n }
[]
comic genre
Q242492
SYSTEM
shōjo manga
Q242492
(Q11579928,P136,c(Q20087698))
action filter_type
action find
entity Q11579928
relation P136
type Q20087698
[ANSWER] can be considered as category for Marimo Shirasawa
['Q11579928', 'P136', {'concept': 'Q20087698'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20087698 . resource:Q11579928 property:P136 ?n }
shōjo manga
Shōjo manga can be considered as category for Marimo Shirasawa
shōjo manga
action filter_type
action find
entity Marimo Shirasawa
relation genre
type comic genre
['Marimo Shirasawa', 'genre', {'concept': 'comic genre'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:comic_genre . resource:Marimo_Shirasawa property:genre ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2660670
P1303
Q34379 Q502895
USER
How many musical instruments do less number of people know to play than Irish bouzouki ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P1303 resource:Q2660670 . ?c rdf:type ontology:Q502895 } } . FILTER ( ?o < ?i ) }
Irish bouzouki
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:instrument resource:Irish_bouzouki . ?c rdf:type ontology:common_name } } . FILTER ( ?o < ?i ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P1303 resource:Q2660670 . ?c rdf:type ontology:Q502895 } } . FILTER ( ?o < ?i ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:instrument resource:Irish_bouzouki . ?c rdf:type ontology:common_name } } . FILTER ( ?o < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q816793
P1303
Q34379 Q502895
USER
And how about Bendir?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q816793
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P1303 resource:Q816793 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?c < ?n ) }
Bendir
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Bendir
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:instrument resource:Bendir . ?m rdf:type ontology:common_name } } . FILTER ( ?c < ?n ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q816793
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P1303 resource:Q816793 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?c < ?n ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Bendir
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:instrument resource:Bendir . ?m rdf:type ontology:common_name } } . FILTER ( ?c < ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q5398426
USER
Which television series had their voice dubbing done by max number of people ?
(c(Q5398426),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?e ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?t property:P725 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q5398426 } GROUP BY ?t } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?z ) WHERE { ?q property:P725 ?o . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q5398426 } GROUP BY ?q } }
action argmax
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?e ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?t property:voice_actor ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:television_series } GROUP BY ?t } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?z ) WHERE { ?q property:voice_actor ?o . ?o rdf:type ontology:common_name . ?q rdf:type ontology:television_series } GROUP BY ?q } }
[]
common name television series
Q386361
SYSTEM
Devil May Cry: The Animated Series
Q386361
(c(Q5398426),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?e ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?t property:P725 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q5398426 } GROUP BY ?t } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?z ) WHERE { ?q property:P725 ?o . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q5398426 } GROUP BY ?q } }
Devil May Cry: The Animated Series
Devil May Cry: The Animated Series had their voice dubbing done by max number of people
Devil May Cry: The Animated Series
action argmax
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?e ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?t property:voice_actor ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:television_series } GROUP BY ?t } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?z ) WHERE { ?q property:voice_actor ?o . ?o rdf:type ontology:common_name . ?q rdf:type ontology:television_series } GROUP BY ?q } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q386361
P58
Q502895
USER
Who were the screenwriters for that television series ?
(Q386361,P58,c(Q502895))
action filter_type
action find
entity Q386361
relation P58
type Q502895
['Q386361', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q386361 property:P58 ?d . ?d rdf:type ontology:Q502895 }
Devil May Cry: The Animated Series
action filter_type
action find
entity Devil May Cry: The Animated Series
relation screenwriter
type common name
['Devil May Cry: The Animated Series', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Devil_May_Cry:_The_Animated_Series property:screenwriter ?d . ?d rdf:type ontology:common_name }
[]
common name
Q11619284 Q9034266
SYSTEM
Shōtarō Suga, Ichirō Sakaki
Q11619284 Q9034266
(Q386361,P58,c(Q502895))
action filter_type
action find
entity Q386361
relation P58
type Q502895
The screenwriters for that television series were also [ANSWERS]
['Q386361', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q386361 property:P58 ?d . ?d rdf:type ontology:Q502895 }
Shōtarō Suga Ichirō Sakaki
The screenwriters for that television series were also Shōtarō Suga and Ichirō Sakaki
Shōtarō Suga Ichirō Sakaki
action filter_type
action find
entity Devil May Cry: The Animated Series
relation screenwriter
type common name
['Devil May Cry: The Animated Series', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Devil_May_Cry:_The_Animated_Series property:screenwriter ?d . ?d rdf:type ontology:common_name }
[]