Simple Question (Direct)
Simple Question
Q2547409
P937
Q56061
USER
What is the work location of Walther Sallaberger ?
(Q2547409,P937,c(Q56061))
action filter_type
action find
entity Q2547409
relation P937
type Q56061
['Q2547409', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q2547409 property:P937 ?y }
Walther Sallaberger
action filter_type
action find
entity Walther Sallaberger
relation work location
type administrative territorial entity
['Walther Sallaberger', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Walther_Sallaberger property:work_location ?y }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q2547409,P937,c(Q56061))
action filter_type
action find
entity Q2547409
relation P937
type Q56061
The work location of Walther Sallaberger is in [ANSWER]
['Q2547409', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q2547409 property:P937 ?y }
Munich
The work location of Walther Sallaberger is in Munich
Munich
action filter_type
action find
entity Walther Sallaberger
relation work location
type administrative territorial entity
['Walther Sallaberger', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Walther_Sallaberger property:work_location ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2547409
P27
Q1048835
USER
Which political territory is Walther Sallaberger a civilian of ?
(Q2547409,P27,c(Q1048835))
action filter_type
action find
entity Q2547409
relation P27
type Q1048835
['Q2547409', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q2547409 property:P27 ?w }
Walther Sallaberger
action filter_type
action find
entity Walther Sallaberger
relation country of citizenship
type political territorial entity
['Walther Sallaberger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Walther_Sallaberger property:country_of_citizenship ?w }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q2547409,P27,c(Q1048835))
action filter_type
action find
entity Q2547409
relation P27
type Q1048835
[ANSWER] is Walther Sallaberger a civilian of
['Q2547409', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q2547409 property:P27 ?w }
Austria
Austria is Walther Sallaberger a civilian of
Austria
action filter_type
action find
entity Walther Sallaberger
relation country of citizenship
type political territorial entity
['Walther Sallaberger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Walther_Sallaberger property:country_of_citizenship ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P47
Q15617994
USER
Which administrative territories are bordered by that political territory ?
(c(Q15617994),P47,Q40)
action filter_type
action find
entity Q40
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q40']
SELECT DISTINCT ?w WHERE { resource:Q40 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Austria
action filter_type
action find
entity Austria
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Austria']
SELECT DISTINCT ?w WHERE { resource:Austria property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q347 Q213
SYSTEM
Italy, Liechtenstein, Czech Republic
Q213 Q214 Q215 Q347 Q28 Q39 Q38
(c(Q15617994),P47,Q40)
action filter_type
action find
entity Q40
relation P47
type Q15617994
[ANSWERS] are bordered by that political territory
[{'concept': 'Q15617994'}, 'P47', 'Q40']
SELECT DISTINCT ?w WHERE { resource:Q40 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Czech Republic Slovakia Slovenia Liechtenstein Hungary Switzerland Italy
Italy, Liechtenstein and Czech Republic are bordered by that political territory
Italy Liechtenstein Czech Republic
action filter_type
action find
entity Austria
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Austria']
SELECT DISTINCT ?w WHERE { resource:Austria property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213
P530
Q15617994
USER
Which administrative territories have tactful political relations with that one ?
(c(Q15617994),P530,Q213)
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q213']
SELECT DISTINCT ?m WHERE { ?m property:P530 resource:Q213 . ?m rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Czech Republic']
SELECT DISTINCT ?m WHERE { ?m property:diplomatic_relation resource:Czech_Republic . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q213
SYSTEM
Did you mean Czech Republic ?
Q38 Q347 Q213
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q347) (c(Q15617994),P530,Q213)
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q347'] [{'concept': 'Q15617994'}, 'P530', 'Q213']
SELECT DISTINCT ?m WHERE { ?m property:P530 resource:Q213 . ?m rdf:type ontology:Q15617994 }
Italy Liechtenstein Czech Republic
Did you mean Czech Republic ?
Czech Republic
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Liechtenstein'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Czech Republic']
SELECT DISTINCT ?m WHERE { ?m property:diplomatic_relation resource:Czech_Republic . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15617994),P530,Q213)
[{'concept': 'Q15617994'}, 'P530', 'Q213']
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Czech Republic']
[]
Q155 Q184 Q38
SYSTEM
Brazil, Belarus, Italy
Q155 Q184 Q38 Q801 Q347
(c(Q15617994),P530,Q213)
action filter_type
action find_reverse
entity Q213
relation P530
type Q15617994
[ANSWERS] have tactful political relations with that one
[{'concept': 'Q15617994'}, 'P530', 'Q213']
SELECT DISTINCT ?m WHERE { ?m property:P530 resource:Q213 . ?m rdf:type ontology:Q15617994 }
Brazil Belarus Italy Israel Liechtenstein
Brazil, Belarus and Italy have tactful political relations with that one
Brazil Belarus Italy
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Czech Republic']
SELECT DISTINCT ?m WHERE { ?m property:diplomatic_relation resource:Czech_Republic . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q184 Q38
P1001
Q14660
USER
Which flags apply to jurisdiction over Brazil, Belarus and Italy ?
(c(Q14660),P1001,Q155) (c(Q14660),P1001,Q184) (c(Q14660),P1001,Q38)
action union
action filter_type
action find_reverse
entity Q155
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q184
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q38
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q184'] [{'concept': 'Q14660'}, 'P1001', 'Q38']
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:Q155 ) ( resource:Q184 ) } . ?c property:P1001 ?j }
Brazil Belarus Italy
action union
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Belarus
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Belarus'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:Brazil ) ( resource:Belarus ) } . ?c property:applies_to_jurisdiction ?j }
[]
flag
Q82194 Q132633 Q42876
SYSTEM
flag of Brazil, flag of Belarus, Flag of Italy
Q82194 Q132633 Q42876
(c(Q14660),P1001,Q155) (c(Q14660),P1001,Q184) (c(Q14660),P1001,Q38)
action union
action filter_type
action find_reverse
entity Q155
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q184
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q38
relation P1001
type Q14660
[ANSWERS] apply to jurisdiction over Brazil, Belarus and Italy
[{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q184'] [{'concept': 'Q14660'}, 'P1001', 'Q38']
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:Q155 ) ( resource:Q184 ) } . ?c property:P1001 ?j }
flag of Brazil flag of Belarus Flag of Italy
Flag of Brazil, flag of Belarus and Flag of Italy apply to jurisdiction over Brazil, Belarus and Italy
flag of Brazil flag of Belarus Flag of Italy
action union
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Belarus
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Belarus'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?c WHERE { VALUES ( ?j ) { ( resource:Brazil ) ( resource:Belarus ) } . ?c property:applies_to_jurisdiction ?j }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82194 Q132633 Q42876
P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of those flags ?
(Q82194,P1001,c(Q15617994)) (Q132633,P1001,c(Q15617994)) (Q42876,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q82194', 'P1001', {'concept': 'Q15617994'}] ['Q132633', 'P1001', {'concept': 'Q15617994'}] ['Q42876', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?o property:P1001 ?e . ?e rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q82194 ) ( resource:Q132633 ) ( resource:Q42876 ) } }
flag of Brazil flag of Belarus Flag of Italy
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Belarus', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Italy', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?o property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:flag_of_Brazil ) ( resource:flag_of_Belarus ) ( resource:Flag_of_Italy ) } }
[]
designation for an administrative territorial entity
Q155 Q184 Q38
SYSTEM
Brazil, Belarus, Italy
Q155 Q184 Q38
(Q82194,P1001,c(Q15617994)) (Q132633,P1001,c(Q15617994)) (Q42876,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS] apply to jurisdiction of those flags
['Q82194', 'P1001', {'concept': 'Q15617994'}] ['Q132633', 'P1001', {'concept': 'Q15617994'}] ['Q42876', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?o property:P1001 ?e . ?e rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q82194 ) ( resource:Q132633 ) ( resource:Q42876 ) } }
Brazil Belarus Italy
Brazil, Belarus and Italy apply to jurisdiction of those flags
Brazil Belarus Italy
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Belarus', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Italy', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?o property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:flag_of_Brazil ) ( resource:flag_of_Belarus ) ( resource:Flag_of_Italy ) } }
[]