Simple Question (Direct)
Simple Question
Q1914027
P20
Q515
USER
Where did Maximilian Loewy expire ?
(Q1914027,P20,c(Q515))
action filter_type
action find
entity Q1914027
relation P20
type Q515
['Q1914027', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q1914027 property:P20 ?q . ?q rdf:type ontology:Q515 }
Maximilian Loewy
action filter_type
action find
entity Maximilian Loewy
relation place of death
type city
['Maximilian Loewy', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Maximilian_Loewy property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
Q523469
SYSTEM
Mariánské Lázně
Q523469
(Q1914027,P20,c(Q515))
action filter_type
action find
entity Q1914027
relation P20
type Q515
Maximilian Loewy expired [ANSWER]
['Q1914027', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q1914027 property:P20 ?q . ?q rdf:type ontology:Q515 }
Mariánské Lázně
Maximilian Loewy expired Mariánské Lázně
Mariánské Lázně
action filter_type
action find
entity Maximilian Loewy
relation place of death
type city
['Maximilian Loewy', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Maximilian_Loewy property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1914027
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q523469,P27,c(Q15617994))
action filter_type
action find
entity Q1914027
relation P27
type Q15617994
['Q523469', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1914027 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Maximilian Loewy
action filter_type
action find
entity Maximilian Loewy
relation country of citizenship
type designation for an administrative territorial entity
['Mariánské Lázně', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maximilian_Loewy property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q523469,P27,c(Q15617994))
action filter_type
action find
entity Q1914027
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q523469', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1914027 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Czech Republic
That person belongs to the Czech Republic
Czech Republic
action filter_type
action find
entity Maximilian Loewy
relation country of citizenship
type designation for an administrative territorial entity
['Mariánské Lázně', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maximilian_Loewy property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1914027
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q213,P106,c(Q12737077))
action filter_type
action find
entity Q1914027
relation P106
type Q12737077
['Q213', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1914027 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Maximilian Loewy
action filter_type
action find
entity Maximilian Loewy
relation occupation
type occupation
['Czech Republic', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Maximilian_Loewy property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q211346 Q783906 Q1622272
SYSTEM
psychiatrist, neurologist, university teacher
Q211346 Q783906 Q1622272
(Q213,P106,c(Q12737077))
action filter_type
action find
entity Q1914027
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q213', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1914027 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
psychiatrist neurologist university teacher
Psychiatrist, neurologist and university teacher have that person as his/her 's career
psychiatrist neurologist university teacher
action filter_type
action find
entity Maximilian Loewy
relation occupation
type occupation
['Czech Republic', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Maximilian_Loewy property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7096560 Q1914027
P607
Q198
USER
Which wars were Maximilian Loewy or Opequon Union Order of Battle a part of ?
OR((Q1914027,P607,c(Q198)), (Q7096560,P607,c(Q198)))
action filter_type
action union
action find
entity Q1914027
relation P607
action find
entity Q7096560
relation P607
type Q198
{'OR': [['Q1914027', 'P607', {'concept': 'Q198'}], ['Q7096560', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q198 . { VALUES ( ?f ) { ( resource:Q1914027 ) ( resource:Q7096560 ) } . ?f property:P607 ?y } }
Opequon Union Order of Battle Maximilian Loewy
action filter_type
action union
action find
entity Maximilian Loewy
relation conflict
action find
entity Opequon Union Order of Battle
relation conflict
type war
{'OR': [['Maximilian Loewy', 'conflict', {'concept': 'war'}], ['Opequon Union Order of Battle', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:war . { VALUES ( ?f ) { ( resource:Maximilian_Loewy ) ( resource:Opequon_Union_Order_of_Battle ) } . ?f property:conflict ?y } }
[]
war
Q8676 Q361
SYSTEM
American Civil War, World War I
Q8676 Q361
OR((Q1914027,P607,c(Q198)), (Q7096560,P607,c(Q198)))
action filter_type
action union
action find
entity Q1914027
relation P607
action find
entity Q7096560
relation P607
type Q198
The [ANSWERS] were Maximilian Loewy or Opequon Union Order of Battle a part of
{'OR': [['Q1914027', 'P607', {'concept': 'Q198'}], ['Q7096560', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q198 . { VALUES ( ?f ) { ( resource:Q1914027 ) ( resource:Q7096560 ) } . ?f property:P607 ?y } }
American Civil War World War I
The American Civil War and World War I were Maximilian Loewy or Opequon Union Order of Battle a part of
American Civil War World War I
action filter_type
action union
action find
entity Maximilian Loewy
relation conflict
action find
entity Opequon Union Order of Battle
relation conflict
type war
{'OR': [['Maximilian Loewy', 'conflict', {'concept': 'war'}], ['Opequon Union Order of Battle', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:war . { VALUES ( ?f ) { ( resource:Maximilian_Loewy ) ( resource:Opequon_Union_Order_of_Battle ) } . ?f property:conflict ?y } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5054827
P607
Q52371
USER
Did those wars participate in cavalry regiment of the British Army ?
(Q5054827,P607,Q8676) (Q5054827,P607,Q361)
action is_in
entity prev_answer
action find
entity Q5054827
relation P607
['Q5054827', 'P607', 'Q8676'] ['Q5054827', 'P607', 'Q361']
ASK WHERE { VALUES ( ?d ) { ( resource:Q8676 ) ( resource:Q361 ) } . resource:Q5054827 property:P607 ?d }
cavalry regiment of the British Army
action is_in
entity prev_answer
action find
entity cavalry regiment of the British Army
relation conflict
['cavalry regiment of the British Army', 'conflict', 'American Civil War'] ['cavalry regiment of the British Army', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?d ) { ( resource:American_Civil_War ) ( resource:World_War_I ) } . resource:cavalry_regiment_of_the_British_Army property:conflict ?d }
[]
regiment
SYSTEM
NO
(Q5054827,P607,Q8676) (Q5054827,P607,Q361)
action is_in
entity prev_answer
action find
entity Q5054827
relation P607
[ANSWER]
['Q5054827', 'P607', 'Q8676'] ['Q5054827', 'P607', 'Q361']
ASK WHERE { VALUES ( ?d ) { ( resource:Q8676 ) ( resource:Q361 ) } . resource:Q5054827 property:P607 ?d }
No
action is_in
entity prev_answer
action find
entity cavalry regiment of the British Army
relation conflict
['cavalry regiment of the British Army', 'conflict', 'American Civil War'] ['cavalry regiment of the British Army', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?d ) { ( resource:American_Civil_War ) ( resource:World_War_I ) } . resource:cavalry_regiment_of_the_British_Army property:conflict ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q213 Q1085
P36
Q56061
USER
Is Prague associated to Czech Republic as the capital ?
(Q213,P36,Q1085)
action is_in
entity Q1085
action find
entity Q213
relation P36
['Q213', 'P36', 'Q1085']
ASK WHERE { resource:Q213 property:P36 resource:Q1085 }
Czech Republic Prague
action is_in
entity Prague
action find
entity Czech Republic
relation capital
['Czech Republic', 'capital', 'Prague']
ASK WHERE { resource:Czech_Republic property:capital resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q213,P36,Q1085)
action is_in
entity Q1085
action find
entity Q213
relation P36
[ANSWER]
['Q213', 'P36', 'Q1085']
ASK WHERE { resource:Q213 property:P36 resource:Q1085 }
Yes
action is_in
entity Prague
action find
entity Czech Republic
relation capital
['Czech Republic', 'capital', 'Prague']
ASK WHERE { resource:Czech_Republic property:capital resource:Prague }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P706
Q43229
USER
Which organization has its location as that administrative territory ?
action filter_type
action find_reverse
entity Q213
relation P706
type Q43229
SELECT DISTINCT ?z WHERE { ?z property:P706 resource:Q213 . ?z rdf:type ontology:Q43229 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation located on terrain feature
type organization
SELECT DISTINCT ?z WHERE { ?z property:located_on_terrain_feature resource:Czech_Republic . ?z rdf:type ontology:organization }
[]
organization
Q3073139
SYSTEM
TEDOM
Q3073139
action filter_type
action find_reverse
entity Q213
relation P706
type Q43229
[ANSWER] has its location as that administrative territory
SELECT DISTINCT ?z WHERE { ?z property:P706 resource:Q213 . ?z rdf:type ontology:Q43229 }
TEDOM
TEDOM has its location as that administrative territory
TEDOM
action filter_type
action find_reverse
entity Czech Republic
relation located on terrain feature
type organization
SELECT DISTINCT ?z WHERE { ?z property:located_on_terrain_feature resource:Czech_Republic . ?z rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P101
Q502895
USER
Which person has specialisation in American Civil War ?
(c(Q502895),P101,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q8676']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q8676 . ?x rdf:type ontology:Q502895 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'American Civil War']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:American_Civil_War . ?x rdf:type ontology:common_name }
[]
common name
Q49128
SYSTEM
Drew Gilpin Faust
Q49128
(c(Q502895),P101,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P101
type Q502895
[ANSWER] has specialisation in American Civil War
[{'concept': 'Q502895'}, 'P101', 'Q8676']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q8676 . ?x rdf:type ontology:Q502895 }
Drew Gilpin Faust
Drew Gilpin Faust has specialisation in American Civil War
Drew Gilpin Faust
action filter_type
action find_reverse
entity American Civil War
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'American Civil War']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:American_Civil_War . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49128
P26
Q502895
USER
Which person is the life partner of that one ?
(Q49128,P26,c(Q502895))
action filter_type
action find
entity Q49128
relation P26
type Q502895
['Q49128', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q49128 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Drew Gilpin Faust
action filter_type
action find
entity Drew Gilpin Faust
relation spouse
type common name
['Drew Gilpin Faust', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Drew_Gilpin_Faust property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q5077167
SYSTEM
Charles E. Rosenberg
Q5077167
(Q49128,P26,c(Q502895))
action filter_type
action find
entity Q49128
relation P26
type Q502895
[ANSWER] is the life partner of that one
['Q49128', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q49128 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Charles E. Rosenberg
Charles E. Rosenberg is the life partner of that one
Charles E. Rosenberg
action filter_type
action find
entity Drew Gilpin Faust
relation spouse
type common name
['Drew Gilpin Faust', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Drew_Gilpin_Faust property:spouse ?w . ?w rdf:type ontology:common_name }
[]