Simple Question (Direct)
Simple Question
Q18092086
P1344
Q1190554
USER
What did Khetcho participate in ?
(Q18092086,P1344,c(Q1190554))
action filter_type
action find
entity Q18092086
relation P1344
type Q1190554
['Q18092086', 'P1344', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q18092086 property:P1344 ?m . ?m rdf:type ontology:Q1190554 }
Khetcho
action filter_type
action find
entity Khetcho
relation participant of
type event
['Khetcho', 'participant of', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Khetcho property:participant_of ?m . ?m rdf:type ontology:event }
[]
event
Q5251450 Q2011005
SYSTEM
Defense of Van, Khanasor Expedition
Q5251450 Q2011005
(Q18092086,P1344,c(Q1190554))
action filter_type
action find
entity Q18092086
relation P1344
type Q1190554
Khetcho participated in [ANSWERS]
['Q18092086', 'P1344', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q18092086 property:P1344 ?m . ?m rdf:type ontology:Q1190554 }
Defense of Van Khanasor Expedition
Khetcho participated in Defense of Van and Khanasor Expedition
Defense of Van Khanasor Expedition
action filter_type
action find
entity Khetcho
relation participant of
type event
['Khetcho', 'participant of', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Khetcho property:participant_of ?m . ?m rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18092086
P172
Q2472587
USER
Which people does Khetcho have as his/her race ?
(Q18092086,P172,c(Q2472587))
action filter_type
action find
entity Q18092086
relation P172
type Q2472587
['Q18092086', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q18092086 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
Khetcho
action filter_type
action find
entity Khetcho
relation ethnic group
type people
['Khetcho', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Khetcho property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
people
Q79797
SYSTEM
Armenians
Q79797
(Q18092086,P172,c(Q2472587))
action filter_type
action find
entity Q18092086
relation P172
type Q2472587
Khetcho has adopted [ANSWER] as his / her race
['Q18092086', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?y WHERE { resource:Q18092086 property:P172 ?y . ?y rdf:type ontology:Q2472587 }
Armenians
Khetcho has adopted Armenians as his / her race
Armenians
action filter_type
action find
entity Khetcho
relation ethnic group
type people
['Khetcho', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?y WHERE { resource:Khetcho property:ethnic_group ?y . ?y rdf:type ontology:people }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5548447
Q2472587
USER
And what about Georgios Sisinis?
(Q5548447,P172,c(Q2472587))
action filter_type
action find
entity Q5548447
relation P172
type Q2472587
['Q5548447', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?s WHERE { resource:Q5548447 property:P172 ?s . ?s rdf:type ontology:Q2472587 }
Georgios Sisinis
action filter_type
action find
entity Georgios Sisinis
relation ethnic group
type people
['Georgios Sisinis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?s WHERE { resource:Georgios_Sisinis property:ethnic_group ?s . ?s rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q5548447,P172,c(Q2472587))
action filter_type
action find
entity Q5548447
relation P172
type Q2472587
[ANSWER]
['Q5548447', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?s WHERE { resource:Q5548447 property:P172 ?s . ?s rdf:type ontology:Q2472587 }
Greeks
Greeks
action filter_type
action find
entity Georgios Sisinis
relation ethnic group
type people
['Georgios Sisinis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?s WHERE { resource:Georgios_Sisinis property:ethnic_group ?s . ?s rdf:type ontology:people }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q539051 Q16232910
P172
Q502895
USER
Does Manuel Sarao have that people as his/her ethnicity ?
(Q16232910,P172,Q539051)
action is_in
entity Q16232910
action find
entity Q539051
relation P172
['Q16232910', 'P172', 'Q539051']
ASK WHERE { resource:Q539051 property:P172 resource:Q16232910 }
Greeks Manuel Sarao
action is_in
entity Manuel Sarao
action find
entity Greeks
relation ethnic group
['Manuel Sarao', 'ethnic group', 'Greeks']
ASK WHERE { resource:Greeks property:ethnic_group resource:Manuel_Sarao }
[]
common name
SYSTEM
NO
(Q16232910,P172,Q539051)
action is_in
entity Q16232910
action find
entity Q539051
relation P172
[ANSWER]
['Q16232910', 'P172', 'Q539051']
ASK WHERE { resource:Q539051 property:P172 resource:Q16232910 }
No
action is_in
entity Manuel Sarao
action find
entity Greeks
relation ethnic group
['Manuel Sarao', 'ethnic group', 'Greeks']
ASK WHERE { resource:Greeks property:ethnic_group resource:Manuel_Sarao }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18092086 Q2201768 Q12679501
P20
Q56061
USER
Did Khetcho die in Milevci and Šarkiai ?
(Q18092086,P20,Q2201768) (Q18092086,P20,Q12679501)
action is_in
entity Q18092086
action intersection
action find_reverse
entity Q2201768
relation P20
action find_reverse
entity Q12679501
relation P20
['Q18092086', 'P20', 'Q2201768'] ['Q18092086', 'P20', 'Q12679501']
ASK WHERE { resource:Q18092086 property:P20 resource:Q2201768 . resource:Q18092086 property:P20 resource:Q12679501 }
Khetcho Milevci Šarkiai
action is_in
entity Khetcho
action intersection
action find_reverse
entity Milevci
relation place of death
action find_reverse
entity Šarkiai
relation place of death
['Khetcho', 'place of death', 'Milevci'] ['Khetcho', 'place of death', 'Šarkiai']
ASK WHERE { resource:Khetcho property:place_of_death resource:Milevci . resource:Khetcho property:place_of_death resource:Šarkiai }
[]
administrative territorial entity
SYSTEM
NO
(Q18092086,P20,Q2201768) (Q18092086,P20,Q12679501)
action is_in
entity Q18092086
action intersection
action find_reverse
entity Q2201768
relation P20
action find_reverse
entity Q12679501
relation P20
[ANSWER]
['Q18092086', 'P20', 'Q2201768'] ['Q18092086', 'P20', 'Q12679501']
ASK WHERE { resource:Q18092086 property:P20 resource:Q2201768 . resource:Q18092086 property:P20 resource:Q12679501 }
No
action is_in
entity Khetcho
action intersection
action find_reverse
entity Milevci
relation place of death
action find_reverse
entity Šarkiai
relation place of death
['Khetcho', 'place of death', 'Milevci'] ['Khetcho', 'place of death', 'Šarkiai']
ASK WHERE { resource:Khetcho property:place_of_death resource:Milevci . resource:Khetcho property:place_of_death resource:Šarkiai }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q18092086
P1344
Q49773 Q1190554
USER
How many social movements or events did Khetcho participate in ?
(Q18092086,P1344,c(Q49773)) (Q18092086,P1344,c(Q1190554))
action count
action union
action filter_type
action find
entity Q18092086
relation P1344
type Q49773
action filter_type
action find
entity Q18092086
relation P1344
type Q1190554
['Q18092086', 'P1344', {'concept': 'Q49773'}] ['Q18092086', 'P1344', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { resource:Q18092086 property:P1344 ?f . ?f rdf:type ontology:Q49773 } UNION { resource:Q18092086 property:P1344 ?f . ?f rdf:type ontology:Q1190554 } }
Khetcho
action count
action union
action filter_type
action find
entity Khetcho
relation participant of
type social movement
action filter_type
action find
entity Khetcho
relation participant of
type event
['Khetcho', 'participant of', {'concept': 'social movement'}] ['Khetcho', 'participant of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { resource:Khetcho property:participant_of ?f . ?f rdf:type ontology:social_movement } UNION { resource:Khetcho property:participant_of ?f . ?f rdf:type ontology:event } }
[]
social movement event
SYSTEM
3
Q2403063 Q2011005 Q5251450
(Q18092086,P1344,c(Q49773)) (Q18092086,P1344,c(Q1190554))
action count
action union
action filter_type
action find
entity Q18092086
relation P1344
type Q49773
action filter_type
action find
entity Q18092086
relation P1344
type Q1190554
[ANSWER]
['Q18092086', 'P1344', {'concept': 'Q49773'}] ['Q18092086', 'P1344', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { resource:Q18092086 property:P1344 ?f . ?f rdf:type ontology:Q49773 } UNION { resource:Q18092086 property:P1344 ?f . ?f rdf:type ontology:Q1190554 } }
Armenian national movement Khanasor Expedition Defense of Van
3
action count
action union
action filter_type
action find
entity Khetcho
relation participant of
type social movement
action filter_type
action find
entity Khetcho
relation participant of
type event
['Khetcho', 'participant of', {'concept': 'social movement'}] ['Khetcho', 'participant of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { resource:Khetcho property:participant_of ?f . ?f rdf:type ontology:social_movement } UNION { resource:Khetcho property:participant_of ?f . ?f rdf:type ontology:event } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1254435 Q16232910
P19
Q56061
USER
Which administrative territories were Manuel Sarao or Mihail Alexandrov born at ?
OR((Q16232910,P19,c(Q56061)), (Q1254435,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16232910
relation P19
action find
entity Q1254435
relation P19
type Q56061
{'OR': [['Q16232910', 'P19', {'concept': 'Q56061'}], ['Q1254435', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { ?y property:P19 ?j . VALUES ( ?y ) { ( resource:Q16232910 ) ( resource:Q1254435 ) } } . ?j rdf:type ontology:Q56061 }
Mihail Alexandrov Manuel Sarao
action filter_type
action union
action find
entity Manuel Sarao
relation place of birth
action find
entity Mihail Alexandrov
relation place of birth
type administrative territorial entity
{'OR': [['Manuel Sarao', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mihail Alexandrov', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?y property:place_of_birth ?j . VALUES ( ?y ) { ( resource:Manuel_Sarao ) ( resource:Mihail_Alexandrov ) } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q472
SYSTEM
Milan, Sofia
Q490 Q472
OR((Q16232910,P19,c(Q56061)), (Q1254435,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16232910
relation P19
action find
entity Q1254435
relation P19
type Q56061
Manuel Sarao or Mihail Alexandrov were born in [ANSWERS]
{'OR': [['Q16232910', 'P19', {'concept': 'Q56061'}], ['Q1254435', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { ?y property:P19 ?j . VALUES ( ?y ) { ( resource:Q16232910 ) ( resource:Q1254435 ) } } . ?j rdf:type ontology:Q56061 }
Milan Sofia
Manuel Sarao or Mihail Alexandrov were born in Milan and Sofia
Milan Sofia
action filter_type
action union
action find
entity Manuel Sarao
relation place of birth
action find
entity Mihail Alexandrov
relation place of birth
type administrative territorial entity
{'OR': [['Manuel Sarao', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mihail Alexandrov', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?y property:place_of_birth ?j . VALUES ( ?y ) { ( resource:Manuel_Sarao ) ( resource:Mihail_Alexandrov ) } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q490 Q472
P1376
Q15617994
USER
Which administrative territories have those administrative territories as their county seat ?
(Q490,P1376,c(Q15617994)) (Q472,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
['Q490', 'P1376', {'concept': 'Q15617994'}] ['Q472', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?w property:P1376 ?p . VALUES ( ?w ) { ( resource:Q490 ) ( resource:Q472 ) } . ?p rdf:type ontology:Q15617994 }
Milan Sofia
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Milan', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Sofia', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?w property:capital_of ?p . VALUES ( ?w ) { ( resource:Milan ) ( resource:Sofia ) } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1210 Q219
SYSTEM
Lombardy, Bulgaria
Q1210 Q219
(Q490,P1376,c(Q15617994)) (Q472,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
[ANSWERS] have those administrative territories as their county seat
['Q490', 'P1376', {'concept': 'Q15617994'}] ['Q472', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?w property:P1376 ?p . VALUES ( ?w ) { ( resource:Q490 ) ( resource:Q472 ) } . ?p rdf:type ontology:Q15617994 }
Lombardy Bulgaria
Lombardy and Bulgaria have those administrative territories as their county seat
Lombardy Bulgaria
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Milan', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Sofia', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?w property:capital_of ?p . VALUES ( ?w ) { ( resource:Milan ) ( resource:Sofia ) } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1210 Q219
P47
Q15617994
USER
Which administrative territories share border with those ones ?
(c(Q15617994),P47,Q1210) (c(Q15617994),P47,Q219)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q1210'] [{'concept': 'Q15617994'}, 'P47', 'Q219']
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Q1210 ) ( resource:Q219 ) } . ?k property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Lombardy Bulgaria
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Lombardy'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bulgaria']
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Lombardy ) ( resource:Bulgaria ) } . ?k property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q218 Q41
SYSTEM
Turkey, Romania, Greece
Q1243 Q1263 Q1237 Q1216 Q221 Q218 Q403 Q43 Q41
(c(Q15617994),P47,Q1210) (c(Q15617994),P47,Q219)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] share border with those ones
[{'concept': 'Q15617994'}, 'P47', 'Q1210'] [{'concept': 'Q15617994'}, 'P47', 'Q219']
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Q1210 ) ( resource:Q219 ) } . ?k property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Veneto Emilia-Romagna Trentino-South Tyrol Piedmont Republic of Macedonia Romania Serbia Turkey Greece
Turkey, Romania and Greece share border with those ones
Turkey Romania Greece
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Lombardy'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bulgaria']
SELECT DISTINCT ?e WHERE { VALUES ( ?k ) { ( resource:Lombardy ) ( resource:Bulgaria ) } . ?k property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219
P85
Q484692
USER
Which is the national anthem of Bulgaria ?
(Q219,P85,c(Q484692))
action filter_type
action find
entity Q219
relation P85
type Q484692
['Q219', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q484692 . resource:Q219 property:P85 ?z }
Bulgaria
action filter_type
action find
entity Bulgaria
relation anthem
type hymn
['Bulgaria', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:hymn . resource:Bulgaria property:anthem ?z }
[]
hymn
Q182115
SYSTEM
Mila Rodino
Q182115
(Q219,P85,c(Q484692))
action filter_type
action find
entity Q219
relation P85
type Q484692
The national anthem of Bulgaria is the [ANSWER]
['Q219', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q484692 . resource:Q219 property:P85 ?z }
Mila Rodino
The national anthem of Bulgaria is the Mila Rodino
Mila Rodino
action filter_type
action find
entity Bulgaria
relation anthem
type hymn
['Bulgaria', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:hymn . resource:Bulgaria property:anthem ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q717
Q484692
USER
And how about Venezuela?
(Q717,P85,c(Q484692))
action filter_type
action find
entity Q717
relation P85
type Q484692
['Q717', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q717 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Venezuela
action filter_type
action find
entity Venezuela
relation anthem
type hymn
['Venezuela', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Venezuela property:anthem ?z . ?z rdf:type ontology:hymn }
[]
hymn
Q208153
SYSTEM
Gloria al Bravo Pueblo
Q208153
(Q717,P85,c(Q484692))
action filter_type
action find
entity Q717
relation P85
type Q484692
[ANSWER]
['Q717', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q717 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Gloria al Bravo Pueblo
Gloria al Bravo Pueblo
action filter_type
action find
entity Venezuela
relation anthem
type hymn
['Venezuela', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Venezuela property:anthem ?z . ?z rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q717
P610
Q2221906
USER
Which is the highest peak of that administrative territory ?
(Q208153,P610,c(Q2221906))
action filter_type
action find
entity Q717
relation P610
type Q2221906
['Q208153', 'P610', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q717 property:P610 ?x . ?x rdf:type ontology:Q2221906 }
Venezuela
action filter_type
action find
entity Venezuela
relation highest point
type geographic location
['Gloria al Bravo Pueblo', 'highest point', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Venezuela property:highest_point ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q213704
SYSTEM
Pico Bolívar
Q213704
(Q208153,P610,c(Q2221906))
action filter_type
action find
entity Q717
relation P610
type Q2221906
The highest peak of that administrative territory is the [ANSWER]
['Q208153', 'P610', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q717 property:P610 ?x . ?x rdf:type ontology:Q2221906 }
Pico Bolívar
The highest peak of that administrative territory is the Pico Bolívar
Pico Bolívar
action filter_type
action find
entity Venezuela
relation highest point
type geographic location
['Gloria al Bravo Pueblo', 'highest point', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Venezuela property:highest_point ?x . ?x rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q717
P47
Q1048835 Q15617994
USER
How many political territories or administrative territories do Venezuela share a border with ?
(c(Q1048835),P47,Q717) (c(Q15617994),P47,Q717)
action count
action union
action filter_type
action find_reverse
entity Q717
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q717
relation P47
type Q15617994
[{'concept': 'Q1048835'}, 'P47', 'Q717'] [{'concept': 'Q15617994'}, 'P47', 'Q717']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:P47 resource:Q717 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P47 resource:Q717 . ?b rdf:type ontology:Q15617994 } }
Venezuela
action count
action union
action filter_type
action find_reverse
entity Venezuela
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Venezuela
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Venezuela'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Venezuela']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:shares_border_with resource:Venezuela . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:shares_border_with resource:Venezuela . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
14
Q739 Q142 Q145 Q155 Q29999 Q784 Q734 Q786 Q769 Q30 Q757 Q763 Q760 Q754
(c(Q1048835),P47,Q717) (c(Q15617994),P47,Q717)
action count
action union
action filter_type
action find_reverse
entity Q717
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q717
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q717'] [{'concept': 'Q15617994'}, 'P47', 'Q717']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:P47 resource:Q717 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P47 resource:Q717 . ?b rdf:type ontology:Q15617994 } }
Colombia France United Kingdom Brazil Kingdom of the Netherlands Dominica Guyana Dominican Republic Grenada United States of America Saint Vincent and the Grenadines Saint Kitts and Nevis Saint Lucia Trinidad and Tobago
14
action count
action union
action filter_type
action find_reverse
entity Venezuela
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Venezuela
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Venezuela'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Venezuela']
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { ?b property:shares_border_with resource:Venezuela . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:shares_border_with resource:Venezuela . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22277571 Q16232910
P19
Q56061
USER
Which administrative territories were Manuel Sarao or David Devadas born at ?
OR((Q16232910,P19,c(Q56061)), (Q22277571,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16232910
relation P19
action find
entity Q22277571
relation P19
type Q56061
{'OR': [['Q16232910', 'P19', {'concept': 'Q56061'}], ['Q22277571', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16232910 property:P19 ?n } UNION { resource:Q22277571 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
David Devadas Manuel Sarao
action filter_type
action union
action find
entity Manuel Sarao
relation place of birth
action find
entity David Devadas
relation place of birth
type administrative territorial entity
{'OR': [['Manuel Sarao', 'place of birth', {'concept': 'administrative territorial entity'}], ['David Devadas', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Manuel_Sarao property:place_of_birth ?n } UNION { resource:David_Devadas property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q1156
SYSTEM
Milan, Mumbai
Q490 Q1156
OR((Q16232910,P19,c(Q56061)), (Q22277571,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16232910
relation P19
action find
entity Q22277571
relation P19
type Q56061
Manuel Sarao or David Devadas were born in [ANSWERS]
{'OR': [['Q16232910', 'P19', {'concept': 'Q56061'}], ['Q22277571', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16232910 property:P19 ?n } UNION { resource:Q22277571 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Milan Mumbai
Manuel Sarao or David Devadas were born in Milan and Mumbai
Milan Mumbai
action filter_type
action union
action find
entity Manuel Sarao
relation place of birth
action find
entity David Devadas
relation place of birth
type administrative territorial entity
{'OR': [['Manuel Sarao', 'place of birth', {'concept': 'administrative territorial entity'}], ['David Devadas', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Manuel_Sarao property:place_of_birth ?n } UNION { resource:David_Devadas property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17455385
P551
Q502895
USER
Does Jerry Cooke live in those administrative territories ?
(Q17455385,P551,Q490) (Q17455385,P551,Q1156)
action is_in
entity prev_answer
action find
entity Q17455385
relation P551
['Q17455385', 'P551', 'Q490'] ['Q17455385', 'P551', 'Q1156']
ASK WHERE { resource:Q17455385 property:P551 ?e . VALUES ( ?e ) { ( resource:Q490 ) ( resource:Q1156 ) } }
Jerry Cooke
action is_in
entity prev_answer
action find
entity Jerry Cooke
relation residence
['Jerry Cooke', 'residence', 'Milan'] ['Jerry Cooke', 'residence', 'Mumbai']
ASK WHERE { resource:Jerry_Cooke property:residence ?e . VALUES ( ?e ) { ( resource:Milan ) ( resource:Mumbai ) } }
[]
common name
SYSTEM
YES
(Q17455385,P551,Q490) (Q17455385,P551,Q1156)
action is_in
entity prev_answer
action find
entity Q17455385
relation P551
[ANSWER]
['Q17455385', 'P551', 'Q490'] ['Q17455385', 'P551', 'Q1156']
ASK WHERE { resource:Q17455385 property:P551 ?e . VALUES ( ?e ) { ( resource:Q490 ) ( resource:Q1156 ) } }
Yes
action is_in
entity prev_answer
action find
entity Jerry Cooke
relation residence
['Jerry Cooke', 'residence', 'Milan'] ['Jerry Cooke', 'residence', 'Mumbai']
ASK WHERE { resource:Jerry_Cooke property:residence ?e . VALUES ( ?e ) { ( resource:Milan ) ( resource:Mumbai ) } }
[]