Simple Question (Direct)
Simple Question
Q565518
P106
Q12737077
USER
Which occupations are the professions of Anne Lonnberg ?
(Q565518,P106,c(Q12737077))
action filter_type
action find
entity Q565518
relation P106
type Q12737077
['Q565518', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q565518 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Anne Lonnberg
action filter_type
action find
entity Anne Lonnberg
relation occupation
type occupation
['Anne Lonnberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Anne_Lonnberg property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999 Q177220
SYSTEM
television actor, actor, singer
Q10798782 Q33999 Q177220
(Q565518,P106,c(Q12737077))
action filter_type
action find
entity Q565518
relation P106
type Q12737077
The professions of Anne Lonnberg are [ANSWERS]
['Q565518', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q565518 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
television actor actor singer
The professions of Anne Lonnberg are television actor, actor and singer
television actor actor singer
action filter_type
action find
entity Anne Lonnberg
relation occupation
type occupation
['Anne Lonnberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Anne_Lonnberg property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33999
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q33999']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q33999 }
actor
action filter_type
action find_reverse
entity actor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'actor']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:position_held resource:actor }
[]
common name
Clarification for simple ques.
Q10798782
SYSTEM
Did you mean television actor ?
Q10798782 Q33999 Q177220
(c(Q502895),P39,Q10798782) (c(Q502895),P39,Q33999) (c(Q502895),P39,Q177220)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q10798782'] [{'concept': 'Q502895'}, 'P39', 'Q33999'] [{'concept': 'Q502895'}, 'P39', 'Q177220']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q33999 }
television actor actor singer
Did you mean television actor ?
television actor
[{'concept': 'common name'}, 'position held', 'television actor'] [{'concept': 'common name'}, 'position held', 'actor'] [{'concept': 'common name'}, 'position held', 'singer']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:position_held resource:actor }
[]
Simple Question (Coreferenced)
USER
No, I meant actor. Could you tell me the answer for that?
(c(Q502895),P39,Q33999)
Q33999
[{'concept': 'Q502895'}, 'P39', 'Q33999']
[{'concept': 'common name'}, 'position held', 'actor']
[]
Q3446637 Q19265224
SYSTEM
Ruddy Pomarède, Virginie Kartner
Q3446637 Q19265224
(c(Q502895),P39,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q33999']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q33999 }
Ruddy Pomarède Virginie Kartner
Ruddy Pomarède and Virginie Kartner were responsible for occupying the position of that occupation
Ruddy Pomarède Virginie Kartner
action filter_type
action find_reverse
entity actor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'actor']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:position_held resource:actor }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters had atmost 4 people as the dubbing artist ?
(c(Q95074),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:P725 ?s . ?w rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?t <= 4 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:voice_actor ?s . ?w rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?t <= 4 ) }
[]
common name fictional character
SYSTEM
42
Q16027672 Q21847055 Q3498590 Q308950 Q28465 Q551327 Q21837832 Q21847058 Q21847115 Q15710873 Q2442950 Q21847074 Q21837038 Q7828 Q3838346 Q2570349 Q8139731 Q247120 Q1529229 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q27493503 Q1984009 Q605125 Q21847105 Q3471289 Q21847103 Q5846 Q12400 Q7810 Q2725247 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:P725 ?s . ?w rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?t <= 4 ) }
Dr. Stewart Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Max Rockatansky Kōichirō Iketani Keisuke Takahashi Marge Simpson Lucas Spike Spiegel G-Man Neo Darkwing Duck Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Desoto Death GLaDOS Kenta Nakamura Samurai Goroh Shingo Shōji Lisa Simpson Samus Aran Homer Simpson Ness Captain Falcon
42
action count
action atmost
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?t ) WHERE { ?w property:voice_actor ?s . ?w rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?t <= 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33999
P921
Q838948
USER
What are actor a main subject of ?
(c(Q838948),P921,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q33999']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q33999 . ?t rdf:type ontology:Q838948 }
actor
action filter_type
action find_reverse
entity actor
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'actor']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:actor . ?t rdf:type ontology:work_of_art }
[]
work of art
Q1550654 Q5123703 Q3488987
SYSTEM
I Knew It Was You, City of God – 10 Years Later, Sois belle et tais-toi
Q7354481 Q1493156 Q6967915 Q17014102 Q16249471 Q6763489 Q6534023 Q7522740 Q3824444 Q19881856 Q6945014 Q479455 Q258126 Q5073244 Q10271690 Q3414468 Q15944402 Q6346446 Q2996397 Q4677083 Q1550654 Q3845638 Q7208837 Q18150884 Q4876099 Q3498669 Q17145438 Q4101775 Q5505677 Q7750101 Q7728271 Q15728502 Q19866616 Q4885932 Q6544705 Q6580816 Q5120735 Q18152725 Q18703492 Q611137 Q1999059 Q3488987 Q592300 Q7721295 Q151937 Q7644217 Q3369396 Q6690938 Q4877691 Q16250107 Q7711198 Q7680202 Q7232271 Q5123703 Q2928788 Q18150429 Q1145421 Q15052313 Q17426190 Q7774830
(c(Q838948),P921,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P921
type Q838948
Actor a main subject of are s [ANSWERS]
[{'concept': 'Q838948'}, 'P921', 'Q33999']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q33999 . ?t rdf:type ontology:Q838948 }
Rock Hudson's Home Movies Looking for Richard Nata Sarvabhouma To Be Takei Cooper & Hemingway: The True Gen Marilyn Leuchtturm des Chaos Sing Your Song The James Dean Story Winning: The Racing Life of Paul Newman My Big Break Marlene Traces of a Dragon Chaplinesque, My Life and Hard Times Elena Bruce Lee: A Warrior's Journey Chi Kage no Hikari A Conversation With Gregory Peck Action Boys I Knew It Was You Marcello Mastroianni: I Remember Pola Negri: Life Is a Dream in Cinema I Am Nancy Beah: A Black Woman Speaks Stephen Tobolowsky's Birthday Party That Guy Dick Miller Searching for Debra Winger From the Journals of Jean Seberg The Man in the Silk Hat The Cruise I Know That Voice The Racing Scene Ben Johnson: Third Cowboy on the Right Life After Tomorrow To Whom It May Concern: Ka Shen's Journey Cinema Is Everywhere Mind Meld: Secrets Behind the Voyage of a Life To Live for the Masses The Legend of Marilyn Monroe Jackie Chan: My Stunts Sois belle et tais-toi My Best Fiend The Captains My Date with Drew Superstar in a Housedress Patrick Dewaere Love Letter to Edie Beautiful Darling Elaine Stritch: Shoot Me That Guy... Who Was in That Thing Tally Brown, New York Portrait of Gina City of God – 10 Years Later Buster Keaton Rides Again The Green Girl Curtain Call I Am Divine Shooting Stars The Wild, Wild World of Jayne Mansfield
Actor a main subject of are s I Knew It Was You, City of God – 10 Years Later and Sois belle et tais-toi
I Knew It Was You City of God – 10 Years Later Sois belle et tais-toi
action filter_type
action find_reverse
entity actor
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'actor']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:actor . ?t rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1550654
P750
Q2001305
USER
Who distributes that work of art ?
(Q1550654,P750,c(Q2001305))
action filter_type
action find
entity Q1550654
relation P750
type Q2001305
['Q1550654', 'P750', {'concept': 'Q2001305'}]
SELECT DISTINCT ?s WHERE { resource:Q1550654 property:P750 ?s . ?s rdf:type ontology:Q2001305 }
I Knew It Was You
action filter_type
action find
entity I Knew It Was You
relation distributor
type television channel
['I Knew It Was You', 'distributor', {'concept': 'television channel'}]
SELECT DISTINCT ?s WHERE { resource:I_Knew_It_Was_You property:distributor ?s . ?s rdf:type ontology:television_channel }
[]
television channel
Clarification for simple ques.
Q1550654
SYSTEM
Did you mean I Knew It Was You ?
Q1550654 Q5123703 Q3488987
(Q1550654,P750,c(Q2001305)) (Q5123703,P750,c(Q2001305)) (Q3488987,P750,c(Q2001305))
[ANSWER]
['Q1550654', 'P750', {'concept': 'Q2001305'}] ['Q5123703', 'P750', {'concept': 'Q2001305'}] ['Q3488987', 'P750', {'concept': 'Q2001305'}]
SELECT DISTINCT ?s WHERE { resource:Q1550654 property:P750 ?s . ?s rdf:type ontology:Q2001305 }
I Knew It Was You City of God – 10 Years Later Sois belle et tais-toi
Did you mean I Knew It Was You ?
I Knew It Was You
['I Knew It Was You', 'distributor', {'concept': 'television channel'}] ['City of God – 10 Years Later', 'distributor', {'concept': 'television channel'}] ['Sois belle et tais-toi', 'distributor', {'concept': 'television channel'}]
SELECT DISTINCT ?s WHERE { resource:I_Knew_It_Was_You property:distributor ?s . ?s rdf:type ontology:television_channel }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1550654,P750,c(Q2001305))
['Q1550654', 'P750', {'concept': 'Q2001305'}]
['I Knew It Was You', 'distributor', {'concept': 'television channel'}]
[]
Q23633
SYSTEM
HBO
Q23633
(Q1550654,P750,c(Q2001305))
action filter_type
action find
entity Q1550654
relation P750
type Q2001305
[ANSWER] distributes that work of art
['Q1550654', 'P750', {'concept': 'Q2001305'}]
SELECT DISTINCT ?s WHERE { resource:Q1550654 property:P750 ?s . ?s rdf:type ontology:Q2001305 }
HBO
HBO distributes that work of art
HBO
action filter_type
action find
entity I Knew It Was You
relation distributor
type television channel
['I Knew It Was You', 'distributor', {'concept': 'television channel'}]
SELECT DISTINCT ?s WHERE { resource:I_Knew_It_Was_You property:distributor ?s . ?s rdf:type ontology:television_channel }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23633 Q30
P17
Q15617994
USER
Does that television channel belong to United States of America ?
(Q23633,P17,Q30)
action is_in
entity Q30
action find
entity Q23633
relation P17
['Q23633', 'P17', 'Q30']
ASK WHERE { resource:Q23633 property:P17 resource:Q30 }
HBO United States of America
action is_in
entity United States of America
action find
entity HBO
relation country
['HBO', 'country', 'United States of America']
ASK WHERE { resource:HBO property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q23633,P17,Q30)
action is_in
entity Q30
action find
entity Q23633
relation P17
[ANSWER]
['Q23633', 'P17', 'Q30']
ASK WHERE { resource:Q23633 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity HBO
relation country
['HBO', 'country', 'United States of America']
ASK WHERE { resource:HBO property:country resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23633
P127
Q1269299
USER
Who is the owner of that television channel ?
action filter_type
action find
entity Q23633
relation P127
type Q1269299
SELECT DISTINCT ?j WHERE { resource:Q23633 property:P127 ?j . ?j rdf:type ontology:Q1269299 }
HBO
action filter_type
action find
entity HBO
relation owned by
type type of business entity
SELECT DISTINCT ?j WHERE { resource:HBO property:owned_by ?j . ?j rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q191715
SYSTEM
Time Warner
Q191715
action filter_type
action find
entity Q23633
relation P127
type Q1269299
The owner of that television channel is [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q23633 property:P127 ?j . ?j rdf:type ontology:Q1269299 }
Time Warner
The owner of that television channel is Time Warner
Time Warner
action filter_type
action find
entity HBO
relation owned by
type type of business entity
SELECT DISTINCT ?j WHERE { resource:HBO property:owned_by ?j . ?j rdf:type ontology:type_of_business_entity }
[]