Simple Question (Direct)
Simple Question
Q6777519
P106
Q12737077
USER
Which occupations have Marty Pasetta as his/her 's career ?
(Q6777519,P106,c(Q12737077))
action filter_type
action find
entity Q6777519
relation P106
type Q12737077
['Q6777519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6777519 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Marty Pasetta
action filter_type
action find
entity Marty Pasetta
relation occupation
type occupation
['Marty Pasetta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Marty_Pasetta property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q578109 Q2059704
SYSTEM
television producer, television director
Q578109 Q2059704
(Q6777519,P106,c(Q12737077))
action filter_type
action find
entity Q6777519
relation P106
type Q12737077
[ANSWERS] have Marty Pasetta as his/her 's career
['Q6777519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6777519 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
television producer television director
Television producer and television director have Marty Pasetta as his/her 's career
television producer television director
action filter_type
action find
entity Marty Pasetta
relation occupation
type occupation
['Marty Pasetta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Marty_Pasetta property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6777519
P57
Q15416
USER
Which television programs are that person a director of ?
(c(Q15416),P57,Q578109) (c(Q15416),P57,Q2059704)
action filter_type
action find_reverse
entity Q6777519
relation P57
type Q15416
[{'concept': 'Q15416'}, 'P57', 'Q578109'] [{'concept': 'Q15416'}, 'P57', 'Q2059704']
SELECT DISTINCT ?n WHERE { ?n property:P57 resource:Q6777519 . ?n rdf:type ontology:Q15416 }
Marty Pasetta
action filter_type
action find_reverse
entity Marty Pasetta
relation director
type television program
[{'concept': 'television program'}, 'director', 'television producer'] [{'concept': 'television program'}, 'director', 'television director']
SELECT DISTINCT ?n WHERE { ?n property:director resource:Marty_Pasetta . ?n rdf:type ontology:television_program }
[]
television program
Q7764942 Q7760010 Q1518550
SYSTEM
The Smothers Brothers Comedy Hour, The Reel Game, Aloha from Hawaii Via Satellite
Q7764942 Q7760010 Q5051672 Q1518550
(c(Q15416),P57,Q578109) (c(Q15416),P57,Q2059704)
action filter_type
action find_reverse
entity Q6777519
relation P57
type Q15416
[ANSWERS] are that person a director of
[{'concept': 'Q15416'}, 'P57', 'Q578109'] [{'concept': 'Q15416'}, 'P57', 'Q2059704']
SELECT DISTINCT ?n WHERE { ?n property:P57 resource:Q6777519 . ?n rdf:type ontology:Q15416 }
The Smothers Brothers Comedy Hour The Reel Game Catch Phrase Aloha from Hawaii Via Satellite
The Smothers Brothers Comedy Hour, The Reel Game and Aloha from Hawaii Via Satellite are that person a director of
The Smothers Brothers Comedy Hour The Reel Game Aloha from Hawaii Via Satellite
action filter_type
action find_reverse
entity Marty Pasetta
relation director
type television program
[{'concept': 'television program'}, 'director', 'television producer'] [{'concept': 'television program'}, 'director', 'television director']
SELECT DISTINCT ?n WHERE { ?n property:director resource:Marty_Pasetta . ?n rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6141480 Q6777519
P19
Q56061
USER
Which administrative territories were Marty Pasetta or James Prosek born at ?
OR((Q6777519,P19,c(Q56061)), (Q6141480,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6777519
relation P19
action find
entity Q6141480
relation P19
type Q56061
{'OR': [['Q6777519', 'P19', {'concept': 'Q56061'}], ['Q6141480', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:Q6141480 ) ( resource:Q6777519 ) } . ?c property:P19 ?j } . ?j rdf:type ontology:Q56061 }
James Prosek Marty Pasetta
action filter_type
action union
action find
entity Marty Pasetta
relation place of birth
action find
entity James Prosek
relation place of birth
type administrative territorial entity
{'OR': [['Marty Pasetta', 'place of birth', {'concept': 'administrative territorial entity'}], ['James Prosek', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:James_Prosek ) ( resource:Marty_Pasetta ) } . ?c property:place_of_birth ?j } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16553 Q49169
SYSTEM
San Jose, Stamford
Q16553 Q49169
OR((Q6777519,P19,c(Q56061)), (Q6141480,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6777519
relation P19
action find
entity Q6141480
relation P19
type Q56061
Marty Pasetta or James Prosek were born in [ANSWERS]
{'OR': [['Q6777519', 'P19', {'concept': 'Q56061'}], ['Q6141480', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:Q6141480 ) ( resource:Q6777519 ) } . ?c property:P19 ?j } . ?j rdf:type ontology:Q56061 }
San Jose Stamford
Marty Pasetta or James Prosek were born in San Jose and Stamford
San Jose Stamford
action filter_type
action union
action find
entity Marty Pasetta
relation place of birth
action find
entity James Prosek
relation place of birth
type administrative territorial entity
{'OR': [['Marty Pasetta', 'place of birth', {'concept': 'administrative territorial entity'}], ['James Prosek', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:James_Prosek ) ( resource:Marty_Pasetta ) } . ?c property:place_of_birth ?j } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16553
P20
Q502895
USER
How many people have San Jose as the location of death ?
(c(Q502895),P20,Q16553)
action count
action filter_type
action find_reverse
entity Q16553
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q16553']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P20 resource:Q16553 . ?b rdf:type ontology:Q502895 }
San Jose
action count
action filter_type
action find_reverse
entity San Jose
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'San Jose']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:place_of_death resource:San_Jose . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
64
Q399712 Q988552 Q3568521 Q1975240 Q3939878 Q5294878 Q613412 Q3876130 Q3940996 Q6068988 Q533030 Q6222916 Q6196337 Q108985 Q4859208 Q2628788 Q2464202 Q1516223 Q5040801 Q9145267 Q20984479 Q5341539 Q2041145 Q18526415 Q710500 Q5394702 Q1885160 Q335100 Q1315807 Q7150548 Q5080040 Q173716 Q3435132 Q18346135 Q682620 Q7050117 Q6897527 Q5232190 Q1387616 Q1379291 Q16018287 Q5605646 Q5944654 Q21002584 Q6779041 Q2334585 Q2832294 Q3641331 Q14586007 Q3752633 Q3810190 Q11625 Q2959653 Q3185663 Q504362 Q1375025 Q440675 Q5301629 Q6066837 Q16355581 Q21979428 Q7342603 Q1506937 Q1373431
(c(Q502895),P20,Q16553)
action count
action filter_type
action find_reverse
entity Q16553
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q16553']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P20 resource:Q16553 . ?b rdf:type ontology:Q502895 }
Ah Toy Ho Fan William "Billy" Costello Shimun XXIII Eshai Roderick McDonald Donald Merrifield Ed Cassidy Ladislav Pataki Ron Williams Irene Dalis David Shannon Morse Tiburcio Vásquez Jim Lea James Behrens Barbara Owens Sarah Winchester Áskell Löve Jeremy Lusk Carl Sharsmith Aleksander Chełstowski William Joseph Johnston Edward Alexander Walker Otto von Bendeleben-Uckermann Cledo Brunetti Arthur M. Free Ernie Renzel Maidie Norman Sylvia Browne Sherrod Williams Paul F. Clark Charles Lampkin Joe James Robert G. Fowler Leslie Glasgow Everis A. Hayes Nora Lam Momčilo Gavrić David Carroll Nguyen Ba Can William Hammond Wright Frederick Spratt Greg Hall Barbod Taheri Hariprasad Vyas Mary Bernard Aguirre John Johnson Aldis Bernard Bob Peterson Raleigh Rhodes Fred Iltis Joseph Cerrito Ashawna Hailey Charles Lewis Camp Joseph Sumner Gage Nguyen Khanh Trummy Young José María Montealegre Douglas Imrie McKay Patrick E. Elvander Edgar Anderson John F. Stenvall Robert C. Fritz George Barati Alan Shugart
64
action count
action filter_type
action find_reverse
entity San Jose
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'San Jose']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:place_of_death resource:San_Jose . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4495506
P21
Q290
USER
What is the sex of Jimmy Hannah ?
(Q4495506,P21,c(Q290))
action filter_type
action find
entity Q4495506
relation P21
type Q290
['Q4495506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q4495506 property:P21 ?b . ?b rdf:type ontology:Q290 }
Jimmy Hannah
action filter_type
action find
entity Jimmy Hannah
relation gender
type sex
['Jimmy Hannah', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Jimmy_Hannah property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4495506,P21,c(Q290))
action filter_type
action find
entity Q4495506
relation P21
type Q290
The sex of Jimmy Hannah is the [ANSWER]
['Q4495506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q4495506 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Jimmy Hannah is the male
male
action filter_type
action find
entity Jimmy Hannah
relation gender
type sex
['Jimmy Hannah', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Jimmy_Hannah property:gender ?b . ?b rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11958047
P21
Q502895
USER
Does André Alexander Molkom have the gender as that sex ?
(Q11958047,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11958047
relation P21
['Q11958047', 'P21', 'Q6581097']
ASK WHERE { resource:Q11958047 property:P21 resource:Q6581097 }
male André Alexander Molkom
action is_in
entity male
action find
entity André Alexander Molkom
relation gender
['André Alexander Molkom', 'gender', 'male']
ASK WHERE { resource:André_Alexander_Molkom property:gender resource:male }
[]
common name
SYSTEM
YES
(Q11958047,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11958047
relation P21
[ANSWER]
['Q11958047', 'P21', 'Q6581097']
ASK WHERE { resource:Q11958047 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity André Alexander Molkom
relation gender
['André Alexander Molkom', 'gender', 'male']
ASK WHERE { resource:André_Alexander_Molkom property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7764942 Q43380
P449
Q4830453
USER
Did The Smothers Brothers Comedy Hour originally air in CBS ?
(Q7764942,P449,Q43380)
action is_in
entity Q43380
action find
entity Q7764942
relation P449
['Q7764942', 'P449', 'Q43380']
ASK WHERE { resource:Q7764942 property:P449 resource:Q43380 }
The Smothers Brothers Comedy Hour CBS
action is_in
entity CBS
action find
entity The Smothers Brothers Comedy Hour
relation original network
['The Smothers Brothers Comedy Hour', 'original network', 'CBS']
ASK WHERE { resource:The_Smothers_Brothers_Comedy_Hour property:original_network resource:CBS }
[]
business enterprise
SYSTEM
YES
(Q7764942,P449,Q43380)
action is_in
entity Q43380
action find
entity Q7764942
relation P449
[ANSWER]
['Q7764942', 'P449', 'Q43380']
ASK WHERE { resource:Q7764942 property:P449 resource:Q43380 }
Yes
action is_in
entity CBS
action find
entity The Smothers Brothers Comedy Hour
relation original network
['The Smothers Brothers Comedy Hour', 'original network', 'CBS']
ASK WHERE { resource:The_Smothers_Brothers_Comedy_Hour property:original_network resource:CBS }
[]