Simple Question (Direct)
Simple Question
Q15983214
P19
Q486972
USER
Which human settlement was Dawid Kownacki born at ?
(Q15983214,P19,c(Q486972))
action filter_type
action find
entity Q15983214
relation P19
type Q486972
['Q15983214', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q486972 . resource:Q15983214 property:P19 ?j }
Dawid Kownacki
action filter_type
action find
entity Dawid Kownacki
relation place of birth
type human settlement
['Dawid Kownacki', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:human_settlement . resource:Dawid_Kownacki property:place_of_birth ?j }
[]
human settlement
Q104731
SYSTEM
Gorzów Wielkopolski
Q104731
(Q15983214,P19,c(Q486972))
action filter_type
action find
entity Q15983214
relation P19
type Q486972
Dawid Kownacki was born in [ANSWER]
['Q15983214', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q486972 . resource:Q15983214 property:P19 ?j }
Gorzów Wielkopolski
Dawid Kownacki was born in Gorzów Wielkopolski
Gorzów Wielkopolski
action filter_type
action find
entity Dawid Kownacki
relation place of birth
type human settlement
['Dawid Kownacki', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:human_settlement . resource:Dawid_Kownacki property:place_of_birth ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15983214
P21
Q290
USER
Which sex does that person have ?
(Q104731,P21,c(Q290))
action filter_type
action find
entity Q15983214
relation P21
type Q290
['Q104731', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q15983214 property:P21 ?j . ?j rdf:type ontology:Q290 }
Dawid Kownacki
action filter_type
action find
entity Dawid Kownacki
relation gender
type sex
['Gorzów Wielkopolski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Dawid_Kownacki property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q104731,P21,c(Q290))
action filter_type
action find
entity Q15983214
relation P21
type Q290
That person has a [ANSWER]
['Q104731', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q15983214 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Dawid Kownacki
relation gender
type sex
['Gorzów Wielkopolski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Dawid_Kownacki property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15983214
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q15983214
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q15983214 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Dawid Kownacki
action filter_type
action find
entity Dawid Kownacki
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dawid_Kownacki property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q15983214
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q15983214 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Poland
The Poland is that person an inhabitant of
Poland
action filter_type
action find
entity Dawid Kownacki
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dawid_Kownacki property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104731
P6
Q502895
USER
Which person is the head of government of Gorzów Wielkopolski ?
(Q104731,P6,c(Q502895))
action filter_type
action find
entity Q104731
relation P6
type Q502895
['Q104731', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q104731 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Gorzów Wielkopolski
action filter_type
action find
entity Gorzów Wielkopolski
relation head of government
type common name
['Gorzów Wielkopolski', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Gorzów_Wielkopolski property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q19691684
SYSTEM
Jacek Wójcicki
Q19691684
(Q104731,P6,c(Q502895))
action filter_type
action find
entity Q104731
relation P6
type Q502895
[ANSWER] is the head of government of Gorzów Wielkopolski
['Q104731', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q104731 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Jacek Wójcicki
Jacek Wójcicki is the head of government of Gorzów Wielkopolski
Jacek Wójcicki
action filter_type
action find
entity Gorzów Wielkopolski
relation head of government
type common name
['Gorzów Wielkopolski', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Gorzów_Wielkopolski property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19691684
P106
Q12737077
USER
What does that person do for a living ?
(Q19691684,P106,c(Q12737077))
action filter_type
action find
entity Q19691684
relation P106
type Q12737077
['Q19691684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q19691684 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Jacek Wójcicki
action filter_type
action find
entity Jacek Wójcicki
relation occupation
type occupation
['Jacek Wójcicki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jacek_Wójcicki property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q19691684,P106,c(Q12737077))
action filter_type
action find
entity Q19691684
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q19691684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q19691684 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Jacek Wójcicki
relation occupation
type occupation
['Jacek Wójcicki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jacek_Wójcicki property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q515732
P551
Q502895
USER
How many people lives in Poland or La Grande Borne ?
(c(Q502895),P551,Q36) (c(Q502895),P551,Q515732)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P551
type Q502895
action filter_type
action find_reverse
entity Q515732
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q36'] [{'concept': 'Q502895'}, 'P551', 'Q515732']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P551 resource:Q515732 . ?m rdf:type ontology:Q502895 } UNION { ?m property:P551 resource:Q36 . ?m rdf:type ontology:Q502895 } }
Poland La Grande Borne
action count
action union
action filter_type
action find_reverse
entity Poland
relation residence
type common name
action filter_type
action find_reverse
entity La Grande Borne
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Poland'] [{'concept': 'common name'}, 'residence', 'La Grande Borne']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:residence resource:La_Grande_Borne . ?m rdf:type ontology:common_name } UNION { ?m property:residence resource:Poland . ?m rdf:type ontology:common_name } }
[]
common name
SYSTEM
11
Q25865472 Q25915543 Q20730830 Q11792039 Q26791874 Q16533765 Q21174807 Q19824383 Q3170193 Q22673209 Q14943164
(c(Q502895),P551,Q36) (c(Q502895),P551,Q515732)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P551
type Q502895
action filter_type
action find_reverse
entity Q515732
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q36'] [{'concept': 'Q502895'}, 'P551', 'Q515732']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P551 resource:Q515732 . ?m rdf:type ontology:Q502895 } UNION { ?m property:P551 resource:Q36 . ?m rdf:type ontology:Q502895 } }
Michaël Magne Michal Huniewicz Marc Boudin Niki Ikonomu Nicolas Auzanneau Bruno Duthoit Philippe Rio Paul Gradvohl Jean-Yves Potel Gertruda Mniszkówna Alain Schneider
11
action count
action union
action filter_type
action find_reverse
entity Poland
relation residence
type common name
action filter_type
action find_reverse
entity La Grande Borne
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Poland'] [{'concept': 'common name'}, 'residence', 'La Grande Borne']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:residence resource:La_Grande_Borne . ?m rdf:type ontology:common_name } UNION { ?m property:residence resource:Poland . ?m rdf:type ontology:common_name } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P47
Q1048835 Q15617994
USER
How many political territories or administrative territories share border with Poland ?
(Q36,P47,c(Q1048835)) (Q36,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q15617994
['Q36', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Poland
action count
action union
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
9
Q212 Q213 Q211 Q159 Q214 Q184 Q183 Q37 Q218
(Q36,P47,c(Q1048835)) (Q36,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q15617994
[ANSWER]
['Q36', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Ukraine Czech Republic Latvia Russia Slovakia Belarus Germany Lithuania Romania
9
action count
action union
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q30
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with Poland and United States of America ?
(c(Q15617994),P530,Q36) (c(Q15617994),P530,Q30)
action count
action intersection
action filter_type
action find_reverse
entity Q36
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q36'] [{'concept': 'Q15617994'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P530 resource:Q36 . ?r rdf:type ontology:Q15617994 . ?r property:P530 resource:Q30 . ?r rdf:type ontology:Q15617994 }
Poland United States of America
action count
action intersection
action filter_type
action find_reverse
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:diplomatic_relation resource:Poland . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation resource:United_States_of_America . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q155 Q184 Q38
(c(Q15617994),P530,Q36) (c(Q15617994),P530,Q30)
action count
action intersection
action filter_type
action find_reverse
entity Q36
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q36'] [{'concept': 'Q15617994'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P530 resource:Q36 . ?r rdf:type ontology:Q15617994 . ?r property:P530 resource:Q30 . ?r rdf:type ontology:Q15617994 }
Brazil Belarus Italy
3
action count
action intersection
action filter_type
action find_reverse
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:diplomatic_relation resource:Poland . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation resource:United_States_of_America . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]