Simple Question (Direct)
Simple Question
Q234076
P26
Q502895
USER
Who are married to Rosie Perez ?
(Q234076,P26,c(Q502895))
action filter_type
action find
entity Q234076
relation P26
type Q502895
['Q234076', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q234076 property:P26 ?q }
Rosie Perez
action filter_type
action find
entity Rosie Perez
relation spouse
type common name
['Rosie Perez', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Rosie_Perez property:spouse ?q }
[]
common name
Q7456642 Q5386694
SYSTEM
Seth Zvi Rosenfeld, Eric Haze
Q7456642 Q5386694
(Q234076,P26,c(Q502895))
action filter_type
action find
entity Q234076
relation P26
type Q502895
[ANSWERS] are married to Rosie Perez
['Q234076', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q234076 property:P26 ?q }
Seth Zvi Rosenfeld Eric Haze
Seth Zvi Rosenfeld and Eric Haze are married to Rosie Perez
Seth Zvi Rosenfeld Eric Haze
action filter_type
action find
entity Rosie Perez
relation spouse
type common name
['Rosie Perez', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Rosie_Perez property:spouse ?q }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7456642 Q5386694
P26
Q502895
USER
Which people are married to those ones ?
(c(Q502895),P26,Q7456642) (c(Q502895),P26,Q5386694)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7456642'] [{'concept': 'Q502895'}, 'P26', 'Q5386694']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Q7456642 ) ( resource:Q5386694 ) } . ?c property:P26 ?x . ?x rdf:type ontology:Q502895 }
Seth Zvi Rosenfeld Eric Haze
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Seth Zvi Rosenfeld'] [{'concept': 'common name'}, 'spouse', 'Eric Haze']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Seth_Zvi_Rosenfeld ) ( resource:Eric_Haze ) } . ?c property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Q234076
SYSTEM
Rosie Perez
Q234076
(c(Q502895),P26,Q7456642) (c(Q502895),P26,Q5386694)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWER] is married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q7456642'] [{'concept': 'Q502895'}, 'P26', 'Q5386694']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Q7456642 ) ( resource:Q5386694 ) } . ?c property:P26 ?x . ?x rdf:type ontology:Q502895 }
Rosie Perez
Rosie Perez is married to those ones
Rosie Perez
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Seth Zvi Rosenfeld'] [{'concept': 'common name'}, 'spouse', 'Eric Haze']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Seth_Zvi_Rosenfeld ) ( resource:Eric_Haze ) } . ?c property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234076
P1346
Q4220917
USER
Where was that person decalred as a champion ?
(c(Q4220917),P1346,Q234076)
action filter_type
action find_reverse
entity Q234076
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q234076']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4220917 . ?q property:P1346 resource:Q234076 }
Rosie Perez
action filter_type
action find_reverse
entity Rosie Perez
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Rosie Perez']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:film_award . ?q property:winner resource:Rosie_Perez }
[]
film award
Q894598
SYSTEM
Boston Society of Film Critics Award for Best Supporting Actress
Q894598
(c(Q4220917),P1346,Q234076)
action filter_type
action find_reverse
entity Q234076
relation P1346
type Q4220917
The [ANSWER] that person was decalred as a champion
[{'concept': 'Q4220917'}, 'P1346', 'Q234076']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4220917 . ?q property:P1346 resource:Q234076 }
Boston Society of Film Critics Award for Best Supporting Actress
The Boston Society of Film Critics Award for Best Supporting Actress that person was decalred as a champion
Boston Society of Film Critics Award for Best Supporting Actress
action filter_type
action find_reverse
entity Rosie Perez
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Rosie Perez']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:film_award . ?q property:winner resource:Rosie_Perez }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q4220917 Q502895 Q838948
USER
Which film awards were max number of people or works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q4220917))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { { ?q rdf:type ontology:Q4220917 . ?k rdf:type ontology:Q838948 . ?k property:P1411 ?q } UNION { ?k property:P1411 ?q . ?q rdf:type ontology:Q4220917 . ?k rdf:type ontology:Q502895 } } GROUP BY ?q } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?n } }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { { ?q rdf:type ontology:film_award . ?k rdf:type ontology:work_of_art . ?k property:nominated_for ?q } UNION { ?k property:nominated_for ?q . ?q rdf:type ontology:film_award . ?k rdf:type ontology:common_name } } GROUP BY ?q } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?n } }
[]
film award common name work of art
Q830079
SYSTEM
Academy Award for Best Sound Mixing
Q830079
(c(Q502895)|c(Q838948),P1411,c(Q4220917))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
[ANSWER] was max number of people or works of art nominated for
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { { ?q rdf:type ontology:Q4220917 . ?k rdf:type ontology:Q838948 . ?k property:P1411 ?q } UNION { ?k property:P1411 ?q . ?q rdf:type ontology:Q4220917 . ?k rdf:type ontology:Q502895 } } GROUP BY ?q } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?n } }
Academy Award for Best Sound Mixing
Academy Award for Best Sound Mixing was max number of people or works of art nominated for
Academy Award for Best Sound Mixing
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { { ?q rdf:type ontology:film_award . ?k rdf:type ontology:work_of_art . ?k property:nominated_for ?q } UNION { ?k property:nominated_for ?q . ?q rdf:type ontology:film_award . ?k rdf:type ontology:common_name } } GROUP BY ?q } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1411
Q15416 Q11424
USER
How many television programs and films received nomination for that film award ?
(c(Q15416),P1411,Q830079) (c(Q11424),P1411,Q830079) (c(Q15416),P1411,Q830079) (c(Q11424),P1411,Q830079)
action count
action union
action filter_type
action find_reverse
entity Q830079
relation P1411
type Q15416
action filter_type
action find_reverse
entity Q830079
relation P1411
type Q11424
[{'concept': 'Q15416'}, 'P1411', 'Q830079'] [{'concept': 'Q11424'}, 'P1411', 'Q830079'] [{'concept': 'Q15416'}, 'P1411', 'Q830079'] [{'concept': 'Q11424'}, 'P1411', 'Q830079']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:P1411 resource:Q830079 . ?s rdf:type ontology:Q11424 } UNION { ?s rdf:type ontology:Q15416 . ?s property:P1411 resource:Q830079 } }
action count
action union
action filter_type
action find_reverse
entity Academy Award for Best Sound Mixing
relation nominated for
type television program
action filter_type
action find_reverse
entity Academy Award for Best Sound Mixing
relation nominated for
type film
[{'concept': 'television program'}, 'nominated for', 'Academy Award for Best Sound Mixing'] [{'concept': 'film'}, 'nominated for', 'Academy Award for Best Sound Mixing'] [{'concept': 'television program'}, 'nominated for', 'Academy Award for Best Sound Mixing'] [{'concept': 'film'}, 'nominated for', 'Academy Award for Best Sound Mixing']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:nominated_for resource:Academy_Award_for_Best_Sound_Mixing . ?s rdf:type ontology:film } UNION { ?s rdf:type ontology:television_program . ?s property:nominated_for resource:Academy_Award_for_Best_Sound_Mixing } }
[]
television program film
SYSTEM
1 television programs and 6 films
Q215518 Q736731 Q43051 Q62730 Q191753 Q842306 Q179673
(c(Q15416),P1411,Q830079) (c(Q11424),P1411,Q830079) (c(Q15416),P1411,Q830079) (c(Q11424),P1411,Q830079)
action count
action union
action filter_type
action find_reverse
entity Q830079
relation P1411
type Q15416
action filter_type
action find_reverse
entity Q830079
relation P1411
type Q11424
[ANSWER]
[{'concept': 'Q15416'}, 'P1411', 'Q830079'] [{'concept': 'Q11424'}, 'P1411', 'Q830079'] [{'concept': 'Q15416'}, 'P1411', 'Q830079'] [{'concept': 'Q11424'}, 'P1411', 'Q830079']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:P1411 resource:Q830079 . ?s rdf:type ontology:Q11424 } UNION { ?s rdf:type ontology:Q15416 . ?s property:P1411 resource:Q830079 } }
Aladdin The Three Caballeros Bambi Das Boot Cinderella Saludos Amigos Beauty and the Beast
1 television programs and 6 films
action count
action union
action filter_type
action find_reverse
entity Academy Award for Best Sound Mixing
relation nominated for
type television program
action filter_type
action find_reverse
entity Academy Award for Best Sound Mixing
relation nominated for
type film
[{'concept': 'television program'}, 'nominated for', 'Academy Award for Best Sound Mixing'] [{'concept': 'film'}, 'nominated for', 'Academy Award for Best Sound Mixing'] [{'concept': 'television program'}, 'nominated for', 'Academy Award for Best Sound Mixing'] [{'concept': 'film'}, 'nominated for', 'Academy Award for Best Sound Mixing']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { ?s property:nominated_for resource:Academy_Award_for_Best_Sound_Mixing . ?s rdf:type ontology:film } UNION { ?s rdf:type ontology:television_program . ?s property:nominated_for resource:Academy_Award_for_Best_Sound_Mixing } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7456642
P58
Q838948
USER
Which work of art is Seth Zvi Rosenfeld a screenwriter of ?
(c(Q838948),P58,Q7456642)
action filter_type
action find_reverse
entity Q7456642
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q7456642']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P58 resource:Q7456642 }
Seth Zvi Rosenfeld
action filter_type
action find_reverse
entity Seth Zvi Rosenfeld
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Seth Zvi Rosenfeld']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:screenwriter resource:Seth_Zvi_Rosenfeld }
[]
work of art
Q1742088
SYSTEM
King of the Jungle
Q1742088
(c(Q838948),P58,Q7456642)
action filter_type
action find_reverse
entity Q7456642
relation P58
type Q838948
[ANSWER] is Seth Zvi Rosenfeld a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q7456642']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P58 resource:Q7456642 }
King of the Jungle
King of the Jungle is Seth Zvi Rosenfeld a screenwriter of
King of the Jungle
action filter_type
action find_reverse
entity Seth Zvi Rosenfeld
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Seth Zvi Rosenfeld']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:screenwriter resource:Seth_Zvi_Rosenfeld }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234076
P161
Q838948
USER
Which works of art have Rosie Perez in their star cast ?
(c(Q838948),P161,Q234076)
action filter_type
action find_reverse
entity Q234076
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q234076']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q234076 . ?d rdf:type ontology:Q838948 }
Rosie Perez
action filter_type
action find_reverse
entity Rosie Perez
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Rosie Perez']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Rosie_Perez . ?d rdf:type ontology:work_of_art }
[]
work of art
Q1141252 Q16619265 Q506279
SYSTEM
Do the Right Thing, Pitch Perfect 2, Night on Earth
Q4020750 Q1313530 Q485610 Q7711838 Q1141252 Q1702797 Q376807 Q222868 Q16619265 Q506279 Q3489796 Q255742 Q7767918 Q686168 Q3061599 Q2060121 Q866358 Q12125310 Q7905675 Q1515221 Q1742088
(c(Q838948),P161,Q234076)
action filter_type
action find_reverse
entity Q234076
relation P161
type Q838948
[ANSWERS] have Rosie Perez in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q234076']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q234076 . ?d rdf:type ontology:Q838948 }
Won't Back Down Riding in Cars with Boys Pineapple Express The 24 Hour Woman Do the Right Thing Perdita Durango The Other Guys It Could Happen to You Pitch Perfect 2 Night on Earth Somebody to Love Fearless The Take White Men Can't Jump The Counselor Untamed Heart The Road to El Dorado Just Like the Son V-Day: Until the Violence Stops Human Nature King of the Jungle
Do the Right Thing, Pitch Perfect 2 and Night on Earth have Rosie Perez in their star cast
Do the Right Thing Pitch Perfect 2 Night on Earth
action filter_type
action find_reverse
entity Rosie Perez
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Rosie Perez']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Rosie_Perez . ?d rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1141252
P86
Q502895
USER
Which person composed that work of art ?
(Q1141252,P86,c(Q502895))
action filter_type
action find
entity Q1141252
relation P86
type Q502895
['Q1141252', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1141252 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Do the Right Thing
action filter_type
action find
entity Do the Right Thing
relation composer
type common name
['Do the Right Thing', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Do_the_Right_Thing property:composer ?q . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q506279
SYSTEM
Did you mean Night on Earth ?
Q1141252 Q16619265 Q506279
(Q1141252,P86,c(Q502895)) (Q16619265,P86,c(Q502895)) (Q506279,P86,c(Q502895))
[ANSWER]
['Q1141252', 'P86', {'concept': 'Q502895'}] ['Q16619265', 'P86', {'concept': 'Q502895'}] ['Q506279', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1141252 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Do the Right Thing Pitch Perfect 2 Night on Earth
Did you mean Night on Earth ?
Night on Earth
['Do the Right Thing', 'composer', {'concept': 'common name'}] ['Pitch Perfect 2', 'composer', {'concept': 'common name'}] ['Night on Earth', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Do_the_Right_Thing property:composer ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Do the Right Thing. Could you tell me the answer for that?
(Q1141252,P86,c(Q502895))
Q1141252
['Q1141252', 'P86', {'concept': 'Q502895'}]
['Do the Right Thing', 'composer', {'concept': 'common name'}]
[]
Q862263
SYSTEM
Bill Lee
Q862263
(Q1141252,P86,c(Q502895))
action filter_type
action find
entity Q1141252
relation P86
type Q502895
[ANSWER] composed that work of art
['Q1141252', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1141252 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Bill Lee
Bill Lee composed that work of art
Bill Lee
action filter_type
action find
entity Do the Right Thing
relation composer
type common name
['Do the Right Thing', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Do_the_Right_Thing property:composer ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1141252
P161
Q502895
USER
How many people starred in Do the Right Thing ?
(Q1141252,P161,c(Q502895))
action count
action filter_type
action find
entity Q1141252
relation P161
type Q502895
['Q1141252', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q1141252 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Do the Right Thing
action count
action filter_type
action find
entity Do the Right Thing
relation cast member
type common name
['Do the Right Thing', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Do_the_Right_Thing property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
28
Q371932 Q299314 Q726142 Q51566 Q935122 Q244234 Q7328281 Q17386521 Q5388553 Q172678 Q943589 Q515632 Q3038551 Q183542 Q279834 Q7614283 Q234076 Q2104970 Q7613550 Q249865 Q463407 Q3940081 Q1377218 Q234360 Q7331187 Q430849 Q2342292 Q7352452
(Q1141252,P161,c(Q502895))
action count
action filter_type
action find
entity Q1141252
relation P161
type Q502895
[ANSWER]
['Q1141252', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q1141252 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Shawn Elliott Danny Aiello Giancarlo Esposito Spike Lee Miguel Sandoval John Turturro Richard Parnell Habersham Garry Pastore Erik Dellums Samuel L. Jackson Frankie Faison Ossie Davis Paul Benjamin Martin Lawrence Bill Nunn Steve White Rosie Perez Luis Antonio Ramos Steve Park John Savage Frank Vincent Roger Guenveur Smith Richard Edson Ruby Dee Rick Aiello Joie Lee Nicholas Turturro Robin Harris
28
action count
action filter_type
action find
entity Do the Right Thing
relation cast member
type common name
['Do the Right Thing', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Do_the_Right_Thing property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21600374
P449
Q4830453
USER
Which business enterprise is the original network La Leona was aired on ?
(Q21600374,P449,c(Q4830453))
action filter_type
action find
entity Q21600374
relation P449
type Q4830453
['Q21600374', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?o WHERE { resource:Q21600374 property:P449 ?o . ?o rdf:type ontology:Q4830453 }
La Leona
action filter_type
action find
entity La Leona
relation original network
type business enterprise
['La Leona', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?o WHERE { resource:La_Leona property:original_network ?o . ?o rdf:type ontology:business_enterprise }
[]
business enterprise
Q1143518
SYSTEM
Telefe
Q1143518
(Q21600374,P449,c(Q4830453))
action filter_type
action find
entity Q21600374
relation P449
type Q4830453
[ANSWER] is the original network La Leona was aired on
['Q21600374', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?o WHERE { resource:Q21600374 property:P449 ?o . ?o rdf:type ontology:Q4830453 }
Telefe
Telefe is the original network La Leona was aired on
Telefe
action filter_type
action find
entity La Leona
relation original network
type business enterprise
['La Leona', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?o WHERE { resource:La_Leona property:original_network ?o . ?o rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234076
P106
Q28640
USER
Which profession has Rosie Perez as his/her 's career ?
(Q234076,P106,c(Q28640))
action filter_type
action find
entity Q234076
relation P106
type Q28640
['Q234076', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?l WHERE { resource:Q234076 property:P106 ?l . ?l rdf:type ontology:Q28640 }
Rosie Perez
action filter_type
action find
entity Rosie Perez
relation occupation
type profession
['Rosie Perez', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?l WHERE { resource:Rosie_Perez property:occupation ?l . ?l rdf:type ontology:profession }
[]
profession
Q10800557
SYSTEM
film actor
Q10800557
(Q234076,P106,c(Q28640))
action filter_type
action find
entity Q234076
relation P106
type Q28640
The [ANSWER] has Rosie Perez as his/her 's career
['Q234076', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?l WHERE { resource:Q234076 property:P106 ?l . ?l rdf:type ontology:Q28640 }
film actor
The film actor has Rosie Perez as his/her 's career
film actor
action filter_type
action find
entity Rosie Perez
relation occupation
type profession
['Rosie Perez', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?l WHERE { resource:Rosie_Perez property:occupation ?l . ?l rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2311258
Q28640
USER
And how about Poncke Princen?
(Q2311258,P106,c(Q28640))
action filter_type
action find
entity Q2311258
relation P106
type Q28640
['Q2311258', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q2311258 property:P106 ?c . ?c rdf:type ontology:Q28640 }
Poncke Princen
action filter_type
action find
entity Poncke Princen
relation occupation
type profession
['Poncke Princen', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:Poncke_Princen property:occupation ?c . ?c rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q2311258,P106,c(Q28640))
action filter_type
action find
entity Q2311258
relation P106
type Q28640
[ANSWER]
['Q2311258', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q2311258 property:P106 ?c . ?c rdf:type ontology:Q28640 }
lawyer
lawyer
action filter_type
action find
entity Poncke Princen
relation occupation
type profession
['Poncke Princen', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:Poncke_Princen property:occupation ?c . ?c rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1141252
P1040
Q502895
USER
Which person is the editor of Do the Right Thing ?
(Q1141252,P1040,c(Q502895))
action filter_type
action find
entity Q1141252
relation P1040
type Q502895
['Q1141252', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q1141252 property:P1040 ?g }
Do the Right Thing
action filter_type
action find
entity Do the Right Thing
relation film editor
type common name
['Do the Right Thing', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Do_the_Right_Thing property:film_editor ?g }
[]
common name
Q4863958
SYSTEM
Barry Alexander Brown
Q4863958
(Q1141252,P1040,c(Q502895))
action filter_type
action find
entity Q1141252
relation P1040
type Q502895
[ANSWER] is the editor of Do the Right Thing
['Q1141252', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q1141252 property:P1040 ?g }
Barry Alexander Brown
Barry Alexander Brown is the editor of Do the Right Thing
Barry Alexander Brown
action filter_type
action find
entity Do the Right Thing
relation film editor
type common name
['Do the Right Thing', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Do_the_Right_Thing property:film_editor ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4863958
P162
Q838948
USER
Which work of art created that person ?
(c(Q838948),P162,Q4863958)
action filter_type
action find_reverse
entity Q4863958
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q4863958']
SELECT DISTINCT ?t WHERE { ?t property:P162 resource:Q4863958 . ?t rdf:type ontology:Q838948 }
Barry Alexander Brown
action filter_type
action find_reverse
entity Barry Alexander Brown
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Barry Alexander Brown']
SELECT DISTINCT ?t WHERE { ?t property:producer resource:Barry_Alexander_Brown . ?t rdf:type ontology:work_of_art }
[]
work of art
Q3523285
SYSTEM
The War at Home
Q3523285
(c(Q838948),P162,Q4863958)
action filter_type
action find_reverse
entity Q4863958
relation P162
type Q838948
The [ANSWER] created that person
[{'concept': 'Q838948'}, 'P162', 'Q4863958']
SELECT DISTINCT ?t WHERE { ?t property:P162 resource:Q4863958 . ?t rdf:type ontology:Q838948 }
The War at Home
The The War at Home created that person
The War at Home
action filter_type
action find_reverse
entity Barry Alexander Brown
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Barry Alexander Brown']
SELECT DISTINCT ?t WHERE { ?t property:producer resource:Barry_Alexander_Brown . ?t rdf:type ontology:work_of_art }
[]