Simple Question (Direct)
Simple Question
Q3418068
P57
Q502895
USER
Which person directed Anbe Aaruyire ?
(Q3418068,P57,c(Q502895))
action filter_type
action find
entity Q3418068
relation P57
type Q502895
['Q3418068', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3418068 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Anbe Aaruyire
action filter_type
action find
entity Anbe Aaruyire
relation director
type common name
['Anbe Aaruyire', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Anbe_Aaruyire property:director ?p . ?p rdf:type ontology:common_name }
[]
common name
Q7387554
SYSTEM
S. J. Surya
Q7387554
(Q3418068,P57,c(Q502895))
action filter_type
action find
entity Q3418068
relation P57
type Q502895
[ANSWER] directed Anbe Aaruyire
['Q3418068', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3418068 property:P57 ?p . ?p rdf:type ontology:Q502895 }
S. J. Surya
S. J. Surya directed Anbe Aaruyire
S. J. Surya
action filter_type
action find
entity Anbe Aaruyire
relation director
type common name
['Anbe Aaruyire', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Anbe_Aaruyire property:director ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7387554
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q7387554)
action filter_type
action find_reverse
entity Q7387554
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7387554']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q7387554 . ?e rdf:type ontology:Q838948 }
S. J. Surya
action filter_type
action find_reverse
entity S. J. Surya
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'S. J. Surya']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:S._J._Surya . ?e rdf:type ontology:work_of_art }
[]
work of art
Q7937978 Q7785307 Q6354708
SYSTEM
Viyabari, Thirumagan, Kalvanin Kadhali
Q25204126 Q6354708 Q3418068 Q7785307 Q16252352 Q7937978 Q7020542
(c(Q838948),P161,Q7387554)
action filter_type
action find_reverse
entity Q7387554
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q7387554']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q7387554 . ?e rdf:type ontology:Q838948 }
Nenjam Marappathillai Kalvanin Kadhali Anbe Aaruyire Thirumagan New Viyabari Newtonin Moondram Vidhi
Viyabari, Thirumagan and Kalvanin Kadhali star that person as actor
Viyabari Thirumagan Kalvanin Kadhali
action filter_type
action find_reverse
entity S. J. Surya
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'S. J. Surya']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:S._J._Surya . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7387554
P58
Q838948
USER
Which works of art did S. J. Surya do the screenwriting for ?
(c(Q838948),P58,Q7387554)
action filter_type
action find_reverse
entity Q7387554
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q7387554']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q7387554 . ?q rdf:type ontology:Q838948 }
S. J. Surya
action filter_type
action find_reverse
entity S. J. Surya
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'S. J. Surya']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:S._J._Surya . ?q rdf:type ontology:work_of_art }
[]
work of art
Q7259306 Q3418068 Q7907814
SYSTEM
Puli, Anbe Aaruyire, Vaali
Q3418068 Q7907814 Q6956598 Q7259306 Q6078447 Q16252352 Q6447925
(c(Q838948),P58,Q7387554)
action filter_type
action find_reverse
entity Q7387554
relation P58
type Q838948
[ANSWERS] S. J. Surya did the screenwriting for
[{'concept': 'Q838948'}, 'P58', 'Q7387554']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q7387554 . ?q rdf:type ontology:Q838948 }
Anbe Aaruyire Vaali Naani Puli Isai New Kushi
Puli, Anbe Aaruyire and Vaali S. J. Surya did the screenwriting for
Puli Anbe Aaruyire Vaali
action filter_type
action find_reverse
entity S. J. Surya
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'S. J. Surya']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:S._J._Surya . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7259306 Q3418068 Q7907814
P344
Q502895
USER
Who are the cinematographers of Puli, Anbe Aaruyire and Vaali ?
(Q7259306,P344,c(Q502895)) (Q3418068,P344,c(Q502895)) (Q7907814,P344,c(Q502895))
action union
action filter_type
action find
entity Q7259306
relation P344
type Q502895
action filter_type
action find
entity Q3418068
relation P344
type Q502895
action filter_type
action find
entity Q7907814
relation P344
type Q502895
['Q7259306', 'P344', {'concept': 'Q502895'}] ['Q3418068', 'P344', {'concept': 'Q502895'}] ['Q7907814', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q502895 . resource:Q7259306 property:P344 ?s } UNION { resource:Q3418068 property:P344 ?s . ?s rdf:type ontology:Q502895 } }
Puli Anbe Aaruyire Vaali
action union
action filter_type
action find
entity Puli
relation director of photography
type common name
action filter_type
action find
entity Anbe Aaruyire
relation director of photography
type common name
action filter_type
action find
entity Vaali
relation director of photography
type common name
['Puli', 'director of photography', {'concept': 'common name'}] ['Anbe Aaruyire', 'director of photography', {'concept': 'common name'}] ['Vaali', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:common_name . resource:Puli property:director_of_photography ?s } UNION { resource:Anbe_Aaruyire property:director_of_photography ?s . ?s rdf:type ontology:common_name } }
[]
common name
Q4914479 Q7920461 Q6173025
SYSTEM
Binod Pradhan, Venu, Jeeva
Q4914479 Q7920461 Q6173025
(Q7259306,P344,c(Q502895)) (Q3418068,P344,c(Q502895)) (Q7907814,P344,c(Q502895))
action union
action filter_type
action find
entity Q7259306
relation P344
type Q502895
action filter_type
action find
entity Q3418068
relation P344
type Q502895
action filter_type
action find
entity Q7907814
relation P344
type Q502895
The cinematographers of Puli , Anbe Aaruyire and Vaali are born [ANSWERS]
['Q7259306', 'P344', {'concept': 'Q502895'}] ['Q3418068', 'P344', {'concept': 'Q502895'}] ['Q7907814', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q502895 . resource:Q7259306 property:P344 ?s } UNION { resource:Q3418068 property:P344 ?s . ?s rdf:type ontology:Q502895 } }
Binod Pradhan Venu Jeeva
The cinematographers of Puli , Anbe Aaruyire and Vaali are born Binod Pradhan, Venu and Jeeva
Binod Pradhan Venu Jeeva
action union
action filter_type
action find
entity Puli
relation director of photography
type common name
action filter_type
action find
entity Anbe Aaruyire
relation director of photography
type common name
action filter_type
action find
entity Vaali
relation director of photography
type common name
['Puli', 'director of photography', {'concept': 'common name'}] ['Anbe Aaruyire', 'director of photography', {'concept': 'common name'}] ['Vaali', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:common_name . resource:Puli property:director_of_photography ?s } UNION { resource:Anbe_Aaruyire property:director_of_photography ?s . ?s rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7387554
P19
Q56061
USER
Which administrative territory is the birthplace of S. J. Surya ?
(Q7387554,P19,c(Q56061))
action filter_type
action find
entity Q7387554
relation P19
type Q56061
['Q7387554', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q7387554 property:P19 ?x }
S. J. Surya
action filter_type
action find
entity S. J. Surya
relation place of birth
type administrative territorial entity
['S. J. Surya', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:S._J._Surya property:place_of_birth ?x }
[]
administrative territorial entity
Q2541738
SYSTEM
Vasudevanallur
Q2541738
(Q7387554,P19,c(Q56061))
action filter_type
action find
entity Q7387554
relation P19
type Q56061
[ANSWER] is the birthplace of S. J. Surya
['Q7387554', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q7387554 property:P19 ?x }
Vasudevanallur
Vasudevanallur is the birthplace of S. J. Surya
Vasudevanallur
action filter_type
action find
entity S. J. Surya
relation place of birth
type administrative territorial entity
['S. J. Surya', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:S._J._Surya property:place_of_birth ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2081843
Q56061
USER
And what about Kader Amadou?
(Q2081843,P19,c(Q56061))
action filter_type
action find
entity Q2081843
relation P19
type Q56061
['Q2081843', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2081843 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Kader Amadou
action filter_type
action find
entity Kader Amadou
relation place of birth
type administrative territorial entity
['Kader Amadou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Kader_Amadou property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3674
SYSTEM
Niamey
Q3674
(Q2081843,P19,c(Q56061))
action filter_type
action find
entity Q2081843
relation P19
type Q56061
[ANSWER]
['Q2081843', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2081843 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Niamey
Niamey
action filter_type
action find
entity Kader Amadou
relation place of birth
type administrative territorial entity
['Kader Amadou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Kader_Amadou property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2965564 Q2081843
P27
Q15617994
USER
Which administrative territories are Kader Amadou or Willy In 't Ven a civilian of ?
OR((Q2081843,P27,c(Q15617994)), (Q2965564,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2081843
relation P27
action find
entity Q2965564
relation P27
type Q15617994
{'OR': [['Q2081843', 'P27', {'concept': 'Q15617994'}], ['Q2965564', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2965564 property:P27 ?f } UNION { resource:Q2081843 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Willy In 't Ven Kader Amadou
action filter_type
action union
action find
entity Kader Amadou
relation country of citizenship
action find
entity Willy In 't Ven
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kader Amadou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Willy In 't Ven", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Willy_In_'t_Ven property:country_of_citizenship ?f } UNION { resource:Kader_Amadou property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q1032 Q1033
SYSTEM
Belgium, Niger, Nigeria
Q31 Q1032 Q1033
OR((Q2081843,P27,c(Q15617994)), (Q2965564,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2081843
relation P27
action find
entity Q2965564
relation P27
type Q15617994
[ANSWERS] are Kader Amadou or Willy In 't Ven a civilian of
{'OR': [['Q2081843', 'P27', {'concept': 'Q15617994'}], ['Q2965564', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2965564 property:P27 ?f } UNION { resource:Q2081843 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Belgium Niger Nigeria
Belgium, Niger and Nigeria are Kader Amadou or Willy In 't Ven a civilian of
Belgium Niger Nigeria
action filter_type
action union
action find
entity Kader Amadou
relation country of citizenship
action find
entity Willy In 't Ven
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kader Amadou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Willy In 't Ven", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Willy_In_'t_Ven property:country_of_citizenship ?f } UNION { resource:Kader_Amadou property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q31) (Q183,P530,Q1032) (Q183,P530,Q1033)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q31'] ['Q183', 'P530', 'Q1032'] ['Q183', 'P530', 'Q1033']
ASK WHERE { resource:Q183 property:P530 ?o . VALUES ( ?o ) { ( resource:Q31 ) ( resource:Q1032 ) ( resource:Q1033 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Belgium'] ['Germany', 'diplomatic relation', 'Niger'] ['Germany', 'diplomatic relation', 'Nigeria']
ASK WHERE { resource:Germany property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Belgium ) ( resource:Niger ) ( resource:Nigeria ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q31) (Q183,P530,Q1032) (Q183,P530,Q1033)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q31'] ['Q183', 'P530', 'Q1032'] ['Q183', 'P530', 'Q1033']
ASK WHERE { resource:Q183 property:P530 ?o . VALUES ( ?o ) { ( resource:Q31 ) ( resource:Q1032 ) ( resource:Q1033 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Belgium'] ['Germany', 'diplomatic relation', 'Niger'] ['Germany', 'diplomatic relation', 'Nigeria']
ASK WHERE { resource:Germany property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Belgium ) ( resource:Niger ) ( resource:Nigeria ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3418068 Q7387554
P58
Q502895
USER
Did S. J. Surya write the screenplay for Anbe Aaruyire ?
(Q3418068,P58,Q7387554)
action is_in
entity Q7387554
action find
entity Q3418068
relation P58
['Q3418068', 'P58', 'Q7387554']
ASK WHERE { resource:Q3418068 property:P58 resource:Q7387554 }
Anbe Aaruyire S. J. Surya
action is_in
entity S. J. Surya
action find
entity Anbe Aaruyire
relation screenwriter
['Anbe Aaruyire', 'screenwriter', 'S. J. Surya']
ASK WHERE { resource:Anbe_Aaruyire property:screenwriter resource:S._J._Surya }
[]
common name
SYSTEM
YES
(Q3418068,P58,Q7387554)
action is_in
entity Q7387554
action find
entity Q3418068
relation P58
[ANSWER]
['Q3418068', 'P58', 'Q7387554']
ASK WHERE { resource:Q3418068 property:P58 resource:Q7387554 }
Yes
action is_in
entity S. J. Surya
action find
entity Anbe Aaruyire
relation screenwriter
['Anbe Aaruyire', 'screenwriter', 'S. J. Surya']
ASK WHERE { resource:Anbe_Aaruyire property:screenwriter resource:S._J._Surya }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1032
P1001
Q12737077 Q1292279
USER
How many occupations or political borders have jurisdiction over Niger ?
(c(Q12737077),P1001,Q1032) (c(Q1292279),P1001,Q1032)
action count
action union
action filter_type
action find_reverse
entity Q1032
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q1032
relation P1001
type Q1292279
[{'concept': 'Q12737077'}, 'P1001', 'Q1032'] [{'concept': 'Q1292279'}, 'P1001', 'Q1032']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q1292279 ) } }
Niger
action count
action union
action filter_type
action find_reverse
entity Niger
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Niger
relation applies to jurisdiction
type political border
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Niger'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Niger']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:political_border ) } }
[]
occupation political border
SYSTEM
8
Q3089034 Q3088696 Q3089173 Q3089121 Q2379519 Q21295995 Q3089021 Q3089174
(c(Q12737077),P1001,Q1032) (c(Q1292279),P1001,Q1032)
action count
action union
action filter_type
action find_reverse
entity Q1032
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q1032
relation P1001
type Q1292279
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q1032'] [{'concept': 'Q1292279'}, 'P1001', 'Q1032']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q1292279 ) } }
Benin–Niger border Algeria–Niger border Niger–Nigeria border Mali–Niger border Libya–Niger border Member of the National Assembly of Niger Burkina Faso–Niger border Chad–Niger border
8
action count
action union
action filter_type
action find_reverse
entity Niger
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Niger
relation applies to jurisdiction
type political border
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Niger'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Niger']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:political_border ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 40 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 40
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?q >= 40 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?q >= 40 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 40
[ANSWERS] have diplomatic relations with atleast 40 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?q >= 40 ) }
Brazil Italy
Brazil and Italy have diplomatic relations with atleast 40 administrative territories
Brazil Italy
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?q >= 40 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21527942 Q7907814
P57
Q502895
USER
Which people served as the directed of Vaali or The Palace of Pleasure ?
OR((Q7907814,P57,c(Q502895)), (Q21527942,P57,c(Q502895)))
action filter_type
action union
action find
entity Q7907814
relation P57
action find
entity Q21527942
relation P57
type Q502895
{'OR': [['Q7907814', 'P57', {'concept': 'Q502895'}], ['Q21527942', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { VALUES ( ?p ) { ( resource:Q7907814 ) ( resource:Q21527942 ) } . ?p property:P57 ?y } }
The Palace of Pleasure Vaali
action filter_type
action union
action find
entity Vaali
relation director
action find
entity The Palace of Pleasure
relation director
type common name
{'OR': [['Vaali', 'director', {'concept': 'common name'}], ['The Palace of Pleasure', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { VALUES ( ?p ) { ( resource:Vaali ) ( resource:The_Palace_of_Pleasure ) } . ?p property:director ?y } }
[]
common name
Q7387554 Q3053027
SYSTEM
S. J. Surya, Emmett J. Flynn
Q7387554 Q3053027
OR((Q7907814,P57,c(Q502895)), (Q21527942,P57,c(Q502895)))
action filter_type
action union
action find
entity Q7907814
relation P57
action find
entity Q21527942
relation P57
type Q502895
[ANSWERS] served as the directed of Vaali or The Palace of Pleasure
{'OR': [['Q7907814', 'P57', {'concept': 'Q502895'}], ['Q21527942', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { VALUES ( ?p ) { ( resource:Q7907814 ) ( resource:Q21527942 ) } . ?p property:P57 ?y } }
S. J. Surya Emmett J. Flynn
S. J. Surya and Emmett J. Flynn served as the directed of Vaali or The Palace of Pleasure
S. J. Surya Emmett J. Flynn
action filter_type
action union
action find
entity Vaali
relation director
action find
entity The Palace of Pleasure
relation director
type common name
{'OR': [['Vaali', 'director', {'concept': 'common name'}], ['The Palace of Pleasure', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { VALUES ( ?p ) { ( resource:Vaali ) ( resource:The_Palace_of_Pleasure ) } . ?p property:director ?y } }
[]