Simple Question (Direct)
Simple Question
Q1139174
P86
Q502895
USER
Who composed Killer Instinct ?
(Q1139174,P86,c(Q502895))
action filter_type
action find
entity Q1139174
relation P86
type Q502895
['Q1139174', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1139174 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Killer Instinct
action filter_type
action find
entity Killer Instinct
relation composer
type common name
['Killer Instinct', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Killer_Instinct property:composer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q4069109
SYSTEM
Mark Morgan
Q4069109
(Q1139174,P86,c(Q502895))
action filter_type
action find
entity Q1139174
relation P86
type Q502895
[ANSWER] composed Killer Instinct
['Q1139174', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1139174 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Mark Morgan
Mark Morgan composed Killer Instinct
Mark Morgan
action filter_type
action find
entity Killer Instinct
relation composer
type common name
['Killer Instinct', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Killer_Instinct property:composer ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1139174
P364
Q34770
USER
Which language was used originally for the creation of that television program ?
(Q4069109,P364,c(Q34770))
action filter_type
action find
entity Q1139174
relation P364
type Q34770
['Q4069109', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1139174 property:P364 ?e . ?e rdf:type ontology:Q34770 }
Killer Instinct
action filter_type
action find
entity Killer Instinct
relation original language of work
type language
['Mark Morgan', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Killer_Instinct property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4069109,P364,c(Q34770))
action filter_type
action find
entity Q1139174
relation P364
type Q34770
[ANSWER] was used originally for the creation of that television program
['Q4069109', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1139174 property:P364 ?e . ?e rdf:type ontology:Q34770 }
English
English was used originally for the creation of that television program
English
action filter_type
action find
entity Killer Instinct
relation original language of work
type language
['Mark Morgan', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Killer_Instinct property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15961987 Q15416 Q502895
USER
Which people are featured in approximately 3 television genres or television programs ?
(c(Q502895),P1441,c(Q15961987)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q15416
value 3
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { VALUES ( ?o ) { ( ontology:Q15961987 ) ( ontology:Q15416 ) } . ?p rdf:type ?o } GROUP BY ?w } . FILTER ( ?c = 3 ) }
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type television program
value 3
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'television program'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { VALUES ( ?o ) { ( ontology:television_genre ) ( ontology:television_program ) } . ?p rdf:type ?o } GROUP BY ?w } . FILTER ( ?c = 3 ) }
[]
television genre television program common name
Q32295
SYSTEM
Michael J. Massimino
Q32295
(c(Q502895),P1441,c(Q15961987)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q15416
value 3
[ANSWER] is featured in approximately 3 television genres or television programs
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { VALUES ( ?o ) { ( ontology:Q15961987 ) ( ontology:Q15416 ) } . ?p rdf:type ?o } GROUP BY ?w } . FILTER ( ?c = 3 ) }
Michael J. Massimino
Michael J. Massimino is featured in approximately 3 television genres or television programs
Michael J. Massimino
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type television program
value 3
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'television program'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { VALUES ( ?o ) { ( ontology:television_genre ) ( ontology:television_program ) } . ?p rdf:type ?o } GROUP BY ?w } . FILTER ( ?c = 3 ) }
[]