Simple Question (Direct)
Simple Question
Q9288256
P20
Q1048835
USER
Where did Henryk Jedwab expire ?
(Q9288256,P20,c(Q1048835))
action filter_type
action find
entity Q9288256
relation P20
type Q1048835
['Q9288256', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q9288256 property:P20 ?c . ?c rdf:type ontology:Q1048835 }
Henryk Jedwab
action filter_type
action find
entity Henryk Jedwab
relation place of death
type political territorial entity
['Henryk Jedwab', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Henryk_Jedwab property:place_of_death ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q9288256,P20,c(Q1048835))
action filter_type
action find
entity Q9288256
relation P20
type Q1048835
Henryk Jedwab expired in [ANSWER]
['Q9288256', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q9288256 property:P20 ?c . ?c rdf:type ontology:Q1048835 }
Canada
Henryk Jedwab expired in Canada
Canada
action filter_type
action find
entity Henryk Jedwab
relation place of death
type political territorial entity
['Henryk Jedwab', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Henryk_Jedwab property:place_of_death ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9288256
P410
Q4189293
USER
Which title was the military rank held by Henryk Jedwab ?
(Q9288256,P410,c(Q4189293))
action filter_type
action find
entity Q9288256
relation P410
type Q4189293
['Q9288256', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q4189293 . resource:Q9288256 property:P410 ?b }
Henryk Jedwab
action filter_type
action find
entity Henryk Jedwab
relation military rank
type title
['Henryk Jedwab', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:title . resource:Henryk_Jedwab property:military_rank ?b }
[]
title
Q15055248
SYSTEM
poruchik
Q15055248
(Q9288256,P410,c(Q4189293))
action filter_type
action find
entity Q9288256
relation P410
type Q4189293
[ANSWER] was the military rank held by Henryk Jedwab
['Q9288256', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q4189293 . resource:Q9288256 property:P410 ?b }
poruchik
Poruchik was the military rank held by Henryk Jedwab
poruchik
action filter_type
action find
entity Henryk Jedwab
relation military rank
type title
['Henryk Jedwab', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:title . resource:Henryk_Jedwab property:military_rank ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4251771
Q4189293
USER
And also tell me about André Delabarre?
(Q4251771,P410,c(Q4189293))
action filter_type
action find
entity Q4251771
relation P410
type Q4189293
['Q4251771', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { resource:Q4251771 property:P410 ?s . ?s rdf:type ontology:Q4189293 }
André Delabarre
action filter_type
action find
entity André Delabarre
relation military rank
type title
['André Delabarre', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { resource:André_Delabarre property:military_rank ?s . ?s rdf:type ontology:title }
[]
title
Q2487961
SYSTEM
divisional general
Q2487961
(Q4251771,P410,c(Q4189293))
action filter_type
action find
entity Q4251771
relation P410
type Q4189293
[ANSWER]
['Q4251771', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { resource:Q4251771 property:P410 ?s . ?s rdf:type ontology:Q4189293 }
divisional general
divisional general
action filter_type
action find
entity André Delabarre
relation military rank
type title
['André Delabarre', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { resource:André_Delabarre property:military_rank ?s . ?s rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4251771
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2487961,P27,c(Q15617994))
action filter_type
action find
entity Q4251771
relation P27
type Q15617994
['Q2487961', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4251771 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
André Delabarre
action filter_type
action find
entity André Delabarre
relation country of citizenship
type designation for an administrative territorial entity
['divisional general', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:André_Delabarre property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2487961,P27,c(Q15617994))
action filter_type
action find
entity Q4251771
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q2487961', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4251771 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
France
The France is the country of citizenship of that person
France
action filter_type
action find
entity André Delabarre
relation country of citizenship
type designation for an administrative territorial entity
['divisional general', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:André_Delabarre property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q21004952
P27
Q502895
USER
Is Ivy Bannister a citizen of that administrative territory ?
(Q21004952,P27,Q142)
action is_in
entity Q21004952
action find
entity Q142
relation P27
['Q21004952', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q21004952 }
France Ivy Bannister
action is_in
entity Ivy Bannister
action find
entity France
relation country of citizenship
['Ivy Bannister', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Ivy_Bannister }
[]
common name
SYSTEM
NO
(Q21004952,P27,Q142)
action is_in
entity Q21004952
action find
entity Q142
relation P27
[ANSWER]
['Q21004952', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q21004952 }
No
action is_in
entity Ivy Bannister
action find
entity France
relation country of citizenship
['Ivy Bannister', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Ivy_Bannister }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9288256 Q17392 Q4926884
P27
Q15617994
USER
Is Henryk Jedwab a native of Monleale and Blissfield Community Schools ?
(Q9288256,P27,Q17392) (Q9288256,P27,Q4926884)
action is_in
entity Q9288256
action intersection
action find_reverse
entity Q17392
relation P27
action find_reverse
entity Q4926884
relation P27
['Q9288256', 'P27', 'Q17392'] ['Q9288256', 'P27', 'Q4926884']
ASK WHERE { resource:Q9288256 property:P27 resource:Q17392 . resource:Q9288256 property:P27 resource:Q4926884 }
Henryk Jedwab Monleale Blissfield Community Schools
action is_in
entity Henryk Jedwab
action intersection
action find_reverse
entity Monleale
relation country of citizenship
action find_reverse
entity Blissfield Community Schools
relation country of citizenship
['Henryk Jedwab', 'country of citizenship', 'Monleale'] ['Henryk Jedwab', 'country of citizenship', 'Blissfield Community Schools']
ASK WHERE { resource:Henryk_Jedwab property:country_of_citizenship resource:Monleale . resource:Henryk_Jedwab property:country_of_citizenship resource:Blissfield_Community_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q9288256,P27,Q17392) (Q9288256,P27,Q4926884)
action is_in
entity Q9288256
action intersection
action find_reverse
entity Q17392
relation P27
action find_reverse
entity Q4926884
relation P27
[ANSWER]
['Q9288256', 'P27', 'Q17392'] ['Q9288256', 'P27', 'Q4926884']
ASK WHERE { resource:Q9288256 property:P27 resource:Q17392 . resource:Q9288256 property:P27 resource:Q4926884 }
No
action is_in
entity Henryk Jedwab
action intersection
action find_reverse
entity Monleale
relation country of citizenship
action find_reverse
entity Blissfield Community Schools
relation country of citizenship
['Henryk Jedwab', 'country of citizenship', 'Monleale'] ['Henryk Jedwab', 'country of citizenship', 'Blissfield Community Schools']
ASK WHERE { resource:Henryk_Jedwab property:country_of_citizenship resource:Monleale . resource:Henryk_Jedwab property:country_of_citizenship resource:Blissfield_Community_Schools }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q155 Q17059456
P530
Q15617994
USER
Does France have ambassadorial relations with Brazil and York County School District 1 ?
(Q142,P530,Q155) (Q142,P530,Q17059456)
action is_in
entity Q142
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q17059456
relation P530
['Q142', 'P530', 'Q155'] ['Q142', 'P530', 'Q17059456']
ASK WHERE { resource:Q142 property:P530 resource:Q155 . resource:Q142 property:P530 resource:Q17059456 }
France Brazil York County School District 1
action is_in
entity France
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity York County School District 1
relation diplomatic relation
['France', 'diplomatic relation', 'Brazil'] ['France', 'diplomatic relation', 'York County School District 1']
ASK WHERE { resource:France property:diplomatic_relation resource:Brazil . resource:France property:diplomatic_relation resource:York_County_School_District_1 }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q155) (Q142,P530,Q17059456)
action is_in
entity Q142
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q17059456
relation P530
[ANSWER]
['Q142', 'P530', 'Q155'] ['Q142', 'P530', 'Q17059456']
ASK WHERE { resource:Q142 property:P530 resource:Q155 . resource:Q142 property:P530 resource:Q17059456 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity York County School District 1
relation diplomatic relation
['France', 'diplomatic relation', 'Brazil'] ['France', 'diplomatic relation', 'York County School District 1']
ASK WHERE { resource:France property:diplomatic_relation resource:Brazil . resource:France property:diplomatic_relation resource:York_County_School_District_1 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q35
P530
Q15617994
USER
How many administrative territories have diplomatic relations with France and Denmark ?
(c(Q15617994),P530,Q142) (c(Q15617994),P530,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q35']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P530 resource:Q142 . ?y rdf:type ontology:Q15617994 . ?y property:P530 resource:Q35 . ?y rdf:type ontology:Q15617994 }
France Denmark
action count
action intersection
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:diplomatic_relation resource:France . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation resource:Denmark . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q155 Q184 Q38
(c(Q15617994),P530,Q142) (c(Q15617994),P530,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q35']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P530 resource:Q142 . ?y rdf:type ontology:Q15617994 . ?y property:P530 resource:Q35 . ?y rdf:type ontology:Q15617994 }
Brazil Belarus Italy
3
action count
action intersection
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:diplomatic_relation resource:France . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation resource:Denmark . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]