Simple Question (Direct)
Simple Question
Q860053
P136
Q1792379
USER
What can be considered as category for Biker Boyz ?
(Q860053,P136,c(Q1792379))
action filter_type
action find
entity Q860053
relation P136
type Q1792379
['Q860053', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { resource:Q860053 property:P136 ?y . ?y rdf:type ontology:Q1792379 }
Biker Boyz
action filter_type
action find
entity Biker Boyz
relation genre
type art genre
['Biker Boyz', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { resource:Biker_Boyz property:genre ?y . ?y rdf:type ontology:art_genre }
[]
art genre
Q2975633
SYSTEM
coming-of-age story
Q2975633
(Q860053,P136,c(Q1792379))
action filter_type
action find
entity Q860053
relation P136
type Q1792379
The [ANSWER] can be considered as category for Biker Boyz
['Q860053', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { resource:Q860053 property:P136 ?y . ?y rdf:type ontology:Q1792379 }
coming-of-age story
The coming-of-age story can be considered as category for Biker Boyz
coming-of-age story
action filter_type
action find
entity Biker Boyz
relation genre
type art genre
['Biker Boyz', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { resource:Biker_Boyz property:genre ?y . ?y rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q860053
P161
Q502895
USER
How many people were casted in Biker Boyz ?
(Q860053,P161,c(Q502895))
action count
action filter_type
action find
entity Q860053
relation P161
type Q502895
['Q860053', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:Q502895 . resource:Q860053 property:P161 ?h }
Biker Boyz
action count
action filter_type
action find
entity Biker Boyz
relation cast member
type common name
['Biker Boyz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:common_name . resource:Biker_Boyz property:cast_member ?h }
[]
common name
SYSTEM
15
Q648897 Q296500 Q232414 Q158175 Q257286 Q1370072 Q542069 Q437693 Q193048 Q237273 Q1805906 Q707823 Q298682 Q738212 Q738253
(Q860053,P161,c(Q502895))
action count
action filter_type
action find
entity Q860053
relation P161
type Q502895
[ANSWER]
['Q860053', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:Q502895 . resource:Q860053 property:P161 ?h }
Derek Luke Terrence Howard Lisa Bonet Kid Rock Meagan Good Rick Gonzalez Orlando Jones Titus Welliver Laurence Fishburne Salli Richardson Larenz Tate Brendan Fehr Djimon Hounsou Tyson Beckford Dante Basco
15
action count
action filter_type
action find
entity Biker Boyz
relation cast member
type common name
['Biker Boyz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:common_name . resource:Biker_Boyz property:cast_member ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6777943
Q502895
USER
And what about Marumalarchi?
(Q6777943,P161,c(Q502895))
action count
action filter_type
action find
entity Q6777943
relation P161
type Q502895
['Q6777943', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q6777943 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Marumalarchi
action count
action filter_type
action find
entity Marumalarchi
relation cast member
type common name
['Marumalarchi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Marumalarchi property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q6777943,P161,c(Q502895))
action count
action filter_type
action find
entity Q6777943
relation P161
type Q502895
[ANSWER]
['Q6777943', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q6777943 property:P161 ?f . ?f rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Marumalarchi
relation cast member
type common name
['Marumalarchi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Marumalarchi property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q860053
P161
Q502895
USER
How many people starred in Biker Boyz ?
(Q860053,P161,c(Q502895))
action count
action filter_type
action find
entity Q860053
relation P161
type Q502895
['Q860053', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q860053 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Biker Boyz
action count
action filter_type
action find
entity Biker Boyz
relation cast member
type common name
['Biker Boyz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Biker_Boyz property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
15
Q648897 Q296500 Q232414 Q158175 Q257286 Q1370072 Q542069 Q437693 Q193048 Q237273 Q1805906 Q707823 Q298682 Q738212 Q738253
(Q860053,P161,c(Q502895))
action count
action filter_type
action find
entity Q860053
relation P161
type Q502895
[ANSWER]
['Q860053', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q860053 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Derek Luke Terrence Howard Lisa Bonet Kid Rock Meagan Good Rick Gonzalez Orlando Jones Titus Welliver Laurence Fishburne Salli Richardson Larenz Tate Brendan Fehr Djimon Hounsou Tyson Beckford Dante Basco
15
action count
action filter_type
action find
entity Biker Boyz
relation cast member
type common name
['Biker Boyz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Biker_Boyz property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q507284
P161
Q502895
USER
And what about Michel Strogoff?
(Q507284,P161,c(Q502895))
action count
action filter_type
action find
entity Q507284
relation P161
type Q502895
['Q507284', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q507284 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Michel Strogoff
action count
action filter_type
action find
entity Michel Strogoff
relation cast member
type common name
['Michel Strogoff', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Michel_Strogoff property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
14
Q456668 Q1677951 Q3371031 Q351276 Q3261085 Q57584 Q451256 Q325767 Q3123799 Q3173851 Q526024 Q451567 Q239802 Q3090354
(Q507284,P161,c(Q502895))
action count
action filter_type
action find
entity Q507284
relation P161
type Q502895
[ANSWER]
['Q507284', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q507284 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Françoise Fabian Jacques Dacqmine Paul Demange Henri Nassiet Louis Arbessier Curd Jürgens Odile Versois Valéry Inkijinoff Gérard Buhr Jean René Célestin Parédès Sylvie Geneviève Page Sylva Koscina Michel Etcheverry
14
action count
action filter_type
action find
entity Michel Strogoff
relation cast member
type common name
['Michel Strogoff', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Michel_Strogoff property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q15901539
Q502895
USER
And what about Tammy?
(Q15901539,P161,c(Q502895))
action count
action filter_type
action find
entity Q15901539
relation P161
type Q502895
['Q15901539', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q15901539 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Tammy
action count
action filter_type
action find
entity Tammy
relation cast member
type common name
['Tammy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Tammy property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
11
(Q15901539,P161,c(Q502895))
action count
action filter_type
action find
entity Q15901539
relation P161
type Q502895
[ANSWER]
['Q15901539', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q15901539 property:P161 ?m . ?m rdf:type ontology:Q502895 }
11
action count
action filter_type
action find
entity Tammy
relation cast member
type common name
['Tammy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Tammy property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1216985 Q860053
P161
Q502895
USER
Which people were casted in Biker Boyz or Night Passage ?
OR((Q860053,P161,c(Q502895)), (Q1216985,P161,c(Q502895)))
action filter_type
action union
action find
entity Q860053
relation P161
action find
entity Q1216985
relation P161
type Q502895
{'OR': [['Q860053', 'P161', {'concept': 'Q502895'}], ['Q1216985', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q860053 property:P161 ?s } UNION { resource:Q1216985 property:P161 ?s } } . ?s rdf:type ontology:Q502895 }
Night Passage Biker Boyz
action filter_type
action union
action find
entity Biker Boyz
relation cast member
action find
entity Night Passage
relation cast member
type common name
{'OR': [['Biker Boyz', 'cast member', {'concept': 'common name'}], ['Night Passage', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Biker_Boyz property:cast_member ?s } UNION { resource:Night_Passage property:cast_member ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q296500 Q337185 Q158175 Q298682 Q542069 Q3026286 Q368794 Q738212 Q1805906 Q500155
SYSTEM
Some of them are Terrence Howard, Audie Murphy, Kid Rock, Djimon Hounsou, Orlando Jones, Dianne Foster, Ellen Corby, Tyson Beckford, Larenz Tate, Jack Elam
Q437693 Q898134 Q368794 Q1370072 Q542069 Q193048 Q707823 Q3036004 Q102462 Q274868 Q296500 Q1445827 Q976165 Q158175 Q1805906 Q1308174 Q648897 Q2967608 Q3026286 Q330847 Q237273 Q298682 Q469560 Q1159055 Q232414 Q738212 Q337185 Q45553 Q257286 Q744357 Q738253 Q500155 Q442791 Q3127608
OR((Q860053,P161,c(Q502895)), (Q1216985,P161,c(Q502895)))
action filter_type
action union
action find
entity Q860053
relation P161
action find
entity Q1216985
relation P161
type Q502895
[ANSWERS] were casted in Biker Boyz or Night Passage
{'OR': [['Q860053', 'P161', {'concept': 'Q502895'}], ['Q1216985', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q860053 property:P161 ?s } UNION { resource:Q1216985 property:P161 ?s } } . ?s rdf:type ontology:Q502895 }
Titus Welliver Brandon deWilde Ellen Corby Rick Gonzalez Orlando Jones Laurence Fishburne Brendan Fehr Donald Curtis James Stewart Olive Carey Terrence Howard Kenny Williams Hugh Beaumont Kid Rock Larenz Tate James Flavin Derek Luke Chuck Roberson Dianne Foster Jay C. Flippen Salli Richardson Djimon Hounsou Diane Foster Dan Duryea Lisa Bonet Tyson Beckford Audie Murphy Robert J. Wilke Meagan Good Paul Fix Dante Basco Jack Elam Elaine Stewart Harold Goodwin
Terrence Howard, Audie Murphy, Kid Rock, Djimon Hounsou, Orlando Jones, Dianne Foster, Ellen Corby, Tyson Beckford, Larenz Tate and Jack Elam were casted in Biker Boyz or Night Passage
Terrence Howard Audie Murphy Kid Rock Djimon Hounsou Orlando Jones Dianne Foster Ellen Corby Tyson Beckford Larenz Tate Jack Elam
action filter_type
action union
action find
entity Biker Boyz
relation cast member
action find
entity Night Passage
relation cast member
type common name
{'OR': [['Biker Boyz', 'cast member', {'concept': 'common name'}], ['Night Passage', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Biker_Boyz property:cast_member ?s } UNION { resource:Night_Passage property:cast_member ?s } } . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q337185 Q178748
P26
Q502895
USER
How many people are the life partner of Audie Murphy or iris ?
(c(Q502895),P26,Q337185) (c(Q502895),P26,Q178748)
action count
action union
action filter_type
action find_reverse
entity Q337185
relation P26
type Q502895
action filter_type
action find_reverse
entity Q178748
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q337185'] [{'concept': 'Q502895'}, 'P26', 'Q178748']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { VALUES ( ?e ) { ( resource:Q337185 ) ( resource:Q178748 ) } . ?h property:P26 ?e }
Audie Murphy iris
action count
action union
action filter_type
action find_reverse
entity Audie Murphy
relation spouse
type common name
action filter_type
action find_reverse
entity iris
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Audie Murphy'] [{'concept': 'common name'}, 'spouse', 'iris']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { VALUES ( ?e ) { ( resource:Audie_Murphy ) ( resource:iris ) } . ?h property:spouse ?e }
[]
common name
SYSTEM
2
Q5749845 Q1147611
(c(Q502895),P26,Q337185) (c(Q502895),P26,Q178748)
action count
action union
action filter_type
action find_reverse
entity Q337185
relation P26
type Q502895
action filter_type
action find_reverse
entity Q178748
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q337185'] [{'concept': 'Q502895'}, 'P26', 'Q178748']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { VALUES ( ?e ) { ( resource:Q337185 ) ( resource:Q178748 ) } . ?h property:P26 ?e }
Carlos Blanco Aguinaga Wanda Hendrix
2
action count
action union
action filter_type
action find_reverse
entity Audie Murphy
relation spouse
type common name
action filter_type
action find_reverse
entity iris
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Audie Murphy'] [{'concept': 'common name'}, 'spouse', 'iris']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { VALUES ( ?e ) { ( resource:Audie_Murphy ) ( resource:iris ) } . ?h property:spouse ?e }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?y ) WHERE { ?h rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 . ?s property:P1303 ?h } GROUP BY ?h } . FILTER ( ?y = ?g ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?y ) WHERE { ?h rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name . ?s property:instrument ?h } GROUP BY ?h } . FILTER ( ?y = ?g ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?y ) WHERE { ?h rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 . ?s property:P1303 ?h } GROUP BY ?h } . FILTER ( ?y = ?g ) }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?y ) WHERE { ?h rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name . ?s property:instrument ?h } GROUP BY ?h } . FILTER ( ?y = ?g ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5994 Q21589474 Q301597
P61
Q502895
USER
Was piano invented or discoverd by Douglas A. Bain and Bartolomeo Cristofori ?
(Q5994,P61,Q21589474) (Q5994,P61,Q301597)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q21589474
relation P61
action find_reverse
entity Q301597
relation P61
['Q5994', 'P61', 'Q21589474'] ['Q5994', 'P61', 'Q301597']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 . resource:Q5994 property:P61 resource:Q21589474 }
piano Douglas A. Bain Bartolomeo Cristofori
action is_in
entity piano
action intersection
action find_reverse
entity Douglas A. Bain
relation discoverer or inventor
action find_reverse
entity Bartolomeo Cristofori
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Douglas A. Bain'] ['piano', 'discoverer or inventor', 'Bartolomeo Cristofori']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori . resource:piano property:discoverer_or_inventor resource:Douglas_A._Bain }
[]
common name
SYSTEM
NO and YES respectively
(Q5994,P61,Q21589474) (Q5994,P61,Q301597)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q21589474
relation P61
action find_reverse
entity Q301597
relation P61
[ANSWER]
['Q5994', 'P61', 'Q21589474'] ['Q5994', 'P61', 'Q301597']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 . resource:Q5994 property:P61 resource:Q21589474 }
NO and YES respectively
action is_in
entity piano
action intersection
action find_reverse
entity Douglas A. Bain
relation discoverer or inventor
action find_reverse
entity Bartolomeo Cristofori
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Douglas A. Bain'] ['piano', 'discoverer or inventor', 'Bartolomeo Cristofori']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori . resource:piano property:discoverer_or_inventor resource:Douglas_A._Bain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5894615 Q6777943
P57
Q502895
USER
Which people directed Marumalarchi or Hong Kong Ghost Stories ?
OR((Q6777943,P57,c(Q502895)), (Q5894615,P57,c(Q502895)))
action filter_type
action union
action find
entity Q6777943
relation P57
action find
entity Q5894615
relation P57
type Q502895
{'OR': [['Q6777943', 'P57', {'concept': 'Q502895'}], ['Q5894615', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { { resource:Q5894615 property:P57 ?e } UNION { resource:Q6777943 property:P57 ?e } } }
Hong Kong Ghost Stories Marumalarchi
action filter_type
action union
action find
entity Marumalarchi
relation director
action find
entity Hong Kong Ghost Stories
relation director
type common name
{'OR': [['Marumalarchi', 'director', {'concept': 'common name'}], ['Hong Kong Ghost Stories', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { { resource:Hong_Kong_Ghost_Stories property:director ?e } UNION { resource:Marumalarchi property:director ?e } } }
[]
common name
Q17005442 Q7146964 Q707336
SYSTEM
Marumalarchi Bharathi, Patrick Kong, Wong Jing
Q17005442 Q7146964 Q707336
OR((Q6777943,P57,c(Q502895)), (Q5894615,P57,c(Q502895)))
action filter_type
action union
action find
entity Q6777943
relation P57
action find
entity Q5894615
relation P57
type Q502895
[ANSWERS] directed Marumalarchi or Hong Kong Ghost Stories
{'OR': [['Q6777943', 'P57', {'concept': 'Q502895'}], ['Q5894615', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { { resource:Q5894615 property:P57 ?e } UNION { resource:Q6777943 property:P57 ?e } } }
Marumalarchi Bharathi Patrick Kong Wong Jing
Marumalarchi Bharathi, Patrick Kong and Wong Jing directed Marumalarchi or Hong Kong Ghost Stories
Marumalarchi Bharathi Patrick Kong Wong Jing
action filter_type
action union
action find
entity Marumalarchi
relation director
action find
entity Hong Kong Ghost Stories
relation director
type common name
{'OR': [['Marumalarchi', 'director', {'concept': 'common name'}], ['Hong Kong Ghost Stories', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { { resource:Hong_Kong_Ghost_Stories property:director ?e } UNION { resource:Marumalarchi property:director ?e } } }
[]