Simple Question (Direct)
Simple Question
Q7750048
P57
Q502895
USER
Who directed The Man from Oklahoma ?
(Q7750048,P57,c(Q502895))
action filter_type
action find
entity Q7750048
relation P57
type Q502895
['Q7750048', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q7750048 property:P57 ?v . ?v rdf:type ontology:Q502895 }
The Man from Oklahoma
action filter_type
action find
entity The Man from Oklahoma
relation director
type common name
['The Man from Oklahoma', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Man_from_Oklahoma property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1443765
SYSTEM
Frank McDonald
Q1443765
(Q7750048,P57,c(Q502895))
action filter_type
action find
entity Q7750048
relation P57
type Q502895
[ANSWER] directed The Man from Oklahoma
['Q7750048', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q7750048 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Frank McDonald
Frank McDonald directed The Man from Oklahoma
Frank McDonald
action filter_type
action find
entity The Man from Oklahoma
relation director
type common name
['The Man from Oklahoma', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Man_from_Oklahoma property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1443765
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q1443765,P19,c(Q56061))
action filter_type
action find
entity Q1443765
relation P19
type Q56061
['Q1443765', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1443765 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Frank McDonald
action filter_type
action find
entity Frank McDonald
relation place of birth
type administrative territorial entity
['Frank McDonald', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Frank_McDonald property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5092
SYSTEM
Baltimore
Q5092
(Q1443765,P19,c(Q56061))
action filter_type
action find
entity Q1443765
relation P19
type Q56061
That person was born in [ANSWER]
['Q1443765', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1443765 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Baltimore
That person was born in Baltimore
Baltimore
action filter_type
action find
entity Frank McDonald
relation place of birth
type administrative territorial entity
['Frank McDonald', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Frank_McDonald property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5919016
Q56061
USER
And how about Howard B. Keck?
(Q5919016,P19,c(Q56061))
action filter_type
action find
entity Q5919016
relation P19
type Q56061
['Q5919016', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5919016 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Howard B. Keck
action filter_type
action find
entity Howard B. Keck
relation place of birth
type administrative territorial entity
['Howard B. Keck', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Howard_B._Keck property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2051249
SYSTEM
Trinidad
Q2051249
(Q5919016,P19,c(Q56061))
action filter_type
action find
entity Q5919016
relation P19
type Q56061
[ANSWER]
['Q5919016', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5919016 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Trinidad
Trinidad
action filter_type
action find
entity Howard B. Keck
relation place of birth
type administrative territorial entity
['Howard B. Keck', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Howard_B._Keck property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2051249 Q30 Q4724443
P17
Q15617994
USER
Is that administrative territory located in United States of America and Alhambra School District ?
(Q2051249,P17,Q30) (Q2051249,P17,Q4724443)
action is_in
entity Q2051249
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q4724443
relation P17
['Q2051249', 'P17', 'Q30'] ['Q2051249', 'P17', 'Q4724443']
ASK WHERE { resource:Q2051249 property:P17 resource:Q4724443 . resource:Q2051249 property:P17 resource:Q30 }
Trinidad United States of America Alhambra School District
action is_in
entity Trinidad
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Alhambra School District
relation country
['Trinidad', 'country', 'United States of America'] ['Trinidad', 'country', 'Alhambra School District']
ASK WHERE { resource:Trinidad property:country resource:Alhambra_School_District . resource:Trinidad property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2051249,P17,Q30) (Q2051249,P17,Q4724443)
action is_in
entity Q2051249
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q4724443
relation P17
[ANSWER]
['Q2051249', 'P17', 'Q30'] ['Q2051249', 'P17', 'Q4724443']
ASK WHERE { resource:Q2051249 property:P17 resource:Q4724443 . resource:Q2051249 property:P17 resource:Q30 }
YES and NO respectively
action is_in
entity Trinidad
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Alhambra School District
relation country
['Trinidad', 'country', 'United States of America'] ['Trinidad', 'country', 'Alhambra School District']
ASK WHERE { resource:Trinidad property:country resource:Alhambra_School_District . resource:Trinidad property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7750048 Q503260 Q30
P495
Q15617994
USER
Did The Man from Oklahoma originate in Talheim and United States of America ?
(Q7750048,P495,Q503260) (Q7750048,P495,Q30)
action is_in
entity Q7750048
action intersection
action find_reverse
entity Q503260
relation P495
action find_reverse
entity Q30
relation P495
['Q7750048', 'P495', 'Q503260'] ['Q7750048', 'P495', 'Q30']
ASK WHERE { resource:Q7750048 property:P495 resource:Q503260 . resource:Q7750048 property:P495 resource:Q30 }
The Man from Oklahoma Talheim United States of America
action is_in
entity The Man from Oklahoma
action intersection
action find_reverse
entity Talheim
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['The Man from Oklahoma', 'country of origin', 'Talheim'] ['The Man from Oklahoma', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Man_from_Oklahoma property:country_of_origin resource:Talheim . resource:The_Man_from_Oklahoma property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7750048,P495,Q503260) (Q7750048,P495,Q30)
action is_in
entity Q7750048
action intersection
action find_reverse
entity Q503260
relation P495
action find_reverse
entity Q30
relation P495
[ANSWER]
['Q7750048', 'P495', 'Q503260'] ['Q7750048', 'P495', 'Q30']
ASK WHERE { resource:Q7750048 property:P495 resource:Q503260 . resource:Q7750048 property:P495 resource:Q30 }
NO and YES respectively
action is_in
entity The Man from Oklahoma
action intersection
action find_reverse
entity Talheim
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['The Man from Oklahoma', 'country of origin', 'Talheim'] ['The Man from Oklahoma', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Man_from_Oklahoma property:country_of_origin resource:Talheim . resource:The_Man_from_Oklahoma property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q2342494 Q838948
USER
Which administrative territories are atleast 665 collectables and works of art set in ?
(c(Q2342494)|c(Q838948),P840,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
value 665
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?t } GROUP BY ?j } . FILTER ( ?q >= 665 ) }
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
value 665
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?t ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?t } GROUP BY ?j } . FILTER ( ?q >= 665 ) }
[]
administrative territorial entity collectable work of art
Q90 Q65 Q84
SYSTEM
Paris, Los Angeles, London
Q90 Q84 Q65 Q60
(c(Q2342494)|c(Q838948),P840,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
value 665
[ANSWERS] are atleast 665 collectables and works of art set in
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?t } GROUP BY ?j } . FILTER ( ?q >= 665 ) }
Paris London Los Angeles New York City
Paris, Los Angeles and London are atleast 665 collectables and works of art set in
Paris Los Angeles London
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
value 665
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?q ) WHERE { VALUES ( ?t ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?t } GROUP BY ?j } . FILTER ( ?q >= 665 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1443765
P57
Q838948 Q15416
USER
How many works of art or television programs are Frank McDonald a director of ?
(c(Q838948),P57,Q1443765) (c(Q15416),P57,Q1443765)
action count
action union
action filter_type
action find_reverse
entity Q1443765
relation P57
type Q838948
action filter_type
action find_reverse
entity Q1443765
relation P57
type Q15416
[{'concept': 'Q838948'}, 'P57', 'Q1443765'] [{'concept': 'Q15416'}, 'P57', 'Q1443765']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P57 resource:Q1443765 . ?y rdf:type ontology:Q15416 } UNION { ?y rdf:type ontology:Q838948 . ?y property:P57 resource:Q1443765 } }
Frank McDonald
action count
action union
action filter_type
action find_reverse
entity Frank McDonald
relation director
type work of art
action filter_type
action find_reverse
entity Frank McDonald
relation director
type television program
[{'concept': 'work of art'}, 'director', 'Frank McDonald'] [{'concept': 'television program'}, 'director', 'Frank McDonald']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:director resource:Frank_McDonald . ?y rdf:type ontology:television_program } UNION { ?y rdf:type ontology:work_of_art . ?y property:director resource:Frank_McDonald } }
[]
work of art television program
SYSTEM
91
Q20949928 Q3819479 Q3997174 Q19881833 Q20949843 Q6946249 Q5463069 Q20814657 Q16002646 Q4708552 Q21527914 Q15623134 Q7290987 Q16251784 Q7430369 Q7804659 Q7641376 Q21528038 Q7284680 Q21528111 Q13526327 Q16164361 Q12125221 Q4549354 Q19363916 Q20715581 Q20949904 Q20002459 Q20649842 Q3921588 Q7044271 Q2741563 Q21528194 Q7561117 Q4972290 Q15631756 Q7883121 Q7717798 Q1184604 Q21527690 Q8037700 Q16199732 Q7298504 Q3209024 Q5527594 Q24053273 Q21528207 Q15614748 Q21528051 Q922894 Q12126315 Q21527743 Q20949832 Q10780445 Q5618346 Q15699959 Q20950007 Q5519667 Q21527572 Q21527479 Q15622940 Q5463356 Q15633656 Q20814789 Q7092493 Q7332467 Q20949830 Q21528179 Q10266301 Q20949816 Q20949914 Q16954465 Q21527734 Q20950006 Q21527880 Q7883093 Q6754527 Q25136293 Q15622114 Q7750048 Q3962954 Q7631574 Q5044862 Q3794520 Q18636441 Q4884162 Q16941812 Q21528091 Q21528095 Q15627870 Q4791818
(c(Q838948),P57,Q1443765) (c(Q15416),P57,Q1443765)
action count
action union
action filter_type
action find_reverse
entity Q1443765
relation P57
type Q838948
action filter_type
action find_reverse
entity Q1443765
relation P57
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q1443765'] [{'concept': 'Q15416'}, 'P57', 'Q1443765']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P57 resource:Q1443765 . ?y rdf:type ontology:Q15416 } UNION { ?y rdf:type ontology:Q838948 . ?y property:P57 resource:Q1443765 } }
Over the Wall Isle of Fury Her Husband's Secretary Wildcat Dance Charlie Dance My Pal Trigger Fly-Away Baby Murder by an Aristocrat Along the Navajo Trail Alaska Highway The Old Homestead Yukon Manhunt Rancho Grande In Old Missouri Scared Stiff Timber Queen Sunset in El Dorado Shepherd of the Ozarks Rainbow Over Texas The Chicago Kid Sierra Passage O, My Darling Clementine Jeepers Creepers 13 Lead Soldiers The Underwater City High Explosive Love Begins at 20 Sioux City Sue Sea Tiger First offenders No Hands on the Clock Gunfight at Comanche Creek Tuxedo Junction Song of Arizona Broadside Son of Belle Starr Under Nevada Skies The Big Sombrero Wyatt Earp: Return to Tombstone Grand Ole Opry Wrecking Crew Call of the Klondike Raymie Broken Arrow Gaucho Serenade Death Goes North Village Barn Dance Snow Dog Sing, Neighbor, Sing Broadway Hostess Mr. Reckless Hoosier Holiday Boulder Dam Treasure of Ruby Hills Gun Smugglers Apache Chief Twilight on the Rio Grande Gambler's Choice Country Fair Barnyard Follies Northwest Territory Flying Blind Thunder Pass Take It Big One Body Too Many Ride, Tenderfoot, Ride Blondes at Work The Traitor Within Lights of Old Santa Fe The Adventurous Blonde The Murder of Dr. Harrigan Bulldog Drummond Strikes Back Hit Parade of 1947 Treachery Rides the Range Mountain Rhythm Under Fiesta Stars Mara of the Wilderness The Big Noise Texans Never Cry The Man from Oklahoma Smart Blonde Submarine Alert Carolina Moon National Velvet Flirting with Fate Bells of Rosarita Freshman Year Swing Your Partner Tell It to a Star Yukon Gold Arkansas Judge
91
action count
action union
action filter_type
action find_reverse
entity Frank McDonald
relation director
type work of art
action filter_type
action find_reverse
entity Frank McDonald
relation director
type television program
[{'concept': 'work of art'}, 'director', 'Frank McDonald'] [{'concept': 'television program'}, 'director', 'Frank McDonald']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:director resource:Frank_McDonald . ?y rdf:type ontology:television_program } UNION { ?y rdf:type ontology:work_of_art . ?y property:director resource:Frank_McDonald } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1443765
P20
Q56061
USER
Where did the demise of that person occur ?
action filter_type
action find
entity Q1443765
relation P20
type Q56061
SELECT DISTINCT ?x WHERE { resource:Q1443765 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Frank McDonald
action filter_type
action find
entity Frank McDonald
relation place of death
type administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Frank_McDonald property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q209338
SYSTEM
Oxnard
Q209338
action filter_type
action find
entity Q1443765
relation P20
type Q56061
The demise of that person occurred at [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q1443765 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Oxnard
The demise of that person occurred at Oxnard
Oxnard
action filter_type
action find
entity Frank McDonald
relation place of death
type administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Frank_McDonald property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]