Simple Question (Direct)
Simple Question
Q2629810
P161
Q502895
USER
Which people are in The Fluffer ?
(Q2629810,P161,c(Q502895))
action filter_type
action find
entity Q2629810
relation P161
type Q502895
['Q2629810', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q2629810 property:P161 ?d }
The Fluffer
action filter_type
action find
entity The Fluffer
relation cast member
type common name
['The Fluffer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:The_Fluffer property:cast_member ?d }
[]
common name
Q215026 Q1889124 Q2119412
SYSTEM
Debbie Harry, Richard Riehle, Adina Porter
Q2119412 Q365721 Q215026 Q1889124
(Q2629810,P161,c(Q502895))
action filter_type
action find
entity Q2629810
relation P161
type Q502895
[ANSWERS] are in The Fluffer
['Q2629810', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q2629810 property:P161 ?d }
Adina Porter Tim Bagley Debbie Harry Richard Riehle
Debbie Harry, Richard Riehle and Adina Porter are in The Fluffer
Debbie Harry Richard Riehle Adina Porter
action filter_type
action find
entity The Fluffer
relation cast member
type common name
['The Fluffer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:The_Fluffer property:cast_member ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2629810
P58
Q502895
USER
Who served as the screenwriter for The Fluffer ?
(Q2629810,P58,c(Q502895))
action filter_type
action find
entity Q2629810
relation P58
type Q502895
['Q2629810', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2629810 property:P58 ?b . ?b rdf:type ontology:Q502895 }
The Fluffer
action filter_type
action find
entity The Fluffer
relation screenwriter
type common name
['The Fluffer', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Fluffer property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
common name
Q455482
SYSTEM
Wash West
Q455482
(Q2629810,P58,c(Q502895))
action filter_type
action find
entity Q2629810
relation P58
type Q502895
West [ANSWER] served as the screenwriter for The Fluffer
['Q2629810', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2629810 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Wash West
West Wash West served as the screenwriter for The Fluffer
Wash West
action filter_type
action find
entity The Fluffer
relation screenwriter
type common name
['The Fluffer', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Fluffer property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q455482
P26
Q502895
USER
Who is the spouse of that one ?
(Q455482,P26,c(Q502895))
action filter_type
action find
entity Q455482
relation P26
type Q502895
['Q455482', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q455482 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Wash West
action filter_type
action find
entity Wash West
relation spouse
type common name
['Wash West', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Wash_West property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q6047738
SYSTEM
Richard Glatzer
Q6047738
(Q455482,P26,c(Q502895))
action filter_type
action find
entity Q455482
relation P26
type Q502895
The spouse of that one is the [ANSWER]
['Q455482', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q455482 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Richard Glatzer
The spouse of that one is the Richard Glatzer
Richard Glatzer
action filter_type
action find
entity Wash West
relation spouse
type common name
['Wash West', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Wash_West property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6047738 Q30
P27
Q15617994
USER
Is Richard Glatzer a civilian of United States of America ?
(Q6047738,P27,Q30)
action is_in
entity Q30
action find
entity Q6047738
relation P27
['Q6047738', 'P27', 'Q30']
ASK WHERE { resource:Q6047738 property:P27 resource:Q30 }
Richard Glatzer United States of America
action is_in
entity United States of America
action find
entity Richard Glatzer
relation country of citizenship
['Richard Glatzer', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Richard_Glatzer property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6047738,P27,Q30)
action is_in
entity Q30
action find
entity Q6047738
relation P27
[ANSWER]
['Q6047738', 'P27', 'Q30']
ASK WHERE { resource:Q6047738 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Richard Glatzer
relation country of citizenship
['Richard Glatzer', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Richard_Glatzer property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2119412 Q30
P27
Q15617994
USER
Does Adina Porter belong to United States of America ?
(Q2119412,P27,Q30)
action is_in
entity Q30
action find
entity Q2119412
relation P27
['Q2119412', 'P27', 'Q30']
ASK WHERE { resource:Q2119412 property:P27 resource:Q30 }
Adina Porter United States of America
action is_in
entity United States of America
action find
entity Adina Porter
relation country of citizenship
['Adina Porter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Adina_Porter property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2119412,P27,Q30)
action is_in
entity Q30
action find
entity Q2119412
relation P27
[ANSWER]
['Q2119412', 'P27', 'Q30']
ASK WHERE { resource:Q2119412 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Adina Porter
relation country of citizenship
['Adina Porter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Adina_Porter property:country_of_citizenship resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q6047738
P26 P21
Q502895
USER
Which people are married to Richard Glatzer and are a male ?
AND((c(Q502895),P26,Q6047738), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6047738
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q6047738'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P26 resource:Q6047738 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
male Richard Glatzer
action filter_type
action intersection
action find_reverse
entity Richard Glatzer
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Richard Glatzer'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:spouse resource:Richard_Glatzer . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
common name
Q455482
SYSTEM
Wash West
Q455482
AND((c(Q502895),P26,Q6047738), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6047738
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is married to Richard Glatzer and is a male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q6047738'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P26 resource:Q6047738 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
Wash West
Wash West is married to Richard Glatzer and is a male
Wash West
action filter_type
action intersection
action find_reverse
entity Richard Glatzer
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Richard Glatzer'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:spouse resource:Richard_Glatzer . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q455482 Q95078 Q6389708
P27
Q15617994
USER
Is that person a native of Averara and Kenneggy ?
(Q455482,P27,Q95078) (Q455482,P27,Q6389708)
action is_in
entity Q455482
action intersection
action find_reverse
entity Q95078
relation P27
action find_reverse
entity Q6389708
relation P27
['Q455482', 'P27', 'Q95078'] ['Q455482', 'P27', 'Q6389708']
ASK WHERE { resource:Q455482 property:P27 resource:Q95078 . resource:Q455482 property:P27 resource:Q6389708 }
Wash West Averara Kenneggy
action is_in
entity Wash West
action intersection
action find_reverse
entity Averara
relation country of citizenship
action find_reverse
entity Kenneggy
relation country of citizenship
['Wash West', 'country of citizenship', 'Averara'] ['Wash West', 'country of citizenship', 'Kenneggy']
ASK WHERE { resource:Wash_West property:country_of_citizenship resource:Averara . resource:Wash_West property:country_of_citizenship resource:Kenneggy }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q455482,P27,Q95078) (Q455482,P27,Q6389708)
action is_in
entity Q455482
action intersection
action find_reverse
entity Q95078
relation P27
action find_reverse
entity Q6389708
relation P27
[ANSWER]
['Q455482', 'P27', 'Q95078'] ['Q455482', 'P27', 'Q6389708']
ASK WHERE { resource:Q455482 property:P27 resource:Q95078 . resource:Q455482 property:P27 resource:Q6389708 }
No
action is_in
entity Wash West
action intersection
action find_reverse
entity Averara
relation country of citizenship
action find_reverse
entity Kenneggy
relation country of citizenship
['Wash West', 'country of citizenship', 'Averara'] ['Wash West', 'country of citizenship', 'Kenneggy']
ASK WHERE { resource:Wash_West property:country_of_citizenship resource:Averara . resource:Wash_West property:country_of_citizenship resource:Kenneggy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1889124 Q6693356 Q30
P27
Q15617994
USER
Is Richard Riehle a civilian of Lower Cape May Regional School District and United States of America ?
(Q1889124,P27,Q6693356) (Q1889124,P27,Q30)
action is_in
entity Q1889124
action intersection
action find_reverse
entity Q6693356
relation P27
action find_reverse
entity Q30
relation P27
['Q1889124', 'P27', 'Q6693356'] ['Q1889124', 'P27', 'Q30']
ASK WHERE { resource:Q1889124 property:P27 resource:Q30 . resource:Q1889124 property:P27 resource:Q6693356 }
Richard Riehle Lower Cape May Regional School District United States of America
action is_in
entity Richard Riehle
action intersection
action find_reverse
entity Lower Cape May Regional School District
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Richard Riehle', 'country of citizenship', 'Lower Cape May Regional School District'] ['Richard Riehle', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Richard_Riehle property:country_of_citizenship resource:United_States_of_America . resource:Richard_Riehle property:country_of_citizenship resource:Lower_Cape_May_Regional_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1889124,P27,Q6693356) (Q1889124,P27,Q30)
action is_in
entity Q1889124
action intersection
action find_reverse
entity Q6693356
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q1889124', 'P27', 'Q6693356'] ['Q1889124', 'P27', 'Q30']
ASK WHERE { resource:Q1889124 property:P27 resource:Q30 . resource:Q1889124 property:P27 resource:Q6693356 }
NO and YES respectively
action is_in
entity Richard Riehle
action intersection
action find_reverse
entity Lower Cape May Regional School District
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Richard Riehle', 'country of citizenship', 'Lower Cape May Regional School District'] ['Richard Riehle', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Richard_Riehle property:country_of_citizenship resource:United_States_of_America . resource:Richard_Riehle property:country_of_citizenship resource:Lower_Cape_May_Regional_School_District }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q7959044 Q30
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with United States of America and are not the countries of citizenship of Wade Fenton ?
AND((Q30,P530,c(Q1048835)), NOT((Q7959044,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q30
relation P530
action find
entity Q7959044
relation P27
type Q1048835
{'AND': [['Q30', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q7959044', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?z WHERE { resource:Q30 property:P530 ?z . FILTER NOT EXISTS { resource:Q7959044 property:P27 ?z } . ?z rdf:type ontology:Q1048835 }
Wade Fenton United States of America
action filter_type
action difference
action find
entity United States of America
relation diplomatic relation
action find
entity Wade Fenton
relation country of citizenship
type political territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Wade Fenton', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:diplomatic_relation ?z . FILTER NOT EXISTS { resource:Wade_Fenton property:country_of_citizenship ?z } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
AND((Q30,P530,c(Q1048835)), NOT((Q7959044,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q30
relation P530
action find
entity Q7959044
relation P27
type Q1048835
[ANSWERS] hold diplomatic relationship with United States of America and are not the countries of citizenship of Wade Fenton
{'AND': [['Q30', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q7959044', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?z WHERE { resource:Q30 property:P530 ?z . FILTER NOT EXISTS { resource:Q7959044 property:P27 ?z } . ?z rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany hold diplomatic relationship with United States of America and are not the countries of citizenship of Wade Fenton
Canada Germany
action filter_type
action difference
action find
entity United States of America
relation diplomatic relation
action find
entity Wade Fenton
relation country of citizenship
type political territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Wade Fenton', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:diplomatic_relation ?z . FILTER NOT EXISTS { resource:Wade_Fenton property:country_of_citizenship ?z } . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q839744
P495
Q838948
USER
Does The Mission originate at those political territories ?
(Q839744,P495,Q16) (Q839744,P495,Q183)
action is_in
entity prev_answer
action find
entity Q839744
relation P495
['Q839744', 'P495', 'Q16'] ['Q839744', 'P495', 'Q183']
ASK WHERE { VALUES ( ?g ) { ( resource:Q16 ) ( resource:Q183 ) } . resource:Q839744 property:P495 ?g }
The Mission
action is_in
entity prev_answer
action find
entity The Mission
relation country of origin
['The Mission', 'country of origin', 'Canada'] ['The Mission', 'country of origin', 'Germany']
ASK WHERE { VALUES ( ?g ) { ( resource:Canada ) ( resource:Germany ) } . resource:The_Mission property:country_of_origin ?g }
[]
work of art
SYSTEM
NO
(Q839744,P495,Q16) (Q839744,P495,Q183)
action is_in
entity prev_answer
action find
entity Q839744
relation P495
[ANSWER]
['Q839744', 'P495', 'Q16'] ['Q839744', 'P495', 'Q183']
ASK WHERE { VALUES ( ?g ) { ( resource:Q16 ) ( resource:Q183 ) } . resource:Q839744 property:P495 ?g }
No
action is_in
entity prev_answer
action find
entity The Mission
relation country of origin
['The Mission', 'country of origin', 'Canada'] ['The Mission', 'country of origin', 'Germany']
ASK WHERE { VALUES ( ?g ) { ( resource:Canada ) ( resource:Germany ) } . resource:The_Mission property:country_of_origin ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20473574 Q2119412
P27
Q15617994
USER
Which administrative territories are Adina Porter or Tuğay Adamcıl a civilian of ?
OR((Q2119412,P27,c(Q15617994)), (Q20473574,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2119412
relation P27
action find
entity Q20473574
relation P27
type Q15617994
{'OR': [['Q2119412', 'P27', {'concept': 'Q15617994'}], ['Q20473574', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { ?v property:P27 ?n . VALUES ( ?v ) { ( resource:Q2119412 ) ( resource:Q20473574 ) } } . ?n rdf:type ontology:Q15617994 }
Tuğay Adamcıl Adina Porter
action filter_type
action union
action find
entity Adina Porter
relation country of citizenship
action find
entity Tuğay Adamcıl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Adina Porter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tuğay Adamcıl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?v property:country_of_citizenship ?n . VALUES ( ?v ) { ( resource:Adina_Porter ) ( resource:Tuğay_Adamcıl ) } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q43
SYSTEM
United States of America, Turkey
Q30 Q43
OR((Q2119412,P27,c(Q15617994)), (Q20473574,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2119412
relation P27
action find
entity Q20473574
relation P27
type Q15617994
[ANSWERS] are Adina Porter or Tuğay Adamcıl a civilian of
{'OR': [['Q2119412', 'P27', {'concept': 'Q15617994'}], ['Q20473574', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { ?v property:P27 ?n . VALUES ( ?v ) { ( resource:Q2119412 ) ( resource:Q20473574 ) } } . ?n rdf:type ontology:Q15617994 }
United States of America Turkey
United States of America and Turkey are Adina Porter or Tuğay Adamcıl a civilian of
United States of America Turkey
action filter_type
action union
action find
entity Adina Porter
relation country of citizenship
action find
entity Tuğay Adamcıl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Adina Porter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tuğay Adamcıl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?v property:country_of_citizenship ?n . VALUES ( ?v ) { ( resource:Adina_Porter ) ( resource:Tuğay_Adamcıl ) } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]