Simple Question (Direct)
Simple Question
Q2374943
P20
Q56061
USER
Where did the expiration of Vsevolod Krestovsky occur ?
(Q2374943,P20,c(Q56061))
action filter_type
action find
entity Q2374943
relation P20
type Q56061
['Q2374943', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2374943 property:P20 ?l }
Vsevolod Krestovsky
action filter_type
action find
entity Vsevolod Krestovsky
relation place of death
type administrative territorial entity
['Vsevolod Krestovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Vsevolod_Krestovsky property:place_of_death ?l }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q2374943,P20,c(Q56061))
action filter_type
action find
entity Q2374943
relation P20
type Q56061
The expiration of Vsevolod Krestovsky occurred in [ANSWER]
['Q2374943', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2374943 property:P20 ?l }
Warsaw
The expiration of Vsevolod Krestovsky occurred in Warsaw
Warsaw
action filter_type
action find
entity Vsevolod Krestovsky
relation place of death
type administrative territorial entity
['Vsevolod Krestovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Vsevolod_Krestovsky property:place_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270
P163
Q17335294
USER
What is associated with that administrative territory ?
(Q270,P163,c(Q17335294))
action filter_type
action find
entity Q270
relation P163
type Q17335294
['Q270', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { resource:Q270 property:P163 ?m . ?m rdf:type ontology:Q17335294 }
Warsaw
action filter_type
action find
entity Warsaw
relation flag
type flag or coat of arms
['Warsaw', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { resource:Warsaw property:flag ?m . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2073258
SYSTEM
flag of Warsaw
Q2073258
(Q270,P163,c(Q17335294))
action filter_type
action find
entity Q270
relation P163
type Q17335294
The [ANSWER] is associated with that administrative territory
['Q270', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { resource:Q270 property:P163 ?m . ?m rdf:type ontology:Q17335294 }
flag of Warsaw
The flag of Warsaw is associated with that administrative territory
flag of Warsaw
action filter_type
action find
entity Warsaw
relation flag
type flag or coat of arms
['Warsaw', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { resource:Warsaw property:flag ?m . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270
P495
Q2342494
USER
Which collectable originated in that administrative territory ?
(c(Q2342494),P495,Q2073258)
action filter_type
action find_reverse
entity Q270
relation P495
type Q2342494
[{'concept': 'Q2342494'}, 'P495', 'Q2073258']
SELECT DISTINCT ?l WHERE { ?l property:P495 resource:Q270 . ?l rdf:type ontology:Q2342494 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'flag of Warsaw']
SELECT DISTINCT ?l WHERE { ?l property:country_of_origin resource:Warsaw . ?l rdf:type ontology:collectable }
[]
collectable
Q2641481
SYSTEM
The Pianist
Q2641481
(c(Q2342494),P495,Q2073258)
action filter_type
action find_reverse
entity Q270
relation P495
type Q2342494
[ANSWER] originated in that administrative territory
[{'concept': 'Q2342494'}, 'P495', 'Q2073258']
SELECT DISTINCT ?l WHERE { ?l property:P495 resource:Q270 . ?l rdf:type ontology:Q2342494 }
The Pianist
The Pianist originated in that administrative territory
The Pianist
action filter_type
action find_reverse
entity Warsaw
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'flag of Warsaw']
SELECT DISTINCT ?l WHERE { ?l property:country_of_origin resource:Warsaw . ?l rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2641481 Q1560382 Q157176
P50
Q502895
USER
Is that collectable written by Günter Böhme and Władysław Szpilman ?
(Q2641481,P50,Q1560382) (Q2641481,P50,Q157176)
action is_in
entity Q2641481
action intersection
action find_reverse
entity Q1560382
relation P50
action find_reverse
entity Q157176
relation P50
['Q2641481', 'P50', 'Q1560382'] ['Q2641481', 'P50', 'Q157176']
ASK WHERE { resource:Q2641481 property:P50 resource:Q157176 . resource:Q2641481 property:P50 resource:Q1560382 }
The Pianist Günter Böhme Władysław Szpilman
action is_in
entity The Pianist
action intersection
action find_reverse
entity Günter Böhme
relation author
action find_reverse
entity Władysław Szpilman
relation author
['The Pianist', 'author', 'Günter Böhme'] ['The Pianist', 'author', 'Władysław Szpilman']
ASK WHERE { resource:The_Pianist property:author resource:Władysław_Szpilman . resource:The_Pianist property:author resource:Günter_Böhme }
[]
common name
SYSTEM
NO and YES respectively
(Q2641481,P50,Q1560382) (Q2641481,P50,Q157176)
action is_in
entity Q2641481
action intersection
action find_reverse
entity Q1560382
relation P50
action find_reverse
entity Q157176
relation P50
[ANSWER]
['Q2641481', 'P50', 'Q1560382'] ['Q2641481', 'P50', 'Q157176']
ASK WHERE { resource:Q2641481 property:P50 resource:Q157176 . resource:Q2641481 property:P50 resource:Q1560382 }
NO and YES respectively
action is_in
entity The Pianist
action intersection
action find_reverse
entity Günter Böhme
relation author
action find_reverse
entity Władysław Szpilman
relation author
['The Pianist', 'author', 'Günter Böhme'] ['The Pianist', 'author', 'Władysław Szpilman']
ASK WHERE { resource:The_Pianist property:author resource:Władysław_Szpilman . resource:The_Pianist property:author resource:Günter_Böhme }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2374943 Q185421
P40
Q502895
USER
Is Takashi Miike a child of Vsevolod Krestovsky ?
(Q2374943,P40,Q185421)
action is_in
entity Q185421
action find
entity Q2374943
relation P40
['Q2374943', 'P40', 'Q185421']
ASK WHERE { resource:Q2374943 property:P40 resource:Q185421 }
Vsevolod Krestovsky Takashi Miike
action is_in
entity Takashi Miike
action find
entity Vsevolod Krestovsky
relation child
['Vsevolod Krestovsky', 'child', 'Takashi Miike']
ASK WHERE { resource:Vsevolod_Krestovsky property:child resource:Takashi_Miike }
[]
common name
SYSTEM
NO
(Q2374943,P40,Q185421)
action is_in
entity Q185421
action find
entity Q2374943
relation P40
[ANSWER]
['Q2374943', 'P40', 'Q185421']
ASK WHERE { resource:Q2374943 property:P40 resource:Q185421 }
No
action is_in
entity Takashi Miike
action find
entity Vsevolod Krestovsky
relation child
['Vsevolod Krestovsky', 'child', 'Takashi Miike']
ASK WHERE { resource:Vsevolod_Krestovsky property:child resource:Takashi_Miike }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P237
Q17335294 Q502895 Q15617994
USER
Which coats of arms are the coat of arms for exactly 1 people and administrative territories ?
(c(Q502895)|c(Q15617994),P237,c(Q17335294))
action equal
action union
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q502895
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q15617994
value 1
[[{'concept': 'Q502895'}, {'concept': 'Q15617994'}], 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P237 ?c . ?c rdf:type ontology:Q17335294 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P237 ?c . ?z rdf:type ontology:Q502895 . ?c rdf:type ontology:Q17335294 } } GROUP BY ?c } . FILTER ( ?j = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type common name
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type designation for an administrative territorial entity
value 1
[[{'concept': 'common name'}, {'concept': 'designation for an administrative territorial entity'}], 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:coat_of_arms ?c . ?c rdf:type ontology:flag_or_coat_of_arms . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:coat_of_arms ?c . ?z rdf:type ontology:common_name . ?c rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?c } . FILTER ( ?j = 1 ) }
[]
flag or coat of arms common name designation for an administrative territorial entity
Q668988 Q484823 Q896470
SYSTEM
Pahonia, Emblem of Afghanistan, coat of arms of Brabant
Q207285 Q2090299 Q207288 Q14517569 Q2090077 Q3774899 Q7654370 Q459364 Q2950261 Q209248 Q203378 Q484823 Q2303935 Q171869 Q1511867 Q2590454 Q14517593 Q5138446 Q478816 Q271203 Q271210 Q2665727 Q2261177 Q2072501 Q318966 Q167927 Q44783 Q896470 Q209213 Q4101578 Q2239645 Q4235931 Q170556 Q269821 Q459549 Q207526 Q668988 Q1993798 Q2551092 Q1668239 Q321755 Q207354 Q2245505 Q14473320 Q427048 Q2445468 Q201168 Q209234 Q204949
(c(Q502895)|c(Q15617994),P237,c(Q17335294))
action equal
action union
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q502895
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q15617994
value 1
[ANSWERS] are the coat of arms for exactly 1 people and administrative territories
[[{'concept': 'Q502895'}, {'concept': 'Q15617994'}], 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P237 ?c . ?c rdf:type ontology:Q17335294 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P237 ?c . ?z rdf:type ontology:Q502895 . ?c rdf:type ontology:Q17335294 } } GROUP BY ?c } . FILTER ( ?j = 1 ) }
Coat of arms of Oman Kościesza coat of arms Coat of Arms of Mali coat of arms of Flevoland Korab coat of arms coat of arms of the King of Spain Coat of arms of Pope Francis Seal of the Marshall Islands coat of arms of Groningen Emblem of Mozambique Emblem of Brunei Emblem of Afghanistan coat of arms of Zeeland coat of arms of India Coat of arms of the Northwest Territories Odrowąż coat of arms coat of arms of Overijssel Coat of arms of George Washington Seal of Palau Seal of Madagascar Coat of arms of Liberia coat of arms of Drenthe coat of arms of South Holland coat of arms of North Holland Emblem of Yemen Coat of arms of Fiji Coat of arms of Libya coat of arms of Brabant Arms of the Democratic Republic of the Congo Białynia coat of arms coat of arms of Gelderland Kotwica coat of arms Imperial Seal of Japan Seal of Mauritania Seal of the Federated States of Micronesia Coat of arms of Guatemala Pahonia Mogiła coat of arms coat of arms of Limburg Coat of arms of Nunavut Coat of arms of Greenland Emblem of Bhutan coat of arms of Utrecht Plater coat of arms Coat of arms of Quebec Syrokomla coat of arms Coat of Arms of Pakistan National seal of the Union of the Comoros Coat of arms of Tunisia
Pahonia, Emblem of Afghanistan and coat of arms of Brabant are the coat of arms for exactly 1 people and administrative territories
Pahonia Emblem of Afghanistan coat of arms of Brabant
action equal
action union
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type common name
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type designation for an administrative territorial entity
value 1
[[{'concept': 'common name'}, {'concept': 'designation for an administrative territorial entity'}], 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:coat_of_arms ?c . ?c rdf:type ontology:flag_or_coat_of_arms . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:coat_of_arms ?c . ?z rdf:type ontology:common_name . ?c rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?c } . FILTER ( ?j = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1077260 Q1560382
P27
Q1048835
USER
Which political territories do Günter Böhme and Chris Hahn belong to ?
AND((Q1560382,P27,c(Q1048835)), (Q1077260,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1560382
relation P27
action find
entity Q1077260
relation P27
type Q1048835
{'AND': [['Q1560382', 'P27', {'concept': 'Q1048835'}], ['Q1077260', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q1560382 property:P27 ?u . resource:Q1077260 property:P27 ?u }
Chris Hahn Günter Böhme
action filter_type
action intersection
action find
entity Günter Böhme
relation country of citizenship
action find
entity Chris Hahn
relation country of citizenship
type political territorial entity
{'AND': [['Günter Böhme', 'country of citizenship', {'concept': 'political territorial entity'}], ['Chris Hahn', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Günter_Böhme property:country_of_citizenship ?u . resource:Chris_Hahn property:country_of_citizenship ?u }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1560382,P27,c(Q1048835)), (Q1077260,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1560382
relation P27
action find
entity Q1077260
relation P27
type Q1048835
Günter Böhme and Chris Hahn belong to Nazi [ANSWER]
{'AND': [['Q1560382', 'P27', {'concept': 'Q1048835'}], ['Q1077260', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q1560382 property:P27 ?u . resource:Q1077260 property:P27 ?u }
Germany
Günter Böhme and Chris Hahn belong to Nazi Germany
Germany
action filter_type
action intersection
action find
entity Günter Böhme
relation country of citizenship
action find
entity Chris Hahn
relation country of citizenship
type political territorial entity
{'AND': [['Günter Böhme', 'country of citizenship', {'concept': 'political territorial entity'}], ['Chris Hahn', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Günter_Böhme property:country_of_citizenship ?u . resource:Chris_Hahn property:country_of_citizenship ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q1395127
P27
Q502895
USER
Is Julio Jaramillo a native of that political territory ?
(Q1395127,P27,Q183)
action is_in
entity Q1395127
action find
entity Q183
relation P27
['Q1395127', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q1395127 }
Germany Julio Jaramillo
action is_in
entity Julio Jaramillo
action find
entity Germany
relation country of citizenship
['Julio Jaramillo', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Julio_Jaramillo }
[]
common name
SYSTEM
NO
(Q1395127,P27,Q183)
action is_in
entity Q1395127
action find
entity Q183
relation P27
[ANSWER]
['Q1395127', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q1395127 }
No
action is_in
entity Julio Jaramillo
action find
entity Germany
relation country of citizenship
['Julio Jaramillo', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Julio_Jaramillo }
[]