Simple Question (Direct)
Simple Question
Q2940239
P136
Q874405
USER
Which genre does Carrie Brownstein belong to ?
(Q2940239,P136,c(Q874405))
action filter_type
action find
entity Q2940239
relation P136
type Q874405
['Q2940239', 'P136', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q2940239 property:P136 ?a . ?a rdf:type ontology:Q874405 }
Carrie Brownstein
action filter_type
action find
entity Carrie Brownstein
relation genre
type social group
['Carrie Brownstein', 'genre', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Carrie_Brownstein property:genre ?a . ?a rdf:type ontology:social_group }
[]
social group
Q677542
SYSTEM
Riot grrrl
Q677542
(Q2940239,P136,c(Q874405))
action filter_type
action find
entity Q2940239
relation P136
type Q874405
Carrie Brownstein belongs to [ANSWER]
['Q2940239', 'P136', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q2940239 property:P136 ?a . ?a rdf:type ontology:Q874405 }
Riot grrrl
Carrie Brownstein belongs to Riot grrrl
Riot grrrl
action filter_type
action find
entity Carrie Brownstein
relation genre
type social group
['Carrie Brownstein', 'genre', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Carrie_Brownstein property:genre ?a . ?a rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2940239
P1303
Q34379
USER
Which musical instrument is played by Carrie Brownstein ?
(Q2940239,P1303,c(Q34379))
action filter_type
action find
entity Q2940239
relation P1303
type Q34379
['Q2940239', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { resource:Q2940239 property:P1303 ?z . ?z rdf:type ontology:Q34379 }
Carrie Brownstein
action filter_type
action find
entity Carrie Brownstein
relation instrument
type musical instrument
['Carrie Brownstein', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { resource:Carrie_Brownstein property:instrument ?z . ?z rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q2940239,P1303,c(Q34379))
action filter_type
action find
entity Q2940239
relation P1303
type Q34379
The [ANSWER] is played by Carrie Brownstein
['Q2940239', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { resource:Q2940239 property:P1303 ?z . ?z rdf:type ontology:Q34379 }
violin
The violin is played by Carrie Brownstein
violin
action filter_type
action find
entity Carrie Brownstein
relation instrument
type musical instrument
['Carrie Brownstein', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { resource:Carrie_Brownstein property:instrument ?z . ?z rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1101333
Q34379
USER
And how about Clifford Thornton?
(Q1101333,P1303,c(Q34379))
action filter_type
action find
entity Q1101333
relation P1303
type Q34379
['Q1101333', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { resource:Q1101333 property:P1303 ?e . ?e rdf:type ontology:Q34379 }
Clifford Thornton
action filter_type
action find
entity Clifford Thornton
relation instrument
type musical instrument
['Clifford Thornton', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { resource:Clifford_Thornton property:instrument ?e . ?e rdf:type ontology:musical_instrument }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q1101333,P1303,c(Q34379))
action filter_type
action find
entity Q1101333
relation P1303
type Q34379
[ANSWER]
['Q1101333', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { resource:Q1101333 property:P1303 ?e . ?e rdf:type ontology:Q34379 }
trumpet
trumpet
action filter_type
action find
entity Clifford Thornton
relation instrument
type musical instrument
['Clifford Thornton', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { resource:Clifford_Thornton property:instrument ?e . ?e rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8338
P870
Q34379 Q862597 Q207628
USER
How many musical instruments are used as instrumentation in around the same number of musical forms or musical compositions as trumpet ?
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q8338
relation P870
type Q862597
type Q207628
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:Q862597 ) ( ontology:Q207628 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P870 resource:Q8338 . { VALUES ( ?e ) { ( ontology:Q207628 ) ( ontology:Q862597 ) } . ?t rdf:type ?e } } } . FILTER ( ?g = ?p ) }
trumpet
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action count
action filter_multi_types
action find_reverse
entity trumpet
relation instrumentation
type musical form
type musical composition
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:musical_form ) ( ontology:musical_composition ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:instrumentation resource:trumpet . { VALUES ( ?e ) { ( ontology:musical_composition ) ( ontology:musical_form ) } . ?t rdf:type ?e } } } . FILTER ( ?g = ?p ) }
[]
musical instrument musical form musical composition
SYSTEM
17
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q8338
relation P870
type Q862597
type Q207628
[ANSWER]
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:Q862597 ) ( ontology:Q207628 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P870 resource:Q8338 . { VALUES ( ?e ) { ( ontology:Q207628 ) ( ontology:Q862597 ) } . ?t rdf:type ?e } } } . FILTER ( ?g = ?p ) }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta maraca violin drum vibraphone harpsichord
17
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action count
action filter_multi_types
action find_reverse
entity trumpet
relation instrumentation
type musical form
type musical composition
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:musical_form ) ( ontology:musical_composition ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:instrumentation resource:trumpet . { VALUES ( ?e ) { ( ontology:musical_composition ) ( ontology:musical_form ) } . ?t rdf:type ?e } } } . FILTER ( ?g = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q80284
P870
Q34379 Q862597 Q207628
USER
And also tell me about viola?
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q80284
relation P870
type Q862597
type Q207628
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?v ) { ( ontology:Q862597 ) ( ontology:Q207628 ) } . ?d rdf:type ?v } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P870 resource:Q80284 . { { ?b rdf:type ontology:Q207628 } UNION { ?b rdf:type ontology:Q862597 } } } } . FILTER ( ?j = ?n ) }
viola
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action count
action filter_multi_types
action find_reverse
entity viola
relation instrumentation
type musical form
type musical composition
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?v ) { ( ontology:musical_form ) ( ontology:musical_composition ) } . ?d rdf:type ?v } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:instrumentation resource:viola . { { ?b rdf:type ontology:musical_composition } UNION { ?b rdf:type ontology:musical_form } } } } . FILTER ( ?j = ?n ) }
[]
musical instrument musical form musical composition
SYSTEM
17
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q80284
relation P870
type Q862597
type Q207628
[ANSWER]
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?v ) { ( ontology:Q862597 ) ( ontology:Q207628 ) } . ?d rdf:type ?v } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P870 resource:Q80284 . { { ?b rdf:type ontology:Q207628 } UNION { ?b rdf:type ontology:Q862597 } } } } . FILTER ( ?j = ?n ) }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta maraca violin drum vibraphone harpsichord
17
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action count
action filter_multi_types
action find_reverse
entity viola
relation instrumentation
type musical form
type musical composition
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?v ) { ( ontology:musical_form ) ( ontology:musical_composition ) } . ?d rdf:type ?v } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:instrumentation resource:viola . { { ?b rdf:type ontology:musical_composition } UNION { ?b rdf:type ontology:musical_form } } } } . FILTER ( ?j = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2940239
P106
Q151885 Q12737077
USER
How many concepts or occupations are the job of Carrie Brownstein ?
(Q2940239,P106,c(Q151885)) (Q2940239,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2940239
relation P106
type Q151885
action filter_type
action find
entity Q2940239
relation P106
type Q12737077
['Q2940239', 'P106', {'concept': 'Q151885'}] ['Q2940239', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Q2940239 property:P106 ?h . ?h rdf:type ontology:Q151885 } UNION { ?h rdf:type ontology:Q12737077 . resource:Q2940239 property:P106 ?h } }
Carrie Brownstein
action count
action union
action filter_type
action find
entity Carrie Brownstein
relation occupation
type concept
action filter_type
action find
entity Carrie Brownstein
relation occupation
type occupation
['Carrie Brownstein', 'occupation', {'concept': 'concept'}] ['Carrie Brownstein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Carrie_Brownstein property:occupation ?h . ?h rdf:type ontology:concept } UNION { ?h rdf:type ontology:occupation . resource:Carrie_Brownstein property:occupation ?h } }
[]
concept occupation
SYSTEM
7
Q8246794 Q177220 Q639669 Q10798782 Q33999 Q36180 Q855091
(Q2940239,P106,c(Q151885)) (Q2940239,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2940239
relation P106
type Q151885
action filter_type
action find
entity Q2940239
relation P106
type Q12737077
[ANSWER]
['Q2940239', 'P106', {'concept': 'Q151885'}] ['Q2940239', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Q2940239 property:P106 ?h . ?h rdf:type ontology:Q151885 } UNION { ?h rdf:type ontology:Q12737077 . resource:Q2940239 property:P106 ?h } }
blogger singer musician television actor actor writer guitarist
7
action count
action union
action filter_type
action find
entity Carrie Brownstein
relation occupation
type concept
action filter_type
action find
entity Carrie Brownstein
relation occupation
type occupation
['Carrie Brownstein', 'occupation', {'concept': 'concept'}] ['Carrie Brownstein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { resource:Carrie_Brownstein property:occupation ?h . ?h rdf:type ontology:concept } UNION { ?h rdf:type ontology:occupation . resource:Carrie_Brownstein property:occupation ?h } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2940239
P161
Q15416
USER
Which television program does that person star in ?
action filter_type
action find_reverse
entity Q2940239
relation P161
type Q15416
SELECT DISTINCT ?u WHERE { ?u property:P161 resource:Q2940239 . ?u rdf:type ontology:Q15416 }
Carrie Brownstein
action filter_type
action find_reverse
entity Carrie Brownstein
relation cast member
type television program
SELECT DISTINCT ?u WHERE { ?u property:cast_member resource:Carrie_Brownstein . ?u rdf:type ontology:television_program }
[]
television program
Q17014382
SYSTEM
Transparent
Q17014382
action filter_type
action find_reverse
entity Q2940239
relation P161
type Q15416
That person stars in [ANSWER]
SELECT DISTINCT ?u WHERE { ?u property:P161 resource:Q2940239 . ?u rdf:type ontology:Q15416 }
Transparent
That person stars in Transparent
Transparent
action filter_type
action find_reverse
entity Carrie Brownstein
relation cast member
type television program
SELECT DISTINCT ?u WHERE { ?u property:cast_member resource:Carrie_Brownstein . ?u rdf:type ontology:television_program }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17014382 Q771690
P57
Q502895
USER
Was that television program directed by Jill Soloway ?
(Q17014382,P57,Q771690)
action is_in
entity Q771690
action find
entity Q17014382
relation P57
['Q17014382', 'P57', 'Q771690']
ASK WHERE { resource:Q17014382 property:P57 resource:Q771690 }
Transparent Jill Soloway
action is_in
entity Jill Soloway
action find
entity Transparent
relation director
['Transparent', 'director', 'Jill Soloway']
ASK WHERE { resource:Transparent property:director resource:Jill_Soloway }
[]
common name
SYSTEM
YES
(Q17014382,P57,Q771690)
action is_in
entity Q771690
action find
entity Q17014382
relation P57
[ANSWER]
['Q17014382', 'P57', 'Q771690']
ASK WHERE { resource:Q17014382 property:P57 resource:Q771690 }
Yes
action is_in
entity Jill Soloway
action find
entity Transparent
relation director
['Transparent', 'director', 'Jill Soloway']
ASK WHERE { resource:Transparent property:director resource:Jill_Soloway }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17014382
P449
Q4830453
USER
Which business enterprise is the original network Transparent was aired on ?
(Q17014382,P449,c(Q4830453))
action filter_type
action find
entity Q17014382
relation P449
type Q4830453
['Q17014382', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?x WHERE { resource:Q17014382 property:P449 ?x . ?x rdf:type ontology:Q4830453 }
Transparent
action filter_type
action find
entity Transparent
relation original network
type business enterprise
['Transparent', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?x WHERE { resource:Transparent property:original_network ?x . ?x rdf:type ontology:business_enterprise }
[]
business enterprise
Q4740856
SYSTEM
Amazon Video
Q4740856
(Q17014382,P449,c(Q4830453))
action filter_type
action find
entity Q17014382
relation P449
type Q4830453
[ANSWER] is the original network Transparent was aired on
['Q17014382', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?x WHERE { resource:Q17014382 property:P449 ?x . ?x rdf:type ontology:Q4830453 }
Amazon Video
Amazon Video is the original network Transparent was aired on
Amazon Video
action filter_type
action find
entity Transparent
relation original network
type business enterprise
['Transparent', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?x WHERE { resource:Transparent property:original_network ?x . ?x rdf:type ontology:business_enterprise }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16002542
Q4830453
USER
And how about All About Baby?
(Q16002542,P449,c(Q4830453))
action filter_type
action find
entity Q16002542
relation P449
type Q4830453
['Q16002542', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?b WHERE { resource:Q16002542 property:P449 ?b . ?b rdf:type ontology:Q4830453 }
All About Baby
action filter_type
action find
entity All About Baby
relation original network
type business enterprise
['All About Baby', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?b WHERE { resource:All_About_Baby property:original_network ?b . ?b rdf:type ontology:business_enterprise }
[]
business enterprise
Q1262316
SYSTEM
DuMont Television Network
Q1262316
(Q16002542,P449,c(Q4830453))
action filter_type
action find
entity Q16002542
relation P449
type Q4830453
[ANSWER]
['Q16002542', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?b WHERE { resource:Q16002542 property:P449 ?b . ?b rdf:type ontology:Q4830453 }
DuMont Television Network
DuMont Television Network
action filter_type
action find
entity All About Baby
relation original network
type business enterprise
['All About Baby', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?b WHERE { resource:All_About_Baby property:original_network ?b . ?b rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P449
Q15416 Q15961987
USER
How many television programs and television genres were originally telelcasted by that business enterprise ?
(c(Q15416),P449,Q1262316) (c(Q15961987),P449,Q1262316) (c(Q15416),P449,Q1262316) (c(Q15961987),P449,Q1262316)
action count
action union
action filter_type
action find_reverse
entity Q1262316
relation P449
type Q15416
action filter_type
action find_reverse
entity Q1262316
relation P449
type Q15961987
[{'concept': 'Q15416'}, 'P449', 'Q1262316'] [{'concept': 'Q15961987'}, 'P449', 'Q1262316'] [{'concept': 'Q15416'}, 'P449', 'Q1262316'] [{'concept': 'Q15961987'}, 'P449', 'Q1262316']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P449 resource:Q1262316 . ?h rdf:type ontology:Q15416 } UNION { ?h property:P449 resource:Q1262316 . ?h rdf:type ontology:Q15961987 } }
action count
action union
action filter_type
action find_reverse
entity DuMont Television Network
relation original network
type television program
action filter_type
action find_reverse
entity DuMont Television Network
relation original network
type television genre
[{'concept': 'television program'}, 'original network', 'DuMont Television Network'] [{'concept': 'television genre'}, 'original network', 'DuMont Television Network'] [{'concept': 'television program'}, 'original network', 'DuMont Television Network'] [{'concept': 'television genre'}, 'original network', 'DuMont Television Network']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:original_network resource:DuMont_Television_Network . ?h rdf:type ontology:television_program } UNION { ?h property:original_network resource:DuMont_Television_Network . ?h rdf:type ontology:television_genre } }
[]
television program television genre
SYSTEM
51 television programs and 5 television genres
Q5302895 Q6738052 Q5647611 Q17041382 Q4660772 Q7735642 Q7721545 Q5434852 Q7600941 Q7783769 Q7749413 Q7733309 Q7742861 Q3073380 Q5073855 Q5547050 Q7762522 Q5505825 Q6200406 Q6052459 Q7746468 Q19880501 Q6691360 Q7738401 Q7752754 Q7271721 Q7712395 Q5174380 Q4898500 Q3238373 Q7259679 Q6267015 Q7712597 Q7766939 Q7019923 Q7355831 Q17074795 Q5557861 Q8056924 Q7679182 Q1252351 Q6779998 Q7321922 Q5148134 Q5182898 Q1035145 Q6267418 Q8024369 Q5309994 Q16995429 Q5615433 Q6760285 Q15072869 Q5223533 Q5505804 Q7062300
(c(Q15416),P449,Q1262316) (c(Q15961987),P449,Q1262316) (c(Q15416),P449,Q1262316) (c(Q15961987),P449,Q1262316)
action count
action union
action filter_type
action find_reverse
entity Q1262316
relation P449
type Q15416
action filter_type
action find_reverse
entity Q1262316
relation P449
type Q15961987
[ANSWER]
[{'concept': 'Q15416'}, 'P449', 'Q1262316'] [{'concept': 'Q15961987'}, 'P449', 'Q1262316'] [{'concept': 'Q15416'}, 'P449', 'Q1262316'] [{'concept': 'Q15961987'}, 'P449', 'Q1262316']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P449 resource:Q1262316 . ?h rdf:type ontology:Q15416 } UNION { ?h property:P449 resource:Q1262316 . ?h rdf:type ontology:Q15961987 } }
Down You Go Major Dell Conway of the Flying Tigers Hands of Murder On Your Way A Woman to Remember The Gallery of Madame Liu-Tsong The Cases of Eddie Drake Faraway Hill Star Time They Stand Accused The Magic Cottage The Family Genius The Jackie Gleason Show Flash Gordon Charade Quiz Georgetown University Forum The School House Front Row Center Jimmy Hughes, Rookie Cop International Playhouse The Laytons Hollywood Preview Love Story The Growing Paynes The Music Show Quick on the Draw The Admiral Broadway Revue Cosmopolitan Theatre Better Living TV Theater Life Is Worth Living Pulse of the City Johnny Jupiter The Adventures of Oky Doky The Stranger Newsweek Views the News Rocky King, Inside Detective Look Upon a Star The Plainclothesman You Asked for It Talent Jackpot Studio 57 Mary Kay and Johnny Rhythm Rodeo Colonel Humphrey Flack Crawford Mystery Theatre Captain Video and His Video Rangers Johnny Olson's Rumpus Room Window on the World DuMont Evening News Highway to the Stars Guide Right Marge and Jeff Shadow of the Cloak Dark of Night Front Page Detective Not for Publication
51 television programs and 5 television genres
action count
action union
action filter_type
action find_reverse
entity DuMont Television Network
relation original network
type television program
action filter_type
action find_reverse
entity DuMont Television Network
relation original network
type television genre
[{'concept': 'television program'}, 'original network', 'DuMont Television Network'] [{'concept': 'television genre'}, 'original network', 'DuMont Television Network'] [{'concept': 'television program'}, 'original network', 'DuMont Television Network'] [{'concept': 'television genre'}, 'original network', 'DuMont Television Network']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:original_network resource:DuMont_Television_Network . ?h rdf:type ontology:television_program } UNION { ?h property:original_network resource:DuMont_Television_Network . ?h rdf:type ontology:television_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4740856
P452
Q8148
USER
What industry does Amazon Video belong to ?
(Q4740856,P452,c(Q8148))
action filter_type
action find
entity Q4740856
relation P452
type Q8148
['Q4740856', 'P452', {'concept': 'Q8148'}]
SELECT DISTINCT ?o WHERE { resource:Q4740856 property:P452 ?o . ?o rdf:type ontology:Q8148 }
Amazon Video
action filter_type
action find
entity Amazon Video
relation industry
type industry
['Amazon Video', 'industry', {'concept': 'industry'}]
SELECT DISTINCT ?o WHERE { resource:Amazon_Video property:industry ?o . ?o rdf:type ontology:industry }
[]
industry
Q484847
SYSTEM
e-commerce
Q484847
(Q4740856,P452,c(Q8148))
action filter_type
action find
entity Q4740856
relation P452
type Q8148
Amazon Video belongs to [ANSWER]
['Q4740856', 'P452', {'concept': 'Q8148'}]
SELECT DISTINCT ?o WHERE { resource:Q4740856 property:P452 ?o . ?o rdf:type ontology:Q8148 }
e-commerce
Amazon Video belongs to e-commerce
e-commerce
action filter_type
action find
entity Amazon Video
relation industry
type industry
['Amazon Video', 'industry', {'concept': 'industry'}]
SELECT DISTINCT ?o WHERE { resource:Amazon_Video property:industry ?o . ?o rdf:type ontology:industry }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1107679
Q8148
USER
And how about animation studio?
(Q1107679,P452,c(Q8148))
action filter_type
action find
entity Q1107679
relation P452
type Q8148
['Q1107679', 'P452', {'concept': 'Q8148'}]
SELECT DISTINCT ?m WHERE { resource:Q1107679 property:P452 ?m . ?m rdf:type ontology:Q8148 }
animation studio
action filter_type
action find
entity animation studio
relation industry
type industry
['animation studio', 'industry', {'concept': 'industry'}]
SELECT DISTINCT ?m WHERE { resource:animation_studio property:industry ?m . ?m rdf:type ontology:industry }
[]
industry
Q11425
SYSTEM
animation
Q11425
(Q1107679,P452,c(Q8148))
action filter_type
action find
entity Q1107679
relation P452
type Q8148
[ANSWER]
['Q1107679', 'P452', {'concept': 'Q8148'}]
SELECT DISTINCT ?m WHERE { resource:Q1107679 property:P452 ?m . ?m rdf:type ontology:Q8148 }
animation
animation
action filter_type
action find
entity animation studio
relation industry
type industry
['animation studio', 'industry', {'concept': 'industry'}]
SELECT DISTINCT ?m WHERE { resource:animation_studio property:industry ?m . ?m rdf:type ontology:industry }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11425 Q1031002
P136
Q15416
USER
Does The Adventures of Tintin a that industry as its class ?
(Q1031002,P136,Q11425)
action is_in
entity Q11425
action find
entity Q1031002
relation P136
['Q1031002', 'P136', 'Q11425']
ASK WHERE { resource:Q1031002 property:P136 resource:Q11425 }
animation The Adventures of Tintin
action is_in
entity animation
action find
entity The Adventures of Tintin
relation genre
['The Adventures of Tintin', 'genre', 'animation']
ASK WHERE { resource:The_Adventures_of_Tintin property:genre resource:animation }
[]
television program
SYSTEM
YES
(Q1031002,P136,Q11425)
action is_in
entity Q11425
action find
entity Q1031002
relation P136
[ANSWER]
['Q1031002', 'P136', 'Q11425']
ASK WHERE { resource:Q1031002 property:P136 resource:Q11425 }
Yes
action is_in
entity animation
action find
entity The Adventures of Tintin
relation genre
['The Adventures of Tintin', 'genre', 'animation']
ASK WHERE { resource:The_Adventures_of_Tintin property:genre resource:animation }
[]