Simple Question (Direct)
Simple Question
Q15917987
P21
Q290
USER
Which sex does Gentrit Citaku belong to ?
(Q15917987,P21,c(Q290))
action filter_type
action find
entity Q15917987
relation P21
type Q290
['Q15917987', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q15917987 property:P21 ?i . ?i rdf:type ontology:Q290 }
Gentrit Citaku
action filter_type
action find
entity Gentrit Citaku
relation gender
type sex
['Gentrit Citaku', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Gentrit_Citaku property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15917987,P21,c(Q290))
action filter_type
action find
entity Q15917987
relation P21
type Q290
Gentrit Citaku belongs to [ANSWER]
['Q15917987', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q15917987 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Gentrit Citaku belongs to male
male
action filter_type
action find
entity Gentrit Citaku
relation gender
type sex
['Gentrit Citaku', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Gentrit_Citaku property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15917987
P19
Q56061
USER
Where was that person born ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q15917987
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q15917987 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Gentrit Citaku
action filter_type
action find
entity Gentrit Citaku
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Gentrit_Citaku property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25724
SYSTEM
Norrköping
Q25724
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q15917987
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q15917987 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Norrköping
That person was born in Norrköping
Norrköping
action filter_type
action find
entity Gentrit Citaku
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Gentrit_Citaku property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are sister towns of that administrative territory ?
(Q25724,P190,c(Q56061))
action count
action filter_type
action find
entity Q25724
relation P190
type Q56061
['Q25724', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q25724 property:P190 ?s . ?s rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Norrköping
relation sister city
type administrative territorial entity
['Norrköping', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Norrköping property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
6
Q3786 Q40840 Q163852 Q190828 Q25331 Q189361
(Q25724,P190,c(Q56061))
action count
action filter_type
action find
entity Q25724
relation P190
type Q56061
[ANSWER]
['Q25724', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q25724 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Esslingen am Neckar Tampere Kópavogur Petah Tikva Odense Klaksvík
6
action count
action filter_type
action find
entity Norrköping
relation sister city
type administrative territorial entity
['Norrköping', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Norrköping property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15917987
P27
Q15617994
USER
Which administrative territory is the native country of Gentrit Citaku ?
(Q15917987,P27,c(Q15617994))
action filter_type
action find
entity Q15917987
relation P27
type Q15617994
['Q15917987', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q15917987 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Gentrit Citaku
action filter_type
action find
entity Gentrit Citaku
relation country of citizenship
type designation for an administrative territorial entity
['Gentrit Citaku', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gentrit_Citaku property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q15917987,P27,c(Q15617994))
action filter_type
action find
entity Q15917987
relation P27
type Q15617994
[ANSWER] is the native country of Gentrit Citaku
['Q15917987', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q15917987 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Gentrit Citaku
Sweden
action filter_type
action find
entity Gentrit Citaku
relation country of citizenship
type designation for an administrative territorial entity
['Gentrit Citaku', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gentrit_Citaku property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P27
Q3243677 Q16521
USER
How many Guantanamo Bay detaineess or taxons are civilians of Sweden ?
(c(Q3243677),P27,Q34) (c(Q16521),P27,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P27
type Q3243677
action filter_type
action find_reverse
entity Q34
relation P27
type Q16521
[{'concept': 'Q3243677'}, 'P27', 'Q34'] [{'concept': 'Q16521'}, 'P27', 'Q34']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:Q3243677 ) ( ontology:Q16521 ) } . ?c rdf:type ?h }
Sweden
action count
action union
action filter_type
action find_reverse
entity Sweden
relation country of citizenship
type Guantanamo Bay detainees
action filter_type
action find_reverse
entity Sweden
relation country of citizenship
type taxon
[{'concept': 'Guantanamo Bay detainees'}, 'country of citizenship', 'Sweden'] [{'concept': 'taxon'}, 'country of citizenship', 'Sweden']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:Guantanamo_Bay_detainees ) ( ontology:taxon ) } . ?c rdf:type ?h }
[]
Guantanamo Bay detainees taxon
SYSTEM
2
Q3430955 Q7654929
(c(Q3243677),P27,Q34) (c(Q16521),P27,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P27
type Q3243677
action filter_type
action find_reverse
entity Q34
relation P27
type Q16521
[ANSWER]
[{'concept': 'Q3243677'}, 'P27', 'Q34'] [{'concept': 'Q16521'}, 'P27', 'Q34']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:Q3243677 ) ( ontology:Q16521 ) } . ?c rdf:type ?h }
Pierre Brassau Swedish detainees at Guantanamo Bay
2
action count
action union
action filter_type
action find_reverse
entity Sweden
relation country of citizenship
type Guantanamo Bay detainees
action filter_type
action find_reverse
entity Sweden
relation country of citizenship
type taxon
[{'concept': 'Guantanamo Bay detainees'}, 'country of citizenship', 'Sweden'] [{'concept': 'taxon'}, 'country of citizenship', 'Sweden']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:Guantanamo_Bay_detainees ) ( ontology:taxon ) } . ?c rdf:type ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P137
Q2424752
USER
Which products were operated by that administrative territory ?
action filter_type
action find_reverse
entity Q34
relation P137
type Q2424752
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q34 . ?c rdf:type ontology:Q2424752 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation operator
type product
SELECT DISTINCT ?c WHERE { ?c property:operator resource:Sweden . ?c rdf:type ontology:product }
[]
product
Q15411562 Q17907740
SYSTEM
C-130E Hercules, Sk 14
Q15411562 Q17907740
action filter_type
action find_reverse
entity Q34
relation P137
type Q2424752
[ANSWERS] were operated by that administrative territory
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q34 . ?c rdf:type ontology:Q2424752 }
C-130E Hercules Sk 14
C-130E Hercules and Sk 14 were operated by that administrative territory
C-130E Hercules Sk 14
action filter_type
action find_reverse
entity Sweden
relation operator
type product
SELECT DISTINCT ?c WHERE { ?c property:operator resource:Sweden . ?c rdf:type ontology:product }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P137
Q15617994
USER
How many administrative territories operates that product ?
(Q17907740,P137,c(Q15617994))
['Q17907740', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q17907740 property:Q131030 ?z . ?z rdf:type ontology:Q15617994 }
['Sk 14', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sk_14 property:operator ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q15411562
SYSTEM
Did you mean C-130E Hercules ?
(Q15411562,P137,c(Q15617994)) (Q17907740,P137,c(Q15617994))
[ANSWER]
['Q15411562', 'P137', {'concept': 'Q15617994'}] ['Q17907740', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q17907740 property:Q131030 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean C-130E Hercules ?
C-130E Hercules
['C-130E Hercules', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Sk 14', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sk_14 property:operator ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Sk 14. Could you tell me the answer for that?
(Q17907740,P137,c(Q15617994))
Q17907740
['Q17907740', 'P137', {'concept': 'Q15617994'}]
['Sk 14', 'operator', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q34
(Q17907740,P137,c(Q15617994))
[ANSWER]
['Q17907740', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q17907740 property:Q131030 ?z . ?z rdf:type ontology:Q15617994 }
Sweden
1
['Sk 14', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sk_14 property:operator ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q525873 Q15917987
P106
Q12737077
USER
Which occupations are the professions of Gentrit Citaku and Shane Williams ?
AND((Q15917987,P106,c(Q12737077)), (Q525873,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q15917987
relation P106
action find
entity Q525873
relation P106
type Q12737077
{'AND': [['Q15917987', 'P106', {'concept': 'Q12737077'}], ['Q525873', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q15917987 property:P106 ?u . resource:Q525873 property:P106 ?u }
Shane Williams Gentrit Citaku
action filter_type
action intersection
action find
entity Gentrit Citaku
relation occupation
action find
entity Shane Williams
relation occupation
type occupation
{'AND': [['Gentrit Citaku', 'occupation', {'concept': 'occupation'}], ['Shane Williams', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Gentrit_Citaku property:occupation ?u . resource:Shane_Williams property:occupation ?u }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
AND((Q15917987,P106,c(Q12737077)), (Q525873,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q15917987
relation P106
action find
entity Q525873
relation P106
type Q12737077
The professions of Gentrit Citaku and Shane Williams are an [ANSWER]
{'AND': [['Q15917987', 'P106', {'concept': 'Q12737077'}], ['Q525873', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q15917987 property:P106 ?u . resource:Q525873 property:P106 ?u }
association football player
The professions of Gentrit Citaku and Shane Williams are an association football player
association football player
action filter_type
action intersection
action find
entity Gentrit Citaku
relation occupation
action find
entity Shane Williams
relation occupation
type occupation
{'AND': [['Gentrit Citaku', 'occupation', {'concept': 'occupation'}], ['Shane Williams', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Gentrit_Citaku property:occupation ?u . resource:Shane_Williams property:occupation ?u }
[]