Simple Question (Direct)
Simple Question
Q7820571
P106
Q12737077
USER
Which occupation has Tomáš Gavlák as his/her 's career ?
(Q7820571,P106,c(Q12737077))
action filter_type
action find
entity Q7820571
relation P106
type Q12737077
['Q7820571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7820571 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Tomáš Gavlák
action filter_type
action find
entity Tomáš Gavlák
relation occupation
type occupation
['Tomáš Gavlák', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Tomáš_Gavlák property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7820571,P106,c(Q12737077))
action filter_type
action find
entity Q7820571
relation P106
type Q12737077
Player [ANSWER] has Tomáš Gavlák as his/her 's career
['Q7820571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7820571 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
Player association football player has Tomáš Gavlák as his/her 's career
association football player
action filter_type
action find
entity Tomáš Gavlák
relation occupation
type occupation
['Tomáš Gavlák', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Tomáš_Gavlák property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7820571
P19
Q56061
USER
Which administrative territory is the birthplace of Tomáš Gavlák ?
(Q7820571,P19,c(Q56061))
action filter_type
action find
entity Q7820571
relation P19
type Q56061
['Q7820571', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q7820571 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Tomáš Gavlák
action filter_type
action find
entity Tomáš Gavlák
relation place of birth
type administrative territorial entity
['Tomáš Gavlák', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Tomáš_Gavlák property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q337478
SYSTEM
Čadca
Q337478
(Q7820571,P19,c(Q56061))
action filter_type
action find
entity Q7820571
relation P19
type Q56061
[ANSWER] is the birthplace of Tomáš Gavlák
['Q7820571', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q7820571 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Čadca
Čadca is the birthplace of Tomáš Gavlák
Čadca
action filter_type
action find
entity Tomáš Gavlák
relation place of birth
type administrative territorial entity
['Tomáš Gavlák', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Tomáš_Gavlák property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3566824
Q56061
USER
And also tell me about Wayne Dillon?
(Q3566824,P19,c(Q56061))
action filter_type
action find
entity Q3566824
relation P19
type Q56061
['Q3566824', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3566824 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Wayne Dillon
action filter_type
action find
entity Wayne Dillon
relation place of birth
type administrative territorial entity
['Wayne Dillon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wayne_Dillon property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q3566824,P19,c(Q56061))
action filter_type
action find
entity Q3566824
relation P19
type Q56061
[ANSWER]
['Q3566824', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3566824 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Toronto
Toronto
action filter_type
action find
entity Wayne Dillon
relation place of birth
type administrative territorial entity
['Wayne Dillon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wayne_Dillon property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7820571 Q4155629
P27
Q15617994
USER
How many administrative territories do Tomáš Gavlák or As Duas Marias belong to ?
(Q7820571,P27,c(Q15617994)) (Q4155629,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q7820571
relation P27
type Q15617994
action filter_type
action find
entity Q4155629
relation P27
type Q15617994
['Q7820571', 'P27', {'concept': 'Q15617994'}] ['Q4155629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?c property:P27 ?e . VALUES ( ?c ) { ( resource:Q7820571 ) ( resource:Q4155629 ) } }
Tomáš Gavlák As Duas Marias
action count
action union
action filter_type
action find
entity Tomáš Gavlák
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity As Duas Marias
relation country of citizenship
type designation for an administrative territorial entity
['Tomáš Gavlák', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['As Duas Marias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?c property:country_of_citizenship ?e . VALUES ( ?c ) { ( resource:Tomáš_Gavlák ) ( resource:As_Duas_Marias ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q214
(Q7820571,P27,c(Q15617994)) (Q4155629,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q7820571
relation P27
type Q15617994
action filter_type
action find
entity Q4155629
relation P27
type Q15617994
[ANSWER]
['Q7820571', 'P27', {'concept': 'Q15617994'}] ['Q4155629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?c property:P27 ?e . VALUES ( ?c ) { ( resource:Q7820571 ) ( resource:Q4155629 ) } }
Spain Slovakia
2
action count
action union
action filter_type
action find
entity Tomáš Gavlák
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity As Duas Marias
relation country of citizenship
type designation for an administrative territorial entity
['Tomáš Gavlák', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['As Duas Marias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?c property:country_of_citizenship ?e . VALUES ( ?c ) { ( resource:Tomáš_Gavlák ) ( resource:As_Duas_Marias ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7820571
P21
Q290
USER
What is the sex of Tomáš Gavlák ?
(Q7820571,P21,c(Q290))
action filter_type
action find
entity Q7820571
relation P21
type Q290
['Q7820571', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q7820571 property:P21 ?f }
Tomáš Gavlák
action filter_type
action find
entity Tomáš Gavlák
relation gender
type sex
['Tomáš Gavlák', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Tomáš_Gavlák property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7820571,P21,c(Q290))
action filter_type
action find
entity Q7820571
relation P21
type Q290
The sex of Tomáš Gavlák is the [ANSWER]
['Q7820571', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q7820571 property:P21 ?f }
male
The sex of Tomáš Gavlák is the male
male
action filter_type
action find
entity Tomáš Gavlák
relation gender
type sex
['Tomáš Gavlák', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Tomáš_Gavlák property:gender ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6583300
Q290
USER
And also tell me about Necla Fide?
(Q6583300,P21,c(Q290))
action filter_type
action find
entity Q6583300
relation P21
type Q290
['Q6583300', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6583300 property:P21 ?l }
Necla Fide
action filter_type
action find
entity Necla Fide
relation gender
type sex
['Necla Fide', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Necla_Fide property:gender ?l }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6583300,P21,c(Q290))
action filter_type
action find
entity Q6583300
relation P21
type Q290
[ANSWER]
['Q6583300', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6583300 property:P21 ?l }
female
female
action filter_type
action find
entity Necla Fide
relation gender
type sex
['Necla Fide', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Necla_Fide property:gender ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q172
P190
Q515 Q56061
USER
How many cities and administrative territories are twin towns of Toronto ?
(Q172,P190,c(Q515)) (Q172,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q172
relation P190
type Q515
action filter_type
action find
entity Q172
relation P190
type Q56061
['Q172', 'P190', {'concept': 'Q515'}] ['Q172', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q56061 ) } }
Toronto
action count
action union
action filter_type
action find
entity Toronto
relation sister city
type city
action filter_type
action find
entity Toronto
relation sister city
type administrative territorial entity
['Toronto', 'sister city', {'concept': 'city'}] ['Toronto', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } }
[]
city administrative territorial entity
SYSTEM
5 cities and 13 administrative territories
Q174 Q216 Q9361 Q270 Q134762 Q3766 Q1362 Q2900 Q490 Q2634 Q6346 Q1899 Q1489 Q914 Q1794 Q1297 Q406 Q11725
(Q172,P190,c(Q515)) (Q172,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q172
relation P190
type Q515
action filter_type
action find
entity Q172
relation P190
type Q56061
[ANSWER]
['Q172', 'P190', {'concept': 'Q515'}] ['Q172', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q56061 ) } }
São Paulo Vilnius Bishkek Warsaw Eilat Damascus Islamabad Quito Milan Naples Indianapolis Kyiv Mexico City Volgograd Frankfurt Chicago Istanbul Chongqing
5 cities and 13 administrative territories
action count
action union
action filter_type
action find
entity Toronto
relation sister city
type city
action filter_type
action find
entity Toronto
relation sister city
type administrative territorial entity
['Toronto', 'sister city', {'concept': 'city'}] ['Toronto', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } }
[]