Simple Question (Direct)
Simple Question
Q1016503
P264
Q334453
USER
Which division is the record label of Burkhard Stangl ?
(Q1016503,P264,c(Q334453))
action filter_type
action find
entity Q1016503
relation P264
type Q334453
['Q1016503', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q1016503 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Burkhard Stangl
action filter_type
action find
entity Burkhard Stangl
relation record label
type division
['Burkhard Stangl', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Burkhard_Stangl property:record_label ?v . ?v rdf:type ontology:division }
[]
division
Q2047428
SYSTEM
Erstwhile Records
Q2047428
(Q1016503,P264,c(Q334453))
action filter_type
action find
entity Q1016503
relation P264
type Q334453
[ANSWER] is the record label of Burkhard Stangl
['Q1016503', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q1016503 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Erstwhile Records
Erstwhile Records is the record label of Burkhard Stangl
Erstwhile Records
action filter_type
action find
entity Burkhard Stangl
relation record label
type division
['Burkhard Stangl', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Burkhard_Stangl property:record_label ?v . ?v rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016503
P136
Q151885
USER
Which genre does that person belong to ?
(Q2047428,P136,c(Q151885))
action filter_type
action find
entity Q1016503
relation P136
type Q151885
['Q2047428', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q1016503 property:P136 ?r . ?r rdf:type ontology:Q151885 }
Burkhard Stangl
action filter_type
action find
entity Burkhard Stangl
relation genre
type concept
['Erstwhile Records', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Burkhard_Stangl property:genre ?r . ?r rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q2047428,P136,c(Q151885))
action filter_type
action find
entity Q1016503
relation P136
type Q151885
That person belongs to [ANSWER]
['Q2047428', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q1016503 property:P136 ?r . ?r rdf:type ontology:Q151885 }
jazz
That person belongs to jazz
jazz
action filter_type
action find
entity Burkhard Stangl
relation genre
type concept
['Erstwhile Records', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Burkhard_Stangl property:genre ?r . ?r rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016503
P21
Q290
USER
What is the sex of Burkhard Stangl ?
(Q1016503,P21,c(Q290))
action filter_type
action find
entity Q1016503
relation P21
type Q290
['Q1016503', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1016503 property:P21 ?z . ?z rdf:type ontology:Q290 }
Burkhard Stangl
action filter_type
action find
entity Burkhard Stangl
relation gender
type sex
['Burkhard Stangl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Burkhard_Stangl property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1016503,P21,c(Q290))
action filter_type
action find
entity Q1016503
relation P21
type Q290
The sex of Burkhard Stangl is the [ANSWER]
['Q1016503', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1016503 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Burkhard Stangl is the male
male
action filter_type
action find
entity Burkhard Stangl
relation gender
type sex
['Burkhard Stangl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Burkhard_Stangl property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016503
P106
Q12737077
USER
Which occupations have Burkhard Stangl as his/her 's career ?
(Q1016503,P106,c(Q12737077))
action filter_type
action find
entity Q1016503
relation P106
type Q12737077
['Q1016503', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1016503 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Burkhard Stangl
action filter_type
action find
entity Burkhard Stangl
relation occupation
type occupation
['Burkhard Stangl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Burkhard_Stangl property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q36834 Q6168364
SYSTEM
composer, jazz guitarist
Q36834 Q6168364
(Q1016503,P106,c(Q12737077))
action filter_type
action find
entity Q1016503
relation P106
type Q12737077
The [ANSWERS] have Burkhard Stangl as his/her 's career
['Q1016503', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1016503 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
composer jazz guitarist
The composer and jazz guitarist have Burkhard Stangl as his/her 's career
composer jazz guitarist
action filter_type
action find
entity Burkhard Stangl
relation occupation
type occupation
['Burkhard Stangl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Burkhard_Stangl property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016503
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q36834,P27,c(Q1048835)) (Q6168364,P27,c(Q1048835))
action filter_type
action find
entity Q1016503
relation P27
type Q1048835
['Q36834', 'P27', {'concept': 'Q1048835'}] ['Q6168364', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1016503 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Burkhard Stangl
action filter_type
action find
entity Burkhard Stangl
relation country of citizenship
type political territorial entity
['composer', 'country of citizenship', {'concept': 'political territorial entity'}] ['jazz guitarist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Burkhard_Stangl property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q36834,P27,c(Q1048835)) (Q6168364,P27,c(Q1048835))
action filter_type
action find
entity Q1016503
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q36834', 'P27', {'concept': 'Q1048835'}] ['Q6168364', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1016503 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Austria
Austria is that person a civilian of
Austria
action filter_type
action find
entity Burkhard Stangl
relation country of citizenship
type political territorial entity
['composer', 'country of citizenship', {'concept': 'political territorial entity'}] ['jazz guitarist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Burkhard_Stangl property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q351012 Q1016503
P27
Q1048835
USER
Or Adam Straith?
OR((Q1016503,P27,c(Q1048835)), (Q351012,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1016503
relation P27
action find
entity Q351012
relation P27
type Q1048835
{'OR': [['Q1016503', 'P27', {'concept': 'Q1048835'}], ['Q351012', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q1016503 property:P27 ?c } UNION { resource:Q351012 property:P27 ?c } } }
Adam Straith Burkhard Stangl
action filter_type
action union
action find
entity Burkhard Stangl
relation country of citizenship
action find
entity Adam Straith
relation country of citizenship
type political territorial entity
{'OR': [['Burkhard Stangl', 'country of citizenship', {'concept': 'political territorial entity'}], ['Adam Straith', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Burkhard_Stangl property:country_of_citizenship ?c } UNION { resource:Adam_Straith property:country_of_citizenship ?c } } }
[]
political territorial entity
Q16 Q40
SYSTEM
Canada, Austria
Q16 Q40
OR((Q1016503,P27,c(Q1048835)), (Q351012,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1016503
relation P27
action find
entity Q351012
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q1016503', 'P27', {'concept': 'Q1048835'}], ['Q351012', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q1016503 property:P27 ?c } UNION { resource:Q351012 property:P27 ?c } } }
Canada Austria
Canada Austria
action filter_type
action union
action find
entity Burkhard Stangl
relation country of citizenship
action find
entity Adam Straith
relation country of citizenship
type political territorial entity
{'OR': [['Burkhard Stangl', 'country of citizenship', {'concept': 'political territorial entity'}], ['Adam Straith', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Burkhard_Stangl property:country_of_citizenship ?c } UNION { resource:Adam_Straith property:country_of_citizenship ?c } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2047428 Q1239845
P264
Q502895
USER
How many people have Erstwhile Records or Hellcat Records as their record brand ?
(c(Q502895),P264,Q2047428) (c(Q502895),P264,Q1239845)
action count
action union
action filter_type
action find_reverse
entity Q2047428
relation P264
type Q502895
action filter_type
action find_reverse
entity Q1239845
relation P264
type Q502895
[{'concept': 'Q502895'}, 'P264', 'Q2047428'] [{'concept': 'Q502895'}, 'P264', 'Q1239845']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Q2047428 ) ( resource:Q1239845 ) } . ?r property:P264 ?u }
Erstwhile Records Hellcat Records
action count
action union
action filter_type
action find_reverse
entity Erstwhile Records
relation record label
type common name
action filter_type
action find_reverse
entity Hellcat Records
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Erstwhile Records'] [{'concept': 'common name'}, 'record label', 'Hellcat Records']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Erstwhile_Records ) ( resource:Hellcat_Records ) } . ?r property:record_label ?u }
[]
common name
SYSTEM
17
Q2609394 Q956081 Q3196781 Q348449 Q503710 Q2827997 Q1933310 Q1303280 Q4783092 Q1016503 Q1303546 Q877525 Q5228962 Q937564 Q16199433 Q38242 Q16733053
(c(Q502895),P264,Q2047428) (c(Q502895),P264,Q1239845)
action count
action union
action filter_type
action find_reverse
entity Q2047428
relation P264
type Q502895
action filter_type
action find_reverse
entity Q1239845
relation P264
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P264', 'Q2047428'] [{'concept': 'Q502895'}, 'P264', 'Q1239845']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Q2047428 ) ( resource:Q1239845 ) } . ?r property:P264 ?u }
Branden Steineckert Lars Frederiksen Kim Nekroman Keith Rowe Tim Armstrong Aimee Allen Mike McColgan Al Barr Ara Babajian Burkhard Stangl Vic Ruggiero Radu Malfatti Dave Hillyard Roger Miret Kevin Bivona Marc Orrell Jeremy Mushlin
17
action count
action union
action filter_type
action find_reverse
entity Erstwhile Records
relation record label
type common name
action filter_type
action find_reverse
entity Hellcat Records
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Erstwhile Records'] [{'concept': 'common name'}, 'record label', 'Hellcat Records']
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Erstwhile_Records ) ( resource:Hellcat_Records ) } . ?r property:record_label ?u }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1000
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relationships with approximately the same number of political territories as Gabon ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?f ) WHERE { ?v property:P530 ?b . ?b rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Q1000 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?j ) }
Gabon
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?f ) WHERE { ?v property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Gabon property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?j ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?f ) WHERE { ?v property:P530 ?b . ?b rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Q1000 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?f = ?j ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?f ) WHERE { ?v property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Gabon property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?f = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q151885 Q166142 Q2088357
USER
How many concepts are the genre for atleast 125 applications or musical ensembles ?
(c(Q166142)|c(Q2088357),P136,c(Q151885))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q166142
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
value 125
[[{'concept': 'Q166142'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?n WHERE { { ?i property:P136 ?n . ?n rdf:type ontology:Q151885 . ?i rdf:type ontology:Q2088357 } UNION { ?i property:P136 ?n . ?n rdf:type ontology:Q151885 . ?i rdf:type ontology:Q166142 } } GROUP BY ?n } . FILTER ( ?d >= 125 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type concept
type application
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
value 125
[[{'concept': 'application'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?n WHERE { { ?i property:genre ?n . ?n rdf:type ontology:concept . ?i rdf:type ontology:musical_ensemble } UNION { ?i property:genre ?n . ?n rdf:type ontology:concept . ?i rdf:type ontology:application } } GROUP BY ?n } . FILTER ( ?d >= 125 ) }
[]
concept application musical ensemble
SYSTEM
46
Q483352 Q211573 Q9730 Q842324 Q483251 Q37073 Q9778 Q217467 Q484344 Q49451 Q131578 Q186472 Q183504 Q235858 Q7749 Q83440 Q817138 Q57143 Q83270 Q598929 Q38848 Q8341 Q186170 Q187760 Q45981 Q183862 Q1298934 Q132438 Q438476 Q253918 Q11401 Q11399 Q10922 Q837837 Q209137 Q206159 Q164444 Q20378 Q11366 Q487914 Q484641 Q213665 Q485395 Q3071 Q9794 Q42201
(c(Q166142)|c(Q2088357),P136,c(Q151885))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q166142
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
value 125
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?n WHERE { { ?i property:P136 ?n . ?n rdf:type ontology:Q151885 . ?i rdf:type ontology:Q2088357 } UNION { ?i property:P136 ?n . ?n rdf:type ontology:Q151885 . ?i rdf:type ontology:Q166142 } } GROUP BY ?n } . FILTER ( ?d >= 125 ) }
thrash metal garage rock classical music indie pop death metal pop music electronic music art rock progressive metal progressive rock J-pop folk rock indie rock folk music rock and roll country music electronica power metal hard rock post-punk heavy metal music jazz doom metal new wave music rhythm and blues metalcore synthpop black metal alternative country melodic death metal hip hop rock music hardcore punk power pop post-rock psychedelic rock funk alternative metal alternative rock pop punk pop rock K-pop gothic rock punk rock reggae independent music
46
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type concept
type application
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
value 125
[[{'concept': 'application'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?n WHERE { { ?i property:genre ?n . ?n rdf:type ontology:concept . ?i rdf:type ontology:musical_ensemble } UNION { ?i property:genre ?n . ?n rdf:type ontology:concept . ?i rdf:type ontology:application } } GROUP BY ?n } . FILTER ( ?d >= 125 ) }
[]