Simple Question (Direct)
Simple Question
Q4717905
P264
Q334453
USER
Which division is the record label of Alex Torres ?
(Q4717905,P264,c(Q334453))
action filter_type
action find
entity Q4717905
relation P264
type Q334453
['Q4717905', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q4717905 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Alex Torres
action filter_type
action find
entity Alex Torres
relation record label
type division
['Alex Torres', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Alex_Torres property:record_label ?u . ?u rdf:type ontology:division }
[]
division
Q726153
SYSTEM
Epitaph Records
Q726153
(Q4717905,P264,c(Q334453))
action filter_type
action find
entity Q4717905
relation P264
type Q334453
[ANSWER] is the record label of Alex Torres
['Q4717905', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q4717905 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Epitaph Records
Epitaph Records is the record label of Alex Torres
Epitaph Records
action filter_type
action find
entity Alex Torres
relation record label
type division
['Alex Torres', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Alex_Torres property:record_label ?u . ?u rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4717905
P106
Q12737077
USER
What is the profession of Alex Torres ?
(Q4717905,P106,c(Q12737077))
action filter_type
action find
entity Q4717905
relation P106
type Q12737077
['Q4717905', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4717905 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Alex Torres
action filter_type
action find
entity Alex Torres
relation occupation
type occupation
['Alex Torres', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Alex_Torres property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q639669
SYSTEM
musician
Q639669
(Q4717905,P106,c(Q12737077))
action filter_type
action find
entity Q4717905
relation P106
type Q12737077
The profession of Alex Torres is the [ANSWER]
['Q4717905', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4717905 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
musician
The profession of Alex Torres is the musician
musician
action filter_type
action find
entity Alex Torres
relation occupation
type occupation
['Alex Torres', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Alex_Torres property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4717905
Q151885
USER
And which concept?
(Q4717905,P106,c(Q151885))
action filter_type
action find
entity Q4717905
relation P106
type Q151885
['Q4717905', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q4717905 property:P106 ?r . ?r rdf:type ontology:Q151885 }
Alex Torres
action filter_type
action find
entity Alex Torres
relation occupation
type concept
['Alex Torres', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Alex_Torres property:occupation ?r . ?r rdf:type ontology:concept }
[]
concept
Q855091
SYSTEM
guitarist
Q855091
(Q4717905,P106,c(Q151885))
action filter_type
action find
entity Q4717905
relation P106
type Q151885
[ANSWER]
['Q4717905', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q4717905 property:P106 ?r . ?r rdf:type ontology:Q151885 }
guitarist
guitarist
action filter_type
action find
entity Alex Torres
relation occupation
type concept
['Alex Torres', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Alex_Torres property:occupation ?r . ?r rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q726153
P264
Q215380 Q7725634
USER
How many bands and literary works have Epitaph Records as their record brand ?
(c(Q215380),P264,Q726153) (c(Q7725634),P264,Q726153)
action count
action union
action filter_type
action find_reverse
entity Q726153
relation P264
type Q215380
action filter_type
action find_reverse
entity Q726153
relation P264
type Q7725634
[{'concept': 'Q215380'}, 'P264', 'Q726153'] [{'concept': 'Q7725634'}, 'P264', 'Q726153']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:P264 resource:Q726153 . ?l rdf:type ontology:Q7725634 } UNION { ?l property:P264 resource:Q726153 . ?l rdf:type ontology:Q215380 } }
Epitaph Records
action count
action union
action filter_type
action find_reverse
entity Epitaph Records
relation record label
type band
action filter_type
action find_reverse
entity Epitaph Records
relation record label
type literary work
[{'concept': 'band'}, 'record label', 'Epitaph Records'] [{'concept': 'literary work'}, 'record label', 'Epitaph Records']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:record_label resource:Epitaph_Records . ?l rdf:type ontology:literary_work } UNION { ?l property:record_label resource:Epitaph_Records . ?l rdf:type ontology:band } }
[]
band literary work
SYSTEM
11 bands and 5 literary works
Q282855 Q390590 Q3945922 Q2128599 Q1512507 Q1753446 Q2438423 Q47871 Q620454 Q850645 Q21050232 Q7977140 Q921812 Q976882 Q7605108 Q1142703
(c(Q215380),P264,Q726153) (c(Q7725634),P264,Q726153)
action count
action union
action filter_type
action find_reverse
entity Q726153
relation P264
type Q215380
action filter_type
action find_reverse
entity Q726153
relation P264
type Q7725634
[ANSWER]
[{'concept': 'Q215380'}, 'P264', 'Q726153'] [{'concept': 'Q7725634'}, 'P264', 'Q726153']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:P264 resource:Q726153 . ?l rdf:type ontology:Q7725634 } UNION { ?l property:P264 resource:Q726153 . ?l rdf:type ontology:Q215380 } }
Parkway Drive Rancid Salvation Raised Fist You Me at Six The Bouncing Souls Memories Green Day Architects New Found Glory Too Close to Touch We're Only Gonna Die Bro Hymn Social Distortion Stay with Me Alkaline Trio
11 bands and 5 literary works
action count
action union
action filter_type
action find_reverse
entity Epitaph Records
relation record label
type band
action filter_type
action find_reverse
entity Epitaph Records
relation record label
type literary work
[{'concept': 'band'}, 'record label', 'Epitaph Records'] [{'concept': 'literary work'}, 'record label', 'Epitaph Records']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:record_label resource:Epitaph_Records . ?l rdf:type ontology:literary_work } UNION { ?l property:record_label resource:Epitaph_Records . ?l rdf:type ontology:band } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4717905
P136
Q151885
USER
Which concept is the genre for Alex Torres ?
(Q4717905,P136,c(Q151885))
action filter_type
action find
entity Q4717905
relation P136
type Q151885
['Q4717905', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q4717905 property:P136 ?f . ?f rdf:type ontology:Q151885 }
Alex Torres
action filter_type
action find
entity Alex Torres
relation genre
type concept
['Alex Torres', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Alex_Torres property:genre ?f . ?f rdf:type ontology:concept }
[]
concept
Q183862
SYSTEM
metalcore
Q183862
(Q4717905,P136,c(Q151885))
action filter_type
action find
entity Q4717905
relation P136
type Q151885
So [ANSWER] is the genre for Alex Torres
['Q4717905', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q4717905 property:P136 ?f . ?f rdf:type ontology:Q151885 }
metalcore
So metalcore is the genre for Alex Torres
metalcore
action filter_type
action find
entity Alex Torres
relation genre
type concept
['Alex Torres', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Alex_Torres property:genre ?f . ?f rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4717905
P27
Q15617994
USER
Which administrative territory is Alex Torres a civilian of ?
(Q4717905,P27,c(Q15617994))
action filter_type
action find
entity Q4717905
relation P27
type Q15617994
['Q4717905', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4717905 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Alex Torres
action filter_type
action find
entity Alex Torres
relation country of citizenship
type designation for an administrative territorial entity
['Alex Torres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Alex_Torres property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4717905,P27,c(Q15617994))
action filter_type
action find
entity Q4717905
relation P27
type Q15617994
The [ANSWER] is Alex Torres a civilian of
['Q4717905', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4717905 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
The United States of America is Alex Torres a civilian of
United States of America
action filter_type
action find
entity Alex Torres
relation country of citizenship
type designation for an administrative territorial entity
['Alex Torres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Alex_Torres property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q11339667
P19
Q502895
USER
Does Michael Findlay have place of birth as that administrative territory ?
(Q11339667,P19,Q30)
action is_in
entity Q30
action find
entity Q11339667
relation P19
['Q11339667', 'P19', 'Q30']
ASK WHERE { resource:Q11339667 property:P19 resource:Q30 }
United States of America Michael Findlay
action is_in
entity United States of America
action find
entity Michael Findlay
relation place of birth
['Michael Findlay', 'place of birth', 'United States of America']
ASK WHERE { resource:Michael_Findlay property:place_of_birth resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q11339667,P19,Q30)
action is_in
entity Q30
action find
entity Q11339667
relation P19
[ANSWER]
['Q11339667', 'P19', 'Q30']
ASK WHERE { resource:Q11339667 property:P19 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Michael Findlay
relation place of birth
['Michael Findlay', 'place of birth', 'United States of America']
ASK WHERE { resource:Michael_Findlay property:place_of_birth resource:United_States_of_America }
[]