Simple Question (Direct)
Simple Question
Q3758482
P27
Q15617994
USER
Which administrative territory is the native country of Gary Cooper ?
(Q3758482,P27,c(Q15617994))
action filter_type
action find
entity Q3758482
relation P27
type Q15617994
['Q3758482', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3758482 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Gary Cooper
action filter_type
action find
entity Gary Cooper
relation country of citizenship
type designation for an administrative territorial entity
['Gary Cooper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gary_Cooper property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3758482,P27,c(Q15617994))
action filter_type
action find
entity Q3758482
relation P27
type Q15617994
In [ANSWER] is the native country of Gary Cooper
['Q3758482', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3758482 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
In United Kingdom is the native country of Gary Cooper
United Kingdom
action filter_type
action find
entity Gary Cooper
relation country of citizenship
type designation for an administrative territorial entity
['Gary Cooper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gary_Cooper property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3758482
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q145,P1303,c(Q34379))
action filter_type
action find
entity Q3758482
relation P1303
type Q34379
['Q145', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34379 . resource:Q3758482 property:P1303 ?j }
Gary Cooper
action filter_type
action find
entity Gary Cooper
relation instrument
type musical instrument
['United Kingdom', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:musical_instrument . resource:Gary_Cooper property:instrument ?j }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q145,P1303,c(Q34379))
action filter_type
action find
entity Q3758482
relation P1303
type Q34379
That person can perform a [ANSWER]
['Q145', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34379 . resource:Q3758482 property:P1303 ?j }
piano
That person can perform a piano
piano
action filter_type
action find
entity Gary Cooper
relation instrument
type musical instrument
['United Kingdom', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:musical_instrument . resource:Gary_Cooper property:instrument ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q845193
P870
Q34379 Q188451 Q207628
USER
How many musical instruments are the instrumentations used in more number of music genres and musical compositions than xylorimba ?
(c(Q188451)|c(Q207628),P870,c(Q34379))
action count
action greater
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q845193
relation P870
type Q188451
type Q207628
[[{'concept': 'Q188451'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { VALUES ( ?z ) { ( ontology:Q207628 ) ( ontology:Q188451 ) } . ?k rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:Q188451 } UNION { ?x rdf:type ontology:Q207628 } } . ?x property:P870 resource:Q845193 } } . FILTER ( ?e > ?b ) }
xylorimba
action count
action greater
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action count
action filter_multi_types
action find_reverse
entity xylorimba
relation instrumentation
type music genre
type musical composition
[[{'concept': 'music genre'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { VALUES ( ?z ) { ( ontology:musical_composition ) ( ontology:music_genre ) } . ?k rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:music_genre } UNION { ?x rdf:type ontology:musical_composition } } . ?x property:instrumentation resource:xylorimba } } . FILTER ( ?e > ?b ) }
[]
musical instrument music genre musical composition
SYSTEM
9
Q80284 Q8371 Q5994 Q8338 Q1444 Q8355 Q11404 Q206987 Q81982
(c(Q188451)|c(Q207628),P870,c(Q34379))
action count
action greater
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q845193
relation P870
type Q188451
type Q207628
[ANSWER]
[[{'concept': 'Q188451'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { VALUES ( ?z ) { ( ontology:Q207628 ) ( ontology:Q188451 ) } . ?k rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:Q188451 } UNION { ?x rdf:type ontology:Q207628 } } . ?x property:P870 resource:Q845193 } } . FILTER ( ?e > ?b ) }
viola cello piano trumpet organ violin drum vibraphone harpsichord
9
action count
action greater
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action count
action filter_multi_types
action find_reverse
entity xylorimba
relation instrumentation
type music genre
type musical composition
[[{'concept': 'music genre'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { VALUES ( ?z ) { ( ontology:musical_composition ) ( ontology:music_genre ) } . ?k rdf:type ?z } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:music_genre } UNION { ?x rdf:type ontology:musical_composition } } . ?x property:instrumentation resource:xylorimba } } . FILTER ( ?e > ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3758482
P21
Q290
USER
Which sex does Gary Cooper have ?
(Q3758482,P21,c(Q290))
action filter_type
action find
entity Q3758482
relation P21
type Q290
['Q3758482', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3758482 property:P21 ?z . ?z rdf:type ontology:Q290 }
Gary Cooper
action filter_type
action find
entity Gary Cooper
relation gender
type sex
['Gary Cooper', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Gary_Cooper property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3758482,P21,c(Q290))
action filter_type
action find
entity Q3758482
relation P21
type Q290
Gary Cooper has a [ANSWER]
['Q3758482', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3758482 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Gary Cooper has a male
male
action filter_type
action find
entity Gary Cooper
relation gender
type sex
['Gary Cooper', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Gary_Cooper property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3758482
P106
Q12737077
USER
What are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3758482
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3758482 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Gary Cooper
action filter_type
action find
entity Gary Cooper
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Gary_Cooper property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q158852 Q16145150 Q486748
SYSTEM
conductor, music educator, pianist
Q158852 Q16145150 Q486748
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3758482
relation P106
type Q12737077
The professions of that person are conductor [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3758482 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
conductor music educator pianist
The professions of that person are conductor conductor, music educator and pianist
conductor music educator pianist
action filter_type
action find
entity Gary Cooper
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Gary_Cooper property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3758482
P69
Q1244442
USER
What is the school building where Gary Cooper was educated ?
(Q3758482,P69,c(Q1244442))
action filter_type
action find
entity Q3758482
relation P69
type Q1244442
['Q3758482', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1244442 . resource:Q3758482 property:P69 ?w }
Gary Cooper
action filter_type
action find
entity Gary Cooper
relation educated at
type school building
['Gary Cooper', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:school_building . resource:Gary_Cooper property:educated_at ?w }
[]
school building
Q1376987
SYSTEM
New College
Q1376987
(Q3758482,P69,c(Q1244442))
action filter_type
action find
entity Q3758482
relation P69
type Q1244442
The school building Gary Cooper was educated is at [ANSWER]
['Q3758482', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1244442 . resource:Q3758482 property:P69 ?w }
New College
The school building Gary Cooper was educated is at New College
New College
action filter_type
action find
entity Gary Cooper
relation educated at
type school building
['Gary Cooper', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:school_building . resource:Gary_Cooper property:educated_at ?w }
[]