Simple Question (Direct)
Simple Question
Q4743241
P344
Q502895
USER
Who is appointed as the cinematographer of American Boyfriends ?
(Q4743241,P344,c(Q502895))
action filter_type
action find
entity Q4743241
relation P344
type Q502895
['Q4743241', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4743241 property:P344 ?r . ?r rdf:type ontology:Q502895 }
American Boyfriends
action filter_type
action find
entity American Boyfriends
relation director of photography
type common name
['American Boyfriends', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:American_Boyfriends property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
common name
Q4961731
SYSTEM
Brenton Spencer
Q4961731
(Q4743241,P344,c(Q502895))
action filter_type
action find
entity Q4743241
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of American Boyfriends
['Q4743241', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4743241 property:P344 ?r . ?r rdf:type ontology:Q502895 }
Brenton Spencer
Brenton Spencer is appointed as the cinematographer of American Boyfriends
Brenton Spencer
action filter_type
action find
entity American Boyfriends
relation director of photography
type common name
['American Boyfriends', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:American_Boyfriends property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4743241
P161
Q502895
USER
Who were casted in that work of art ?
(Q4961731,P161,c(Q502895))
action filter_type
action find
entity Q4743241
relation P161
type Q502895
['Q4961731', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4743241 property:P161 ?n . ?n rdf:type ontology:Q502895 }
American Boyfriends
action filter_type
action find
entity American Boyfriends
relation cast member
type common name
['Brenton Spencer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:American_Boyfriends property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q6759616 Q6264006 Q6162057
SYSTEM
Margaret Langrick, John Wildman, Jason Blicker
Q6759616 Q6264006 Q6162057
(Q4961731,P161,c(Q502895))
action filter_type
action find
entity Q4743241
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q4961731', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4743241 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Margaret Langrick John Wildman Jason Blicker
Margaret Langrick, John Wildman and Jason Blicker were casted in that work of art
Margaret Langrick John Wildman Jason Blicker
action filter_type
action find
entity American Boyfriends
relation cast member
type common name
['Brenton Spencer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:American_Boyfriends property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6264006 Q1139103
P161
Q838948
USER
How many works of art have John Wildman or Renju in their star cast ?
(c(Q838948),P161,Q6264006) (c(Q838948),P161,Q1139103)
action count
action union
action filter_type
action find_reverse
entity Q6264006
relation P161
type Q838948
action filter_type
action find_reverse
entity Q1139103
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6264006'] [{'concept': 'Q838948'}, 'P161', 'Q1139103']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P161 ?v . VALUES ( ?v ) { ( resource:Q6264006 ) ( resource:Q1139103 ) } }
John Wildman Renju
action count
action union
action filter_type
action find_reverse
entity John Wildman
relation cast member
type work of art
action filter_type
action find_reverse
entity Renju
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Wildman'] [{'concept': 'work of art'}, 'cast member', 'Renju']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:cast_member ?v . VALUES ( ?v ) { ( resource:John_Wildman ) ( resource:Renju ) } }
[]
work of art
SYSTEM
3
Q4743241 Q6960711 Q10296231
(c(Q838948),P161,Q6264006) (c(Q838948),P161,Q1139103)
action count
action union
action filter_type
action find_reverse
entity Q6264006
relation P161
type Q838948
action filter_type
action find_reverse
entity Q1139103
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q6264006'] [{'concept': 'Q838948'}, 'P161', 'Q1139103']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P161 ?v . VALUES ( ?v ) { ( resource:Q6264006 ) ( resource:Q1139103 ) } }
American Boyfriends Nakshathrakkannulla Rajakumaran Avanundoru Rajakumari Humongous
3
action count
action union
action filter_type
action find_reverse
entity John Wildman
relation cast member
type work of art
action filter_type
action find_reverse
entity Renju
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Wildman'] [{'concept': 'work of art'}, 'cast member', 'Renju']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:cast_member ?v . VALUES ( ?v ) { ( resource:John_Wildman ) ( resource:Renju ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5011878 Q4743241
P495 P17
Q1048835
USER
Which political territories are the origins of American Boyfriends and are CISS-FM located in ?
AND((Q4743241,P495,c(Q1048835)), (Q5011878,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q4743241
relation P495
action find
entity Q5011878
relation P17
type Q1048835
{'AND': [['Q4743241', 'P495', {'concept': 'Q1048835'}], ['Q5011878', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q5011878 property:P17 ?d . resource:Q4743241 property:P495 ?d }
CISS-FM American Boyfriends
action filter_type
action intersection
action find
entity American Boyfriends
relation country of origin
action find
entity CISS-FM
relation country
type political territorial entity
{'AND': [['American Boyfriends', 'country of origin', {'concept': 'political territorial entity'}], ['CISS-FM', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:CISS-FM property:country ?d . resource:American_Boyfriends property:country_of_origin ?d }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q4743241,P495,c(Q1048835)), (Q5011878,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q4743241
relation P495
action find
entity Q5011878
relation P17
type Q1048835
[ANSWER] is the origins of American Boyfriends and is CISS-FM located in
{'AND': [['Q4743241', 'P495', {'concept': 'Q1048835'}], ['Q5011878', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q5011878 property:P17 ?d . resource:Q4743241 property:P495 ?d }
Canada
Canada is the origins of American Boyfriends and is CISS-FM located in
Canada
action filter_type
action intersection
action find
entity American Boyfriends
relation country of origin
action find
entity CISS-FM
relation country
type political territorial entity
{'AND': [['American Boyfriends', 'country of origin', {'concept': 'political territorial entity'}], ['CISS-FM', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:CISS-FM property:country ?d . resource:American_Boyfriends property:country_of_origin ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16 Q2527094
P27
Q502895
USER
Is Christian Potenza a civilian of that political territory ?
(Q2527094,P27,Q16)
action is_in
entity Q16
action find
entity Q2527094
relation P27
['Q2527094', 'P27', 'Q16']
ASK WHERE { resource:Q2527094 property:P27 resource:Q16 }
Canada Christian Potenza
action is_in
entity Canada
action find
entity Christian Potenza
relation country of citizenship
['Christian Potenza', 'country of citizenship', 'Canada']
ASK WHERE { resource:Christian_Potenza property:country_of_citizenship resource:Canada }
[]
common name
SYSTEM
YES
(Q2527094,P27,Q16)
action is_in
entity Q16
action find
entity Q2527094
relation P27
[ANSWER]
['Q2527094', 'P27', 'Q16']
ASK WHERE { resource:Q2527094 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Christian Potenza
relation country of citizenship
['Christian Potenza', 'country of citizenship', 'Canada']
ASK WHERE { resource:Christian_Potenza property:country_of_citizenship resource:Canada }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6900907 Q6264006
P27 P17
Q1048835
USER
Which political territories are the countries of citizenship of John Wildman and do Monkland Village belong to ?
AND((Q6264006,P27,c(Q1048835)), (Q6900907,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q6264006
relation P27
action find
entity Q6900907
relation P17
type Q1048835
{'AND': [['Q6264006', 'P27', {'concept': 'Q1048835'}], ['Q6900907', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { resource:Q6264006 property:P27 ?g . resource:Q6900907 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Monkland Village John Wildman
action filter_type
action intersection
action find
entity John Wildman
relation country of citizenship
action find
entity Monkland Village
relation country
type political territorial entity
{'AND': [['John Wildman', 'country of citizenship', {'concept': 'political territorial entity'}], ['Monkland Village', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:John_Wildman property:country_of_citizenship ?g . resource:Monkland_Village property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q6264006,P27,c(Q1048835)), (Q6900907,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q6264006
relation P27
action find
entity Q6900907
relation P17
type Q1048835
[ANSWER] is the countries of citizenship of John Wildman and do Monkland Village belong to
{'AND': [['Q6264006', 'P27', {'concept': 'Q1048835'}], ['Q6900907', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { resource:Q6264006 property:P27 ?g . resource:Q6900907 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Canada
Canada is the countries of citizenship of John Wildman and do Monkland Village belong to
Canada
action filter_type
action intersection
action find
entity John Wildman
relation country of citizenship
action find
entity Monkland Village
relation country
type political territorial entity
{'AND': [['John Wildman', 'country of citizenship', {'concept': 'political territorial entity'}], ['Monkland Village', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:John_Wildman property:country_of_citizenship ?g . resource:Monkland_Village property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16 Q5102560
P27
Q502895
USER
Is Chiura Obata a citizen of that political territory ?
(Q5102560,P27,Q16)
action is_in
entity Q5102560
action find
entity Q16
relation P27
['Q5102560', 'P27', 'Q16']
ASK WHERE { resource:Q16 property:P27 resource:Q5102560 }
Canada Chiura Obata
action is_in
entity Chiura Obata
action find
entity Canada
relation country of citizenship
['Chiura Obata', 'country of citizenship', 'Canada']
ASK WHERE { resource:Canada property:country_of_citizenship resource:Chiura_Obata }
[]
common name
SYSTEM
NO
(Q5102560,P27,Q16)
action is_in
entity Q5102560
action find
entity Q16
relation P27
[ANSWER]
['Q5102560', 'P27', 'Q16']
ASK WHERE { resource:Q16 property:P27 resource:Q5102560 }
No
action is_in
entity Chiura Obata
action find
entity Canada
relation country of citizenship
['Chiura Obata', 'country of citizenship', 'Canada']
ASK WHERE { resource:Canada property:country_of_citizenship resource:Chiura_Obata }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6162057 Q16
P27
Q1048835
USER
Is Canada the native country of that person ?
(Q6162057,P27,Q16)
action is_in
entity Q16
action find
entity Q6162057
relation P27
['Q6162057', 'P27', 'Q16']
ASK WHERE { resource:Q6162057 property:P27 resource:Q16 }
Jason Blicker Canada
action is_in
entity Canada
action find
entity Jason Blicker
relation country of citizenship
['Jason Blicker', 'country of citizenship', 'Canada']
ASK WHERE { resource:Jason_Blicker property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q6162057,P27,Q16)
action is_in
entity Q16
action find
entity Q6162057
relation P27
[ANSWER]
['Q6162057', 'P27', 'Q16']
ASK WHERE { resource:Q6162057 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Jason Blicker
relation country of citizenship
['Jason Blicker', 'country of citizenship', 'Canada']
ASK WHERE { resource:Jason_Blicker property:country_of_citizenship resource:Canada }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q4972213
P530
Q15617994
USER
Does Broadlane have diplomatic relationships with Canada ?
(Q16,P530,Q4972213)
action is_in
entity Q4972213
action find
entity Q16
relation P530
['Q16', 'P530', 'Q4972213']
ASK WHERE { resource:Q16 property:P530 resource:Q4972213 }
Canada Broadlane
action is_in
entity Broadlane
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Broadlane']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Broadlane }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16,P530,Q4972213)
action is_in
entity Q4972213
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q4972213']
ASK WHERE { resource:Q16 property:P530 resource:Q4972213 }
No
action is_in
entity Broadlane
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Broadlane']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Broadlane }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q985297 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are Yerington a part of ?
AND((Q16,P530,c(Q15617994)), (Q985297,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q985297
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q985297', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { resource:Q985297 property:P17 ?z . resource:Q16 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Yerington Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Yerington
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Yerington', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Yerington property:country ?z . resource:Canada property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q16,P530,c(Q15617994)), (Q985297,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q985297
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Canada and are Yerington a part of
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q985297', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { resource:Q985297 property:P17 ?z . resource:Q16 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America have diplomatic relationships with Canada and are Yerington a part of
United States of America
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Yerington
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Yerington', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Yerington property:country ?z . resource:Canada property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q189848 Q16
P47 P530
Q1048835
USER
Which political territories holds diplomatic relationship with Canada or share the border with Guernica ?
OR((Q16,P530,c(Q1048835)), (Q189848,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q16
relation P530
action find
entity Q189848
relation P47
type Q1048835
{'OR': [['Q16', 'P530', {'concept': 'Q1048835'}], ['Q189848', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q16 property:P530 ?s } UNION { resource:Q189848 property:P47 ?s } } . ?s rdf:type ontology:Q1048835 }
Guernica Canada
action filter_type
action union
action find
entity Canada
relation diplomatic relation
action find
entity Guernica
relation shares border with
type political territorial entity
{'OR': [['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Guernica', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Canada property:diplomatic_relation ?s } UNION { resource:Guernica property:shares_border_with ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q1228043 Q183 Q1228784 Q408 Q679513 Q35 Q1228030 Q1228003 Q664870
SYSTEM
New Zealand, Ajangiz, Germany, Arratzu, Australia, Forua, Denmark, Errigoiti, Kortezubi, Muxika
Q664 Q1228043 Q183 Q1228784 Q408 Q679513 Q35 Q1228030 Q1228003 Q664870
OR((Q16,P530,c(Q1048835)), (Q189848,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q16
relation P530
action find
entity Q189848
relation P47
type Q1048835
[ANSWERS] hold diplomatic relationship with Canada or share the border with Guernica
{'OR': [['Q16', 'P530', {'concept': 'Q1048835'}], ['Q189848', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q16 property:P530 ?s } UNION { resource:Q189848 property:P47 ?s } } . ?s rdf:type ontology:Q1048835 }
New Zealand Ajangiz Germany Arratzu Australia Forua Denmark Errigoiti Kortezubi Muxika
New Zealand, Ajangiz, Germany, Arratzu, Australia, Forua, Denmark, Errigoiti, Kortezubi and Muxika hold diplomatic relationship with Canada or share the border with Guernica
New Zealand Ajangiz Germany Arratzu Australia Forua Denmark Errigoiti Kortezubi Muxika
action filter_type
action union
action find
entity Canada
relation diplomatic relation
action find
entity Guernica
relation shares border with
type political territorial entity
{'OR': [['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Guernica', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Canada property:diplomatic_relation ?s } UNION { resource:Guernica property:shares_border_with ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5102560
P21 P22
Q502895
USER
Which people have Chiura Obata as a parent and are a male ?
AND((c(Q502895),P22,Q5102560), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5102560
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5102560'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P21 resource:Q6581097 . ?g property:P22 resource:Q5102560 . ?g rdf:type ontology:Q502895 }
male Chiura Obata
action filter_type
action intersection
action find_reverse
entity Chiura Obata
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Chiura Obata'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:gender resource:male . ?g property:father resource:Chiura_Obata . ?g rdf:type ontology:common_name }
[]
common name
Q6318224
SYSTEM
Gyo Obata
Q6318224
AND((c(Q502895),P22,Q5102560), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5102560
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Chiura Obata as a parent and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q5102560'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P21 resource:Q6581097 . ?g property:P22 resource:Q5102560 . ?g rdf:type ontology:Q502895 }
Gyo Obata
Gyo Obata have Chiura Obata as a parent and are a male
Gyo Obata
action filter_type
action intersection
action find_reverse
entity Chiura Obata
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Chiura Obata'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:gender resource:male . ?g property:father resource:Chiura_Obata . ?g rdf:type ontology:common_name }
[]