Simple Question (Direct)
Simple Question
Q3283236
P364
Q34770
USER
Which language was used originally for the creation of Don't Give Up the Ship ?
(Q3283236,P364,c(Q34770))
action filter_type
action find
entity Q3283236
relation P364
type Q34770
['Q3283236', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q3283236 property:P364 ?d }
Don't Give Up the Ship
action filter_type
action find
entity Don't Give Up the Ship
relation original language of work
type language
["Don't Give Up the Ship", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Don't_Give_Up_the_Ship property:original_language_of_work ?d }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3283236,P364,c(Q34770))
action filter_type
action find
entity Q3283236
relation P364
type Q34770
[ANSWER] was used originally for the creation of Don't Give Up the Ship
['Q3283236', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q3283236 property:P364 ?d }
English
English was used originally for the creation of Don't Give Up the Ship
English
action filter_type
action find
entity Don't Give Up the Ship
relation original language of work
type language
["Don't Give Up the Ship", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Don't_Give_Up_the_Ship property:original_language_of_work ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3283236
P462
Q1075
USER
Which color is associated with Don't Give Up the Ship ?
(Q3283236,P462,c(Q1075))
action filter_type
action find
entity Q3283236
relation P462
type Q1075
['Q3283236', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1075 . resource:Q3283236 property:P462 ?l }
Don't Give Up the Ship
action filter_type
action find
entity Don't Give Up the Ship
relation color
type color
["Don't Give Up the Ship", 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:color . resource:Don't_Give_Up_the_Ship property:color ?l }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q3283236,P462,c(Q1075))
action filter_type
action find
entity Q3283236
relation P462
type Q1075
Film [ANSWER] is associated with Don't Give Up the Ship
['Q3283236', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1075 . resource:Q3283236 property:P462 ?l }
black-and-white film
Film black-and-white film is associated with Don't Give Up the Ship
black-and-white film
action filter_type
action find
entity Don't Give Up the Ship
relation color
type color
["Don't Give Up the Ship", 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:color . resource:Don't_Give_Up_the_Ship property:color ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3283236
P58
Q502895
USER
Who wrote the script for Don't Give Up the Ship ?
(Q3283236,P58,c(Q502895))
action filter_type
action find
entity Q3283236
relation P58
type Q502895
['Q3283236', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3283236 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Don't Give Up the Ship
action filter_type
action find
entity Don't Give Up the Ship
relation screenwriter
type common name
["Don't Give Up the Ship", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Don't_Give_Up_the_Ship property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
common name
Q3133431
SYSTEM
Herbert Baker
Q3133431
(Q3283236,P58,c(Q502895))
action filter_type
action find
entity Q3283236
relation P58
type Q502895
[ANSWER] wrote the script for Don't Give Up the Ship
['Q3283236', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3283236 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Herbert Baker
Herbert Baker wrote the script for Don't Give Up the Ship
Herbert Baker
action filter_type
action find
entity Don't Give Up the Ship
relation screenwriter
type common name
["Don't Give Up the Ship", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Don't_Give_Up_the_Ship property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?d } } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?s ) WHERE { ?g rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?g } GROUP BY ?g } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?d } } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?s ) WHERE { ?g rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?g } GROUP BY ?g } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?d } } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?s ) WHERE { ?g rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?g } GROUP BY ?g } }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?x ) { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?d } } . FILTER ( ?s = ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?s ) WHERE { ?g rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?g } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?f WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?f WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1568
Q5962346
USER
And how about Hindi?
(Q1568,P361,c(Q5962346))
action filter_type
action find
entity Q1568
relation P361
type Q5962346
['Q1568', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?l WHERE { resource:Q1568 property:P361 ?l . ?l rdf:type ontology:Q5962346 }
Hindi
action filter_type
action find
entity Hindi
relation part of
type classification scheme
['Hindi', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?l WHERE { resource:Hindi property:part_of ?l . ?l rdf:type ontology:classification_scheme }
[]
classification scheme
Q33577 Q19860
SYSTEM
Indo-Aryan languages, Indo-European languages
Q33577 Q19860
(Q1568,P361,c(Q5962346))
action filter_type
action find
entity Q1568
relation P361
type Q5962346
[ANSWERS]
['Q1568', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?l WHERE { resource:Q1568 property:P361 ?l . ?l rdf:type ontology:Q5962346 }
Indo-Aryan languages Indo-European languages
Indo-Aryan languages Indo-European languages
action filter_type
action find
entity Hindi
relation part of
type classification scheme
['Hindi', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?l WHERE { resource:Hindi property:part_of ?l . ?l rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q387348 Q3283236
P161
Q502895
USER
Which people were casted in Don't Give Up the Ship or Alvin and the Chipmunks ?
OR((Q3283236,P161,c(Q502895)), (Q387348,P161,c(Q502895)))
action filter_type
action union
action find
entity Q3283236
relation P161
action find
entity Q387348
relation P161
type Q502895
{'OR': [['Q3283236', 'P161', {'concept': 'Q502895'}], ['Q387348', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?m ) { ( resource:Q3283236 ) ( resource:Q387348 ) } . ?m property:P161 ?f } . ?f rdf:type ontology:Q502895 }
Alvin and the Chipmunks Don't Give Up the Ship
action filter_type
action union
action find
entity Don't Give Up the Ship
relation cast member
action find
entity Alvin and the Chipmunks
relation cast member
type common name
{'OR': [["Don't Give Up the Ship", 'cast member', {'concept': 'common name'}], ['Alvin and the Chipmunks', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?m ) { ( resource:Don't_Give_Up_the_Ship ) ( resource:Alvin_and_the_Chipmunks ) } . ?m property:cast_member ?f } . ?f rdf:type ontology:common_name }
[]
common name
Q258237 Q1351121 Q242451 Q51703 Q294927 Q4960 Q3311894 Q739542 Q362332 Q191842
SYSTEM
Some of them are Beth Riesgraf, Gale Gordon, Cameron Richardson, Dina Merrill, Jerry Lewis, Jason Lee, Mickey Shaughnessy, Claude Akins, David Cross, Jesse McCartney
Q51703 Q242451 Q258237 Q739542 Q1351121 Q3311894 Q362332 Q228852 Q9685 Q4960 Q298672 Q191842 Q462468 Q313501 Q181407 Q294927
OR((Q3283236,P161,c(Q502895)), (Q387348,P161,c(Q502895)))
action filter_type
action union
action find
entity Q3283236
relation P161
action find
entity Q387348
relation P161
type Q502895
[ANSWERS] were casted in Don't Give Up the Ship or Alvin and the Chipmunks
{'OR': [['Q3283236', 'P161', {'concept': 'Q502895'}], ['Q387348', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?m ) { ( resource:Q3283236 ) ( resource:Q387348 ) } . ?m property:P161 ?f } . ?f rdf:type ontology:Q502895 }
Dina Merrill Cameron Richardson Beth Riesgraf Claude Akins Gale Gordon Mickey Shaughnessy David Cross Jane Lynch Diana, Princess of Wales Jason Lee Justin Long Jesse McCartney Erin Chambers Matthew Gray Gubler Robert Middleton Jerry Lewis
Beth Riesgraf, Gale Gordon, Cameron Richardson, Dina Merrill, Jerry Lewis, Jason Lee, Mickey Shaughnessy, Claude Akins, David Cross and Jesse McCartney were casted in Don't Give Up the Ship or Alvin and the Chipmunks
Beth Riesgraf Gale Gordon Cameron Richardson Dina Merrill Jerry Lewis Jason Lee Mickey Shaughnessy Claude Akins David Cross Jesse McCartney
action filter_type
action union
action find
entity Don't Give Up the Ship
relation cast member
action find
entity Alvin and the Chipmunks
relation cast member
type common name
{'OR': [["Don't Give Up the Ship", 'cast member', {'concept': 'common name'}], ['Alvin and the Chipmunks', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?m ) { ( resource:Don't_Give_Up_the_Ship ) ( resource:Alvin_and_the_Chipmunks ) } . ?m property:cast_member ?f } . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications have been dubbed by around 51 people ?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 51
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?o ) WHERE { ?y rdf:type ontology:Q166142 . ?l rdf:type ontology:Q502895 . ?y property:P725 ?l } GROUP BY ?y } . FILTER ( ?o = 51 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
value 51
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?o ) WHERE { ?y rdf:type ontology:application . ?l rdf:type ontology:common_name . ?y property:voice_actor ?l } GROUP BY ?y } . FILTER ( ?o = 51 ) }
[]
common name application
SYSTEM
1
Q843131
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 51
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?o ) WHERE { ?y rdf:type ontology:Q166142 . ?l rdf:type ontology:Q502895 . ?y property:P725 ?l } GROUP BY ?y } . FILTER ( ?o = 51 ) }
Super Smash Bros. Brawl
1
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
value 51
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?o ) WHERE { ?y rdf:type ontology:application . ?l rdf:type ontology:common_name . ?y property:voice_actor ?l } GROUP BY ?y } . FILTER ( ?o = 51 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362332
P166
Q618779
USER
Which award was David Cross awarded with ?
(Q362332,P166,c(Q618779))
action filter_type
action find
entity Q362332
relation P166
type Q618779
['Q362332', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q362332 property:P166 ?q . ?q rdf:type ontology:Q618779 }
David Cross
action filter_type
action find
entity David Cross
relation award received
type award
['David Cross', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:David_Cross property:award_received ?q . ?q rdf:type ontology:award }
[]
award
Q1265782
SYSTEM
Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
Q1265782
(Q362332,P166,c(Q618779))
action filter_type
action find
entity Q362332
relation P166
type Q618779
David Cross was awarded the [ANSWER]
['Q362332', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q362332 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
David Cross was awarded the Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
action filter_type
action find
entity David Cross
relation award received
type award
['David Cross', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:David_Cross property:award_received ?q . ?q rdf:type ontology:award }
[]