Simple Question (Direct)
Simple Question
Q2918925
P20
Q56061
USER
Where did Simon Ramo die ?
(Q2918925,P20,c(Q56061))
action filter_type
action find
entity Q2918925
relation P20
type Q56061
['Q2918925', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2918925 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Simon Ramo
action filter_type
action find
entity Simon Ramo
relation place of death
type administrative territorial entity
['Simon Ramo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Simon_Ramo property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q47164
SYSTEM
Santa Monica
Q47164
(Q2918925,P20,c(Q56061))
action filter_type
action find
entity Q2918925
relation P20
type Q56061
Simon Ramo died in [ANSWER]
['Q2918925', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2918925 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Santa Monica
Simon Ramo died in Santa Monica
Santa Monica
action filter_type
action find
entity Simon Ramo
relation place of death
type administrative territorial entity
['Simon Ramo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Simon_Ramo property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2918925
P793
Q22675021
USER
What is a significant event associated with Simon Ramo ?
(Q2918925,P793,c(Q22675021))
action filter_type
action find
entity Q2918925
relation P793
type Q22675021
['Q2918925', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?u WHERE { resource:Q2918925 property:P793 ?u . ?u rdf:type ontology:Q22675021 }
Simon Ramo
action filter_type
action find
entity Simon Ramo
relation significant event
type lifetime
['Simon Ramo', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?u WHERE { resource:Simon_Ramo property:significant_event ?u . ?u rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
(Q2918925,P793,c(Q22675021))
action filter_type
action find
entity Q2918925
relation P793
type Q22675021
A significant event associated with Simon Ramo is the [ANSWER]
['Q2918925', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?u WHERE { resource:Q2918925 property:P793 ?u . ?u rdf:type ontology:Q22675021 }
centenarian
A significant event associated with Simon Ramo is the centenarian
centenarian
action filter_type
action find
entity Simon Ramo
relation significant event
type lifetime
['Simon Ramo', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?u WHERE { resource:Simon_Ramo property:significant_event ?u . ?u rdf:type ontology:lifetime }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2918925
P463
Q811430
USER
Which construction had Simon Ramo as its member ?
(Q2918925,P463,c(Q811430))
action filter_type
action find
entity Q2918925
relation P463
type Q811430
['Q2918925', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { resource:Q2918925 property:P463 ?o . ?o rdf:type ontology:Q811430 }
Simon Ramo
action filter_type
action find
entity Simon Ramo
relation member of
type construction
['Simon Ramo', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { resource:Simon_Ramo property:member_of ?o . ?o rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q2918925,P463,c(Q811430))
action filter_type
action find
entity Q2918925
relation P463
type Q811430
[ANSWER] had Simon Ramo as its member
['Q2918925', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { resource:Q2918925 property:P463 ?o . ?o rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
American Academy of Arts and Sciences had Simon Ramo as its member
American Academy of Arts and Sciences
action filter_type
action find
entity Simon Ramo
relation member of
type construction
['Simon Ramo', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { resource:Simon_Ramo property:member_of ?o . ?o rdf:type ontology:construction }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3522601
Q15617994
USER
And how about Mahajana Eksath Peramuna?
(Q3522601,P17,c(Q15617994))
action filter_type
action find
entity Q3522601
relation P17
type Q15617994
['Q3522601', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3522601 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Mahajana Eksath Peramuna
action filter_type
action find
entity Mahajana Eksath Peramuna
relation country
type designation for an administrative territorial entity
['Mahajana Eksath Peramuna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Mahajana_Eksath_Peramuna property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q854
SYSTEM
Sri Lanka
Q854
(Q3522601,P17,c(Q15617994))
action filter_type
action find
entity Q3522601
relation P17
type Q15617994
[ANSWER]
['Q3522601', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3522601 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Sri Lanka
Sri Lanka
action filter_type
action find
entity Mahajana Eksath Peramuna
relation country
type designation for an administrative territorial entity
['Mahajana Eksath Peramuna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Mahajana_Eksath_Peramuna property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q811430 Q12280 Q44539
USER
How many constructions represent the main use of approximately 1 bridges or temples ?
(c(Q12280)|c(Q44539),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q12280
action find_reverse_tuple_counts
relation P366
type Q811430
type Q44539
value 1
[[{'concept': 'Q12280'}, {'concept': 'Q44539'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:Q811430 . ?j rdf:type ontology:Q12280 . ?j property:P366 ?z } UNION { ?z rdf:type ontology:Q811430 . ?j rdf:type ontology:Q44539 . ?j property:P366 ?z } } GROUP BY ?z } . FILTER ( ?m = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type bridge
action find_reverse_tuple_counts
relation use
type construction
type temple
value 1
[[{'concept': 'bridge'}, {'concept': 'temple'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:construction . ?j rdf:type ontology:bridge . ?j property:use ?z } UNION { ?z rdf:type ontology:construction . ?j rdf:type ontology:temple . ?j property:use ?z } } GROUP BY ?z } . FILTER ( ?m = 1 ) }
[]
construction bridge temple
SYSTEM
15
Q12280 Q4989906 Q11707 Q494829 Q1362225 Q12518 Q174782 Q148319 Q1195942 Q190157 Q641226 Q18674739 Q55488 Q39715 Q335261
(c(Q12280)|c(Q44539),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q12280
action find_reverse_tuple_counts
relation P366
type Q811430
type Q44539
value 1
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q44539'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:Q811430 . ?j rdf:type ontology:Q12280 . ?j property:P366 ?z } UNION { ?z rdf:type ontology:Q811430 . ?j rdf:type ontology:Q44539 . ?j property:P366 ?z } } GROUP BY ?z } . FILTER ( ?m = 1 ) }
bridge monument restaurant bus station warehouse tower square planetarium fire station transmitter arena event venue railway station lighthouse ornament
15
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type bridge
action find_reverse_tuple_counts
relation use
type construction
type temple
value 1
[[{'concept': 'bridge'}, {'concept': 'temple'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:construction . ?j rdf:type ontology:bridge . ?j property:use ?z } UNION { ?z rdf:type ontology:construction . ?j rdf:type ontology:temple . ?j property:use ?z } } GROUP BY ?z } . FILTER ( ?m = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3522601
P102
Q502895
USER
Which people belong to the political party named Mahajana Eksath Peramuna ?
(c(Q502895),P102,Q3522601)
action filter_type
action find_reverse
entity Q3522601
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q3522601']
SELECT DISTINCT ?z WHERE { ?z property:P102 resource:Q3522601 . ?z rdf:type ontology:Q502895 }
Mahajana Eksath Peramuna
action filter_type
action find_reverse
entity Mahajana Eksath Peramuna
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Mahajana Eksath Peramuna']
SELECT DISTINCT ?z WHERE { ?z property:member_of_political_party resource:Mahajana_Eksath_Peramuna . ?z rdf:type ontology:common_name }
[]
common name
Q5278077 Q3529274
SYSTEM
Dinesh Gunawardena, Gitanjana Gunawardena
Q5278077 Q3529274
(c(Q502895),P102,Q3522601)
action filter_type
action find_reverse
entity Q3522601
relation P102
type Q502895
[ANSWERS] belong to the political party named Mahajana Eksath Peramuna
[{'concept': 'Q502895'}, 'P102', 'Q3522601']
SELECT DISTINCT ?z WHERE { ?z property:P102 resource:Q3522601 . ?z rdf:type ontology:Q502895 }
Dinesh Gunawardena Gitanjana Gunawardena
Dinesh Gunawardena and Gitanjana Gunawardena belong to the political party named Mahajana Eksath Peramuna
Dinesh Gunawardena Gitanjana Gunawardena
action filter_type
action find_reverse
entity Mahajana Eksath Peramuna
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Mahajana Eksath Peramuna']
SELECT DISTINCT ?z WHERE { ?z property:member_of_political_party resource:Mahajana_Eksath_Peramuna . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3522601
P112
Q502895
USER
Which person was the founder of Mahajana Eksath Peramuna ?
(Q3522601,P112,c(Q502895))
action filter_type
action find
entity Q3522601
relation P112
type Q502895
['Q3522601', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3522601 property:P112 ?l . ?l rdf:type ontology:Q502895 }
Mahajana Eksath Peramuna
action filter_type
action find
entity Mahajana Eksath Peramuna
relation founder
type common name
['Mahajana Eksath Peramuna', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Mahajana_Eksath_Peramuna property:founder ?l . ?l rdf:type ontology:common_name }
[]
common name
Q7183653
SYSTEM
Philip Gunawardena
Q7183653
(Q3522601,P112,c(Q502895))
action filter_type
action find
entity Q3522601
relation P112
type Q502895
[ANSWER] was the founder of Mahajana Eksath Peramuna
['Q3522601', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3522601 property:P112 ?l . ?l rdf:type ontology:Q502895 }
Philip Gunawardena
Philip Gunawardena was the founder of Mahajana Eksath Peramuna
Philip Gunawardena
action filter_type
action find
entity Mahajana Eksath Peramuna
relation founder
type common name
['Mahajana Eksath Peramuna', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Mahajana_Eksath_Peramuna property:founder ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7183653
P39
Q12737077
USER
What was the position held by that person ?
(Q7183653,P39,c(Q12737077))
action filter_type
action find
entity Q7183653
relation P39
type Q12737077
['Q7183653', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q7183653 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Philip Gunawardena
action filter_type
action find
entity Philip Gunawardena
relation position held
type occupation
['Philip Gunawardena', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Philip_Gunawardena property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q18964938
SYSTEM
Member of the Parliament of Sri Lanka
Q18964938
(Q7183653,P39,c(Q12737077))
action filter_type
action find
entity Q7183653
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q7183653', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q7183653 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Member of the Parliament of Sri Lanka
The position held by that person was a Member of the Parliament of Sri Lanka
Member of the Parliament of Sri Lanka
action filter_type
action find
entity Philip Gunawardena
relation position held
type occupation
['Philip Gunawardena', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Philip_Gunawardena property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18964938 Q295538 Q854
P1001
Q15617994
USER
Does that occupation have jurisdiction over Orosei and Sri Lanka ?
(Q18964938,P1001,Q295538) (Q18964938,P1001,Q854)
action is_in
entity Q18964938
action intersection
action find_reverse
entity Q295538
relation P1001
action find_reverse
entity Q854
relation P1001
['Q18964938', 'P1001', 'Q295538'] ['Q18964938', 'P1001', 'Q854']
ASK WHERE { resource:Q18964938 property:P1001 resource:Q854 . resource:Q18964938 property:P1001 resource:Q295538 }
Member of the Parliament of Sri Lanka Orosei Sri Lanka
action is_in
entity Member of the Parliament of Sri Lanka
action intersection
action find_reverse
entity Orosei
relation applies to jurisdiction
action find_reverse
entity Sri Lanka
relation applies to jurisdiction
['Member of the Parliament of Sri Lanka', 'applies to jurisdiction', 'Orosei'] ['Member of the Parliament of Sri Lanka', 'applies to jurisdiction', 'Sri Lanka']
ASK WHERE { resource:Member_of_the_Parliament_of_Sri_Lanka property:applies_to_jurisdiction resource:Sri_Lanka . resource:Member_of_the_Parliament_of_Sri_Lanka property:applies_to_jurisdiction resource:Orosei }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18964938,P1001,Q295538) (Q18964938,P1001,Q854)
action is_in
entity Q18964938
action intersection
action find_reverse
entity Q295538
relation P1001
action find_reverse
entity Q854
relation P1001
[ANSWER]
['Q18964938', 'P1001', 'Q295538'] ['Q18964938', 'P1001', 'Q854']
ASK WHERE { resource:Q18964938 property:P1001 resource:Q854 . resource:Q18964938 property:P1001 resource:Q295538 }
NO and YES respectively
action is_in
entity Member of the Parliament of Sri Lanka
action intersection
action find_reverse
entity Orosei
relation applies to jurisdiction
action find_reverse
entity Sri Lanka
relation applies to jurisdiction
['Member of the Parliament of Sri Lanka', 'applies to jurisdiction', 'Orosei'] ['Member of the Parliament of Sri Lanka', 'applies to jurisdiction', 'Sri Lanka']
ASK WHERE { resource:Member_of_the_Parliament_of_Sri_Lanka property:applies_to_jurisdiction resource:Sri_Lanka . resource:Member_of_the_Parliament_of_Sri_Lanka property:applies_to_jurisdiction resource:Orosei }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q854
P19 P21
Q502895
USER
Which people have location of birth at Sri Lanka and do not have gender of male ?
AND((c(Q502895),P19,Q854), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q854
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q854'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q854 . FILTER NOT EXISTS { ?l property:P21 resource:Q6581097 } . ?l rdf:type ontology:Q502895 }
male Sri Lanka
action filter_type
action difference
action find_reverse
entity Sri Lanka
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sri Lanka'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Sri_Lanka . FILTER NOT EXISTS { ?l property:gender resource:male } . ?l rdf:type ontology:common_name }
[]
common name
Q6817053 Q3603388 Q7640362 Q6036518 Q6154148 Q9059188 Q6304582 Q7916369 Q24255624 Q3341923
SYSTEM
Some of them are Menik Kurukulasuriya, A. R. Anjan Umma, Sunila Abeysekera, Inoka Sathyangani, Jani Chathurangani Silva, Phyllis Munday, Judy Samuel, Vasanthi Chathurani, Dorothy Mary Cayley, Nina Dyer
Q2306394 Q7799481 Q7417928 Q3341923 Q7916369 Q16193131 Q21196395 Q4769876 Q6817053 Q7559094 Q3442515 Q6067161 Q5497185 Q6304582 Q7653902 Q23068005 Q6036518 Q5562275 Q16303356 Q3603388 Q24255624 Q9059188 Q16018610 Q16215406 Q6939800 Q7640362 Q6154148
AND((c(Q502895),P19,Q854), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q854
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Sri Lanka and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q854'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q854 . FILTER NOT EXISTS { ?l property:P21 resource:Q6581097 } . ?l rdf:type ontology:Q502895 }
Joyce Cooper Thushari Jayasekera Sangeetha Weeraratne Nina Dyer Vasanthi Chathurani Hemal Gunasekara Sue Courtenay Anoja Weerasinghe Menik Kurukulasuriya Soma Edirisinghe Rosemary Rogers Iranganie Serasinghe Frederica Jansz Judy Samuel Swarna Mallawarachchi Upulie Divisekera Inoka Sathyangani Gillian Raine Ysanne Gayet A. R. Anjan Umma Dorothy Mary Cayley Phyllis Munday Soma Kumari Tennakoon Duleeka Marapana Murugesapillai Koneswary Sunila Abeysekera Jani Chathurangani Silva
Menik Kurukulasuriya, A. R. Anjan Umma, Sunila Abeysekera, Inoka Sathyangani, Jani Chathurangani Silva, Phyllis Munday, Judy Samuel, Vasanthi Chathurani, Dorothy Mary Cayley and Nina Dyer have location of birth at Sri Lanka and do not have gender of male
Menik Kurukulasuriya A. R. Anjan Umma Sunila Abeysekera Inoka Sathyangani Jani Chathurangani Silva Phyllis Munday Judy Samuel Vasanthi Chathurani Dorothy Mary Cayley Nina Dyer
action filter_type
action difference
action find_reverse
entity Sri Lanka
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sri Lanka'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Sri_Lanka . FILTER NOT EXISTS { ?l property:gender resource:male } . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q54591 Q295538
P47
Q15617994
USER
Which administrative territories do Orosei or Caraffa del Bianco share a border with ?
OR((c(Q15617994),P47,Q295538), (c(Q15617994),P47,Q54591))
action filter_type
action union
action find_reverse
entity Q295538
relation P47
action find_reverse
entity Q54591
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q295538'], [{'concept': 'Q15617994'}, 'P47', 'Q54591']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Q295538 ) ( resource:Q54591 ) } . ?y property:P47 ?x } . ?y rdf:type ontology:Q15617994 }
Caraffa del Bianco Orosei
action filter_type
action union
action find_reverse
entity Orosei
relation shares border with
action find_reverse
entity Caraffa del Bianco
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Orosei'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Caraffa del Bianco']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Orosei ) ( resource:Caraffa_del_Bianco ) } . ?y property:shares_border_with ?x } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q54656 Q294814 Q54609 Q294782 Q295383 Q54596 Q295613 Q54645
SYSTEM
Sant'Agata del Bianco, Galtellì, Ferruzzano, Dorgali, Onifai, Casignana, Siniscola, Samo, Calabria
Q54656 Q294814 Q54609 Q294782 Q295383 Q54596 Q295613 Q54645
OR((c(Q15617994),P47,Q295538), (c(Q15617994),P47,Q54591))
action filter_type
action union
action find_reverse
entity Q295538
relation P47
action find_reverse
entity Q54591
relation P47
type Q15617994
[ANSWERS]
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q295538'], [{'concept': 'Q15617994'}, 'P47', 'Q54591']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Q295538 ) ( resource:Q54591 ) } . ?y property:P47 ?x } . ?y rdf:type ontology:Q15617994 }
Sant'Agata del Bianco Galtellì Ferruzzano Dorgali Onifai Casignana Siniscola Samo, Calabria
Orosei or Caraffa del Bianco share a border with Sant'Agata del Bianco, Galtellì, Ferruzzano, Dorgali, Onifai, Casignana, Siniscola and Samo, Calabria
Sant'Agata del Bianco Galtellì Ferruzzano Dorgali Onifai Casignana Siniscola Samo, Calabria
action filter_type
action union
action find_reverse
entity Orosei
relation shares border with
action find_reverse
entity Caraffa del Bianco
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Orosei'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Caraffa del Bianco']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Orosei ) ( resource:Caraffa_del_Bianco ) } . ?y property:shares_border_with ?x } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q54656 Q294814 Q54609 Q294782 Q295383 Q54596 Q295613 Q54645
P17
Q15617994
USER
Which administrative territories are Sant'Agata del Bianco, Galtellì, Ferruzzano, Dorgali, Onifai, Casignana, Siniscola and Samo, Calabria situated in ?
(Q54656,P17,c(Q15617994)) (Q294814,P17,c(Q15617994)) (Q54609,P17,c(Q15617994)) (Q294782,P17,c(Q15617994)) (Q295383,P17,c(Q15617994)) (Q54596,P17,c(Q15617994)) (Q295613,P17,c(Q15617994)) (Q54645,P17,c(Q15617994))
action union
action filter_type
action find
entity Q54656
relation P17
type Q15617994
action filter_type
action find
entity Q294814
relation P17
type Q15617994
action filter_type
action find
entity Q54609
relation P17
type Q15617994
action filter_type
action find
entity Q294782
relation P17
type Q15617994
action filter_type
action find
entity Q295383
relation P17
type Q15617994
action filter_type
action find
entity Q54596
relation P17
type Q15617994
action filter_type
action find
entity Q295613
relation P17
type Q15617994
action filter_type
action find
entity Q54645
relation P17
type Q15617994
['Q54656', 'P17', {'concept': 'Q15617994'}] ['Q294814', 'P17', {'concept': 'Q15617994'}] ['Q54609', 'P17', {'concept': 'Q15617994'}] ['Q294782', 'P17', {'concept': 'Q15617994'}] ['Q295383', 'P17', {'concept': 'Q15617994'}] ['Q54596', 'P17', {'concept': 'Q15617994'}] ['Q295613', 'P17', {'concept': 'Q15617994'}] ['Q54645', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q15617994 . resource:Q294814 property:P17 ?e } UNION { ?e rdf:type ontology:Q15617994 . resource:Q54656 property:P17 ?e } }
Sant'Agata del Bianco Galtellì Ferruzzano Dorgali Onifai Casignana Siniscola Samo, Calabria
action union
action filter_type
action find
entity Sant'Agata del Bianco
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Galtellì
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ferruzzano
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Dorgali
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Onifai
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Casignana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Siniscola
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Samo, Calabria
relation country
type designation for an administrative territorial entity
["Sant'Agata del Bianco", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Galtellì', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ferruzzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dorgali', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Onifai', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Casignana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Siniscola', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Samo, Calabria', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Galtellì property:country ?e } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sant'Agata_del_Bianco property:country ?e } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q38 Q38 Q38 Q38 Q38 Q38
(Q54656,P17,c(Q15617994)) (Q294814,P17,c(Q15617994)) (Q54609,P17,c(Q15617994)) (Q294782,P17,c(Q15617994)) (Q295383,P17,c(Q15617994)) (Q54596,P17,c(Q15617994)) (Q295613,P17,c(Q15617994)) (Q54645,P17,c(Q15617994))
action union
action filter_type
action find
entity Q54656
relation P17
type Q15617994
action filter_type
action find
entity Q294814
relation P17
type Q15617994
action filter_type
action find
entity Q54609
relation P17
type Q15617994
action filter_type
action find
entity Q294782
relation P17
type Q15617994
action filter_type
action find
entity Q295383
relation P17
type Q15617994
action filter_type
action find
entity Q54596
relation P17
type Q15617994
action filter_type
action find
entity Q295613
relation P17
type Q15617994
action filter_type
action find
entity Q54645
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Sant'Agata del Bianco, Galtellì, Ferruzzano, Dorgali, Onifai, Casignana, Siniscola and Samo, Calabria situated in
['Q54656', 'P17', {'concept': 'Q15617994'}] ['Q294814', 'P17', {'concept': 'Q15617994'}] ['Q54609', 'P17', {'concept': 'Q15617994'}] ['Q294782', 'P17', {'concept': 'Q15617994'}] ['Q295383', 'P17', {'concept': 'Q15617994'}] ['Q54596', 'P17', {'concept': 'Q15617994'}] ['Q295613', 'P17', {'concept': 'Q15617994'}] ['Q54645', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q15617994 . resource:Q294814 property:P17 ?e } UNION { ?e rdf:type ontology:Q15617994 . resource:Q54656 property:P17 ?e } }
Italy Italy Italy Italy Italy Italy Italy Italy
Italy, Italy and Italy are Sant'Agata del Bianco, Galtellì, Ferruzzano, Dorgali, Onifai, Casignana, Siniscola and Samo, Calabria situated in
Italy Italy Italy
action union
action filter_type
action find
entity Sant'Agata del Bianco
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Galtellì
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ferruzzano
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Dorgali
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Onifai
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Casignana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Siniscola
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Samo, Calabria
relation country
type designation for an administrative territorial entity
["Sant'Agata del Bianco", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Galtellì', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ferruzzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dorgali', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Onifai', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Casignana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Siniscola', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Samo, Calabria', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Galtellì property:country ?e } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sant'Agata_del_Bianco property:country ?e } }
[]