Simple Question (Direct)
Simple Question
Q4458555
P20
Q56061
USER
Where did Vasily Tikhomirov die ?
(Q4458555,P20,c(Q56061))
action filter_type
action find
entity Q4458555
relation P20
type Q56061
['Q4458555', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4458555 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Vasily Tikhomirov
action filter_type
action find
entity Vasily Tikhomirov
relation place of death
type administrative territorial entity
['Vasily Tikhomirov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vasily_Tikhomirov property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4458555,P20,c(Q56061))
action filter_type
action find
entity Q4458555
relation P20
type Q56061
Vasily Tikhomirov died in [ANSWER]
['Q4458555', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4458555 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Moscow
Vasily Tikhomirov died in Moscow
Moscow
action filter_type
action find
entity Vasily Tikhomirov
relation place of death
type administrative territorial entity
['Vasily Tikhomirov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vasily_Tikhomirov property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4458555
P119
Q43229
USER
Which organization is the place of burial of that person ?
(Q649,P119,c(Q43229))
action filter_type
action find
entity Q4458555
relation P119
type Q43229
['Q649', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q4458555 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Vasily Tikhomirov
action filter_type
action find
entity Vasily Tikhomirov
relation place of burial
type organization
['Moscow', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Vasily_Tikhomirov property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q649,P119,c(Q43229))
action filter_type
action find
entity Q4458555
relation P119
type Q43229
[ANSWER] is the place of burial of that person
['Q649', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q4458555 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Novodevichy Cemetery
Novodevichy Cemetery is the place of burial of that person
Novodevichy Cemetery
action filter_type
action find
entity Vasily Tikhomirov
relation place of burial
type organization
['Moscow', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Vasily_Tikhomirov property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4458555
P27
Q7275
USER
Which state is the native country of Vasily Tikhomirov ?
(Q4458555,P27,c(Q7275))
action filter_type
action find
entity Q4458555
relation P27
type Q7275
['Q4458555', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q4458555 property:P27 ?k . ?k rdf:type ontology:Q7275 }
Vasily Tikhomirov
action filter_type
action find
entity Vasily Tikhomirov
relation country of citizenship
type state
['Vasily Tikhomirov', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Vasily_Tikhomirov property:country_of_citizenship ?k . ?k rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4458555,P27,c(Q7275))
action filter_type
action find
entity Q4458555
relation P27
type Q7275
The [ANSWER] is the native country of Vasily Tikhomirov
['Q4458555', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q4458555 property:P27 ?k . ?k rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Vasily Tikhomirov
Soviet Union
action filter_type
action find
entity Vasily Tikhomirov
relation country of citizenship
type state
['Vasily Tikhomirov', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Vasily_Tikhomirov property:country_of_citizenship ?k . ?k rdf:type ontology:state }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4458555
Q3024240
USER
And which former country?
(Q4458555,P27,c(Q3024240))
action filter_type
action find
entity Q4458555
relation P27
type Q3024240
['Q4458555', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?h WHERE { resource:Q4458555 property:P27 ?h . ?h rdf:type ontology:Q3024240 }
Vasily Tikhomirov
action filter_type
action find
entity Vasily Tikhomirov
relation country of citizenship
type former country
['Vasily Tikhomirov', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?h WHERE { resource:Vasily_Tikhomirov property:country_of_citizenship ?h . ?h rdf:type ontology:former_country }
[]
former country
Q34266
SYSTEM
Russian Empire
Q34266
(Q4458555,P27,c(Q3024240))
action filter_type
action find
entity Q4458555
relation P27
type Q3024240
[ANSWER]
['Q4458555', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?h WHERE { resource:Q4458555 property:P27 ?h . ?h rdf:type ontology:Q3024240 }
Russian Empire
Russian Empire
action filter_type
action find
entity Vasily Tikhomirov
relation country of citizenship
type former country
['Vasily Tikhomirov', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?h WHERE { resource:Vasily_Tikhomirov property:country_of_citizenship ?h . ?h rdf:type ontology:former_country }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4458555 Q7231495
P119
Q43229
USER
How many organizations are the tombs of Vasily Tikhomirov or Portal of the Folded Wings Shrine to Aviation ?
(Q4458555,P119,c(Q43229)) (Q7231495,P119,c(Q43229))
action count
action union
action filter_type
action find
entity Q4458555
relation P119
type Q43229
action filter_type
action find
entity Q7231495
relation P119
type Q43229
['Q4458555', 'P119', {'concept': 'Q43229'}] ['Q7231495', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { resource:Q4458555 property:P119 ?g . ?g rdf:type ontology:Q43229 } UNION { resource:Q7231495 property:P119 ?g . ?g rdf:type ontology:Q43229 } }
Vasily Tikhomirov Portal of the Folded Wings Shrine to Aviation
action count
action union
action filter_type
action find
entity Vasily Tikhomirov
relation place of burial
type organization
action filter_type
action find
entity Portal of the Folded Wings Shrine to Aviation
relation place of burial
type organization
['Vasily Tikhomirov', 'place of burial', {'concept': 'organization'}] ['Portal of the Folded Wings Shrine to Aviation', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { resource:Vasily_Tikhomirov property:place_of_burial ?g . ?g rdf:type ontology:organization } UNION { resource:Portal_of_the_Folded_Wings_Shrine_to_Aviation property:place_of_burial ?g . ?g rdf:type ontology:organization } }
[]
organization
SYSTEM
2
Q208175 Q4007954
(Q4458555,P119,c(Q43229)) (Q7231495,P119,c(Q43229))
action count
action union
action filter_type
action find
entity Q4458555
relation P119
type Q43229
action filter_type
action find
entity Q7231495
relation P119
type Q43229
[ANSWER]
['Q4458555', 'P119', {'concept': 'Q43229'}] ['Q7231495', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { resource:Q4458555 property:P119 ?g . ?g rdf:type ontology:Q43229 } UNION { resource:Q7231495 property:P119 ?g . ?g rdf:type ontology:Q43229 } }
Novodevichy Cemetery Valhalla Memorial Park Cemetery
2
action count
action union
action filter_type
action find
entity Vasily Tikhomirov
relation place of burial
type organization
action filter_type
action find
entity Portal of the Folded Wings Shrine to Aviation
relation place of burial
type organization
['Vasily Tikhomirov', 'place of burial', {'concept': 'organization'}] ['Portal of the Folded Wings Shrine to Aviation', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { resource:Vasily_Tikhomirov property:place_of_burial ?g . ?g rdf:type ontology:organization } UNION { resource:Portal_of_the_Folded_Wings_Shrine_to_Aviation property:place_of_burial ?g . ?g rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3131131 Q4458555
P19
Q56061
USER
Which administrative territories were Vasily Tikhomirov or Henri Frédéric Paul Gervais born ?
OR((Q4458555,P19,c(Q56061)), (Q3131131,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4458555
relation P19
action find
entity Q3131131
relation P19
type Q56061
{'OR': [['Q4458555', 'P19', {'concept': 'Q56061'}], ['Q3131131', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q4458555 property:P19 ?u } UNION { resource:Q3131131 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Henri Frédéric Paul Gervais Vasily Tikhomirov
action filter_type
action union
action find
entity Vasily Tikhomirov
relation place of birth
action find
entity Henri Frédéric Paul Gervais
relation place of birth
type administrative territorial entity
{'OR': [['Vasily Tikhomirov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Henri Frédéric Paul Gervais', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Vasily_Tikhomirov property:place_of_birth ?u } UNION { resource:Henri_Frédéric_Paul_Gervais property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q90
SYSTEM
Moscow, Paris
Q649 Q90
OR((Q4458555,P19,c(Q56061)), (Q3131131,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4458555
relation P19
action find
entity Q3131131
relation P19
type Q56061
[ANSWERS] were Vasily Tikhomirov or Henri Frédéric Paul Gervais born
{'OR': [['Q4458555', 'P19', {'concept': 'Q56061'}], ['Q3131131', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q4458555 property:P19 ?u } UNION { resource:Q3131131 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Moscow Paris
Moscow and Paris were Vasily Tikhomirov or Henri Frédéric Paul Gervais born
Moscow Paris
action filter_type
action union
action find
entity Vasily Tikhomirov
relation place of birth
action find
entity Henri Frédéric Paul Gervais
relation place of birth
type administrative territorial entity
{'OR': [['Vasily Tikhomirov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Henri Frédéric Paul Gervais', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Vasily_Tikhomirov property:place_of_birth ?u } UNION { resource:Henri_Frédéric_Paul_Gervais property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q107226
P840
Q838948
USER
Do The Bourne Ultimatum have their setting located at those administrative territories ?
(Q107226,P840,Q649) (Q107226,P840,Q90)
action is_in
entity prev_answer
action find
entity Q107226
relation P840
['Q107226', 'P840', 'Q649'] ['Q107226', 'P840', 'Q90']
ASK WHERE { VALUES ( ?p ) { ( resource:Q649 ) ( resource:Q90 ) } . resource:Q107226 property:P840 ?p }
The Bourne Ultimatum
action is_in
entity prev_answer
action find
entity The Bourne Ultimatum
relation narrative location
['The Bourne Ultimatum', 'narrative location', 'Moscow'] ['The Bourne Ultimatum', 'narrative location', 'Paris']
ASK WHERE { VALUES ( ?p ) { ( resource:Moscow ) ( resource:Paris ) } . resource:The_Bourne_Ultimatum property:narrative_location ?p }
[]
work of art
SYSTEM
YES
(Q107226,P840,Q649) (Q107226,P840,Q90)
action is_in
entity prev_answer
action find
entity Q107226
relation P840
[ANSWER]
['Q107226', 'P840', 'Q649'] ['Q107226', 'P840', 'Q90']
ASK WHERE { VALUES ( ?p ) { ( resource:Q649 ) ( resource:Q90 ) } . resource:Q107226 property:P840 ?p }
Yes
action is_in
entity prev_answer
action find
entity The Bourne Ultimatum
relation narrative location
['The Bourne Ultimatum', 'narrative location', 'Moscow'] ['The Bourne Ultimatum', 'narrative location', 'Paris']
ASK WHERE { VALUES ( ?p ) { ( resource:Moscow ) ( resource:Paris ) } . resource:The_Bourne_Ultimatum property:narrative_location ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q90 Q1388858
P47
Q20667921
USER
Is Saint-Julien-sur-Bibost bordered by Paris ?
(Q90,P47,Q1388858)
action is_in
entity Q1388858
action find
entity Q90
relation P47
['Q90', 'P47', 'Q1388858']
ASK WHERE { resource:Q90 property:P47 resource:Q1388858 }
Paris Saint-Julien-sur-Bibost
action is_in
entity Saint-Julien-sur-Bibost
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Saint-Julien-sur-Bibost']
ASK WHERE { resource:Paris property:shares_border_with resource:Saint-Julien-sur-Bibost }
[]
type of french administrative division
SYSTEM
NO
(Q90,P47,Q1388858)
action is_in
entity Q1388858
action find
entity Q90
relation P47
[ANSWER]
['Q90', 'P47', 'Q1388858']
ASK WHERE { resource:Q90 property:P47 resource:Q1388858 }
No
action is_in
entity Saint-Julien-sur-Bibost
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Saint-Julien-sur-Bibost']
ASK WHERE { resource:Paris property:shares_border_with resource:Saint-Julien-sur-Bibost }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P190
Q56061
USER
Which administrative territories are twin town of Paris ?
(c(Q56061),P190,Q90)
action filter_type
action find_reverse
entity Q90
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q90']
SELECT DISTINCT ?h WHERE { ?h property:P190 resource:Q90 . ?h rdf:type ontology:Q56061 }
Paris
action filter_type
action find_reverse
entity Paris
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Paris']
SELECT DISTINCT ?h WHERE { ?h property:sister_city resource:Paris . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q220 Q62
SYSTEM
Berlin, Rome, San Francisco
Q220 Q612 Q1490 Q85 Q64 Q40269 Q62
(c(Q56061),P190,Q90)
action filter_type
action find_reverse
entity Q90
relation P190
type Q56061
[ANSWERS] are twin town of Paris
[{'concept': 'Q56061'}, 'P190', 'Q90']
SELECT DISTINCT ?h WHERE { ?h property:P190 resource:Q90 . ?h rdf:type ontology:Q56061 }
Rome Dubai Tokyo Cairo Berlin Porto Alegre San Francisco
Berlin, Rome and San Francisco are twin town of Paris
Berlin Rome San Francisco
action filter_type
action find_reverse
entity Paris
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Paris']
SELECT DISTINCT ?h WHERE { ?h property:sister_city resource:Paris . ?h rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q220
P1427
Q22348500
USER
Which cycling race classes start at that administrative territory ?
(c(Q22348500),P1427,Q220)
action filter_type
action find_reverse
entity Q220
relation P1427
type Q22348500
[{'concept': 'Q22348500'}, 'P1427', 'Q220']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q220 . ?e rdf:type ontology:Q22348500 }
Rome
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Rome . ?e rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Clarification for simple ques.
Q62
SYSTEM
Did you mean San Francisco ?
Q64 Q220 Q62
(c(Q22348500),P1427,Q64) (c(Q22348500),P1427,Q220) (c(Q22348500),P1427,Q62)
[ANSWER]
[{'concept': 'Q22348500'}, 'P1427', 'Q64'] [{'concept': 'Q22348500'}, 'P1427', 'Q220'] [{'concept': 'Q22348500'}, 'P1427', 'Q62']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q220 . ?e rdf:type ontology:Q22348500 }
Berlin Rome San Francisco
Did you mean San Francisco ?
San Francisco
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Berlin'] [{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome'] [{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'San Francisco']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Rome . ?e rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Simple Question (Coreferenced)
USER
No, I meant Rome. Could you tell me the answer for that?
(c(Q22348500),P1427,Q220)
Q220
[{'concept': 'Q22348500'}, 'P1427', 'Q220']
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
[]
Q3768647 Q26208618
SYSTEM
2011 Giro d'Italia Femminile, 2016 Gran Premio della Liberazione
Q3768647 Q26208618
(c(Q22348500),P1427,Q220)
action filter_type
action find_reverse
entity Q220
relation P1427
type Q22348500
And [ANSWERS] start at that administrative territory
[{'concept': 'Q22348500'}, 'P1427', 'Q220']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q220 . ?e rdf:type ontology:Q22348500 }
2011 Giro d'Italia Femminile 2016 Gran Premio della Liberazione
And 2011 Giro d'Italia Femminile and 2016 Gran Premio della Liberazione start at that administrative territory
2011 Giro d'Italia Femminile 2016 Gran Premio della Liberazione
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Rome . ?e rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]