Simple Question (Direct)
Simple Question
Q465132
P19
Q56061
USER
Which administrative territory is the birthplace of Roman Maciejewski ?
(Q465132,P19,c(Q56061))
action filter_type
action find
entity Q465132
relation P19
type Q56061
['Q465132', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q465132 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Roman Maciejewski
action filter_type
action find
entity Roman Maciejewski
relation place of birth
type administrative territorial entity
['Roman Maciejewski', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Roman_Maciejewski property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q465132,P19,c(Q56061))
action filter_type
action find
entity Q465132
relation P19
type Q56061
[ANSWER] is the birthplace of Roman Maciejewski
['Q465132', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q465132 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Berlin
Berlin is the birthplace of Roman Maciejewski
Berlin
action filter_type
action find
entity Roman Maciejewski
relation place of birth
type administrative territorial entity
['Roman Maciejewski', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Roman_Maciejewski property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q465132
P27
Q15617994
USER
Which administrative territory is the native country of Roman Maciejewski ?
(Q465132,P27,c(Q15617994))
action filter_type
action find
entity Q465132
relation P27
type Q15617994
['Q465132', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q465132 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Roman Maciejewski
action filter_type
action find
entity Roman Maciejewski
relation country of citizenship
type designation for an administrative territorial entity
['Roman Maciejewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Maciejewski property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q465132,P27,c(Q15617994))
action filter_type
action find
entity Q465132
relation P27
type Q15617994
In [ANSWER] is the native country of Roman Maciejewski
['Q465132', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q465132 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Poland
In Poland is the native country of Roman Maciejewski
Poland
action filter_type
action find
entity Roman Maciejewski
relation country of citizenship
type designation for an administrative territorial entity
['Roman Maciejewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Maciejewski property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36 Q551483
P47
Q15617994
USER
Is Schafflund bordered by Poland ?
(Q36,P47,Q551483)
action is_in
entity Q551483
action find
entity Q36
relation P47
['Q36', 'P47', 'Q551483']
ASK WHERE { resource:Q36 property:P47 resource:Q551483 }
Poland Schafflund
action is_in
entity Schafflund
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'Schafflund']
ASK WHERE { resource:Poland property:shares_border_with resource:Schafflund }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q36,P47,Q551483)
action is_in
entity Q551483
action find
entity Q36
relation P47
[ANSWER]
['Q36', 'P47', 'Q551483']
ASK WHERE { resource:Q36 property:P47 resource:Q551483 }
No
action is_in
entity Schafflund
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'Schafflund']
ASK WHERE { resource:Poland property:shares_border_with resource:Schafflund }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q36
P36
Q56061
USER
How many administrative territories are associated to Poland as the capital ?
(Q36,P36,c(Q56061))
action count
action filter_type
action find
entity Q36
relation P36
type Q56061
['Q36', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q36 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Poland
action count
action filter_type
action find
entity Poland
relation capital
type administrative territorial entity
['Poland', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Poland property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q270
(Q36,P36,c(Q56061))
action count
action filter_type
action find
entity Q36
relation P36
type Q56061
[ANSWER]
['Q36', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q36 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Warsaw
1
action count
action filter_type
action find
entity Poland
relation capital
type administrative territorial entity
['Poland', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Poland property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P159
Q7210356
USER
Which political organizations have the principal seat at that administrative territory ?
action filter_type
action find_reverse
entity Q36
relation P159
type Q7210356
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . ?u property:P159 resource:Q36 }
Poland
action filter_type
action find_reverse
entity Poland
relation headquarters location
type political organization
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . ?u property:headquarters_location resource:Poland }
[]
political organization
Q3075060 Q7878482
SYSTEM
Folkspartei, Ukrainian National Democratic Alliance
Q3075060 Q7878482
action filter_type
action find_reverse
entity Q36
relation P159
type Q7210356
[ANSWERS] have the principal seat at that administrative territory
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . ?u property:P159 resource:Q36 }
Folkspartei Ukrainian National Democratic Alliance
Folkspartei and Ukrainian National Democratic Alliance have the principal seat at that administrative territory
Folkspartei Ukrainian National Democratic Alliance
action filter_type
action find_reverse
entity Poland
relation headquarters location
type political organization
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . ?u property:headquarters_location resource:Poland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P1001
Q2712963 Q12737077
USER
How many abstract nouns and occupations preside the jurisdiction over Poland ?
(c(Q2712963),P1001,Q36) (c(Q12737077),P1001,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P1001
type Q2712963
action filter_type
action find_reverse
entity Q36
relation P1001
type Q12737077
[{'concept': 'Q2712963'}, 'P1001', 'Q36'] [{'concept': 'Q12737077'}, 'P1001', 'Q36']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:P1001 resource:Q36 . ?k rdf:type ontology:Q2712963 } UNION { ?k property:P1001 resource:Q36 . ?k rdf:type ontology:Q12737077 } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation applies to jurisdiction
type abstract noun
action filter_type
action find_reverse
entity Poland
relation applies to jurisdiction
type occupation
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Poland'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Poland']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:applies_to_jurisdiction resource:Poland . ?k rdf:type ontology:abstract_noun } UNION { ?k property:applies_to_jurisdiction resource:Poland . ?k rdf:type ontology:occupation } }
[]
abstract noun occupation
SYSTEM
1 abstract nouns and 9 occupations
Q20066605 Q15051532 Q11781525 Q3494073 Q11536157 Q1054799 Q100172 Q3846811 Q21328636 Q3259469
(c(Q2712963),P1001,Q36) (c(Q12737077),P1001,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P1001
type Q2712963
action filter_type
action find_reverse
entity Q36
relation P1001
type Q12737077
[ANSWER]
[{'concept': 'Q2712963'}, 'P1001', 'Q36'] [{'concept': 'Q12737077'}, 'P1001', 'Q36']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:P1001 resource:Q36 . ?k rdf:type ontology:Q2712963 } UNION { ?k property:P1001 resource:Q36 . ?k rdf:type ontology:Q12737077 } }
senator of Poland Deputy Prime Minister of the Republic of Poland Minister of Finance of Poland General Inspector of the Armed Forces Spółka akcyjna President of Poland Marshal of the Sejm Marshal of the Senate of the Republic of Poland Member of the Sejm of the Republic of Poland Prime Minister of Poland
1 abstract nouns and 9 occupations
action count
action union
action filter_type
action find_reverse
entity Poland
relation applies to jurisdiction
type abstract noun
action filter_type
action find_reverse
entity Poland
relation applies to jurisdiction
type occupation
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Poland'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Poland']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k property:applies_to_jurisdiction resource:Poland . ?k rdf:type ontology:abstract_noun } UNION { ?k property:applies_to_jurisdiction resource:Poland . ?k rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P937
Q502895
USER
Who works at that administrative territory ?
action filter_type
action find_reverse
entity Q36
relation P937
type Q502895
SELECT DISTINCT ?i WHERE { ?i property:P937 resource:Q36 . ?i rdf:type ontology:Q502895 }
Poland
action filter_type
action find_reverse
entity Poland
relation work location
type common name
SELECT DISTINCT ?i WHERE { ?i property:work_location resource:Poland . ?i rdf:type ontology:common_name }
[]
common name
Q117423 Q923364 Q1348231
SYSTEM
Élie Bertrand, Sam Eyde, Włodzimierz Czacki
Q117423 Q1348231 Q2858143 Q380717 Q923364
action filter_type
action find_reverse
entity Q36
relation P937
type Q502895
[ANSWERS] work at that administrative territory
SELECT DISTINCT ?i WHERE { ?i property:P937 resource:Q36 . ?i rdf:type ontology:Q502895 }
Élie Bertrand Włodzimierz Czacki Giovanni Maria Bernardoni Marcello Bacciarelli Sam Eyde
Élie Bertrand, Sam Eyde and Włodzimierz Czacki work at that administrative territory
Élie Bertrand Sam Eyde Włodzimierz Czacki
action filter_type
action find_reverse
entity Poland
relation work location
type common name
SELECT DISTINCT ?i WHERE { ?i property:work_location resource:Poland . ?i rdf:type ontology:common_name }
[]