Simple Question (Direct)
Simple Question
Q761053
P27
Q1048835
USER
Which political territory is the native country of August Christian Borheck ?
(Q761053,P27,c(Q1048835))
action filter_type
action find
entity Q761053
relation P27
type Q1048835
['Q761053', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q761053 property:P27 ?m }
August Christian Borheck
action filter_type
action find
entity August Christian Borheck
relation country of citizenship
type political territorial entity
['August Christian Borheck', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:August_Christian_Borheck property:country_of_citizenship ?m }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q761053,P27,c(Q1048835))
action filter_type
action find
entity Q761053
relation P27
type Q1048835
The [ANSWER] is the native country of August Christian Borheck
['Q761053', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q761053 property:P27 ?m }
Germany
The Germany is the native country of August Christian Borheck
Germany
action filter_type
action find
entity August Christian Borheck
relation country of citizenship
type political territorial entity
['August Christian Borheck', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:August_Christian_Borheck property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q761053
P21
Q290
USER
Which sex does that person possess ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q761053
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q761053 property:P21 ?x . ?x rdf:type ontology:Q290 }
August Christian Borheck
action filter_type
action find
entity August Christian Borheck
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:August_Christian_Borheck property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q761053
relation P21
type Q290
That person possesses a [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q761053 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity August Christian Borheck
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:August_Christian_Borheck property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting depicts that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q6581097 . ?r rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:male . ?r rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] depicts that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q6581097 . ?r rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister depicts that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:male . ?r rdf:type ontology:painting }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q2221906 Q15989253 Q3305213
USER
Which paintings depict lesser number of geographic locations and parts than that painting ?
(c(Q3305213),P180,c(Q2221906)|c(Q15989253))
action less
action union
action find_tuple_counts
relation P180
type Q3305213
type Q2221906
action find_tuple_counts
relation P180
type Q3305213
type Q15989253
action count
action filter_multi_types
action find
entity Q18713957
relation P180
type Q2221906
type Q15989253
[{'concept': 'Q3305213'}, 'P180', [{'concept': 'Q2221906'}, {'concept': 'Q15989253'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?i WHERE { VALUES ( ?r ) { ( ontology:Q15989253 ) ( ontology:Q2221906 ) } . ?k rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q18713957 property:P180 ?p . { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:Q2221906 ) ( ontology:Q15989253 ) } } } } . FILTER ( ?g < ?l ) }
action less
action union
action find_tuple_counts
relation depicts
type painting
type geographic location
action find_tuple_counts
relation depicts
type painting
type part
action count
action filter_multi_types
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type geographic location
type part
[{'concept': 'painting'}, 'depicts', [{'concept': 'geographic location'}, {'concept': 'part'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?i WHERE { VALUES ( ?r ) { ( ontology:part ) ( ontology:geographic_location ) } . ?k rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?p . { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:geographic_location ) ( ontology:part ) } } } } . FILTER ( ?g < ?l ) }
[]
geographic location part painting
SYSTEM
0
(c(Q3305213),P180,c(Q2221906)|c(Q15989253))
action less
action union
action find_tuple_counts
relation P180
type Q3305213
type Q2221906
action find_tuple_counts
relation P180
type Q3305213
type Q15989253
action count
action filter_multi_types
action find
entity Q18713957
relation P180
type Q2221906
type Q15989253
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', [{'concept': 'Q2221906'}, {'concept': 'Q15989253'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?i WHERE { VALUES ( ?r ) { ( ontology:Q15989253 ) ( ontology:Q2221906 ) } . ?k rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q18713957 property:P180 ?p . { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:Q2221906 ) ( ontology:Q15989253 ) } } } } . FILTER ( ?g < ?l ) }
0
action less
action union
action find_tuple_counts
relation depicts
type painting
type geographic location
action find_tuple_counts
relation depicts
type painting
type part
action count
action filter_multi_types
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type geographic location
type part
[{'concept': 'painting'}, 'depicts', [{'concept': 'geographic location'}, {'concept': 'part'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?i WHERE { VALUES ( ?r ) { ( ontology:part ) ( ontology:geographic_location ) } . ?k rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?p . { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:geographic_location ) ( ontology:part ) } } } } . FILTER ( ?g < ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P291
Q482994
USER
Which album has Germany as its publication location ?
(c(Q482994),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q482994
[{'concept': 'Q482994'}, 'P291', 'Q183']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q183 . ?i rdf:type ontology:Q482994 }
Germany
action filter_type
action find_reverse
entity Germany
relation place of publication
type album
[{'concept': 'album'}, 'place of publication', 'Germany']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Germany . ?i rdf:type ontology:album }
[]
album
Q16323236
SYSTEM
Bloodlines
Q16323236
(c(Q482994),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q482994
[ANSWER] has Germany as its publication location
[{'concept': 'Q482994'}, 'P291', 'Q183']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q183 . ?i rdf:type ontology:Q482994 }
Bloodlines
Bloodlines has Germany as its publication location
Bloodlines
action filter_type
action find_reverse
entity Germany
relation place of publication
type album
[{'concept': 'album'}, 'place of publication', 'Germany']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Germany . ?i rdf:type ontology:album }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16323236
P175
Q215380
USER
Which band was performed by that album ?
(Q16323236,P175,c(Q215380))
action filter_type
action find
entity Q16323236
relation P175
type Q215380
['Q16323236', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?y WHERE { resource:Q16323236 property:P175 ?y . ?y rdf:type ontology:Q215380 }
Bloodlines
action filter_type
action find
entity Bloodlines
relation performer
type band
['Bloodlines', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?y WHERE { resource:Bloodlines property:performer ?y . ?y rdf:type ontology:band }
[]
band
Q200000
SYSTEM
Dúné
Q200000
(Q16323236,P175,c(Q215380))
action filter_type
action find
entity Q16323236
relation P175
type Q215380
[ANSWER] was performed by that album
['Q16323236', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?y WHERE { resource:Q16323236 property:P175 ?y . ?y rdf:type ontology:Q215380 }
Dúné
Dúné was performed by that album
Dúné
action filter_type
action find
entity Bloodlines
relation performer
type band
['Bloodlines', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?y WHERE { resource:Bloodlines property:performer ?y . ?y rdf:type ontology:band }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19860418
P361
Q482994 Q838948 Q2031291
USER
How many albums are approximately the same number of works of art and releases a portion of as The Most Beautiful Moment In Life, Part 1 ?
(c(Q838948)|c(Q2031291),P361,c(Q482994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q482994
type Q838948
action find_reverse_tuple_counts
relation P361
type Q482994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q19860418
relation P361
type Q838948
type Q2031291
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q482994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P361 resource:Q19860418 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q2031291 } } } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?m ) WHERE { { ?r property:P361 ?u . ?u rdf:type ontology:Q482994 . ?r rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q482994 . ?r rdf:type ontology:Q2031291 . ?r property:P361 ?u } } GROUP BY ?u } }
The Most Beautiful Moment In Life, Part 1
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type album
type work of art
action find_reverse_tuple_counts
relation part of
type album
type release
action count
action filter_multi_types
action find_reverse
entity The Most Beautiful Moment In Life, Part 1
relation part of
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'part of', {'concept': 'album'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:part_of resource:The_Most_Beautiful_Moment_In_Life,_Part_1 . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:release } } } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?m ) WHERE { { ?r property:part_of ?u . ?u rdf:type ontology:album . ?r rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:album . ?r rdf:type ontology:release . ?r property:part_of ?u } } GROUP BY ?u } }
[]
album work of art release
SYSTEM
6
Q1933091 Q19860418 Q1144243 Q18356502 Q28371 Q432002
(c(Q838948)|c(Q2031291),P361,c(Q482994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q482994
type Q838948
action find_reverse_tuple_counts
relation P361
type Q482994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q19860418
relation P361
type Q838948
type Q2031291
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q482994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P361 resource:Q19860418 . { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q2031291 } } } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?m ) WHERE { { ?r property:P361 ?u . ?u rdf:type ontology:Q482994 . ?r rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q482994 . ?r rdf:type ontology:Q2031291 . ?r property:P361 ?u } } GROUP BY ?u } }
The Id The Most Beautiful Moment In Life, Part 1 Big Froot Pink Sparkle J to tha L–O! The Remixes
6
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type album
type work of art
action find_reverse_tuple_counts
relation part of
type album
type release
action count
action filter_multi_types
action find_reverse
entity The Most Beautiful Moment In Life, Part 1
relation part of
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'part of', {'concept': 'album'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?m = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:part_of resource:The_Most_Beautiful_Moment_In_Life,_Part_1 . { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:release } } } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?m ) WHERE { { ?r property:part_of ?u . ?u rdf:type ontology:album . ?r rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:album . ?r rdf:type ontology:release . ?r property:part_of ?u } } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200000
P86
Q2031291
USER
Which release has Dúné as the melodist ?
(c(Q2031291),P86,Q200000)
action filter_type
action find_reverse
entity Q200000
relation P86
type Q2031291
[{'concept': 'Q2031291'}, 'P86', 'Q200000']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2031291 . ?b property:P86 resource:Q200000 }
Dúné
action filter_type
action find_reverse
entity Dúné
relation composer
type release
[{'concept': 'release'}, 'composer', 'Dúné']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:release . ?b property:composer resource:Dúné }
[]
release
Q16323167
SYSTEM
All That I Have
Q16323167
(c(Q2031291),P86,Q200000)
action filter_type
action find_reverse
entity Q200000
relation P86
type Q2031291
The All That I have has Dúné as the melodist
[{'concept': 'Q2031291'}, 'P86', 'Q200000']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2031291 . ?b property:P86 resource:Q200000 }
All That I Have
The All That I have has Dúné as the melodist
All That I Have
action filter_type
action find_reverse
entity Dúné
relation composer
type release
[{'concept': 'release'}, 'composer', 'Dúné']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:release . ?b property:composer resource:Dúné }
[]