Simple Question (Direct)
Simple Question
Q1771134
P39
Q12737077
USER
Which occupation was a position held by Markus Ritter ?
(Q1771134,P39,c(Q12737077))
action filter_type
action find
entity Q1771134
relation P39
type Q12737077
['Q1771134', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1771134 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Markus Ritter
action filter_type
action find
entity Markus Ritter
relation position held
type occupation
['Markus Ritter', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Markus_Ritter property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q18510612
SYSTEM
Member of the Swiss National Council
Q18510612
(Q1771134,P39,c(Q12737077))
action filter_type
action find
entity Q1771134
relation P39
type Q12737077
[ANSWER] was a position held by Markus Ritter
['Q1771134', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1771134 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Member of the Swiss National Council
Member of the Swiss National Council was a position held by Markus Ritter
Member of the Swiss National Council
action filter_type
action find
entity Markus Ritter
relation position held
type occupation
['Markus Ritter', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Markus_Ritter property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1771134
P102
Q7210356
USER
Which party does Markus Ritter belong to ?
(Q1771134,P102,c(Q7210356))
action filter_type
action find
entity Q1771134
relation P102
type Q7210356
['Q1771134', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7210356 . resource:Q1771134 property:P102 ?m }
Markus Ritter
action filter_type
action find
entity Markus Ritter
relation member of political party
type political organization
['Markus Ritter', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_organization . resource:Markus_Ritter property:member_of_political_party ?m }
[]
political organization
Q659461
SYSTEM
Christian Democratic People's Party of Switzerland
Q659461
(Q1771134,P102,c(Q7210356))
action filter_type
action find
entity Q1771134
relation P102
type Q7210356
Markus Ritter belongs to [ANSWER]
['Q1771134', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7210356 . resource:Q1771134 property:P102 ?m }
Christian Democratic People's Party of Switzerland
Markus Ritter belongs to Christian Democratic People's Party of Switzerland
Christian Democratic People's Party of Switzerland
action filter_type
action find
entity Markus Ritter
relation member of political party
type political organization
['Markus Ritter', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_organization . resource:Markus_Ritter property:member_of_political_party ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5393668
Q7210356
USER
And what about Ernest Perley?
(Q5393668,P102,c(Q7210356))
action filter_type
action find
entity Q5393668
relation P102
type Q7210356
['Q5393668', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q5393668 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Ernest Perley
action filter_type
action find
entity Ernest Perley
relation member of political party
type political organization
['Ernest Perley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Ernest_Perley property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q138345
SYSTEM
Liberal Party of Canada
Q138345
(Q5393668,P102,c(Q7210356))
action filter_type
action find
entity Q5393668
relation P102
type Q7210356
[ANSWER]
['Q5393668', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q5393668 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Liberal Party of Canada
Liberal Party of Canada
action filter_type
action find
entity Ernest Perley
relation member of political party
type political organization
['Ernest Perley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Ernest_Perley property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q138345
P488
Q502895
USER
Who were the chairpersons of that political organization ?
(Q138345,P488,c(Q502895))
action filter_type
action find
entity Q138345
relation P488
type Q502895
['Q138345', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q138345 property:P488 ?v . ?v rdf:type ontology:Q502895 }
Liberal Party of Canada
action filter_type
action find
entity Liberal Party of Canada
relation chairperson
type common name
['Liberal Party of Canada', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Liberal_Party_of_Canada property:chairperson ?v . ?v rdf:type ontology:common_name }
[]
common name
Q8619 Q128604 Q128543
SYSTEM
Pierre Trudeau, Lester B. Pearson, Jean Chrétien
Q8619 Q956335 Q128633 Q128626 Q128568 Q128543 Q311684 Q888208 Q128529 Q366456 Q128604 Q3099714 Q128664 Q128708 Q333003 Q5217019
(Q138345,P488,c(Q502895))
action filter_type
action find
entity Q138345
relation P488
type Q502895
The chairpersons of that political organization were [ANSWERS]
['Q138345', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q138345 property:P488 ?v . ?v rdf:type ontology:Q502895 }
Pierre Trudeau Bill Graham William Lyon Mackenzie King Louis St. Laurent John Turner Jean Chrétien Michael Ignatieff Bob Rae Paul Martin Stéphane Dion Lester B. Pearson Justin Trudeau Wilfrid Laurier Alexander Mackenzie Edward Blake Daniel Duncan McKenzie
The chairpersons of that political organization were Pierre Trudeau, Lester B. Pearson and Jean Chrétien
Pierre Trudeau Lester B. Pearson Jean Chrétien
action filter_type
action find
entity Liberal Party of Canada
relation chairperson
type common name
['Liberal Party of Canada', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Liberal_Party_of_Canada property:chairperson ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7731899
Q502895
USER
And also tell me about The Emirates Group?
(Q7731899,P488,c(Q502895))
action filter_type
action find
entity Q7731899
relation P488
type Q502895
['Q7731899', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7731899 property:P488 ?k . ?k rdf:type ontology:Q502895 }
The Emirates Group
action filter_type
action find
entity The Emirates Group
relation chairperson
type common name
['The Emirates Group', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Emirates_Group property:chairperson ?k . ?k rdf:type ontology:common_name }
[]
common name
Q153284
SYSTEM
Ahmed bin Saeed Al Maktoum
Q153284
(Q7731899,P488,c(Q502895))
action filter_type
action find
entity Q7731899
relation P488
type Q502895
[ANSWER]
['Q7731899', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7731899 property:P488 ?k . ?k rdf:type ontology:Q502895 }
Ahmed bin Saeed Al Maktoum
Ahmed bin Saeed Al Maktoum
action filter_type
action find
entity The Emirates Group
relation chairperson
type common name
['The Emirates Group', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Emirates_Group property:chairperson ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153284
P112
Q43229
USER
Which organizations were started by that person ?
(c(Q43229),P112,Q153284)
action filter_type
action find_reverse
entity Q153284
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q153284']
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q153284 . ?t rdf:type ontology:Q43229 }
Ahmed bin Saeed Al Maktoum
action filter_type
action find_reverse
entity Ahmed bin Saeed Al Maktoum
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Ahmed bin Saeed Al Maktoum']
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Ahmed_bin_Saeed_Al_Maktoum . ?t rdf:type ontology:organization }
[]
organization
Q5310498 Q7731899
SYSTEM
Dubai Aerospace Enterprise, The Emirates Group
Q5310498 Q7731899
(c(Q43229),P112,Q153284)
action filter_type
action find_reverse
entity Q153284
relation P112
type Q43229
[ANSWERS] were started by that person
[{'concept': 'Q43229'}, 'P112', 'Q153284']
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q153284 . ?t rdf:type ontology:Q43229 }
Dubai Aerospace Enterprise The Emirates Group
Dubai Aerospace Enterprise and The Emirates Group were started by that person
Dubai Aerospace Enterprise The Emirates Group
action filter_type
action find_reverse
entity Ahmed bin Saeed Al Maktoum
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Ahmed bin Saeed Al Maktoum']
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Ahmed_bin_Saeed_Al_Maktoum . ?t rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8619
P161
Q838948
USER
How many works of art have Pierre Trudeau as actor ?
(c(Q838948),P161,Q8619)
action count
action filter_type
action find_reverse
entity Q8619
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q8619']
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:P161 resource:Q8619 . ?t rdf:type ontology:Q838948 }
Pierre Trudeau
action count
action filter_type
action find_reverse
entity Pierre Trudeau
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Pierre Trudeau']
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:cast_member resource:Pierre_Trudeau . ?t rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q3221713
(c(Q838948),P161,Q8619)
action count
action filter_type
action find_reverse
entity Q8619
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q8619']
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:P161 resource:Q8619 . ?t rdf:type ontology:Q838948 }
Le confort et l'indifférence
1
action count
action filter_type
action find_reverse
entity Pierre Trudeau
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Pierre Trudeau']
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:cast_member resource:Pierre_Trudeau . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2735277
P20
Q56061
USER
Which administrative territory is the place of death of Prem Nazir ?
(Q2735277,P20,c(Q56061))
action filter_type
action find
entity Q2735277
relation P20
type Q56061
['Q2735277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2735277 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Prem Nazir
action filter_type
action find
entity Prem Nazir
relation place of death
type administrative territorial entity
['Prem Nazir', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Prem_Nazir property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1352
SYSTEM
Chennai
Q1352
(Q2735277,P20,c(Q56061))
action filter_type
action find
entity Q2735277
relation P20
type Q56061
[ANSWER] is the place of death of Prem Nazir
['Q2735277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2735277 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Chennai
Chennai is the place of death of Prem Nazir
Chennai
action filter_type
action find
entity Prem Nazir
relation place of death
type administrative territorial entity
['Prem Nazir', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Prem_Nazir property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12271223
Q56061
USER
And how about Adrian Lazarovsky?
(Q12271223,P20,c(Q56061))
action filter_type
action find
entity Q12271223
relation P20
type Q56061
['Q12271223', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q12271223 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Adrian Lazarovsky
action filter_type
action find
entity Adrian Lazarovsky
relation place of death
type administrative territorial entity
['Adrian Lazarovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Adrian_Lazarovsky property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q181830
SYSTEM
Shumen
Q181830
(Q12271223,P20,c(Q56061))
action filter_type
action find
entity Q12271223
relation P20
type Q56061
[ANSWER]
['Q12271223', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q12271223 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Shumen
Shumen
action filter_type
action find
entity Adrian Lazarovsky
relation place of death
type administrative territorial entity
['Adrian Lazarovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Adrian_Lazarovsky property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12271223 Q1736576
P106
Q12737077
USER
How many occupations have Adrian Lazarovsky or Katia and Marielle Labèque as his/her as a career ?
(Q12271223,P106,c(Q12737077)) (Q1736576,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q12271223
relation P106
type Q12737077
action filter_type
action find
entity Q1736576
relation P106
type Q12737077
['Q12271223', 'P106', {'concept': 'Q12737077'}] ['Q1736576', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { resource:Q12271223 property:P106 ?a . ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q12737077 . resource:Q1736576 property:P106 ?a } }
Adrian Lazarovsky Katia and Marielle Labèque
action count
action union
action filter_type
action find
entity Adrian Lazarovsky
relation occupation
type occupation
action filter_type
action find
entity Katia and Marielle Labèque
relation occupation
type occupation
['Adrian Lazarovsky', 'occupation', {'concept': 'occupation'}] ['Katia and Marielle Labèque', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { resource:Adrian_Lazarovsky property:occupation ?a . ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:occupation . resource:Katia_and_Marielle_Labèque property:occupation ?a } }
[]
occupation
SYSTEM
2
Q1930187 Q486748
(Q12271223,P106,c(Q12737077)) (Q1736576,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q12271223
relation P106
type Q12737077
action filter_type
action find
entity Q1736576
relation P106
type Q12737077
[ANSWER]
['Q12271223', 'P106', {'concept': 'Q12737077'}] ['Q1736576', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { resource:Q12271223 property:P106 ?a . ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q12737077 . resource:Q1736576 property:P106 ?a } }
journalist pianist
2
action count
action union
action filter_type
action find
entity Adrian Lazarovsky
relation occupation
type occupation
action filter_type
action find
entity Katia and Marielle Labèque
relation occupation
type occupation
['Adrian Lazarovsky', 'occupation', {'concept': 'occupation'}] ['Katia and Marielle Labèque', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { resource:Adrian_Lazarovsky property:occupation ?a . ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:occupation . resource:Katia_and_Marielle_Labèque property:occupation ?a } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7310553 Q153284
P19
Q56061
USER
Which administrative territories are the birthplace of Ahmed bin Saeed Al Maktoum or Rejith Menon ?
OR((Q153284,P19,c(Q56061)), (Q7310553,P19,c(Q56061)))
action filter_type
action union
action find
entity Q153284
relation P19
action find
entity Q7310553
relation P19
type Q56061
{'OR': [['Q153284', 'P19', {'concept': 'Q56061'}], ['Q7310553', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q153284 property:P19 ?n } UNION { resource:Q7310553 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Rejith Menon Ahmed bin Saeed Al Maktoum
action filter_type
action union
action find
entity Ahmed bin Saeed Al Maktoum
relation place of birth
action find
entity Rejith Menon
relation place of birth
type administrative territorial entity
{'OR': [['Ahmed bin Saeed Al Maktoum', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rejith Menon', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ahmed_bin_Saeed_Al_Maktoum property:place_of_birth ?n } UNION { resource:Rejith_Menon property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q612 Q163798
SYSTEM
Dubai, Thrissur
Q612 Q163798
OR((Q153284,P19,c(Q56061)), (Q7310553,P19,c(Q56061)))
action filter_type
action union
action find
entity Q153284
relation P19
action find
entity Q7310553
relation P19
type Q56061
[ANSWERS] are the birthplace of Ahmed bin Saeed Al Maktoum or Rejith Menon
{'OR': [['Q153284', 'P19', {'concept': 'Q56061'}], ['Q7310553', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q153284 property:P19 ?n } UNION { resource:Q7310553 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Dubai Thrissur
Dubai and Thrissur are the birthplace of Ahmed bin Saeed Al Maktoum or Rejith Menon
Dubai Thrissur
action filter_type
action union
action find
entity Ahmed bin Saeed Al Maktoum
relation place of birth
action find
entity Rejith Menon
relation place of birth
type administrative territorial entity
{'OR': [['Ahmed bin Saeed Al Maktoum', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rejith Menon', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ahmed_bin_Saeed_Al_Maktoum property:place_of_birth ?n } UNION { resource:Rejith_Menon property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are sister towns of that administrative territory ?
(Q612,P190,c(Q56061))
['Q612', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q397057 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dubai property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q612
SYSTEM
Did you mean Dubai ?
(Q612,P190,c(Q56061)) (Q163798,P190,c(Q56061))
[ANSWER]
['Q612', 'P190', {'concept': 'Q56061'}] ['Q163798', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q397057 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Dubai ?
Dubai
['Dubai', 'sister city', {'concept': 'administrative territorial entity'}] ['Thrissur', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dubai property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q612,P190,c(Q56061))
['Q612', 'P190', {'concept': 'Q56061'}]
['Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
22
Q8686 Q35178 Q3766 Q1963 Q11910 Q3579 Q12439 Q48195 Q123709 Q90 Q71 Q140075 Q8810 Q406 Q34932 Q24639 Q60 Q8678 Q65 Q1492 Q3820 Q16556
(Q612,P190,c(Q56061))
[ANSWER]
['Q612', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q397057 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Shanghai Kuwait City Damascus Khartoum Gandhinagar Tripoli Detroit Basra Dundee Paris Geneva Gold Coast Granada Istanbul Brisbane Vancouver New York City Rio de Janeiro Los Angeles Barcelona Beirut Phoenix
22
['Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dubai property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q615266 Q5393668
P47 P27
Q1048835
USER
Which political territories are Ernest Perley an inhabitant of or have a shared border with Pulianas ?
OR((Q5393668,P27,c(Q1048835)), (Q615266,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5393668
relation P27
action find
entity Q615266
relation P47
type Q1048835
{'OR': [['Q5393668', 'P27', {'concept': 'Q1048835'}], ['Q615266', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q615266 property:P47 ?w } UNION { resource:Q5393668 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Pulianas Ernest Perley
action filter_type
action union
action find
entity Ernest Perley
relation country of citizenship
action find
entity Pulianas
relation shares border with
type political territorial entity
{'OR': [['Ernest Perley', 'country of citizenship', {'concept': 'political territorial entity'}], ['Pulianas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Pulianas property:shares_border_with ?w } UNION { resource:Ernest_Perley property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q575816 Q16 Q1751788 Q583032 Q564768 Q538809
SYSTEM
Güevéjar, Canada, Jun, Maracena, Alfacar, Peligros
Q575816 Q16 Q1751788 Q583032 Q564768 Q538809
OR((Q5393668,P27,c(Q1048835)), (Q615266,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5393668
relation P27
action find
entity Q615266
relation P47
type Q1048835
[ANSWERS] are Ernest Perley an inhabitant of or have a shared border with Pulianas
{'OR': [['Q5393668', 'P27', {'concept': 'Q1048835'}], ['Q615266', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q615266 property:P47 ?w } UNION { resource:Q5393668 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Güevéjar Canada Jun Maracena Alfacar Peligros
Güevéjar, Canada, Jun, Maracena, Alfacar and Peligros are Ernest Perley an inhabitant of or have a shared border with Pulianas
Güevéjar Canada Jun Maracena Alfacar Peligros
action filter_type
action union
action find
entity Ernest Perley
relation country of citizenship
action find
entity Pulianas
relation shares border with
type political territorial entity
{'OR': [['Ernest Perley', 'country of citizenship', {'concept': 'political territorial entity'}], ['Pulianas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Pulianas property:shares_border_with ?w } UNION { resource:Ernest_Perley property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]