Simple Question (Direct)
Simple Question
Q4411307
P27
Q15617994
USER
Which administrative territory is the native country of Antti Kukkonen ?
(Q4411307,P27,c(Q15617994))
action filter_type
action find
entity Q4411307
relation P27
type Q15617994
['Q4411307', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4411307 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Antti Kukkonen
action filter_type
action find
entity Antti Kukkonen
relation country of citizenship
type designation for an administrative territorial entity
['Antti Kukkonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Antti_Kukkonen property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q4411307,P27,c(Q15617994))
action filter_type
action find
entity Q4411307
relation P27
type Q15617994
The [ANSWER] is the native country of Antti Kukkonen
['Q4411307', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4411307 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Finland
The Finland is the native country of Antti Kukkonen
Finland
action filter_type
action find
entity Antti Kukkonen
relation country of citizenship
type designation for an administrative territorial entity
['Antti Kukkonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Antti_Kukkonen property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q33,P30,c(Q2221906))
action filter_type
action find
entity Q33
relation P30
type Q2221906
['Q33', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q33 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Finland
action filter_type
action find
entity Finland
relation continent
type geographic location
['Finland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Finland property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q33,P30,c(Q2221906))
action filter_type
action find
entity Q33
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q33', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q33 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Europe
That administrative territory is located in Europe
Europe
action filter_type
action find
entity Finland
relation continent
type geographic location
['Finland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Finland property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16426988 Q4411307
P937 P1383
Q56061
USER
Which administrative territories are the locations where Antti Kukkonen worked or are administratively managed by Acățari ?
OR((Q4411307,P937,c(Q56061)), (Q16426988,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q4411307
relation P937
action find
entity Q16426988
relation P1383
type Q56061
{'OR': [['Q4411307', 'P937', {'concept': 'Q56061'}], ['Q16426988', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q4411307 property:P937 ?d } UNION { resource:Q16426988 property:P1383 ?d } } . ?d rdf:type ontology:Q56061 }
Acățari Antti Kukkonen
action filter_type
action union
action find
entity Antti Kukkonen
relation work location
action find
entity Acățari
relation contains settlement
type administrative territorial entity
{'OR': [['Antti Kukkonen', 'work location', {'concept': 'administrative territorial entity'}], ['Acățari', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Antti_Kukkonen property:work_location ?d } UNION { resource:Acățari property:contains_settlement ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757 Q607074 Q714065 Q714085 Q714704 Q1090695 Q713682 Q840047 Q713424 Q713695
SYSTEM
Helsinki, Suveica, Gruișor, Corbești, Vălenii, Acățari, Stejeriș, Murgești, Găiești, Roteni
Q1757 Q607074 Q714065 Q714085 Q714704 Q1090695 Q713682 Q840047 Q713424 Q713695
OR((Q4411307,P937,c(Q56061)), (Q16426988,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q4411307
relation P937
action find
entity Q16426988
relation P1383
type Q56061
[ANSWERS] are the locations where Antti Kukkonen worked or are administratively managed by Acățari
{'OR': [['Q4411307', 'P937', {'concept': 'Q56061'}], ['Q16426988', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q4411307 property:P937 ?d } UNION { resource:Q16426988 property:P1383 ?d } } . ?d rdf:type ontology:Q56061 }
Helsinki Suveica Gruișor Corbești Vălenii Acățari Stejeriș Murgești Găiești Roteni
Helsinki, Suveica, Gruișor, Corbești, Vălenii, Acățari, Stejeriș, Murgești, Găiești and Roteni are the locations where Antti Kukkonen worked or are administratively managed by Acățari
Helsinki Suveica Gruișor Corbești Vălenii Acățari Stejeriș Murgești Găiești Roteni
action filter_type
action union
action find
entity Antti Kukkonen
relation work location
action find
entity Acățari
relation contains settlement
type administrative territorial entity
{'OR': [['Antti Kukkonen', 'work location', {'concept': 'administrative territorial entity'}], ['Acățari', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Antti_Kukkonen property:work_location ?d } UNION { resource:Acățari property:contains_settlement ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q46
P180
Q811979 Q838948
USER
How many architectural structures or works of art express Europe ?
(c(Q811979),P180,Q46) (c(Q838948),P180,Q46)
action count
action union
action filter_type
action find_reverse
entity Q46
relation P180
type Q811979
action filter_type
action find_reverse
entity Q46
relation P180
type Q838948
[{'concept': 'Q811979'}, 'P180', 'Q46'] [{'concept': 'Q838948'}, 'P180', 'Q46']
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ontology:Q811979 . ?y property:P180 resource:Q46 } UNION { ?y property:P180 resource:Q46 . ?y rdf:type ontology:Q838948 } }
Europe
action count
action union
action filter_type
action find_reverse
entity Europe
relation depicts
type architectural structure
action filter_type
action find_reverse
entity Europe
relation depicts
type work of art
[{'concept': 'architectural structure'}, 'depicts', 'Europe'] [{'concept': 'work of art'}, 'depicts', 'Europe']
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ontology:architectural_structure . ?y property:depicts resource:Europe } UNION { ?y property:depicts resource:Europe . ?y rdf:type ontology:work_of_art } }
[]
architectural structure work of art
SYSTEM
2
Q3076255 Q23639896
(c(Q811979),P180,Q46) (c(Q838948),P180,Q46)
action count
action union
action filter_type
action find_reverse
entity Q46
relation P180
type Q811979
action filter_type
action find_reverse
entity Q46
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q811979'}, 'P180', 'Q46'] [{'concept': 'Q838948'}, 'P180', 'Q46']
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ontology:Q811979 . ?y property:P180 resource:Q46 } UNION { ?y property:P180 resource:Q46 . ?y rdf:type ontology:Q838948 } }
fontaine de l'Observatoire Europe
2
action count
action union
action filter_type
action find_reverse
entity Europe
relation depicts
type architectural structure
action filter_type
action find_reverse
entity Europe
relation depicts
type work of art
[{'concept': 'architectural structure'}, 'depicts', 'Europe'] [{'concept': 'work of art'}, 'depicts', 'Europe']
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ontology:architectural_structure . ?y property:depicts resource:Europe } UNION { ?y property:depicts resource:Europe . ?y rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P915
Q838948
USER
Which works of art were filmed in the location Finland ?
(c(Q838948),P915,Q33)
action filter_type
action find_reverse
entity Q33
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q33']
SELECT DISTINCT ?l WHERE { ?l property:P915 resource:Q33 . ?l rdf:type ontology:Q838948 }
Finland
action filter_type
action find_reverse
entity Finland
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Finland']
SELECT DISTINCT ?l WHERE { ?l property:filming_location resource:Finland . ?l rdf:type ontology:work_of_art }
[]
work of art
Q323827 Q17019453 Q597239
SYSTEM
Doctor Zhivago, Our Kind of Traitor, Reds
Q1345242 Q4412843 Q7743254 Q3824231 Q115686 Q4008702 Q11967418 Q7838225 Q11873769 Q6691675 Q7534401 Q594307 Q4357404 Q1709746 Q6692413 Q1756532 Q153039 Q72172 Q597239 Q11122984 Q170268 Q7723290 Q7776233 Q7283713 Q1171720 Q1671510 Q3838039 Q228554 Q3110266 Q4006894 Q691573 Q3501322 Q7740598 Q323827 Q772900 Q1339069 Q4133266 Q167437 Q476133 Q11888612 Q224985 Q158398 Q5485379 Q517912 Q4840366 Q3048795 Q17019453
(c(Q838948),P915,Q33)
action filter_type
action find_reverse
entity Q33
relation P915
type Q838948
[ANSWERS] were filmed in the location Finland
[{'concept': 'Q838948'}, 'P915', 'Q33']
SELECT DISTINCT ?l WHERE { ?l property:P915 resource:Q33 . ?l rdf:type ontology:Q838948 }
White Nights Me and Morrison The Jigsaw Man The Saimaa Gesture Forbidden Fruit Vares: Private Eye Must Have Been Love Trench Road The Interrogation Love and Other Troubles Skeleton Crew Gorky Park Beyond the Front Line José and Pilar Lovers & Leavers Matti: Hell Is for Heroes The Call of the Wild Addiction Reds Hellsinki Hanna The Classic The Worthless Raid The Fourth Protocol Into Eternity Komisario Palmun erehdys Trains'n'Roses Farewell V2: Dead Angel Calamari Union FC Venus The House of Branching Love Doctor Zhivago Sauna The Border Ganes The Jackal Rollo and the Spirit of the Woods Ponterosa Lovers of the Arctic Circle Iron Sky Freakin' Beautiful World Telefon Bad Luck Love Tears of April Our Kind of Traitor
Doctor Zhivago, Our Kind of Traitor and Reds were filmed in the location Finland
Doctor Zhivago Our Kind of Traitor Reds
action filter_type
action find_reverse
entity Finland
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Finland']
SELECT DISTINCT ?l WHERE { ?l property:filming_location resource:Finland . ?l rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17019453
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q17019453,P364,c(Q34770))
action filter_type
action find
entity Q17019453
relation P364
type Q34770
['Q17019453', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q17019453 property:P364 ?l }
Our Kind of Traitor
action filter_type
action find
entity Our Kind of Traitor
relation original language of work
type language
['Our Kind of Traitor', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Our_Kind_of_Traitor property:original_language_of_work ?l }
[]
language
Clarification for simple ques.
Q323827
SYSTEM
Did you mean Doctor Zhivago ?
Q323827 Q17019453 Q597239
(Q323827,P364,c(Q34770)) (Q17019453,P364,c(Q34770)) (Q597239,P364,c(Q34770))
[ANSWER]
['Q323827', 'P364', {'concept': 'Q34770'}] ['Q17019453', 'P364', {'concept': 'Q34770'}] ['Q597239', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q17019453 property:P364 ?l }
Doctor Zhivago Our Kind of Traitor Reds
Did you mean Doctor Zhivago ?
Doctor Zhivago
['Doctor Zhivago', 'original language of work', {'concept': 'language'}] ['Our Kind of Traitor', 'original language of work', {'concept': 'language'}] ['Reds', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Our_Kind_of_Traitor property:original_language_of_work ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Our Kind of Traitor. Could you tell me the answer for that?
(Q17019453,P364,c(Q34770))
Q17019453
['Q17019453', 'P364', {'concept': 'Q34770'}]
['Our Kind of Traitor', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q17019453,P364,c(Q34770))
action filter_type
action find
entity Q17019453
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q17019453', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q17019453 property:P364 ?l }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Our Kind of Traitor
relation original language of work
type language
['Our Kind of Traitor', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Our_Kind_of_Traitor property:original_language_of_work ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q21571449
P361
Q5962346
USER
Is that language a part of Biak-Roon ?
(Q1860,P361,Q21571449)
action is_in
entity Q21571449
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q21571449']
ASK WHERE { resource:Q1860 property:P361 resource:Q21571449 }
English Biak-Roon
action is_in
entity Biak-Roon
action find
entity English
relation part of
['English', 'part of', 'Biak-Roon']
ASK WHERE { resource:English property:part_of resource:Biak-Roon }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q21571449)
action is_in
entity Q21571449
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q21571449']
ASK WHERE { resource:Q1860 property:P361 resource:Q21571449 }
No
action is_in
entity Biak-Roon
action find
entity English
relation part of
['English', 'part of', 'Biak-Roon']
ASK WHERE { resource:English property:part_of resource:Biak-Roon }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q713695 Q4299270
P17
Q15617994
USER
Is Roteni present in Mogutovo, Pskov Oblast ?
(Q713695,P17,Q4299270)
action is_in
entity Q4299270
action find
entity Q713695
relation P17
['Q713695', 'P17', 'Q4299270']
ASK WHERE { resource:Q713695 property:P17 resource:Q4299270 }
Roteni Mogutovo, Pskov Oblast
action is_in
entity Mogutovo, Pskov Oblast
action find
entity Roteni
relation country
['Roteni', 'country', 'Mogutovo, Pskov Oblast']
ASK WHERE { resource:Roteni property:country resource:Mogutovo,_Pskov_Oblast }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q713695,P17,Q4299270)
action is_in
entity Q4299270
action find
entity Q713695
relation P17
[ANSWER]
['Q713695', 'P17', 'Q4299270']
ASK WHERE { resource:Q713695 property:P17 resource:Q4299270 }
No
action is_in
entity Mogutovo, Pskov Oblast
action find
entity Roteni
relation country
['Roteni', 'country', 'Mogutovo, Pskov Oblast']
ASK WHERE { resource:Roteni property:country resource:Mogutovo,_Pskov_Oblast }
[]