Simple Question (Direct)
Simple Question
Q274324
P20
Q56061
USER
Where did Jadwiga Łuszczewska die ?
(Q274324,P20,c(Q56061))
action filter_type
action find
entity Q274324
relation P20
type Q56061
['Q274324', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q274324 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Jadwiga Łuszczewska
action filter_type
action find
entity Jadwiga Łuszczewska
relation place of death
type administrative territorial entity
['Jadwiga Łuszczewska', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jadwiga_Łuszczewska property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q274324,P20,c(Q56061))
action filter_type
action find
entity Q274324
relation P20
type Q56061
Jadwiga Łuszczewska died in [ANSWER]
['Q274324', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q274324 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Warsaw
Jadwiga Łuszczewska died in Warsaw
Warsaw
action filter_type
action find
entity Jadwiga Łuszczewska
relation place of death
type administrative territorial entity
['Jadwiga Łuszczewska', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jadwiga_Łuszczewska property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q274324
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q270,P19,c(Q56061))
action filter_type
action find
entity Q274324
relation P19
type Q56061
['Q270', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q274324 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Jadwiga Łuszczewska
action filter_type
action find
entity Jadwiga Łuszczewska
relation place of birth
type administrative territorial entity
['Warsaw', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jadwiga_Łuszczewska property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q270,P19,c(Q56061))
action filter_type
action find
entity Q274324
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q270', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q274324 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Warsaw
Warsaw is the birthplace of that person
Warsaw
action filter_type
action find
entity Jadwiga Łuszczewska
relation place of birth
type administrative territorial entity
['Warsaw', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jadwiga_Łuszczewska property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q270 Q3063606
P6
Q502895
USER
Is that administrative territory the head of goverment of Fabien Giraud ?
(Q270,P6,Q3063606)
action is_in
entity Q3063606
action find
entity Q270
relation P6
['Q270', 'P6', 'Q3063606']
ASK WHERE { resource:Q270 property:P6 resource:Q3063606 }
Warsaw Fabien Giraud
action is_in
entity Fabien Giraud
action find
entity Warsaw
relation head of government
['Warsaw', 'head of government', 'Fabien Giraud']
ASK WHERE { resource:Warsaw property:head_of_government resource:Fabien_Giraud }
[]
common name
SYSTEM
NO
(Q270,P6,Q3063606)
action is_in
entity Q3063606
action find
entity Q270
relation P6
[ANSWER]
['Q270', 'P6', 'Q3063606']
ASK WHERE { resource:Q270 property:P6 resource:Q3063606 }
No
action is_in
entity Fabien Giraud
action find
entity Warsaw
relation head of government
['Warsaw', 'head of government', 'Fabien Giraud']
ASK WHERE { resource:Warsaw property:head_of_government resource:Fabien_Giraud }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P1376
Q855451
USER
Which Polish administrative territory has Warsaw has its center of administration ?
(Q270,P1376,c(Q855451))
action filter_type
action find
entity Q270
relation P1376
type Q855451
['Q270', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?p WHERE { resource:Q270 property:P1376 ?p . ?p rdf:type ontology:Q855451 }
Warsaw
action filter_type
action find
entity Warsaw
relation capital of
type administrative territorial entity of Poland
['Warsaw', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?p WHERE { resource:Warsaw property:capital_of ?p . ?p rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
administrative territorial entity of Poland
Q54169
SYSTEM
Masovian Voivodeship
Q54169
(Q270,P1376,c(Q855451))
action filter_type
action find
entity Q270
relation P1376
type Q855451
The [ANSWER] has Warsaw has its center of administration
['Q270', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?p WHERE { resource:Q270 property:P1376 ?p . ?p rdf:type ontology:Q855451 }
Masovian Voivodeship
The Masovian Voivodeship has Warsaw has its center of administration
Masovian Voivodeship
action filter_type
action find
entity Warsaw
relation capital of
type administrative territorial entity of Poland
['Warsaw', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?p WHERE { resource:Warsaw property:capital_of ?p . ?p rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1799
Q855451
USER
And what about Wrocław?
(Q1799,P1376,c(Q855451))
action filter_type
action find
entity Q1799
relation P1376
type Q855451
['Q1799', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?i WHERE { resource:Q1799 property:P1376 ?i . ?i rdf:type ontology:Q855451 }
Wrocław
action filter_type
action find
entity Wrocław
relation capital of
type administrative territorial entity of Poland
['Wrocław', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?i WHERE { resource:Wrocław property:capital_of ?i . ?i rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
administrative territorial entity of Poland
Q54150
SYSTEM
Lower Silesian Voivodeship
Q54150
(Q1799,P1376,c(Q855451))
action filter_type
action find
entity Q1799
relation P1376
type Q855451
[ANSWER]
['Q1799', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?i WHERE { resource:Q1799 property:P1376 ?i . ?i rdf:type ontology:Q855451 }
Lower Silesian Voivodeship
Lower Silesian Voivodeship
action filter_type
action find
entity Wrocław
relation capital of
type administrative territorial entity of Poland
['Wrocław', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?i WHERE { resource:Wrocław property:capital_of ?i . ?i rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q54150 Q6509312 Q666173
P17
Q15617994
USER
Is that Polish administrative territory located in Leake County School District and Albrechtsberg an der Großen Krems ?
(Q54150,P17,Q6509312) (Q54150,P17,Q666173)
action is_in
entity Q54150
action intersection
action find_reverse
entity Q6509312
relation P17
action find_reverse
entity Q666173
relation P17
['Q54150', 'P17', 'Q6509312'] ['Q54150', 'P17', 'Q666173']
ASK WHERE { resource:Q54150 property:P17 resource:Q6509312 . resource:Q54150 property:P17 resource:Q666173 }
Lower Silesian Voivodeship Leake County School District Albrechtsberg an der Großen Krems
action is_in
entity Lower Silesian Voivodeship
action intersection
action find_reverse
entity Leake County School District
relation country
action find_reverse
entity Albrechtsberg an der Großen Krems
relation country
['Lower Silesian Voivodeship', 'country', 'Leake County School District'] ['Lower Silesian Voivodeship', 'country', 'Albrechtsberg an der Großen Krems']
ASK WHERE { resource:Lower_Silesian_Voivodeship property:country resource:Leake_County_School_District . resource:Lower_Silesian_Voivodeship property:country resource:Albrechtsberg_an_der_Großen_Krems }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q54150,P17,Q6509312) (Q54150,P17,Q666173)
action is_in
entity Q54150
action intersection
action find_reverse
entity Q6509312
relation P17
action find_reverse
entity Q666173
relation P17
[ANSWER]
['Q54150', 'P17', 'Q6509312'] ['Q54150', 'P17', 'Q666173']
ASK WHERE { resource:Q54150 property:P17 resource:Q6509312 . resource:Q54150 property:P17 resource:Q666173 }
No
action is_in
entity Lower Silesian Voivodeship
action intersection
action find_reverse
entity Leake County School District
relation country
action find_reverse
entity Albrechtsberg an der Großen Krems
relation country
['Lower Silesian Voivodeship', 'country', 'Leake County School District'] ['Lower Silesian Voivodeship', 'country', 'Albrechtsberg an der Großen Krems']
ASK WHERE { resource:Lower_Silesian_Voivodeship property:country resource:Leake_County_School_District . resource:Lower_Silesian_Voivodeship property:country resource:Albrechtsberg_an_der_Großen_Krems }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q270 Q472
P190
Q56061
USER
Is Sofia sister town of Warsaw ?
(Q270,P190,Q472)
action is_in
entity Q472
action find
entity Q270
relation P190
['Q270', 'P190', 'Q472']
ASK WHERE { resource:Q270 property:P190 resource:Q472 }
Warsaw Sofia
action is_in
entity Sofia
action find
entity Warsaw
relation sister city
['Warsaw', 'sister city', 'Sofia']
ASK WHERE { resource:Warsaw property:sister_city resource:Sofia }
[]
administrative territorial entity
SYSTEM
YES
(Q270,P190,Q472)
action is_in
entity Q472
action find
entity Q270
relation P190
[ANSWER]
['Q270', 'P190', 'Q472']
ASK WHERE { resource:Q270 property:P190 resource:Q472 }
Yes
action is_in
entity Sofia
action find
entity Warsaw
relation sister city
['Warsaw', 'sister city', 'Sofia']
ASK WHERE { resource:Warsaw property:sister_city resource:Sofia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P495
Q2342494
USER
Which collectable originated in Warsaw ?
(c(Q2342494),P495,Q270)
action filter_type
action find_reverse
entity Q270
relation P495
type Q2342494
[{'concept': 'Q2342494'}, 'P495', 'Q270']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2342494 . ?m property:P495 resource:Q270 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Warsaw']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collectable . ?m property:country_of_origin resource:Warsaw }
[]
collectable
Q2641481
SYSTEM
The Pianist
Q2641481
(c(Q2342494),P495,Q270)
action filter_type
action find_reverse
entity Q270
relation P495
type Q2342494
[ANSWER] originated in Warsaw
[{'concept': 'Q2342494'}, 'P495', 'Q270']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2342494 . ?m property:P495 resource:Q270 }
The Pianist
The Pianist originated in Warsaw
The Pianist
action filter_type
action find_reverse
entity Warsaw
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Warsaw']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collectable . ?m property:country_of_origin resource:Warsaw }
[]