Simple Question (Direct)
Simple Question
Q160115
P136
Q2198855
USER
Which genre does Ai Weiwei belong to ?
(Q160115,P136,c(Q2198855))
action filter_type
action find
entity Q160115
relation P136
type Q2198855
['Q160115', 'P136', {'concept': 'Q2198855'}]
SELECT DISTINCT ?r WHERE { resource:Q160115 property:P136 ?r . ?r rdf:type ontology:Q2198855 }
Ai Weiwei
action filter_type
action find
entity Ai Weiwei
relation genre
type cultural movement
['Ai Weiwei', 'genre', {'concept': 'cultural movement'}]
SELECT DISTINCT ?r WHERE { resource:Ai_Weiwei property:genre ?r . ?r rdf:type ontology:cultural_movement }
[]
cultural movement
Q203209
SYSTEM
conceptual art
Q203209
(Q160115,P136,c(Q2198855))
action filter_type
action find
entity Q160115
relation P136
type Q2198855
Ai Weiwei belongs to [ANSWER]
['Q160115', 'P136', {'concept': 'Q2198855'}]
SELECT DISTINCT ?r WHERE { resource:Q160115 property:P136 ?r . ?r rdf:type ontology:Q2198855 }
conceptual art
Ai Weiwei belongs to conceptual art
conceptual art
action filter_type
action find
entity Ai Weiwei
relation genre
type cultural movement
['Ai Weiwei', 'genre', {'concept': 'cultural movement'}]
SELECT DISTINCT ?r WHERE { resource:Ai_Weiwei property:genre ?r . ?r rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q160115
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q203209)
action filter_type
action find_reverse
entity Q160115
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q203209']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q160115 . ?s rdf:type ontology:Q502895 }
Ai Weiwei
action filter_type
action find_reverse
entity Ai Weiwei
relation child
type common name
[{'concept': 'common name'}, 'child', 'conceptual art']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Ai_Weiwei . ?s rdf:type ontology:common_name }
[]
common name
Q381194
SYSTEM
Ai Qing
Q381194
(c(Q502895),P40,Q203209)
action filter_type
action find_reverse
entity Q160115
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q203209']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q160115 . ?s rdf:type ontology:Q502895 }
Ai Qing
Ai Qing is that one
Ai Qing
action filter_type
action find_reverse
entity Ai Weiwei
relation child
type common name
[{'concept': 'common name'}, 'child', 'conceptual art']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Ai_Weiwei . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q381194 Q4076775 Q956
P20
Q56061
USER
Does that person have Ballynanty and Beijing as the location of death ?
(Q381194,P20,Q4076775) (Q381194,P20,Q956)
action is_in
entity Q381194
action intersection
action find_reverse
entity Q4076775
relation P20
action find_reverse
entity Q956
relation P20
['Q381194', 'P20', 'Q4076775'] ['Q381194', 'P20', 'Q956']
ASK WHERE { resource:Q381194 property:P20 resource:Q956 . resource:Q381194 property:P20 resource:Q4076775 }
Ai Qing Ballynanty Beijing
action is_in
entity Ai Qing
action intersection
action find_reverse
entity Ballynanty
relation place of death
action find_reverse
entity Beijing
relation place of death
['Ai Qing', 'place of death', 'Ballynanty'] ['Ai Qing', 'place of death', 'Beijing']
ASK WHERE { resource:Ai_Qing property:place_of_death resource:Beijing . resource:Ai_Qing property:place_of_death resource:Ballynanty }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q381194,P20,Q4076775) (Q381194,P20,Q956)
action is_in
entity Q381194
action intersection
action find_reverse
entity Q4076775
relation P20
action find_reverse
entity Q956
relation P20
[ANSWER]
['Q381194', 'P20', 'Q4076775'] ['Q381194', 'P20', 'Q956']
ASK WHERE { resource:Q381194 property:P20 resource:Q956 . resource:Q381194 property:P20 resource:Q4076775 }
NO and YES respectively
action is_in
entity Ai Qing
action intersection
action find_reverse
entity Ballynanty
relation place of death
action find_reverse
entity Beijing
relation place of death
['Ai Qing', 'place of death', 'Ballynanty'] ['Ai Qing', 'place of death', 'Beijing']
ASK WHERE { resource:Ai_Qing property:place_of_death resource:Beijing . resource:Ai_Qing property:place_of_death resource:Ballynanty }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q160115 Q203317 Q148
P27
Q15617994
USER
Is Ai Weiwei a native of Zilshausen and People's Republic of China ?
(Q160115,P27,Q203317) (Q160115,P27,Q148)
action is_in
entity Q160115
action intersection
action find_reverse
entity Q203317
relation P27
action find_reverse
entity Q148
relation P27
['Q160115', 'P27', 'Q203317'] ['Q160115', 'P27', 'Q148']
ASK WHERE { resource:Q160115 property:P27 resource:Q148 . resource:Q160115 property:P27 resource:Q203317 }
Ai Weiwei Zilshausen People's Republic of China
action is_in
entity Ai Weiwei
action intersection
action find_reverse
entity Zilshausen
relation country of citizenship
action find_reverse
entity People's Republic of China
relation country of citizenship
['Ai Weiwei', 'country of citizenship', 'Zilshausen'] ['Ai Weiwei', 'country of citizenship', "People's Republic of China"]
ASK WHERE { resource:Ai_Weiwei property:country_of_citizenship resource:People's_Republic_of_China . resource:Ai_Weiwei property:country_of_citizenship resource:Zilshausen }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q160115,P27,Q203317) (Q160115,P27,Q148)
action is_in
entity Q160115
action intersection
action find_reverse
entity Q203317
relation P27
action find_reverse
entity Q148
relation P27
[ANSWER]
['Q160115', 'P27', 'Q203317'] ['Q160115', 'P27', 'Q148']
ASK WHERE { resource:Q160115 property:P27 resource:Q148 . resource:Q160115 property:P27 resource:Q203317 }
NO and YES respectively
action is_in
entity Ai Weiwei
action intersection
action find_reverse
entity Zilshausen
relation country of citizenship
action find_reverse
entity People's Republic of China
relation country of citizenship
['Ai Weiwei', 'country of citizenship', 'Zilshausen'] ['Ai Weiwei', 'country of citizenship', "People's Republic of China"]
ASK WHERE { resource:Ai_Weiwei property:country_of_citizenship resource:People's_Republic_of_China . resource:Ai_Weiwei property:country_of_citizenship resource:Zilshausen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q160115
P921
Q838948
USER
What are that person a main subject of ?
action filter_type
action find_reverse
entity Q160115
relation P921
type Q838948
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q160115 . ?k rdf:type ontology:Q838948 }
Ai Weiwei
action filter_type
action find_reverse
entity Ai Weiwei
relation main subject
type work of art
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Ai_Weiwei . ?k rdf:type ontology:work_of_art }
[]
work of art
Q3700510 Q17150226
SYSTEM
Ai Weiwei: Never Sorry, Ai Weiwei The Fake Case
Q3700510 Q17150226
action filter_type
action find_reverse
entity Q160115
relation P921
type Q838948
That person are a main subject of the [ANSWERS]
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q160115 . ?k rdf:type ontology:Q838948 }
Ai Weiwei: Never Sorry Ai Weiwei The Fake Case
That person are a main subject of the Ai Weiwei: Never Sorry and Ai Weiwei The Fake Case
Ai Weiwei: Never Sorry Ai Weiwei The Fake Case
action filter_type
action find_reverse
entity Ai Weiwei
relation main subject
type work of art
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Ai_Weiwei . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3700510 Q17150226
P57
Q502895
USER
Who directed Ai Weiwei: Never Sorry and Ai Weiwei The Fake Case ?
(Q3700510,P57,c(Q502895)) (Q17150226,P57,c(Q502895))
action union
action filter_type
action find
entity Q3700510
relation P57
type Q502895
action filter_type
action find
entity Q17150226
relation P57
type Q502895
['Q3700510', 'P57', {'concept': 'Q502895'}] ['Q17150226', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q3700510 property:P57 ?g . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . resource:Q17150226 property:P57 ?g } }
Ai Weiwei: Never Sorry Ai Weiwei The Fake Case
action union
action filter_type
action find
entity Ai Weiwei: Never Sorry
relation director
type common name
action filter_type
action find
entity Ai Weiwei The Fake Case
relation director
type common name
['Ai Weiwei: Never Sorry', 'director', {'concept': 'common name'}] ['Ai Weiwei The Fake Case', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:Ai_Weiwei:_Never_Sorry property:director ?g . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . resource:Ai_Weiwei_The_Fake_Case property:director ?g } }
[]
common name
Q2647222 Q21663058
SYSTEM
Alison Klayman, Andreas Johnsen
Q2647222 Q21663058
(Q3700510,P57,c(Q502895)) (Q17150226,P57,c(Q502895))
action union
action filter_type
action find
entity Q3700510
relation P57
type Q502895
action filter_type
action find
entity Q17150226
relation P57
type Q502895
[ANSWERS] directed Ai Weiwei: Never Sorry and Ai Weiwei The Fake Case
['Q3700510', 'P57', {'concept': 'Q502895'}] ['Q17150226', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q3700510 property:P57 ?g . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . resource:Q17150226 property:P57 ?g } }
Alison Klayman Andreas Johnsen
Alison Klayman and Andreas Johnsen directed Ai Weiwei: Never Sorry and Ai Weiwei The Fake Case
Alison Klayman Andreas Johnsen
action union
action filter_type
action find
entity Ai Weiwei: Never Sorry
relation director
type common name
action filter_type
action find
entity Ai Weiwei The Fake Case
relation director
type common name
['Ai Weiwei: Never Sorry', 'director', {'concept': 'common name'}] ['Ai Weiwei The Fake Case', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:Ai_Weiwei:_Never_Sorry property:director ?g . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . resource:Ai_Weiwei_The_Fake_Case property:director ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2647222 Q21663058
P344
Q838948
USER
Which works of art have those people as the director of photography ?
(c(Q838948),P344,Q2647222) (c(Q838948),P344,Q21663058)
action filter_type
action find_reverse
entity prev_answer
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q2647222'] [{'concept': 'Q838948'}, 'P344', 'Q21663058']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:Q2647222 ) ( resource:Q21663058 ) } . ?w rdf:type ontology:Q838948 . ?w property:P344 ?b }
Alison Klayman Andreas Johnsen
action filter_type
action find_reverse
entity prev_answer
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Alison Klayman'] [{'concept': 'work of art'}, 'director of photography', 'Andreas Johnsen']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:Alison_Klayman ) ( resource:Andreas_Johnsen ) } . ?w rdf:type ontology:work_of_art . ?w property:director_of_photography ?b }
[]
work of art
Q3700510 Q24617908
SYSTEM
Ai Weiwei: Never Sorry, Bugs
Q3700510 Q24617908
(c(Q838948),P344,Q2647222) (c(Q838948),P344,Q21663058)
action filter_type
action find_reverse
entity prev_answer
relation P344
type Q838948
[ANSWERS] have those people as the director of photography
[{'concept': 'Q838948'}, 'P344', 'Q2647222'] [{'concept': 'Q838948'}, 'P344', 'Q21663058']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:Q2647222 ) ( resource:Q21663058 ) } . ?w rdf:type ontology:Q838948 . ?w property:P344 ?b }
Ai Weiwei: Never Sorry Bugs
Ai Weiwei: Never Sorry and Bugs have those people as the director of photography
Ai Weiwei: Never Sorry Bugs
action filter_type
action find_reverse
entity prev_answer
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Alison Klayman'] [{'concept': 'work of art'}, 'director of photography', 'Andreas Johnsen']
SELECT DISTINCT ?w WHERE { VALUES ( ?b ) { ( resource:Alison_Klayman ) ( resource:Andreas_Johnsen ) } . ?w rdf:type ontology:work_of_art . ?w property:director_of_photography ?b }
[]