Simple Question (Direct)
Simple Question
Q488305
P136
Q15198957
USER
Which aspect of music is the genre for Guillermo Uribe Holguín ?
(Q488305,P136,c(Q15198957))
action filter_type
action find
entity Q488305
relation P136
type Q15198957
['Q488305', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?g WHERE { resource:Q488305 property:P136 ?g . ?g rdf:type ontology:Q15198957 }
Guillermo Uribe Holguín
action filter_type
action find
entity Guillermo Uribe Holguín
relation genre
type aspect of music
['Guillermo Uribe Holguín', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?g WHERE { resource:Guillermo_Uribe_Holguín property:genre ?g . ?g rdf:type ontology:aspect_of_music }
[]
aspect of music
Q1344
SYSTEM
opera
Q1344
(Q488305,P136,c(Q15198957))
action filter_type
action find
entity Q488305
relation P136
type Q15198957
The [ANSWER] is the genre for Guillermo Uribe Holguín
['Q488305', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?g WHERE { resource:Q488305 property:P136 ?g . ?g rdf:type ontology:Q15198957 }
opera
The opera is the genre for Guillermo Uribe Holguín
opera
action filter_type
action find
entity Guillermo Uribe Holguín
relation genre
type aspect of music
['Guillermo Uribe Holguín', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?g WHERE { resource:Guillermo_Uribe_Holguín property:genre ?g . ?g rdf:type ontology:aspect_of_music }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q488305
P21
Q290
USER
Which sex does that person have ?
(Q1344,P21,c(Q290))
action filter_type
action find
entity Q488305
relation P21
type Q290
['Q1344', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q488305 property:P21 ?m . ?m rdf:type ontology:Q290 }
Guillermo Uribe Holguín
action filter_type
action find
entity Guillermo Uribe Holguín
relation gender
type sex
['opera', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Guillermo_Uribe_Holguín property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1344,P21,c(Q290))
action filter_type
action find
entity Q488305
relation P21
type Q290
That person has a [ANSWER]
['Q1344', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q488305 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Guillermo Uribe Holguín
relation gender
type sex
['opera', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Guillermo_Uribe_Holguín property:gender ?m . ?m rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2526948 Q488305
P21
Q290
USER
Or Vincenzo Rotolo?
OR((Q488305,P21,c(Q290)), (Q2526948,P21,c(Q290)))
action filter_type
action union
action find
entity Q488305
relation P21
action find
entity Q2526948
relation P21
type Q290
{'OR': [['Q488305', 'P21', {'concept': 'Q290'}], ['Q2526948', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?u WHERE { { ?o property:P21 ?u . VALUES ( ?o ) { ( resource:Q488305 ) ( resource:Q2526948 ) } } . ?u rdf:type ontology:Q290 }
Vincenzo Rotolo Guillermo Uribe Holguín
action filter_type
action union
action find
entity Guillermo Uribe Holguín
relation gender
action find
entity Vincenzo Rotolo
relation gender
type sex
{'OR': [['Guillermo Uribe Holguín', 'gender', {'concept': 'sex'}], ['Vincenzo Rotolo', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?u WHERE { { ?o property:gender ?u . VALUES ( ?o ) { ( resource:Guillermo_Uribe_Holguín ) ( resource:Vincenzo_Rotolo ) } } . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q488305,P21,c(Q290)), (Q2526948,P21,c(Q290)))
action filter_type
action union
action find
entity Q488305
relation P21
action find
entity Q2526948
relation P21
type Q290
[ANSWER]
{'OR': [['Q488305', 'P21', {'concept': 'Q290'}], ['Q2526948', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?u WHERE { { ?o property:P21 ?u . VALUES ( ?o ) { ( resource:Q488305 ) ( resource:Q2526948 ) } } . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Guillermo Uribe Holguín
relation gender
action find
entity Vincenzo Rotolo
relation gender
type sex
{'OR': [['Guillermo Uribe Holguín', 'gender', {'concept': 'sex'}], ['Vincenzo Rotolo', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?u WHERE { { ?o property:gender ?u . VALUES ( ?o ) { ( resource:Guillermo_Uribe_Holguín ) ( resource:Vincenzo_Rotolo ) } } . ?u rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1344
P921
Q571 Q2342494
USER
How many books and collectables were primarily based on opera ?
(c(Q571),P921,Q1344) (c(Q2342494),P921,Q1344)
action count
action union
action filter_type
action find_reverse
entity Q1344
relation P921
type Q571
action filter_type
action find_reverse
entity Q1344
relation P921
type Q2342494
[{'concept': 'Q571'}, 'P921', 'Q1344'] [{'concept': 'Q2342494'}, 'P921', 'Q1344']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?y ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?v rdf:type ?y }
opera
action count
action union
action filter_type
action find_reverse
entity opera
relation main subject
type book
action filter_type
action find_reverse
entity opera
relation main subject
type collectable
[{'concept': 'book'}, 'main subject', 'opera'] [{'concept': 'collectable'}, 'main subject', 'opera']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?y ) { ( ontology:book ) ( ontology:collectable ) } . ?v rdf:type ?y }
[]
book collectable
SYSTEM
1 books and 3 collectables
Q19923902 Q2357235 Q19923878 Q22343900
(c(Q571),P921,Q1344) (c(Q2342494),P921,Q1344)
action count
action union
action filter_type
action find_reverse
entity Q1344
relation P921
type Q571
action filter_type
action find_reverse
entity Q1344
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q571'}, 'P921', 'Q1344'] [{'concept': 'Q2342494'}, 'P921', 'Q1344']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?y ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?v rdf:type ?y }
Operas in English : a dictionary (Revised edition) Maskerade Operas in English : a dictionary A History of Opera: The Last Four Hundred Years
1 books and 3 collectables
action count
action union
action filter_type
action find_reverse
entity opera
relation main subject
type book
action filter_type
action find_reverse
entity opera
relation main subject
type collectable
[{'concept': 'book'}, 'main subject', 'opera'] [{'concept': 'collectable'}, 'main subject', 'opera']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?y ) { ( ontology:book ) ( ontology:collectable ) } . ?v rdf:type ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q488305
P19
Q13220204
USER
How many administrative country subdivisions were Guillermo Uribe Holguín born ?
(Q488305,P19,c(Q13220204))
action count
action filter_type
action find
entity Q488305
relation P19
type Q13220204
['Q488305', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q488305 property:P19 ?f . ?f rdf:type ontology:Q13220204 }
Guillermo Uribe Holguín
action count
action filter_type
action find
entity Guillermo Uribe Holguín
relation place of birth
type second-level administrative country subdivision
['Guillermo Uribe Holguín', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Guillermo_Uribe_Holguín property:place_of_birth ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
1
Q2841
(Q488305,P19,c(Q13220204))
action count
action filter_type
action find
entity Q488305
relation P19
type Q13220204
[ANSWER]
['Q488305', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q488305 property:P19 ?f . ?f rdf:type ontology:Q13220204 }
Bogotá
1
action count
action filter_type
action find
entity Guillermo Uribe Holguín
relation place of birth
type second-level administrative country subdivision
['Guillermo Uribe Holguín', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Guillermo_Uribe_Holguín property:place_of_birth ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1082401
Q13220204
USER
And also tell me about Christian Wägli?
(Q1082401,P19,c(Q13220204))
action count
action filter_type
action find
entity Q1082401
relation P19
type Q13220204
['Q1082401', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q1082401 property:P19 ?s . ?s rdf:type ontology:Q13220204 }
Christian Wägli
action count
action filter_type
action find
entity Christian Wägli
relation place of birth
type second-level administrative country subdivision
['Christian Wägli', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Christian_Wägli property:place_of_birth ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
1
(Q1082401,P19,c(Q13220204))
action count
action filter_type
action find
entity Q1082401
relation P19
type Q13220204
[ANSWER]
['Q1082401', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q1082401 property:P19 ?s . ?s rdf:type ontology:Q13220204 }
1
action count
action filter_type
action find
entity Christian Wägli
relation place of birth
type second-level administrative country subdivision
['Christian Wägli', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Christian_Wägli property:place_of_birth ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q488305
P27
Q15617994
USER
Which administrative territory is Guillermo Uribe Holguín a civilian of ?
(Q488305,P27,c(Q15617994))
action filter_type
action find
entity Q488305
relation P27
type Q15617994
['Q488305', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q488305 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Guillermo Uribe Holguín
action filter_type
action find
entity Guillermo Uribe Holguín
relation country of citizenship
type designation for an administrative territorial entity
['Guillermo Uribe Holguín', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Guillermo_Uribe_Holguín property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q488305,P27,c(Q15617994))
action filter_type
action find
entity Q488305
relation P27
type Q15617994
[ANSWER] is Guillermo Uribe Holguín a civilian of
['Q488305', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q488305 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Colombia
Colombia is Guillermo Uribe Holguín a civilian of
Colombia
action filter_type
action find
entity Guillermo Uribe Holguín
relation country of citizenship
type designation for an administrative territorial entity
['Guillermo Uribe Holguín', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Guillermo_Uribe_Holguín property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q488305
P20
Q13220204
USER
Where did that person expire ?
(Q739,P20,c(Q13220204))
action filter_type
action find
entity Q488305
relation P20
type Q13220204
['Q739', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q488305 property:P20 ?v . ?v rdf:type ontology:Q13220204 }
Guillermo Uribe Holguín
action filter_type
action find
entity Guillermo Uribe Holguín
relation place of death
type second-level administrative country subdivision
['Colombia', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Guillermo_Uribe_Holguín property:place_of_death ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2841
SYSTEM
Bogotá
Q2841
(Q739,P20,c(Q13220204))
action filter_type
action find
entity Q488305
relation P20
type Q13220204
That person expired in [ANSWER]
['Q739', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q488305 property:P20 ?v . ?v rdf:type ontology:Q13220204 }
Bogotá
That person expired in Bogotá
Bogotá
action filter_type
action find
entity Guillermo Uribe Holguín
relation place of death
type second-level administrative country subdivision
['Colombia', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Guillermo_Uribe_Holguín property:place_of_death ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q739 Q833202
P138
Q15617994
USER
How many administrative territories are the etymology of Colombia or BRIC ?
(Q739,P138,c(Q15617994)) (Q833202,P138,c(Q15617994))
action count
action union
action filter_type
action find
entity Q739
relation P138
type Q15617994
action filter_type
action find
entity Q833202
relation P138
type Q15617994
['Q739', 'P138', {'concept': 'Q15617994'}] ['Q833202', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Q739 property:P138 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q833202 property:P138 ?a . ?a rdf:type ontology:Q15617994 } }
Colombia BRIC
action count
action union
action filter_type
action find
entity Colombia
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity BRIC
relation named after
type designation for an administrative territorial entity
['Colombia', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['BRIC', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Colombia property:named_after ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:BRIC property:named_after ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
4
Q155 Q148 Q159 Q668
(Q739,P138,c(Q15617994)) (Q833202,P138,c(Q15617994))
action count
action union
action filter_type
action find
entity Q739
relation P138
type Q15617994
action filter_type
action find
entity Q833202
relation P138
type Q15617994
[ANSWER]
['Q739', 'P138', {'concept': 'Q15617994'}] ['Q833202', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Q739 property:P138 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q833202 property:P138 ?a . ?a rdf:type ontology:Q15617994 } }
Brazil People's Republic of China Russia India
4
action count
action union
action filter_type
action find
entity Colombia
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity BRIC
relation named after
type designation for an administrative territorial entity
['Colombia', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['BRIC', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Colombia property:named_after ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:BRIC property:named_after ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]