Simple Question (Direct)
Simple Question
Q21427310
P495
Q15617994
USER
Where did Darling 2 originate ?
(Q21427310,P495,c(Q15617994))
action filter_type
action find
entity Q21427310
relation P495
type Q15617994
['Q21427310', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q21427310 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Darling 2
action filter_type
action find
entity Darling 2
relation country of origin
type designation for an administrative territorial entity
['Darling 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Darling_2 property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q21427310,P495,c(Q15617994))
action filter_type
action find
entity Q21427310
relation P495
type Q15617994
Darling 2 originated from [ANSWER]
['Q21427310', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q21427310 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
India
Darling 2 originated from India
India
action filter_type
action find
entity Darling 2
relation country of origin
type designation for an administrative territorial entity
['Darling 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Darling_2 property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21427310
P161
Q502895
USER
Who starred in Darling 2 ?
(Q21427310,P161,c(Q502895))
action filter_type
action find
entity Q21427310
relation P161
type Q502895
['Q21427310', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q21427310 property:P161 ?p . ?p rdf:type ontology:Q502895 }
Darling 2
action filter_type
action find
entity Darling 2
relation cast member
type common name
['Darling 2', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Darling_2 property:cast_member ?p . ?p rdf:type ontology:common_name }
[]
common name
Q17305637 Q17061056 Q25341439
SYSTEM
Arjunan, Kaali Venkat, Maya
Q25341439 Q17061056 Q25302654 Q17305637 Q18392868
(Q21427310,P161,c(Q502895))
action filter_type
action find
entity Q21427310
relation P161
type Q502895
[ANSWERS] starred in Darling 2
['Q21427310', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q21427310 property:P161 ?p . ?p rdf:type ontology:Q502895 }
Maya Kaali Venkat Ramdoss Arjunan Kalaiyarasan
Arjunan, Kaali Venkat and Maya starred in Darling 2
Arjunan Kaali Venkat Maya
action filter_type
action find
entity Darling 2
relation cast member
type common name
['Darling 2', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Darling_2 property:cast_member ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q212453
Q502895
USER
And also tell me about 2030 – Aufstand der Jungen?
(Q212453,P161,c(Q502895))
action filter_type
action find
entity Q212453
relation P161
type Q502895
['Q212453', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q212453 property:P161 ?m . ?m rdf:type ontology:Q502895 }
2030 – Aufstand der Jungen
action filter_type
action find
entity 2030 – Aufstand der Jungen
relation cast member
type common name
['2030 – Aufstand der Jungen', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:2030_–_Aufstand_der_Jungen property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q72555 Q1808962 Q1747632
SYSTEM
Bettina Zimmermann, Lavinia Wilson, Ralph Herforth
Q1303972 Q84414 Q1307152 Q1747632 Q72555 Q1808962
(Q212453,P161,c(Q502895))
action filter_type
action find
entity Q212453
relation P161
type Q502895
[ANSWERS]
['Q212453', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q212453 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Ingrid Mülleder Barnaby Metschurat Mila Böhning Ralph Herforth Bettina Zimmermann Lavinia Wilson
Bettina Zimmermann Lavinia Wilson Ralph Herforth
action filter_type
action find
entity 2030 – Aufstand der Jungen
relation cast member
type common name
['2030 – Aufstand der Jungen', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:2030_–_Aufstand_der_Jungen property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q212453
P161
Q15416
USER
Do those people star in 2030 – Aufstand der Jungen ?
(Q212453,P161,Q72555) (Q212453,P161,Q1808962) (Q212453,P161,Q1747632)
action is_in
entity prev_answer
action find
entity Q212453
relation P161
['Q212453', 'P161', 'Q72555'] ['Q212453', 'P161', 'Q1808962'] ['Q212453', 'P161', 'Q1747632']
ASK WHERE { resource:Q212453 property:P161 ?f . VALUES ( ?f ) { ( resource:Q1303972 ) ( resource:Q84414 ) ( resource:Q1307152 ) } }
2030 – Aufstand der Jungen
action is_in
entity prev_answer
action find
entity 2030 – Aufstand der Jungen
relation cast member
['2030 – Aufstand der Jungen', 'cast member', 'Bettina Zimmermann'] ['2030 – Aufstand der Jungen', 'cast member', 'Lavinia Wilson'] ['2030 – Aufstand der Jungen', 'cast member', 'Ralph Herforth']
ASK WHERE { resource:2030_–_Aufstand_der_Jungen property:cast_member ?f . VALUES ( ?f ) { ( resource:Ingrid_Mülleder ) ( resource:Barnaby_Metschurat ) ( resource:Mila_Böhning ) } }
[]
television program
SYSTEM
YES
(Q212453,P161,Q72555) (Q212453,P161,Q1808962) (Q212453,P161,Q1747632)
action is_in
entity prev_answer
action find
entity Q212453
relation P161
[ANSWER]
['Q212453', 'P161', 'Q72555'] ['Q212453', 'P161', 'Q1808962'] ['Q212453', 'P161', 'Q1747632']
ASK WHERE { resource:Q212453 property:P161 ?f . VALUES ( ?f ) { ( resource:Q1303972 ) ( resource:Q84414 ) ( resource:Q1307152 ) } }
Yes
action is_in
entity prev_answer
action find
entity 2030 – Aufstand der Jungen
relation cast member
['2030 – Aufstand der Jungen', 'cast member', 'Bettina Zimmermann'] ['2030 – Aufstand der Jungen', 'cast member', 'Lavinia Wilson'] ['2030 – Aufstand der Jungen', 'cast member', 'Ralph Herforth']
ASK WHERE { resource:2030_–_Aufstand_der_Jungen property:cast_member ?f . VALUES ( ?f ) { ( resource:Ingrid_Mülleder ) ( resource:Barnaby_Metschurat ) ( resource:Mila_Böhning ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21427310 Q16199565 Q22279830
P86
Q502895
USER
Is Arthur Hodge and Radhan a composer of Darling 2 ?
(Q21427310,P86,Q16199565) (Q21427310,P86,Q22279830)
action is_in
entity Q21427310
action intersection
action find_reverse
entity Q16199565
relation P86
action find_reverse
entity Q22279830
relation P86
['Q21427310', 'P86', 'Q16199565'] ['Q21427310', 'P86', 'Q22279830']
ASK WHERE { resource:Q21427310 property:P86 resource:Q16199565 . resource:Q21427310 property:P86 resource:Q22279830 }
Darling 2 Arthur Hodge Radhan
action is_in
entity Darling 2
action intersection
action find_reverse
entity Arthur Hodge
relation composer
action find_reverse
entity Radhan
relation composer
['Darling 2', 'composer', 'Arthur Hodge'] ['Darling 2', 'composer', 'Radhan']
ASK WHERE { resource:Darling_2 property:composer resource:Arthur_Hodge . resource:Darling_2 property:composer resource:Radhan }
[]
common name
SYSTEM
NO and YES respectively
(Q21427310,P86,Q16199565) (Q21427310,P86,Q22279830)
action is_in
entity Q21427310
action intersection
action find_reverse
entity Q16199565
relation P86
action find_reverse
entity Q22279830
relation P86
[ANSWER]
['Q21427310', 'P86', 'Q16199565'] ['Q21427310', 'P86', 'Q22279830']
ASK WHERE { resource:Q21427310 property:P86 resource:Q16199565 . resource:Q21427310 property:P86 resource:Q22279830 }
NO and YES respectively
action is_in
entity Darling 2
action intersection
action find_reverse
entity Arthur Hodge
relation composer
action find_reverse
entity Radhan
relation composer
['Darling 2', 'composer', 'Arthur Hodge'] ['Darling 2', 'composer', 'Radhan']
ASK WHERE { resource:Darling_2 property:composer resource:Arthur_Hodge . resource:Darling_2 property:composer resource:Radhan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q25341439 Q668
P27
Q15617994
USER
Is India the native country of Maya ?
(Q25341439,P27,Q668)
action is_in
entity Q668
action find
entity Q25341439
relation P27
['Q25341439', 'P27', 'Q668']
ASK WHERE { resource:Q25341439 property:P27 resource:Q668 }
Maya India
action is_in
entity India
action find
entity Maya
relation country of citizenship
['Maya', 'country of citizenship', 'India']
ASK WHERE { resource:Maya property:country_of_citizenship resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q25341439,P27,Q668)
action is_in
entity Q668
action find
entity Q25341439
relation P27
[ANSWER]
['Q25341439', 'P27', 'Q668']
ASK WHERE { resource:Q25341439 property:P27 resource:Q668 }
Yes
action is_in
entity India
action find
entity Maya
relation country of citizenship
['Maya', 'country of citizenship', 'India']
ASK WHERE { resource:Maya property:country_of_citizenship resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21427310 Q22279830
P86
Q502895
USER
Did Radhan write the music for Darling 2 ?
(Q21427310,P86,Q22279830)
action is_in
entity Q22279830
action find
entity Q21427310
relation P86
['Q21427310', 'P86', 'Q22279830']
ASK WHERE { resource:Q21427310 property:P86 resource:Q22279830 }
Darling 2 Radhan
action is_in
entity Radhan
action find
entity Darling 2
relation composer
['Darling 2', 'composer', 'Radhan']
ASK WHERE { resource:Darling_2 property:composer resource:Radhan }
[]
common name
SYSTEM
YES
(Q21427310,P86,Q22279830)
action is_in
entity Q22279830
action find
entity Q21427310
relation P86
[ANSWER]
['Q21427310', 'P86', 'Q22279830']
ASK WHERE { resource:Q21427310 property:P86 resource:Q22279830 }
Yes
action is_in
entity Radhan
action find
entity Darling 2
relation composer
['Darling 2', 'composer', 'Radhan']
ASK WHERE { resource:Darling_2 property:composer resource:Radhan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21427310
P162
Q43229
USER
Who produced that work of art ?
action filter_type
action find
entity Q21427310
relation P162
type Q43229
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q43229 . resource:Q21427310 property:P162 ?y }
Darling 2
action filter_type
action find
entity Darling 2
relation producer
type organization
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:organization . resource:Darling_2 property:producer ?y }
[]
organization
Q7628187
SYSTEM
Studio Green
Q7628187
action filter_type
action find
entity Q21427310
relation P162
type Q43229
[ANSWER] produced that work of art
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q43229 . resource:Q21427310 property:P162 ?y }
Studio Green
Studio Green produced that work of art
Studio Green
action filter_type
action find
entity Darling 2
relation producer
type organization
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:organization . resource:Darling_2 property:producer ?y }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2644390 Q212453
P27 P495
Q1048835
USER
Which political territories are the origin of 2030 – Aufstand der Jungen and are the native countriesof Alfons Kassel ?
AND((Q212453,P495,c(Q1048835)), (Q2644390,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q212453
relation P495
action find
entity Q2644390
relation P27
type Q1048835
{'AND': [['Q212453', 'P495', {'concept': 'Q1048835'}], ['Q2644390', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q212453 property:P495 ?s . resource:Q2644390 property:P27 ?s }
Alfons Kassel 2030 – Aufstand der Jungen
action filter_type
action intersection
action find
entity 2030 – Aufstand der Jungen
relation country of origin
action find
entity Alfons Kassel
relation country of citizenship
type political territorial entity
{'AND': [['2030 – Aufstand der Jungen', 'country of origin', {'concept': 'political territorial entity'}], ['Alfons Kassel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:2030_–_Aufstand_der_Jungen property:country_of_origin ?s . resource:Alfons_Kassel property:country_of_citizenship ?s }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q212453,P495,c(Q1048835)), (Q2644390,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q212453
relation P495
action find
entity Q2644390
relation P27
type Q1048835
[ANSWER] is the origin of 2030 – Aufstand der Jungen and is the native countriesof Alfons Kassel
{'AND': [['Q212453', 'P495', {'concept': 'Q1048835'}], ['Q2644390', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q212453 property:P495 ?s . resource:Q2644390 property:P27 ?s }
Germany
Germany is the origin of 2030 – Aufstand der Jungen and is the native countriesof Alfons Kassel
Germany
action filter_type
action intersection
action find
entity 2030 – Aufstand der Jungen
relation country of origin
action find
entity Alfons Kassel
relation country of citizenship
type political territorial entity
{'AND': [['2030 – Aufstand der Jungen', 'country of origin', {'concept': 'political territorial entity'}], ['Alfons Kassel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:2030_–_Aufstand_der_Jungen property:country_of_origin ?s . resource:Alfons_Kassel property:country_of_citizenship ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q298
P530
Q15617994
USER
Does Chile have diplomatic relationships with that political territory ?
(Q183,P530,Q298)
action is_in
entity Q298
action find
entity Q183
relation P530
['Q183', 'P530', 'Q298']
ASK WHERE { resource:Q183 property:P530 resource:Q298 }
Germany Chile
action is_in
entity Chile
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Chile']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Chile }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q298)
action is_in
entity Q298
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q298']
ASK WHERE { resource:Q183 property:P530 resource:Q298 }
Yes
action is_in
entity Chile
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Chile']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Chile }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q234460 Q2342494
USER
How many people illustrated approximately 24 texts and collectables ?
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 24
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:P110 ?n . ?n rdf:type ontology:Q502895 . ?r rdf:type ontology:Q2342494 } UNION { ?r property:P110 ?n . ?n rdf:type ontology:Q502895 . ?r rdf:type ontology:Q234460 } } GROUP BY ?n } . FILTER ( ?s = 24 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 24
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:illustrator ?n . ?n rdf:type ontology:common_name . ?r rdf:type ontology:collectable } UNION { ?r property:illustrator ?n . ?n rdf:type ontology:common_name . ?r rdf:type ontology:text } } GROUP BY ?n } . FILTER ( ?s = 24 ) }
[]
common name text collectable
SYSTEM
3
Q453980 Q7027914 Q966547
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 24
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:P110 ?n . ?n rdf:type ontology:Q502895 . ?r rdf:type ontology:Q2342494 } UNION { ?r property:P110 ?n . ?n rdf:type ontology:Q502895 . ?r rdf:type ontology:Q234460 } } GROUP BY ?n } . FILTER ( ?s = 24 ) }
Quentin Blake Nick Sharratt Léon Benett
3
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 24
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:illustrator ?n . ?n rdf:type ontology:common_name . ?r rdf:type ontology:collectable } UNION { ?r property:illustrator ?n . ?n rdf:type ontology:common_name . ?r rdf:type ontology:text } } GROUP BY ?n } . FILTER ( ?s = 24 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5388595 Q2644390
P27
Q1048835
USER
Which political territories do Alfons Kassel or Erik Glavic belong to ?
OR((Q2644390,P27,c(Q1048835)), (Q5388595,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2644390
relation P27
action find
entity Q5388595
relation P27
type Q1048835
{'OR': [['Q2644390', 'P27', {'concept': 'Q1048835'}], ['Q5388595', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q5388595 property:P27 ?x } UNION { resource:Q2644390 property:P27 ?x } } . ?x rdf:type ontology:Q1048835 }
Erik Glavic Alfons Kassel
action filter_type
action union
action find
entity Alfons Kassel
relation country of citizenship
action find
entity Erik Glavic
relation country of citizenship
type political territorial entity
{'OR': [['Alfons Kassel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Erik Glavic', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Erik_Glavic property:country_of_citizenship ?x } UNION { resource:Alfons_Kassel property:country_of_citizenship ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q2644390,P27,c(Q1048835)), (Q5388595,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2644390
relation P27
action find
entity Q5388595
relation P27
type Q1048835
Alfons Kassel or Erik Glavic belong to the [ANSWERS]
{'OR': [['Q2644390', 'P27', {'concept': 'Q1048835'}], ['Q5388595', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q5388595 property:P27 ?x } UNION { resource:Q2644390 property:P27 ?x } } . ?x rdf:type ontology:Q1048835 }
Canada Germany
Alfons Kassel or Erik Glavic belong to the Canada and Germany
Canada Germany
action filter_type
action union
action find
entity Alfons Kassel
relation country of citizenship
action find
entity Erik Glavic
relation country of citizenship
type political territorial entity
{'OR': [['Alfons Kassel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Erik Glavic', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Erik_Glavic property:country_of_citizenship ?x } UNION { resource:Alfons_Kassel property:country_of_citizenship ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19880399 Q16199565
P106
Q12737077
USER
Which occupations have Arthur Hodge or Carol Hughes as his/her as a career ?
OR((Q16199565,P106,c(Q12737077)), (Q19880399,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16199565
relation P106
action find
entity Q19880399
relation P106
type Q12737077
{'OR': [['Q16199565', 'P106', {'concept': 'Q12737077'}], ['Q19880399', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q19880399 property:P106 ?i } UNION { resource:Q16199565 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
Carol Hughes Arthur Hodge
action filter_type
action union
action find
entity Arthur Hodge
relation occupation
action find
entity Carol Hughes
relation occupation
type occupation
{'OR': [['Arthur Hodge', 'occupation', {'concept': 'occupation'}], ['Carol Hughes', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Carol_Hughes property:occupation ?i } UNION { resource:Arthur_Hodge property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
occupation
Q4853732 Q82955 Q36180
SYSTEM
children's writer, politician, writer
Q4853732 Q82955 Q36180
OR((Q16199565,P106,c(Q12737077)), (Q19880399,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16199565
relation P106
action find
entity Q19880399
relation P106
type Q12737077
The [ANSWERS] have Arthur Hodge or Carol Hughes as his/her as a career
{'OR': [['Q16199565', 'P106', {'concept': 'Q12737077'}], ['Q19880399', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q19880399 property:P106 ?i } UNION { resource:Q16199565 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
children's writer politician writer
The children's writer, politician and writer have Arthur Hodge or Carol Hughes as his/her as a career
children's writer politician writer
action filter_type
action union
action find
entity Arthur Hodge
relation occupation
action find
entity Carol Hughes
relation occupation
type occupation
{'OR': [['Arthur Hodge', 'occupation', {'concept': 'occupation'}], ['Carol Hughes', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Carol_Hughes property:occupation ?i } UNION { resource:Arthur_Hodge property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]