Simple Question (Direct)
Simple Question
Q12762291
P20
Q56061
USER
Where did the demise of Andrej Chmelko occur ?
(Q12762291,P20,c(Q56061))
action filter_type
action find
entity Q12762291
relation P20
type Q56061
['Q12762291', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q12762291 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Andrej Chmelko
action filter_type
action find
entity Andrej Chmelko
relation place of death
type administrative territorial entity
['Andrej Chmelko', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Andrej_Chmelko property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q208110
SYSTEM
Banská Štiavnica
Q208110
(Q12762291,P20,c(Q56061))
action filter_type
action find
entity Q12762291
relation P20
type Q56061
The demise of Andrej Chmelko occurred in [ANSWER]
['Q12762291', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q12762291 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Banská Štiavnica
The demise of Andrej Chmelko occurred in Banská Štiavnica
Banská Štiavnica
action filter_type
action find
entity Andrej Chmelko
relation place of death
type administrative territorial entity
['Andrej Chmelko', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Andrej_Chmelko property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208110
P190
Q56061
USER
Which administrative territory is partner town of that one ?
(c(Q56061),P190,Q208110)
action filter_type
action find_reverse
entity Q208110
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q208110']
SELECT DISTINCT ?x WHERE { ?x property:P190 resource:Q208110 . ?x rdf:type ontology:Q56061 }
Banská Štiavnica
action filter_type
action find_reverse
entity Banská Štiavnica
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Banská Štiavnica']
SELECT DISTINCT ?x WHERE { ?x property:sister_city resource:Banská_Štiavnica . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q130212
SYSTEM
Székesfehérvár
Q130212
(c(Q56061),P190,Q208110)
action filter_type
action find_reverse
entity Q208110
relation P190
type Q56061
[ANSWER] is partner town of that one
[{'concept': 'Q56061'}, 'P190', 'Q208110']
SELECT DISTINCT ?x WHERE { ?x property:P190 resource:Q208110 . ?x rdf:type ontology:Q56061 }
Székesfehérvár
Székesfehérvár is partner town of that one
Székesfehérvár
action filter_type
action find_reverse
entity Banská Štiavnica
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Banská Štiavnica']
SELECT DISTINCT ?x WHERE { ?x property:sister_city resource:Banská_Štiavnica . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208110
P36
Q13220204
USER
Which administrative country subdivision consists of Banská Štiavnica as its capital ?
(c(Q13220204),P36,Q208110)
action filter_type
action find_reverse
entity Q208110
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q208110']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q208110 . ?j rdf:type ontology:Q13220204 }
Banská Štiavnica
action filter_type
action find_reverse
entity Banská Štiavnica
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Banská Štiavnica']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Banská_Štiavnica . ?j rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q836179
SYSTEM
Banská Štiavnica District
Q836179
(c(Q13220204),P36,Q208110)
action filter_type
action find_reverse
entity Q208110
relation P36
type Q13220204
[ANSWER] consists of Banská Štiavnica as its capital
[{'concept': 'Q13220204'}, 'P36', 'Q208110']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q208110 . ?j rdf:type ontology:Q13220204 }
Banská Štiavnica District
Banská Štiavnica District consists of Banská Štiavnica as its capital
Banská Štiavnica District
action filter_type
action find_reverse
entity Banská Štiavnica
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Banská Štiavnica']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Banská_Štiavnica . ?j rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208110
P19
Q502895
USER
Who have location of birth at that administrative territory ?
(c(Q502895),P19,Q836179)
action filter_type
action find_reverse
entity Q208110
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q836179']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P19 resource:Q208110 }
Banská Štiavnica
action filter_type
action find_reverse
entity Banská Štiavnica
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Banská Štiavnica District']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_birth resource:Banská_Štiavnica }
[]
common name
Q376787 Q3495281 Q78990
SYSTEM
Magdaléna Vášáryová, Dušan Vrťo, Joseph Franz von Jacquin
Q468434 Q376787 Q1127423 Q12768712 Q1695035 Q16516447 Q680784 Q730241 Q906483 Q659466 Q288755 Q12764335 Q12021816 Q12770118 Q831780 Q3808834 Q86951 Q24138473 Q345071 Q12050887 Q3564120 Q3495531 Q12762339 Q12766013 Q383346 Q13371685 Q482281 Q12027344 Q906498 Q12026992 Q3506653 Q161963 Q3495281 Q13409051 Q13403700 Q349802 Q924373 Q12768167 Q15220100 Q78990 Q2126524 Q12017422 Q11893
(c(Q502895),P19,Q836179)
action filter_type
action find_reverse
entity Q208110
relation P19
type Q502895
[ANSWERS] have location of birth at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q836179']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P19 resource:Q208110 }
Ulrika Babiaková Magdaléna Vášáryová Ferenc Lajcsák Július Andrejka Johann Joseph Rösler Vladimír Bahna Domokos Kosáry József Károly Hell Ferdinand Divald David Samuel Madai Alexander Pituk Dana Podracká Irena Káňová Ladislav Longauer Dezo Hoffmann Johann Carl Wendelin Anreiter von Zirnfeld Anton von Puchner Viktor Mytteis Ľudovít Lačný Samo Daxner Pavel Kyrmezer Zdenka Predná Angela Cziczková František Hampl Elma Bulla Štefan Višňovský János Adami Ján Gonda Károly Divald Jozef Horák Anton Hykisch Albin Körösi Dušan Vrťo František Xaver Littman Rudolf Masný Adam Hudec Antal Virozsil Jozef Jonáš Štefan Glézl Joseph Franz von Jacquin Radko Stöckl František Poliak Maximilian Hell
Magdaléna Vášáryová, Dušan Vrťo and Joseph Franz von Jacquin have location of birth at that administrative territory
Magdaléna Vášáryová Dušan Vrťo Joseph Franz von Jacquin
action filter_type
action find_reverse
entity Banská Štiavnica
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Banská Štiavnica District']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_birth resource:Banská_Štiavnica }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q208110
P21 P20
Q502895
USER
Which people died in Banská Štiavnica and are a male ?
AND((c(Q502895),P20,Q208110), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q208110
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q208110'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P20 resource:Q208110 . ?z rdf:type ontology:Q502895 }
male Banská Štiavnica
action filter_type
action intersection
action find_reverse
entity Banská Štiavnica
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Banská Štiavnica'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:place_of_death resource:Banská_Štiavnica . ?z rdf:type ontology:common_name }
[]
common name
Q12766022 Q12762478 Q18067665 Q13421560 Q384066 Q658927 Q12051504 Q668522 Q730241 Q288755
SYSTEM
Some of them are František Korbay, Anton Schmidt, Stanisław Rzadkosz, Július Gretzmacher, Sámuel Ambrózy, Alois Wehrle, Sergej Protopopov, Joseph Russegger, József Károly Hell, Alexander Pituk
Q12766022 Q18067665 Q13421560 Q12765324 Q998144 Q730241 Q388307 Q12762478 Q288755 Q12051504 Q23837596 Q12762291 Q668522 Q658927 Q1287382 Q6160538 Q1291316 Q964236 Q4764835 Q793125 Q21705091 Q1302016 Q384066
AND((c(Q502895),P20,Q208110), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q208110
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died in Banská Štiavnica and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q208110'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P20 resource:Q208110 . ?z rdf:type ontology:Q502895 }
František Korbay Stanisław Rzadkosz Július Gretzmacher Emil Grillus Lajos Fekete József Károly Hell János Demian Anton Schmidt Alexander Pituk Sergej Protopopov Vilmos Rappensberger Andrej Chmelko Joseph Russegger Alois Wehrle János Severini Jaroslav Augusta Lipót Stark István Farbaky Václav Chlumecký Bernát József Benyák František Jozef Turček Zsigmond Szécsi Sámuel Ambrózy
František Korbay, Anton Schmidt, Stanisław Rzadkosz, Július Gretzmacher, Sámuel Ambrózy, Alois Wehrle, Sergej Protopopov, Joseph Russegger, József Károly Hell and Alexander Pituk died in Banská Štiavnica and are a male
František Korbay Anton Schmidt Stanisław Rzadkosz Július Gretzmacher Sámuel Ambrózy Alois Wehrle Sergej Protopopov Joseph Russegger József Károly Hell Alexander Pituk
action filter_type
action intersection
action find_reverse
entity Banská Štiavnica
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Banská Štiavnica'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:place_of_death resource:Banská_Štiavnica . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12762478
P106
Q12737077
USER
What does Anton Schmidt do for a living ?
(Q12762478,P106,c(Q12737077))
action filter_type
action find
entity Q12762478
relation P106
type Q12737077
['Q12762478', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q12762478 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Anton Schmidt
action filter_type
action find
entity Anton Schmidt
relation occupation
type occupation
['Anton Schmidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Anton_Schmidt property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q12762478,P106,c(Q12737077))
action filter_type
action find
entity Q12762478
relation P106
type Q12737077
Anton Schmidt does for a living as [ANSWER]
['Q12762478', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q12762478 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
painter
Anton Schmidt does for a living as painter
painter
action filter_type
action find
entity Anton Schmidt
relation occupation
type occupation
['Anton Schmidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Anton_Schmidt property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1028181 Q21460622
P106
Q502895
USER
Does John Burall Read have the profession of that occupation ?
(Q21460622,P106,Q1028181)
action is_in
entity Q1028181
action find
entity Q21460622
relation P106
['Q21460622', 'P106', 'Q1028181']
ASK WHERE { resource:Q21460622 property:P106 resource:Q1028181 }
painter John Burall Read
action is_in
entity painter
action find
entity John Burall Read
relation occupation
['John Burall Read', 'occupation', 'painter']
ASK WHERE { resource:John_Burall_Read property:occupation resource:painter }
[]
common name
SYSTEM
YES
(Q21460622,P106,Q1028181)
action is_in
entity Q1028181
action find
entity Q21460622
relation P106
[ANSWER]
['Q21460622', 'P106', 'Q1028181']
ASK WHERE { resource:Q21460622 property:P106 resource:Q1028181 }
Yes
action is_in
entity painter
action find
entity John Burall Read
relation occupation
['John Burall Read', 'occupation', 'painter']
ASK WHERE { resource:John_Burall_Read property:occupation resource:painter }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q78990 Q1741
P20
Q56061
USER
Did the demise of that person occur Vienna ?
(Q78990,P20,Q1741)
action is_in
entity Q1741
action find
entity Q78990
relation P20
['Q78990', 'P20', 'Q1741']
ASK WHERE { resource:Q78990 property:P20 resource:Q1741 }
Joseph Franz von Jacquin Vienna
action is_in
entity Vienna
action find
entity Joseph Franz von Jacquin
relation place of death
['Joseph Franz von Jacquin', 'place of death', 'Vienna']
ASK WHERE { resource:Joseph_Franz_von_Jacquin property:place_of_death resource:Vienna }
[]
administrative territorial entity
SYSTEM
YES
(Q78990,P20,Q1741)
action is_in
entity Q1741
action find
entity Q78990
relation P20
[ANSWER]
['Q78990', 'P20', 'Q1741']
ASK WHERE { resource:Q78990 property:P20 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity Joseph Franz von Jacquin
relation place of death
['Joseph Franz von Jacquin', 'place of death', 'Vienna']
ASK WHERE { resource:Joseph_Franz_von_Jacquin property:place_of_death resource:Vienna }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q730241 Q40
P27
Q1048835
USER
Is Austria the country of citizenship of József Károly Hell ?
(Q730241,P27,Q40)
action is_in
entity Q40
action find
entity Q730241
relation P27
['Q730241', 'P27', 'Q40']
ASK WHERE { resource:Q730241 property:P27 resource:Q40 }
József Károly Hell Austria
action is_in
entity Austria
action find
entity József Károly Hell
relation country of citizenship
['József Károly Hell', 'country of citizenship', 'Austria']
ASK WHERE { resource:József_Károly_Hell property:country_of_citizenship resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q730241,P27,Q40)
action is_in
entity Q40
action find
entity Q730241
relation P27
[ANSWER]
['Q730241', 'P27', 'Q40']
ASK WHERE { resource:Q730241 property:P27 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity József Károly Hell
relation country of citizenship
['József Károly Hell', 'country of citizenship', 'Austria']
ASK WHERE { resource:József_Károly_Hell property:country_of_citizenship resource:Austria }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6094666 Q3495281
P27
Q15617994
USER
Which administrative territories do Dušan Vrťo or Sarp Apak belong to ?
OR((Q3495281,P27,c(Q15617994)), (Q6094666,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3495281
relation P27
action find
entity Q6094666
relation P27
type Q15617994
{'OR': [['Q3495281', 'P27', {'concept': 'Q15617994'}], ['Q6094666', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?o ) { ( resource:Q6094666 ) ( resource:Q3495281 ) } . ?o property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Sarp Apak Dušan Vrťo
action filter_type
action union
action find
entity Dušan Vrťo
relation country of citizenship
action find
entity Sarp Apak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dušan Vrťo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sarp Apak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?o ) { ( resource:Sarp_Apak ) ( resource:Dušan_Vrťo ) } . ?o property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q214
SYSTEM
Turkey, Slovakia
Q43 Q214
OR((Q3495281,P27,c(Q15617994)), (Q6094666,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3495281
relation P27
action find
entity Q6094666
relation P27
type Q15617994
[ANSWERS] do Dušan Vrťo or Sarp Apak belong to
{'OR': [['Q3495281', 'P27', {'concept': 'Q15617994'}], ['Q6094666', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?o ) { ( resource:Q6094666 ) ( resource:Q3495281 ) } . ?o property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Turkey Slovakia
Turkey and Slovakia do Dušan Vrťo or Sarp Apak belong to
Turkey Slovakia
action filter_type
action union
action find
entity Dušan Vrťo
relation country of citizenship
action find
entity Sarp Apak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dušan Vrťo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sarp Apak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?o ) { ( resource:Sarp_Apak ) ( resource:Dušan_Vrťo ) } . ?o property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q214
P47
Q1048835
USER
Which political territory has an adjacent border with that administrative territory ?
(c(Q1048835),P47,Q214)
action filter_type
action find
entity Q214
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q214']
SELECT DISTINCT ?k WHERE { resource:Q214 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Slovakia
action filter_type
action find
entity Slovakia
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Slovakia']
SELECT DISTINCT ?k WHERE { resource:Slovakia property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q43
SYSTEM
Did you mean Turkey ?
Q43 Q214
(c(Q1048835),P47,Q43) (c(Q1048835),P47,Q214)
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q43'] [{'concept': 'Q1048835'}, 'P47', 'Q214']
SELECT DISTINCT ?k WHERE { resource:Q214 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Turkey Slovakia
Did you mean Turkey ?
Turkey
[{'concept': 'political territorial entity'}, 'shares border with', 'Turkey'] [{'concept': 'political territorial entity'}, 'shares border with', 'Slovakia']
SELECT DISTINCT ?k WHERE { resource:Slovakia property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Slovakia. Could you tell me the answer for that?
(c(Q1048835),P47,Q214)
Q214
[{'concept': 'Q1048835'}, 'P47', 'Q214']
[{'concept': 'political territorial entity'}, 'shares border with', 'Slovakia']
[]
Q40
SYSTEM
Austria
Q40
(c(Q1048835),P47,Q214)
action filter_type
action find
entity Q214
relation P47
type Q1048835
[ANSWER] has an adjacent border with that administrative territory
[{'concept': 'Q1048835'}, 'P47', 'Q214']
SELECT DISTINCT ?k WHERE { resource:Q214 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Austria
Austria has an adjacent border with that administrative territory
Austria
action filter_type
action find
entity Slovakia
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Slovakia']
SELECT DISTINCT ?k WHERE { resource:Slovakia property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]