Simple Question (Direct)
Simple Question
Q336406
P102
Q7210356
USER
Which party is Muhammad Naji al-Otari affiliated with ?
(Q336406,P102,c(Q7210356))
action filter_type
action find
entity Q336406
relation P102
type Q7210356
['Q336406', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q336406 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Muhammad Naji al-Otari
action filter_type
action find
entity Muhammad Naji al-Otari
relation member of political party
type political organization
['Muhammad Naji al-Otari', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Muhammad_Naji_al-Otari property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q179933
SYSTEM
Ba'ath Party
Q179933
(Q336406,P102,c(Q7210356))
action filter_type
action find
entity Q336406
relation P102
type Q7210356
Muhammad Naji al-Otari is affiliated with [ANSWER]
['Q336406', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q336406 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Ba'ath Party
Muhammad Naji al-Otari is affiliated with Ba'ath Party
Ba'ath Party
action filter_type
action find
entity Muhammad Naji al-Otari
relation member of political party
type political organization
['Muhammad Naji al-Otari', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Muhammad_Naji_al-Otari property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q336406
P140
Q874405
USER
What is the religious affiliation of Muhammad Naji al-Otari ?
(Q336406,P140,c(Q874405))
action filter_type
action find
entity Q336406
relation P140
type Q874405
['Q336406', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q336406 property:P140 ?m . ?m rdf:type ontology:Q874405 }
Muhammad Naji al-Otari
action filter_type
action find
entity Muhammad Naji al-Otari
relation religion
type social group
['Muhammad Naji al-Otari', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:Muhammad_Naji_al-Otari property:religion ?m . ?m rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q336406,P140,c(Q874405))
action filter_type
action find
entity Q336406
relation P140
type Q874405
The religious affiliation of Muhammad Naji al-Otari is of [ANSWER]
['Q336406', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q336406 property:P140 ?m . ?m rdf:type ontology:Q874405 }
Islam
The religious affiliation of Muhammad Naji al-Otari is of Islam
Islam
action filter_type
action find
entity Muhammad Naji al-Otari
relation religion
type social group
['Muhammad Naji al-Otari', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:Muhammad_Naji_al-Otari property:religion ?m . ?m rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1615517
Q874405
USER
And how about William O'Malley?
(Q1615517,P140,c(Q874405))
action filter_type
action find
entity Q1615517
relation P140
type Q874405
['Q1615517', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?l WHERE { resource:Q1615517 property:P140 ?l . ?l rdf:type ontology:Q874405 }
William O'Malley
action filter_type
action find
entity William O'Malley
relation religion
type social group
["William O'Malley", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?l WHERE { resource:William_O'Malley property:religion ?l . ?l rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q1615517,P140,c(Q874405))
action filter_type
action find
entity Q1615517
relation P140
type Q874405
[ANSWER]
['Q1615517', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?l WHERE { resource:Q1615517 property:P140 ?l . ?l rdf:type ontology:Q874405 }
Catholicism
Catholicism
action filter_type
action find
entity William O'Malley
relation religion
type social group
["William O'Malley", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?l WHERE { resource:William_O'Malley property:religion ?l . ?l rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q874405 Q15709879
USER
Which social groups inspired less number of artwork series than that social group ?
(c(Q15709879),P941,c(Q874405))
action less
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find_reverse
entity Q1841
relation P941
type Q15709879
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P941 ?r . ?r rdf:type ontology:Q874405 . ?v rdf:type ontology:Q15709879 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:Q15709879 . ?j property:P941 resource:Q1841 } } . FILTER ( ?e < ?g ) }
action less
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find_reverse
entity Catholicism
relation inspired by
type artwork series
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:inspired_by ?r . ?r rdf:type ontology:social_group . ?v rdf:type ontology:artwork_series } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:artwork_series . ?j property:inspired_by resource:Catholicism } } . FILTER ( ?e < ?g ) }
[]
social group artwork series
Q5043 Q748 Q7560
SYSTEM
Christianity, Buddhism, mother
Q5043 Q7560 Q9235758 Q748 Q41726
(c(Q15709879),P941,c(Q874405))
action less
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find_reverse
entity Q1841
relation P941
type Q15709879
[ANSWERS] inspired less number of artwork series than that social group
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P941 ?r . ?r rdf:type ontology:Q874405 . ?v rdf:type ontology:Q15709879 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:Q15709879 . ?j property:P941 resource:Q1841 } } . FILTER ( ?e < ?g ) }
Christianity mother grandmother Buddhism freemasonry
Christianity, Buddhism and mother inspired less number of artwork series than that social group
Christianity Buddhism mother
action less
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find_reverse
entity Catholicism
relation inspired by
type artwork series
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:inspired_by ?r . ?r rdf:type ontology:social_group . ?v rdf:type ontology:artwork_series } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:artwork_series . ?j property:inspired_by resource:Catholicism } } . FILTER ( ?e < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748
P112
Q502895
USER
Who founded Buddhism ?
(Q748,P112,c(Q502895))
action filter_type
action find
entity Q748
relation P112
type Q502895
['Q748', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q748 property:P112 ?u . ?u rdf:type ontology:Q502895 }
Buddhism
action filter_type
action find
entity Buddhism
relation founder
type common name
['Buddhism', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Buddhism property:founder ?u . ?u rdf:type ontology:common_name }
[]
common name
Q9441
SYSTEM
Gautama Buddha
Q9441
(Q748,P112,c(Q502895))
action filter_type
action find
entity Q748
relation P112
type Q502895
[ANSWER] founded Buddhism
['Q748', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q748 property:P112 ?u . ?u rdf:type ontology:Q502895 }
Gautama Buddha
Gautama Buddha founded Buddhism
Gautama Buddha
action filter_type
action find
entity Buddhism
relation founder
type common name
['Buddhism', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Buddhism property:founder ?u . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9441 Q825673 Q5804408
P20
Q56061
USER
Does Gautama Buddha have Kushinagar and Borghun as the location of death ?
(Q9441,P20,Q825673) (Q9441,P20,Q5804408)
action is_in
entity Q9441
action intersection
action find_reverse
entity Q825673
relation P20
action find_reverse
entity Q5804408
relation P20
['Q9441', 'P20', 'Q825673'] ['Q9441', 'P20', 'Q5804408']
ASK WHERE { resource:Q9441 property:P20 resource:Q825673 . resource:Q9441 property:P20 resource:Q5804408 }
Gautama Buddha Kushinagar Borghun
action is_in
entity Gautama Buddha
action intersection
action find_reverse
entity Kushinagar
relation place of death
action find_reverse
entity Borghun
relation place of death
['Gautama Buddha', 'place of death', 'Kushinagar'] ['Gautama Buddha', 'place of death', 'Borghun']
ASK WHERE { resource:Gautama_Buddha property:place_of_death resource:Kushinagar . resource:Gautama_Buddha property:place_of_death resource:Borghun }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q9441,P20,Q825673) (Q9441,P20,Q5804408)
action is_in
entity Q9441
action intersection
action find_reverse
entity Q825673
relation P20
action find_reverse
entity Q5804408
relation P20
[ANSWER]
['Q9441', 'P20', 'Q825673'] ['Q9441', 'P20', 'Q5804408']
ASK WHERE { resource:Q9441 property:P20 resource:Q825673 . resource:Q9441 property:P20 resource:Q5804408 }
YES and NO respectively
action is_in
entity Gautama Buddha
action intersection
action find_reverse
entity Kushinagar
relation place of death
action find_reverse
entity Borghun
relation place of death
['Gautama Buddha', 'place of death', 'Kushinagar'] ['Gautama Buddha', 'place of death', 'Borghun']
ASK WHERE { resource:Gautama_Buddha property:place_of_death resource:Kushinagar . resource:Gautama_Buddha property:place_of_death resource:Borghun }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q179933 Q858
P17
Q15617994
USER
Is that political organization situated in Syria ?
(Q179933,P17,Q858)
action is_in
entity Q858
action find
entity Q179933
relation P17
['Q179933', 'P17', 'Q858']
ASK WHERE { resource:Q179933 property:P17 resource:Q858 }
Ba'ath Party Syria
action is_in
entity Syria
action find
entity Ba'ath Party
relation country
["Ba'ath Party", 'country', 'Syria']
ASK WHERE { resource:Ba'ath_Party property:country resource:Syria }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q179933,P17,Q858)
action is_in
entity Q858
action find
entity Q179933
relation P17
[ANSWER]
['Q179933', 'P17', 'Q858']
ASK WHERE { resource:Q179933 property:P17 resource:Q858 }
Yes
action is_in
entity Syria
action find
entity Ba'ath Party
relation country
["Ba'ath Party", 'country', 'Syria']
ASK WHERE { resource:Ba'ath_Party property:country resource:Syria }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q336406 Q41183
P19
Q56061
USER
Is Aleppo the birthplace of Muhammad Naji al-Otari ?
(Q336406,P19,Q41183)
action is_in
entity Q41183
action find
entity Q336406
relation P19
['Q336406', 'P19', 'Q41183']
ASK WHERE { resource:Q336406 property:P19 resource:Q41183 }
Muhammad Naji al-Otari Aleppo
action is_in
entity Aleppo
action find
entity Muhammad Naji al-Otari
relation place of birth
['Muhammad Naji al-Otari', 'place of birth', 'Aleppo']
ASK WHERE { resource:Muhammad_Naji_al-Otari property:place_of_birth resource:Aleppo }
[]
administrative territorial entity
SYSTEM
YES
(Q336406,P19,Q41183)
action is_in
entity Q41183
action find
entity Q336406
relation P19
[ANSWER]
['Q336406', 'P19', 'Q41183']
ASK WHERE { resource:Q336406 property:P19 resource:Q41183 }
Yes
action is_in
entity Aleppo
action find
entity Muhammad Naji al-Otari
relation place of birth
['Muhammad Naji al-Otari', 'place of birth', 'Aleppo']
ASK WHERE { resource:Muhammad_Naji_al-Otari property:place_of_birth resource:Aleppo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q336406 Q2475279
P39
Q12737077
USER
How many occupations were the positions occupied by Muhammad Naji al-Otari or Ullrich Sierau ?
(Q336406,P39,c(Q12737077)) (Q2475279,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q336406
relation P39
type Q12737077
action filter_type
action find
entity Q2475279
relation P39
type Q12737077
['Q336406', 'P39', {'concept': 'Q12737077'}] ['Q2475279', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Q336406 property:P39 ?f . ?f rdf:type ontology:Q12737077 } UNION { resource:Q2475279 property:P39 ?f . ?f rdf:type ontology:Q12737077 } }
Muhammad Naji al-Otari Ullrich Sierau
action count
action union
action filter_type
action find
entity Muhammad Naji al-Otari
relation position held
type occupation
action filter_type
action find
entity Ullrich Sierau
relation position held
type occupation
['Muhammad Naji al-Otari', 'position held', {'concept': 'occupation'}] ['Ullrich Sierau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Muhammad_Naji_al-Otari property:position_held ?f . ?f rdf:type ontology:occupation } UNION { resource:Ullrich_Sierau property:position_held ?f . ?f rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q30185 Q696776
(Q336406,P39,c(Q12737077)) (Q2475279,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q336406
relation P39
type Q12737077
action filter_type
action find
entity Q2475279
relation P39
type Q12737077
[ANSWER]
['Q336406', 'P39', {'concept': 'Q12737077'}] ['Q2475279', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Q336406 property:P39 ?f . ?f rdf:type ontology:Q12737077 } UNION { resource:Q2475279 property:P39 ?f . ?f rdf:type ontology:Q12737077 } }
mayor city manager
2
action count
action union
action filter_type
action find
entity Muhammad Naji al-Otari
relation position held
type occupation
action filter_type
action find
entity Ullrich Sierau
relation position held
type occupation
['Muhammad Naji al-Otari', 'position held', {'concept': 'occupation'}] ['Ullrich Sierau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { resource:Muhammad_Naji_al-Otari property:position_held ?f . ?f rdf:type ontology:occupation } UNION { resource:Ullrich_Sierau property:position_held ?f . ?f rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q336406
P6
Q35798
USER
Which executive branch has a government lead by that person ?
action filter_type
action find_reverse
entity Q336406
relation P6
type Q35798
SELECT DISTINCT ?c WHERE { ?c property:P6 resource:Q336406 . ?c rdf:type ontology:Q35798 }
Muhammad Naji al-Otari
action filter_type
action find_reverse
entity Muhammad Naji al-Otari
relation head of government
type executive branch
SELECT DISTINCT ?c WHERE { ?c property:head_of_government resource:Muhammad_Naji_al-Otari . ?c rdf:type ontology:executive_branch }
[]
executive branch
Q5015564
SYSTEM
Cabinet of Syria, 2003-2011
Q5015564
action filter_type
action find_reverse
entity Q336406
relation P6
type Q35798
[ANSWER] has a government lead by that person
SELECT DISTINCT ?c WHERE { ?c property:P6 resource:Q336406 . ?c rdf:type ontology:Q35798 }
Cabinet of Syria, 2003-2011
Cabinet of Syria, 2003-2011 has a government lead by that person
Cabinet of Syria, 2003-2011
action filter_type
action find_reverse
entity Muhammad Naji al-Otari
relation head of government
type executive branch
SELECT DISTINCT ?c WHERE { ?c property:head_of_government resource:Muhammad_Naji_al-Otari . ?c rdf:type ontology:executive_branch }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P35
Q502895 Q35798
USER
Which executive branches are more number of people the head of state of than that executive branch ?
(c(Q35798),P35,c(Q502895))
action greater
action find_tuple_counts
relation P35
type Q35798
type Q502895
action count
action filter_type
action find
entity Q5015564
relation P35
type Q35798
[{'concept': 'Q35798'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?f ) WHERE { ?d property:P35 ?s . ?d rdf:type ontology:Q35798 . ?s rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q5015564 property:P35 ?e . ?e rdf:type ontology:Q35798 } } . FILTER ( ?f > ?k ) }
action greater
action find_tuple_counts
relation head of state
type executive branch
type common name
action count
action filter_type
action find
entity Cabinet of Syria, 2003-2011
relation head of state
type executive branch
[{'concept': 'executive branch'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?f ) WHERE { ?d property:head_of_state ?s . ?d rdf:type ontology:executive_branch . ?s rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Cabinet_of_Syria,_2003-2011 property:head_of_state ?e . ?e rdf:type ontology:executive_branch } } . FILTER ( ?f > ?k ) }
[]
common name executive branch
Q2649128 Q3773786 Q3111867
SYSTEM
De Gasperi I Cabinet, Andreotti IV Cabinet, Andreotti VII Cabinet
Q3773786 Q3111867 Q2649128 Q1869728 Q3112299 Q15772498
(c(Q35798),P35,c(Q502895))
action greater
action find_tuple_counts
relation P35
type Q35798
type Q502895
action count
action filter_type
action find
entity Q5015564
relation P35
type Q35798
[ANSWERS] are more number of people the head of state of than that executive branch
[{'concept': 'Q35798'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?f ) WHERE { ?d property:P35 ?s . ?d rdf:type ontology:Q35798 . ?s rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q5015564 property:P35 ?e . ?e rdf:type ontology:Q35798 } } . FILTER ( ?f > ?k ) }
Andreotti IV Cabinet Andreotti VII Cabinet De Gasperi I Cabinet D'Alema I Cabinet Moro II Cabinet Renzi Cabinet
De Gasperi I Cabinet, Andreotti IV Cabinet and Andreotti VII Cabinet are more number of people the head of state of than that executive branch
De Gasperi I Cabinet Andreotti IV Cabinet Andreotti VII Cabinet
action greater
action find_tuple_counts
relation head of state
type executive branch
type common name
action count
action filter_type
action find
entity Cabinet of Syria, 2003-2011
relation head of state
type executive branch
[{'concept': 'executive branch'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?f ) WHERE { ?d property:head_of_state ?s . ?d rdf:type ontology:executive_branch . ?s rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Cabinet_of_Syria,_2003-2011 property:head_of_state ?e . ?e rdf:type ontology:executive_branch } } . FILTER ( ?f > ?k ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18944791 Q179933
P276 P159
Q56061
USER
Which administrative territories are the headquarters of Ba'ath Party located or are the place where Beatrixlaan are located ?
OR((Q179933,P159,c(Q56061)), (Q18944791,P276,c(Q56061)))
action filter_type
action union
action find
entity Q179933
relation P159
action find
entity Q18944791
relation P276
type Q56061
{'OR': [['Q179933', 'P159', {'concept': 'Q56061'}], ['Q18944791', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q18944791 property:P276 ?s } UNION { resource:Q179933 property:P159 ?s } } . ?s rdf:type ontology:Q56061 }
Beatrixlaan Ba'ath Party
action filter_type
action union
action find
entity Ba'ath Party
relation headquarters location
action find
entity Beatrixlaan
relation location
type administrative territorial entity
{'OR': [["Ba'ath Party", 'headquarters location', {'concept': 'administrative territorial entity'}], ['Beatrixlaan', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Beatrixlaan property:location ?s } UNION { resource:Ba'ath_Party property:headquarters_location ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3766 Q2473978
SYSTEM
Damascus, Ede
Q3766 Q2473978
OR((Q179933,P159,c(Q56061)), (Q18944791,P276,c(Q56061)))
action filter_type
action union
action find
entity Q179933
relation P159
action find
entity Q18944791
relation P276
type Q56061
[ANSWERS] are the headquarters of Ba'ath Party located or are the place where Beatrixlaan are located
{'OR': [['Q179933', 'P159', {'concept': 'Q56061'}], ['Q18944791', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q18944791 property:P276 ?s } UNION { resource:Q179933 property:P159 ?s } } . ?s rdf:type ontology:Q56061 }
Damascus Ede
Damascus and Ede are the headquarters of Ba'ath Party located or are the place where Beatrixlaan are located
Damascus Ede
action filter_type
action union
action find
entity Ba'ath Party
relation headquarters location
action find
entity Beatrixlaan
relation location
type administrative territorial entity
{'OR': [["Ba'ath Party", 'headquarters location', {'concept': 'administrative territorial entity'}], ['Beatrixlaan', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Beatrixlaan property:location ?s } UNION { resource:Ba'ath_Party property:headquarters_location ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3707791 Q2649128
P161 P35
Q502895
USER
Which people are elected as the head of state of De Gasperi I Cabinet or starred in Tammy Tell Me True ?
OR((Q2649128,P35,c(Q502895)), (Q3707791,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2649128
relation P35
action find
entity Q3707791
relation P161
type Q502895
{'OR': [['Q2649128', 'P35', {'concept': 'Q502895'}], ['Q3707791', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3707791 property:P161 ?s } UNION { resource:Q2649128 property:P35 ?s } } . ?s rdf:type ontology:Q502895 }
Tammy Tell Me True De Gasperi I Cabinet
action filter_type
action union
action find
entity De Gasperi I Cabinet
relation head of state
action find
entity Tammy Tell Me True
relation cast member
type common name
{'OR': [['De Gasperi I Cabinet', 'head of state', {'concept': 'common name'}], ['Tammy Tell Me True', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Tammy_Tell_Me_True property:cast_member ?s } UNION { resource:De_Gasperi_I_Cabinet property:head_of_state ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q1245 Q891104 Q150642 Q273118 Q234875 Q153832 Q466440 Q950397 Q187149 Q145627
SYSTEM
Enrico De Nicola, Cecil Kellaway, Vittorio Emanuele III, Virginia Grey, Sandra Dee, Alcide De Gasperi, Beulah Bondi, Edgar Buchanan, Umberto II of Italy, John Gavin
Q1245 Q891104 Q150642 Q273118 Q234875 Q153832 Q466440 Q950397 Q187149 Q145627
OR((Q2649128,P35,c(Q502895)), (Q3707791,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2649128
relation P35
action find
entity Q3707791
relation P161
type Q502895
[ANSWERS] are elected as the head of state of De Gasperi I Cabinet or starred in Tammy Tell Me True
{'OR': [['Q2649128', 'P35', {'concept': 'Q502895'}], ['Q3707791', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3707791 property:P161 ?s } UNION { resource:Q2649128 property:P35 ?s } } . ?s rdf:type ontology:Q502895 }
Enrico De Nicola Cecil Kellaway Vittorio Emanuele III Virginia Grey Sandra Dee Alcide De Gasperi Beulah Bondi Edgar Buchanan Umberto II of Italy John Gavin
Enrico De Nicola, Cecil Kellaway, Vittorio Emanuele III, Virginia Grey, Sandra Dee, Alcide De Gasperi, Beulah Bondi, Edgar Buchanan, Umberto II of Italy and John Gavin are elected as the head of state of De Gasperi I Cabinet or starred in Tammy Tell Me True
Enrico De Nicola Cecil Kellaway Vittorio Emanuele III Virginia Grey Sandra Dee Alcide De Gasperi Beulah Bondi Edgar Buchanan Umberto II of Italy John Gavin
action filter_type
action union
action find
entity De Gasperi I Cabinet
relation head of state
action find
entity Tammy Tell Me True
relation cast member
type common name
{'OR': [['De Gasperi I Cabinet', 'head of state', {'concept': 'common name'}], ['Tammy Tell Me True', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Tammy_Tell_Me_True property:cast_member ?s } UNION { resource:De_Gasperi_I_Cabinet property:head_of_state ?s } } . ?s rdf:type ontology:common_name }
[]