Simple Question (Direct)
Simple Question
Q230038
P69
Q163740
USER
What is the nonprofit organization where Kate Mulgrew was educated ?
(Q230038,P69,c(Q163740))
action filter_type
action find
entity Q230038
relation P69
type Q163740
['Q230038', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q230038 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Kate Mulgrew
action filter_type
action find
entity Kate Mulgrew
relation educated at
type nonprofit organization
['Kate Mulgrew', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Kate_Mulgrew property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49210
SYSTEM
New York University
Q49210
(Q230038,P69,c(Q163740))
action filter_type
action find
entity Q230038
relation P69
type Q163740
The nonprofit organization Kate Mulgrew was educated is at [ANSWER]
['Q230038', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q230038 property:P69 ?q . ?q rdf:type ontology:Q163740 }
New York University
The nonprofit organization Kate Mulgrew was educated is at New York University
New York University
action filter_type
action find
entity Kate Mulgrew
relation educated at
type nonprofit organization
['Kate Mulgrew', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Kate_Mulgrew property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230038
P161
Q15416
USER
Which television programs stars that person as actor ?
(c(Q15416),P161,Q49210)
action filter_type
action find_reverse
entity Q230038
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q49210']
SELECT DISTINCT ?z WHERE { ?z property:P161 resource:Q230038 . ?z rdf:type ontology:Q15416 }
Kate Mulgrew
action filter_type
action find_reverse
entity Kate Mulgrew
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'New York University']
SELECT DISTINCT ?z WHERE { ?z property:cast_member resource:Kate_Mulgrew . ?z rdf:type ontology:television_program }
[]
television program
Q156329 Q7099650 Q673517
SYSTEM
Star Trek: Voyager, Orange Is the New Black, Batman: The Animated Series
Q156329 Q673517 Q7099650 Q5207983 Q3730029 Q4660152
(c(Q15416),P161,Q49210)
action filter_type
action find_reverse
entity Q230038
relation P161
type Q15416
[ANSWERS] star that person as actor
[{'concept': 'Q15416'}, 'P161', 'Q49210']
SELECT DISTINCT ?z WHERE { ?z property:P161 resource:Q230038 . ?z rdf:type ontology:Q15416 }
Star Trek: Voyager Batman: The Animated Series Orange Is the New Black Daddy season 4 of Star Trek: Voyager A Time for Miracles
Star Trek: Voyager, Orange Is the New Black and Batman: The Animated Series star that person as actor
Star Trek: Voyager Orange Is the New Black Batman: The Animated Series
action filter_type
action find_reverse
entity Kate Mulgrew
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'New York University']
SELECT DISTINCT ?z WHERE { ?z property:cast_member resource:Kate_Mulgrew . ?z rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q156329 Q7099650 Q673517
P161
Q502895
USER
Which people are in Star Trek: Voyager, Orange Is the New Black and Batman: The Animated Series ?
(Q156329,P161,c(Q502895)) (Q7099650,P161,c(Q502895)) (Q673517,P161,c(Q502895))
action union
action filter_type
action find
entity Q156329
relation P161
type Q502895
action filter_type
action find
entity Q7099650
relation P161
type Q502895
action filter_type
action find
entity Q673517
relation P161
type Q502895
['Q156329', 'P161', {'concept': 'Q502895'}] ['Q7099650', 'P161', {'concept': 'Q502895'}] ['Q673517', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Q156329 ) ( resource:Q7099650 ) } . ?p property:P161 ?k }
Star Trek: Voyager Orange Is the New Black Batman: The Animated Series
action union
action filter_type
action find
entity Star Trek: Voyager
relation cast member
type common name
action filter_type
action find
entity Orange Is the New Black
relation cast member
type common name
action filter_type
action find
entity Batman: The Animated Series
relation cast member
type common name
['Star Trek: Voyager', 'cast member', {'concept': 'common name'}] ['Orange Is the New Black', 'cast member', {'concept': 'common name'}] ['Batman: The Animated Series', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Star_Trek:_Voyager ) ( resource:Orange_Is_the_New_Black ) } . ?p property:cast_member ?k }
[]
common name
Q57464 Q316641 Q550778
SYSTEM
Abdullah II of Jordan, Joel Grey, John de Lancie
Q367549 Q277099 Q437693 Q57464 Q1891371 Q692800 Q316641 Q442453 Q297552 Q229784 Q445253 Q272020 Q2642039 Q317228 Q508333 Q538129 Q1384181 Q236809 Q2571025 Q530646 Q253977 Q230038 Q452232 Q313789 Q435475 Q249865 Q10738 Q266814 Q311754 Q550778 Q464425 Q329734 Q229013 Q551354 Q324114 Q6288759 Q1964497 Q16455 Q14941915 Q17182925 Q18619863 Q237669 Q6502596 Q16727679 Q314421 Q269843 Q3339792 Q16752050 Q234207 Q16729989 Q20974012 Q460786 Q230038 Q16832285 Q3228613 Q2658535 Q171567 Q15637668 Q14918002 Q281621 Q94358 Q1384373 Q927415 Q1278666 Q3625640 Q2913571 Q363271 Q981647 Q283988 Q19573439 Q454119 Q210447 Q333190 Q220698 Q230929 Q253561 Q2617640 Q182464 Q1889355 Q1276579 Q698155 Q230038 Q7297265 Q132217 Q461264 Q3026244
(Q156329,P161,c(Q502895)) (Q7099650,P161,c(Q502895)) (Q673517,P161,c(Q502895))
action union
action filter_type
action find
entity Q156329
relation P161
type Q502895
action filter_type
action find
entity Q7099650
relation P161
type Q502895
action filter_type
action find
entity Q673517
relation P161
type Q502895
[ANSWERS] are in Star Trek: Voyager, Orange Is the New Black and Batman: The Animated Series
['Q156329', 'P161', {'concept': 'Q502895'}] ['Q7099650', 'P161', {'concept': 'Q502895'}] ['Q673517', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Q156329 ) ( resource:Q7099650 ) } . ?p property:P161 ?k }
Robert Beltran Raphael Sbarge Titus Welliver Abdullah II of Jordan Manu Intiraymi Ray Walston Joel Grey Scarlett Pomers Tom Morello Virginia Madsen David Graf Jennifer Lien Alexander Enberg Kurtwood Smith Robert Duncan McNeill Martha Hackett Michael McKean Jeri Ryan Gary Graham Ray Wise Roxann Dawson Kate Mulgrew Tim Russ Robert Picardo Ethan Phillips John Savage Dwayne Johnson Sharon Lawrence Jason Alexander John de Lancie Ed Begley, Jr. Brad Dourif Sarah Silverman Garrett Wang Scott Thompson Josh Clark Nancy Hower John Rhys-Davies Uzo Aduba Dascha Polanco Adrienne C. Moore Taryn Manning Laverne Cox Danielle Brooks Jason Biggs Taylor Schilling Nick Sandow Yael Stone Natasha Lyonne Michelle Hurst Jackie Cruz Lorraine Toussaint Kate Mulgrew Samira Wiley Lea DeLaria Selenis Leyva Laura Prepon Barbara Rosenblat Michael Harney John Glover Arleen Sorkin Henry Silva Paul Williams Bruce Weitz Loren Lester Alison LaPlaca David Warner Richard Moll Roddy McDowall Ingrid Oliu Julie Brown Mark Hamill Vincent Schiavelli Ron Perlman Melissa Gilbert Adrienne Barbeau Bob Hastings Marc Singer Robert Costanzo Michael Ansara Aron Kincaid Kate Mulgrew Ray Buktenica George Murdock Kevin Conroy Diane Pershing
Abdullah II of Jordan, Joel Grey and John de Lancie are in Star Trek: Voyager, Orange Is the New Black and Batman: The Animated Series
Abdullah II of Jordan Joel Grey John de Lancie
action union
action filter_type
action find
entity Star Trek: Voyager
relation cast member
type common name
action filter_type
action find
entity Orange Is the New Black
relation cast member
type common name
action filter_type
action find
entity Batman: The Animated Series
relation cast member
type common name
['Star Trek: Voyager', 'cast member', {'concept': 'common name'}] ['Orange Is the New Black', 'cast member', {'concept': 'common name'}] ['Batman: The Animated Series', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Star_Trek:_Voyager ) ( resource:Orange_Is_the_New_Black ) } . ?p property:cast_member ?k }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q57464 Q316641 Q550778
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q57464) (c(Q502895),P40,Q316641) (c(Q502895),P40,Q550778)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q57464'] [{'concept': 'Q502895'}, 'P40', 'Q316641'] [{'concept': 'Q502895'}, 'P40', 'Q550778']
SELECT DISTINCT ?x WHERE { ?x property:P40 ?s . ?x rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q367549 ) ( resource:Q277099 ) ( resource:Q437693 ) } }
Abdullah II of Jordan Joel Grey John de Lancie
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Abdullah II of Jordan'] [{'concept': 'common name'}, 'child', 'Joel Grey'] [{'concept': 'common name'}, 'child', 'John de Lancie']
SELECT DISTINCT ?x WHERE { ?x property:child ?s . ?x rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:Robert_Beltran ) ( resource:Raphael_Sbarge ) ( resource:Titus_Welliver ) } }
[]
common name
Q146906 Q269898 Q6838676
SYSTEM
Hussein of Jordan, Princess Muna al-Hussein, Mickey Katz
Q269898 Q146906 Q6838676 Q3182814
(c(Q502895),P40,Q57464) (c(Q502895),P40,Q316641) (c(Q502895),P40,Q550778)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q57464'] [{'concept': 'Q502895'}, 'P40', 'Q316641'] [{'concept': 'Q502895'}, 'P40', 'Q550778']
SELECT DISTINCT ?x WHERE { ?x property:P40 ?s . ?x rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q367549 ) ( resource:Q277099 ) ( resource:Q437693 ) } }
Princess Muna al-Hussein Hussein of Jordan Mickey Katz John de Lancie
Hussein of Jordan, Princess Muna al-Hussein and Mickey Katz have those ones as a child
Hussein of Jordan Princess Muna al-Hussein Mickey Katz
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Abdullah II of Jordan'] [{'concept': 'common name'}, 'child', 'Joel Grey'] [{'concept': 'common name'}, 'child', 'John de Lancie']
SELECT DISTINCT ?x WHERE { ?x property:child ?s . ?x rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:Robert_Beltran ) ( resource:Raphael_Sbarge ) ( resource:Titus_Welliver ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q146906
P26
Q502895
USER
Who are the spouse of Hussein of Jordan ?
(c(Q502895),P26,Q146906)
action filter_type
action find
entity Q146906
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q146906']
SELECT DISTINCT ?l WHERE { resource:Q146906 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Hussein of Jordan
action filter_type
action find
entity Hussein of Jordan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hussein of Jordan']
SELECT DISTINCT ?l WHERE { resource:Hussein_of_Jordan property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q240575 Q269898 Q269437
SYSTEM
Queen Noor of Jordan, Princess Muna al-Hussein, Alia al-Hussein
Q240575 Q269898 Q269437 Q2914726
(c(Q502895),P26,Q146906)
action filter_type
action find
entity Q146906
relation P26
type Q502895
The spouse of Hussein of Jordan are the [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q146906']
SELECT DISTINCT ?l WHERE { resource:Q146906 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Queen Noor of Jordan Princess Muna al-Hussein Alia al-Hussein Dina bint 'Abdu'l-Hamid
The spouse of Hussein of Jordan are the Queen Noor of Jordan, Princess Muna al-Hussein and Alia al-Hussein
Queen Noor of Jordan Princess Muna al-Hussein Alia al-Hussein
action filter_type
action find
entity Hussein of Jordan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hussein of Jordan']
SELECT DISTINCT ?l WHERE { resource:Hussein_of_Jordan property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q269898
P25
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P25,Q269898)
action filter_type
action find_reverse
entity Q269898
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q269898']
SELECT DISTINCT ?b WHERE { ?b property:P25 resource:Q269898 . ?b rdf:type ontology:Q502895 }
Princess Muna al-Hussein
action filter_type
action find_reverse
entity Princess Muna al-Hussein
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Muna al-Hussein']
SELECT DISTINCT ?b WHERE { ?b property:mother resource:Princess_Muna_al-Hussein . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q240575
SYSTEM
Did you mean Queen Noor of Jordan ?
Q240575 Q269898 Q269437
(c(Q502895),P25,Q240575) (c(Q502895),P25,Q269898) (c(Q502895),P25,Q269437)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q240575'] [{'concept': 'Q502895'}, 'P25', 'Q269898'] [{'concept': 'Q502895'}, 'P25', 'Q269437']
SELECT DISTINCT ?b WHERE { ?b property:P25 resource:Q269898 . ?b rdf:type ontology:Q502895 }
Queen Noor of Jordan Princess Muna al-Hussein Alia al-Hussein
Did you mean Queen Noor of Jordan ?
Queen Noor of Jordan
[{'concept': 'common name'}, 'mother', 'Queen Noor of Jordan'] [{'concept': 'common name'}, 'mother', 'Princess Muna al-Hussein'] [{'concept': 'common name'}, 'mother', 'Alia al-Hussein']
SELECT DISTINCT ?b WHERE { ?b property:mother resource:Princess_Muna_al-Hussein . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Princess Muna al-Hussein. Could you tell me the answer for that?
(c(Q502895),P25,Q269898)
Q269898
[{'concept': 'Q502895'}, 'P25', 'Q269898']
[{'concept': 'common name'}, 'mother', 'Princess Muna al-Hussein']
[]
Q461192 Q7244519 Q57464
SYSTEM
Prince Faisal bin Al Hussein, Princess Aisha bint Al Hussein, Abdullah II of Jordan
Q7244873 Q461192 Q7244519 Q57464
(c(Q502895),P25,Q269898)
action filter_type
action find_reverse
entity Q269898
relation P25
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P25', 'Q269898']
SELECT DISTINCT ?b WHERE { ?b property:P25 resource:Q269898 . ?b rdf:type ontology:Q502895 }
Princess Zein bint Al Hussein Prince Faisal bin Al Hussein Princess Aisha bint Al Hussein Abdullah II of Jordan
Prince Faisal bin Al Hussein, Princess Aisha bint Al Hussein and Abdullah II of Jordan have that one as a parent
Prince Faisal bin Al Hussein Princess Aisha bint Al Hussein Abdullah II of Jordan
action filter_type
action find_reverse
entity Princess Muna al-Hussein
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Muna al-Hussein']
SELECT DISTINCT ?b WHERE { ?b property:mother resource:Princess_Muna_al-Hussein . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q269898
P40
Q502895
USER
Do Princess Muna al-Hussein have those ones as an offspring ?
(Q269898,P40,Q461192) (Q269898,P40,Q7244519) (Q269898,P40,Q57464)
action is_in
entity prev_answer
action find
entity Q269898
relation P40
['Q269898', 'P40', 'Q461192'] ['Q269898', 'P40', 'Q7244519'] ['Q269898', 'P40', 'Q57464']
ASK WHERE { resource:Q269898 property:P40 ?f . VALUES ( ?f ) { ( resource:Q7244873 ) ( resource:Q461192 ) ( resource:Q7244519 ) } }
Princess Muna al-Hussein
action is_in
entity prev_answer
action find
entity Princess Muna al-Hussein
relation child
['Princess Muna al-Hussein', 'child', 'Prince Faisal bin Al Hussein'] ['Princess Muna al-Hussein', 'child', 'Princess Aisha bint Al Hussein'] ['Princess Muna al-Hussein', 'child', 'Abdullah II of Jordan']
ASK WHERE { resource:Princess_Muna_al-Hussein property:child ?f . VALUES ( ?f ) { ( resource:Princess_Zein_bint_Al_Hussein ) ( resource:Prince_Faisal_bin_Al_Hussein ) ( resource:Princess_Aisha_bint_Al_Hussein ) } }
[]
common name
SYSTEM
YES
(Q269898,P40,Q461192) (Q269898,P40,Q7244519) (Q269898,P40,Q57464)
action is_in
entity prev_answer
action find
entity Q269898
relation P40
[ANSWER]
['Q269898', 'P40', 'Q461192'] ['Q269898', 'P40', 'Q7244519'] ['Q269898', 'P40', 'Q57464']
ASK WHERE { resource:Q269898 property:P40 ?f . VALUES ( ?f ) { ( resource:Q7244873 ) ( resource:Q461192 ) ( resource:Q7244519 ) } }
Yes
action is_in
entity prev_answer
action find
entity Princess Muna al-Hussein
relation child
['Princess Muna al-Hussein', 'child', 'Prince Faisal bin Al Hussein'] ['Princess Muna al-Hussein', 'child', 'Princess Aisha bint Al Hussein'] ['Princess Muna al-Hussein', 'child', 'Abdullah II of Jordan']
ASK WHERE { resource:Princess_Muna_al-Hussein property:child ?f . VALUES ( ?f ) { ( resource:Princess_Zein_bint_Al_Hussein ) ( resource:Prince_Faisal_bin_Al_Hussein ) ( resource:Princess_Aisha_bint_Al_Hussein ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18790
P725
Q502895 Q15961987
USER
Which television genres had lesser number of people as the dubbing artist than The Legend of Korra ?
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q18790
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?h ) WHERE { ?u property:P725 ?z . ?u rdf:type ontology:Q15961987 . ?z rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q18790 property:P725 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?h < ?t ) }
The Legend of Korra
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Legend of Korra
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?h ) WHERE { ?u property:voice_actor ?z . ?u rdf:type ontology:television_genre . ?z rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:The_Legend_of_Korra property:voice_actor ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?h < ?t ) }
[]
common name television genre
Q886 Q11572 Q53093
SYSTEM
The Simpsons, Avatar: The Last Airbender, Adventure Time
Q11572 Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q847219 Q53093 Q753848 Q5415 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q18790
relation P725
type Q502895
[ANSWERS] had lesser number of people as the dubbing artist than The Legend of Korra
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?h ) WHERE { ?u property:P725 ?z . ?u rdf:type ontology:Q15961987 . ?z rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q18790 property:P725 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?h < ?t ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Pururun! Shizuku-chan Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons The Garfield Show Hellsing Ultimate
The Simpsons, Avatar: The Last Airbender and Adventure Time had lesser number of people as the dubbing artist than The Legend of Korra
The Simpsons Avatar: The Last Airbender Adventure Time
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Legend of Korra
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?h ) WHERE { ?u property:voice_actor ?z . ?u rdf:type ontology:television_genre . ?z rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:The_Legend_of_Korra property:voice_actor ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?h < ?t ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q240575 Q1520680 Q61
P19
Q56061
USER
Was Queen Noor of Jordan born at Pepperstock and Washington, D.C. ?
(Q240575,P19,Q1520680) (Q240575,P19,Q61)
action is_in
entity Q240575
action intersection
action find_reverse
entity Q1520680
relation P19
action find_reverse
entity Q61
relation P19
['Q240575', 'P19', 'Q1520680'] ['Q240575', 'P19', 'Q61']
ASK WHERE { resource:Q240575 property:P19 resource:Q61 . resource:Q240575 property:P19 resource:Q1520680 }
Queen Noor of Jordan Pepperstock Washington, D.C.
action is_in
entity Queen Noor of Jordan
action intersection
action find_reverse
entity Pepperstock
relation place of birth
action find_reverse
entity Washington, D.C.
relation place of birth
['Queen Noor of Jordan', 'place of birth', 'Pepperstock'] ['Queen Noor of Jordan', 'place of birth', 'Washington, D.C.']
ASK WHERE { resource:Queen_Noor_of_Jordan property:place_of_birth resource:Washington,_D.C. . resource:Queen_Noor_of_Jordan property:place_of_birth resource:Pepperstock }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q240575,P19,Q1520680) (Q240575,P19,Q61)
action is_in
entity Q240575
action intersection
action find_reverse
entity Q1520680
relation P19
action find_reverse
entity Q61
relation P19
[ANSWER]
['Q240575', 'P19', 'Q1520680'] ['Q240575', 'P19', 'Q61']
ASK WHERE { resource:Q240575 property:P19 resource:Q61 . resource:Q240575 property:P19 resource:Q1520680 }
NO and YES respectively
action is_in
entity Queen Noor of Jordan
action intersection
action find_reverse
entity Pepperstock
relation place of birth
action find_reverse
entity Washington, D.C.
relation place of birth
['Queen Noor of Jordan', 'place of birth', 'Pepperstock'] ['Queen Noor of Jordan', 'place of birth', 'Washington, D.C.']
ASK WHERE { resource:Queen_Noor_of_Jordan property:place_of_birth resource:Washington,_D.C. . resource:Queen_Noor_of_Jordan property:place_of_birth resource:Pepperstock }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49210
P361
Q12737077 Q13226383
USER
How many occupations and facilities are a portion of New York University ?
(c(Q12737077),P361,Q49210) (c(Q13226383),P361,Q49210)
action count
action union
action filter_type
action find_reverse
entity Q49210
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q49210
relation P361
type Q13226383
[{'concept': 'Q12737077'}, 'P361', 'Q49210'] [{'concept': 'Q13226383'}, 'P361', 'Q49210']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P361 resource:Q49210 . ?a rdf:type ontology:Q12737077 } UNION { ?a property:P361 resource:Q49210 . ?a rdf:type ontology:Q13226383 } }
New York University
action count
action union
action filter_type
action find_reverse
entity New York University
relation part of
type occupation
action filter_type
action find_reverse
entity New York University
relation part of
type facility
[{'concept': 'occupation'}, 'part of', 'New York University'] [{'concept': 'facility'}, 'part of', 'New York University']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:part_of resource:New_York_University . ?a rdf:type ontology:occupation } UNION { ?a property:part_of resource:New_York_University . ?a rdf:type ontology:facility } }
[]
occupation facility
SYSTEM
2 occupations and 1 facilities
Q19562655 Q946028 Q19562725
(c(Q12737077),P361,Q49210) (c(Q13226383),P361,Q49210)
action count
action union
action filter_type
action find_reverse
entity Q49210
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q49210
relation P361
type Q13226383
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q49210'] [{'concept': 'Q13226383'}, 'P361', 'Q49210']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P361 resource:Q49210 . ?a rdf:type ontology:Q12737077 } UNION { ?a property:P361 resource:Q49210 . ?a rdf:type ontology:Q13226383 } }
President of New York University Courant Institute of Mathematical Sciences Chancellor of the New York University
2 occupations and 1 facilities
action count
action union
action filter_type
action find_reverse
entity New York University
relation part of
type occupation
action filter_type
action find_reverse
entity New York University
relation part of
type facility
[{'concept': 'occupation'}, 'part of', 'New York University'] [{'concept': 'facility'}, 'part of', 'New York University']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:part_of resource:New_York_University . ?a rdf:type ontology:occupation } UNION { ?a property:part_of resource:New_York_University . ?a rdf:type ontology:facility } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q240575
P50
Q2342494
USER
Which collectable is written by Queen Noor of Jordan ?
(c(Q2342494),P50,Q240575)
action filter_type
action find_reverse
entity Q240575
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q240575']
SELECT DISTINCT ?h WHERE { ?h property:P50 resource:Q240575 . ?h rdf:type ontology:Q2342494 }
Queen Noor of Jordan
action filter_type
action find_reverse
entity Queen Noor of Jordan
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Queen Noor of Jordan']
SELECT DISTINCT ?h WHERE { ?h property:author resource:Queen_Noor_of_Jordan . ?h rdf:type ontology:collectable }
[]
collectable
Q6509929
SYSTEM
Leap of Faith: Memoirs of an Unexpected Life
Q6509929
(c(Q2342494),P50,Q240575)
action filter_type
action find_reverse
entity Q240575
relation P50
type Q2342494
[ANSWER] is written by Queen Noor of Jordan
[{'concept': 'Q2342494'}, 'P50', 'Q240575']
SELECT DISTINCT ?h WHERE { ?h property:P50 resource:Q240575 . ?h rdf:type ontology:Q2342494 }
Leap of Faith: Memoirs of an Unexpected Life
Leap of Faith: Memoirs of an Unexpected Life is written by Queen Noor of Jordan
Leap of Faith: Memoirs of an Unexpected Life
action filter_type
action find_reverse
entity Queen Noor of Jordan
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Queen Noor of Jordan']
SELECT DISTINCT ?h WHERE { ?h property:author resource:Queen_Noor_of_Jordan . ?h rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q146906
P22
Q502895
USER
Which people have Hussein of Jordan as dad ?
(c(Q502895),P22,Q146906)
action filter_type
action find_reverse
entity Q146906
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q146906']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q146906 . ?o rdf:type ontology:Q502895 }
Hussein of Jordan
action filter_type
action find_reverse
entity Hussein of Jordan
relation father
type common name
[{'concept': 'common name'}, 'father', 'Hussein of Jordan']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Hussein_of_Jordan . ?o rdf:type ontology:common_name }
[]
common name
Q57464 Q461192 Q524703
SYSTEM
Abdullah II of Jordan, Prince Faisal bin Al Hussein, Prince Ali Bin Al-Hussein
Q2817328 Q7244790 Q461192 Q7244519 Q57464 Q7244873 Q524703 Q7244527 Q1532902 Q272117 Q3307706
(c(Q502895),P22,Q146906)
action filter_type
action find_reverse
entity Q146906
relation P22
type Q502895
[ANSWERS] have Hussein of Jordan as dad
[{'concept': 'Q502895'}, 'P22', 'Q146906']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q146906 . ?o rdf:type ontology:Q502895 }
Prince Hashim Al Hussein Princess Raiyah bint Al Hussein Prince Faisal bin Al Hussein Princess Aisha bint Al Hussein Abdullah II of Jordan Princess Zein bint Al Hussein Prince Ali Bin Al-Hussein Princess Alia bint Al Hussein Prince Hamzah bin Al Hussein Princess Haya bint Al Hussein Princess Iman bint Al Hussein
Abdullah II of Jordan, Prince Faisal bin Al Hussein and Prince Ali Bin Al-Hussein have Hussein of Jordan as dad
Abdullah II of Jordan Prince Faisal bin Al Hussein Prince Ali Bin Al-Hussein
action filter_type
action find_reverse
entity Hussein of Jordan
relation father
type common name
[{'concept': 'common name'}, 'father', 'Hussein of Jordan']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Hussein_of_Jordan . ?o rdf:type ontology:common_name }
[]