Simple Question (Direct)
Simple Question
Q2166986
P734
Q82799
USER
Who has the surname Bruce Thomas ?
(Q2166986,P734,c(Q82799))
action filter_type
action find
entity Q2166986
relation P734
type Q82799
['Q2166986', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q2166986 property:P734 ?s }
Bruce Thomas
action filter_type
action find
entity Bruce Thomas
relation family name
type name
['Bruce Thomas', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Bruce_Thomas property:family_name ?s }
[]
name
Q1413324
SYSTEM
Thomas
Q1413324
(Q2166986,P734,c(Q82799))
action filter_type
action find
entity Q2166986
relation P734
type Q82799
[ANSWER] has the surname Bruce [ANSWER]
['Q2166986', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q2166986 property:P734 ?s }
Thomas
Thomas has the surname Bruce Thomas
Thomas
action filter_type
action find
entity Bruce Thomas
relation family name
type name
['Bruce Thomas', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Bruce_Thomas property:family_name ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2166986
P161
Q838948
USER
Which works of art have Bruce Thomas as actor ?
(c(Q838948),P161,Q2166986)
action filter_type
action find_reverse
entity Q2166986
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q2166986']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q2166986 . ?e rdf:type ontology:Q838948 }
Bruce Thomas
action filter_type
action find_reverse
entity Bruce Thomas
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Bruce Thomas']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Bruce_Thomas . ?e rdf:type ontology:work_of_art }
[]
work of art
Q128730 Q1128745 Q500093
SYSTEM
Thirteen Days, Hall Pass, Legally Blonde
Q1128745 Q644969 Q797981 Q128730 Q500093 Q4869409
(c(Q838948),P161,Q2166986)
action filter_type
action find_reverse
entity Q2166986
relation P161
type Q838948
[ANSWERS] have Bruce Thomas as actor
[{'concept': 'Q838948'}, 'P161', 'Q2166986']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q2166986 . ?e rdf:type ontology:Q838948 }
Hall Pass Legally Blonde 2: Red, White & Blonde Babysitter Wanted Thirteen Days Legally Blonde Batman OnStar commercials
Thirteen Days, Hall Pass and Legally Blonde have Bruce Thomas as actor
Thirteen Days Hall Pass Legally Blonde
action filter_type
action find_reverse
entity Bruce Thomas
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Bruce Thomas']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Bruce_Thomas . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q500093
P144
Q15850590
USER
Which theatrical genre is adapted from Legally Blonde ?
(c(Q15850590),P144,Q500093)
action filter_type
action find_reverse
entity Q500093
relation P144
type Q15850590
[{'concept': 'Q15850590'}, 'P144', 'Q500093']
SELECT DISTINCT ?i WHERE { ?i property:P144 resource:Q500093 . ?i rdf:type ontology:Q15850590 }
Legally Blonde
action filter_type
action find_reverse
entity Legally Blonde
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Legally Blonde']
SELECT DISTINCT ?i WHERE { ?i property:based_on resource:Legally_Blonde . ?i rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q2200020
SYSTEM
Legally Blonde
Q2200020
(c(Q15850590),P144,Q500093)
action filter_type
action find_reverse
entity Q500093
relation P144
type Q15850590
Film [ANSWER] is adapted from [ANSWER]
[{'concept': 'Q15850590'}, 'P144', 'Q500093']
SELECT DISTINCT ?i WHERE { ?i property:P144 resource:Q500093 . ?i rdf:type ontology:Q15850590 }
Legally Blonde
Film Legally Blonde is adapted from Legally Blonde
Legally Blonde
action filter_type
action find_reverse
entity Legally Blonde
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Legally Blonde']
SELECT DISTINCT ?i WHERE { ?i property:based_on resource:Legally_Blonde . ?i rdf:type ontology:theatrical_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q500093
P495
Q15617994
USER
Which administrative territory is the country of origin of Legally Blonde ?
(Q500093,P495,c(Q15617994))
action filter_type
action find
entity Q500093
relation P495
type Q15617994
['Q500093', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q500093 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Legally Blonde
action filter_type
action find
entity Legally Blonde
relation country of origin
type designation for an administrative territorial entity
['Legally Blonde', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Legally_Blonde property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q500093,P495,c(Q15617994))
action filter_type
action find
entity Q500093
relation P495
type Q15617994
[ANSWER] is the country of origin of Legally Blonde
['Q500093', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q500093 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of Legally Blonde
United States of America
action filter_type
action find
entity Legally Blonde
relation country of origin
type designation for an administrative territorial entity
['Legally Blonde', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Legally_Blonde property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8002657
Q15617994
USER
And also tell me about Will?
(Q8002657,P495,c(Q15617994))
action filter_type
action find
entity Q8002657
relation P495
type Q15617994
['Q8002657', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q8002657 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Will
action filter_type
action find
entity Will
relation country of origin
type designation for an administrative territorial entity
['Will', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Will property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q8002657,P495,c(Q15617994))
action filter_type
action find
entity Q8002657
relation P495
type Q15617994
[ANSWER]
['Q8002657', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q8002657 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Will
relation country of origin
type designation for an administrative territorial entity
['Will', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Will property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q26461874
P17
Q811979
USER
Is 44, East Stockwell Street present in that administrative territory ?
(Q26461874,P17,Q145)
action is_in
entity Q145
action find
entity Q26461874
relation P17
['Q26461874', 'P17', 'Q145']
ASK WHERE { resource:Q26461874 property:P17 resource:Q145 }
United Kingdom 44, East Stockwell Street
action is_in
entity United Kingdom
action find
entity 44, East Stockwell Street
relation country
['44, East Stockwell Street', 'country', 'United Kingdom']
ASK WHERE { resource:44,_East_Stockwell_Street property:country resource:United_Kingdom }
[]
architectural structure
SYSTEM
YES
(Q26461874,P17,Q145)
action is_in
entity Q145
action find
entity Q26461874
relation P17
[ANSWER]
['Q26461874', 'P17', 'Q145']
ASK WHERE { resource:Q26461874 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity 44, East Stockwell Street
relation country
['44, East Stockwell Street', 'country', 'United Kingdom']
ASK WHERE { resource:44,_East_Stockwell_Street property:country resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q500093
P840
Q852446
USER
What location is Legally Blonde set in ?
(Q500093,P840,c(Q852446))
action filter_type
action find
entity Q500093
relation P840
type Q852446
['Q500093', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q500093 property:P840 ?j . ?j rdf:type ontology:Q852446 }
Legally Blonde
action filter_type
action find
entity Legally Blonde
relation narrative location
type administrative territorial entity of the United States
['Legally Blonde', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Legally_Blonde property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q99
SYSTEM
California
Q99
(Q500093,P840,c(Q852446))
action filter_type
action find
entity Q500093
relation P840
type Q852446
Legally Blonde is set in [ANSWER]
['Q500093', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q500093 property:P840 ?j . ?j rdf:type ontology:Q852446 }
California
Legally Blonde is set in California
California
action filter_type
action find
entity Legally Blonde
relation narrative location
type administrative territorial entity of the United States
['Legally Blonde', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Legally_Blonde property:narrative_location ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q267321
Q852446
USER
And what about Mercury Rising?
(Q267321,P840,c(Q852446))
action filter_type
action find
entity Q267321
relation P840
type Q852446
['Q267321', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q852446 . resource:Q267321 property:P840 ?b }
Mercury Rising
action filter_type
action find
entity Mercury Rising
relation narrative location
type administrative territorial entity of the United States
['Mercury Rising', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Mercury_Rising property:narrative_location ?b }
[]
administrative territorial entity of the United States
Q1211
SYSTEM
South Dakota
Q1211
(Q267321,P840,c(Q852446))
action filter_type
action find
entity Q267321
relation P840
type Q852446
[ANSWER]
['Q267321', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q852446 . resource:Q267321 property:P840 ?b }
South Dakota
South Dakota
action filter_type
action find
entity Mercury Rising
relation narrative location
type administrative territorial entity of the United States
['Mercury Rising', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Mercury_Rising property:narrative_location ?b }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q125887 Q1211
P20 P17
Q15617994
USER
Which administrative territories are South Dakota present in or did Ida Schumacher expire ?
OR((Q1211,P17,c(Q15617994)), (Q125887,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1211
relation P17
action find
entity Q125887
relation P20
type Q15617994
{'OR': [['Q1211', 'P17', {'concept': 'Q15617994'}], ['Q125887', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1211 property:P17 ?q } UNION { resource:Q125887 property:P20 ?q } } . ?q rdf:type ontology:Q15617994 }
Ida Schumacher South Dakota
action filter_type
action union
action find
entity South Dakota
relation country
action find
entity Ida Schumacher
relation place of death
type designation for an administrative territorial entity
{'OR': [['South Dakota', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ida Schumacher', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:South_Dakota property:country ?q } UNION { resource:Ida_Schumacher property:place_of_death ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q74057
SYSTEM
United States of America, Gauting
Q30 Q74057
OR((Q1211,P17,c(Q15617994)), (Q125887,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1211
relation P17
action find
entity Q125887
relation P20
type Q15617994
The United States of America and gauting are South Dakota present in or did Ida Schumacher expire
{'OR': [['Q1211', 'P17', {'concept': 'Q15617994'}], ['Q125887', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1211 property:P17 ?q } UNION { resource:Q125887 property:P20 ?q } } . ?q rdf:type ontology:Q15617994 }
United States of America Gauting
The United States of America and gauting are South Dakota present in or did Ida Schumacher expire
United States of America Gauting
action filter_type
action union
action find
entity South Dakota
relation country
action find
entity Ida Schumacher
relation place of death
type designation for an administrative territorial entity
{'OR': [['South Dakota', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ida Schumacher', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:South_Dakota property:country ?q } UNION { resource:Ida_Schumacher property:place_of_death ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18517234 Q500093
P161
Q502895
USER
Which people starred in Legally Blonde or Andiamo a quel paese ?
OR((Q500093,P161,c(Q502895)), (Q18517234,P161,c(Q502895)))
action filter_type
action union
action find
entity Q500093
relation P161
action find
entity Q18517234
relation P161
type Q502895
{'OR': [['Q500093', 'P161', {'concept': 'Q502895'}], ['Q18517234', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q500093 property:P161 ?s } UNION { resource:Q18517234 property:P161 ?s } } . ?s rdf:type ontology:Q502895 }
Andiamo a quel paese Legally Blonde
action filter_type
action union
action find
entity Legally Blonde
relation cast member
action find
entity Andiamo a quel paese
relation cast member
type common name
{'OR': [['Legally Blonde', 'cast member', {'concept': 'common name'}], ['Andiamo a quel paese', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Legally_Blonde property:cast_member ?s } UNION { resource:Andiamo_a_quel_paese property:cast_member ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q3050134 Q3832434 Q44063 Q201994 Q559570 Q3847789 Q234204 Q2166986 Q445878 Q107769
SYSTEM
Some of them are Michael B. Silver, Lily Tirinnanzi, Reese Witherspoon, Ali Larter, Nino Frassica, Mariano Rigillo, Linda Cardellini, Bruce Thomas, Jessica Cauffiel, Luke Wilson
Q234204 Q270664 Q235198 Q201994 Q2830641 Q445878 Q264748 Q345032 Q2627255 Q3050431 Q229545 Q3832434 Q360671 Q3847789 Q44063 Q3050134 Q3750396 Q2166986 Q2437312 Q1379066 Q107769 Q559570 Q230278
OR((Q500093,P161,c(Q502895)), (Q18517234,P161,c(Q502895)))
action filter_type
action union
action find
entity Q500093
relation P161
action find
entity Q18517234
relation P161
type Q502895
[ANSWERS] starred in Legally Blonde or Andiamo a quel paese
{'OR': [['Q500093', 'P161', {'concept': 'Q502895'}], ['Q18517234', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q500093 property:P161 ?s } UNION { resource:Q18517234 property:P161 ?s } } . ?s rdf:type ontology:Q502895 }
Linda Cardellini Victor Garber Holland Taylor Ali Larter Alanna Ubach Jessica Cauffiel Selma Blair Matthew Davis Lisa Arch Meredith Scott Lynn Raquel Welch Lily Tirinnanzi Greg Serano Mariano Rigillo Reese Witherspoon Michael B. Silver Francesco Paolantoni Bruce Thomas Tiziana Lodato Oz Perkins Luke Wilson Nino Frassica Jennifer Coolidge
Michael B. Silver, Lily Tirinnanzi, Reese Witherspoon, Ali Larter, Nino Frassica, Mariano Rigillo, Linda Cardellini, Bruce Thomas, Jessica Cauffiel and Luke Wilson starred in Legally Blonde or Andiamo a quel paese
Michael B. Silver Lily Tirinnanzi Reese Witherspoon Ali Larter Nino Frassica Mariano Rigillo Linda Cardellini Bruce Thomas Jessica Cauffiel Luke Wilson
action filter_type
action union
action find
entity Legally Blonde
relation cast member
action find
entity Andiamo a quel paese
relation cast member
type common name
{'OR': [['Legally Blonde', 'cast member', {'concept': 'common name'}], ['Andiamo a quel paese', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Legally_Blonde property:cast_member ?s } UNION { resource:Andiamo_a_quel_paese property:cast_member ?s } } . ?s rdf:type ontology:common_name }
[]