Simple Question (Direct)
Simple Question
Q1759070
P106
Q12737077
USER
What do Roman Summereder do for a living ?
(Q1759070,P106,c(Q12737077))
action filter_type
action find
entity Q1759070
relation P106
type Q12737077
['Q1759070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1759070 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Roman Summereder
action filter_type
action find
entity Roman Summereder
relation occupation
type occupation
['Roman Summereder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Summereder property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q765778 Q1622272
SYSTEM
organist, university teacher
Q765778 Q1622272
(Q1759070,P106,c(Q12737077))
action filter_type
action find
entity Q1759070
relation P106
type Q12737077
Roman Summereder do for a living as [ANSWERS]
['Q1759070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1759070 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
organist university teacher
Roman Summereder do for a living as organist and university teacher
organist university teacher
action filter_type
action find
entity Roman Summereder
relation occupation
type occupation
['Roman Summereder', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Summereder property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1759070
P1303
Q34379
USER
Which musical instrument does that person know to play ?
(Q765778,P1303,c(Q34379)) (Q1622272,P1303,c(Q34379))
action filter_type
action find
entity Q1759070
relation P1303
type Q34379
['Q765778', 'P1303', {'concept': 'Q34379'}] ['Q1622272', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34379 . resource:Q1759070 property:P1303 ?p }
Roman Summereder
action filter_type
action find
entity Roman Summereder
relation instrument
type musical instrument
['organist', 'instrument', {'concept': 'musical instrument'}] ['university teacher', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:musical_instrument . resource:Roman_Summereder property:instrument ?p }
[]
musical instrument
Q1444
SYSTEM
organ
Q1444
(Q765778,P1303,c(Q34379)) (Q1622272,P1303,c(Q34379))
action filter_type
action find
entity Q1759070
relation P1303
type Q34379
That person knows the [ANSWER]
['Q765778', 'P1303', {'concept': 'Q34379'}] ['Q1622272', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34379 . resource:Q1759070 property:P1303 ?p }
organ
That person knows the organ
organ
action filter_type
action find
entity Roman Summereder
relation instrument
type musical instrument
['organist', 'instrument', {'concept': 'musical instrument'}] ['university teacher', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:musical_instrument . resource:Roman_Summereder property:instrument ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1759070
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q1444,P27,c(Q1048835))
action filter_type
action find
entity Q1759070
relation P27
type Q1048835
['Q1444', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1759070 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Roman Summereder
action filter_type
action find
entity Roman Summereder
relation country of citizenship
type political territorial entity
['organ', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Roman_Summereder property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1444,P27,c(Q1048835))
action filter_type
action find
entity Q1759070
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q1444', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1759070 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Austria
Austria is that person a civilian of
Austria
action filter_type
action find
entity Roman Summereder
relation country of citizenship
type political territorial entity
['organ', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Roman_Summereder property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P870
Q34379 Q9748 Q188451
USER
Which musical instruments are used as instrumentation in min number of concertoes or music genres ?
(c(Q9748)|c(Q188451),P870,c(Q34379))
action argmin
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
[[{'concept': 'Q9748'}, {'concept': 'Q188451'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?i WHERE { { ?p property:P870 ?i . ?i rdf:type ontology:Q34379 . ?p rdf:type ontology:Q9748 } UNION { ?p property:P870 ?i . ?i rdf:type ontology:Q34379 . ?p rdf:type ontology:Q188451 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:Q9748 ) ( ontology:Q188451 ) } } GROUP BY ?k } . FILTER ( ?j = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
[[{'concept': 'concerto'}, {'concept': 'music genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?i WHERE { { ?p property:instrumentation ?i . ?i rdf:type ontology:musical_instrument . ?p rdf:type ontology:concerto } UNION { ?p property:instrumentation ?i . ?i rdf:type ontology:musical_instrument . ?p rdf:type ontology:music_genre } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:concerto ) ( ontology:music_genre ) } } GROUP BY ?k } . FILTER ( ?j = ?q ) }
[]
musical instrument concerto music genre
Q521151 Q213461 Q46185
SYSTEM
baryton, harmonium, bass guitar
Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q320341 Q39777 Q206987
(c(Q9748)|c(Q188451),P870,c(Q34379))
action argmin
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
[ANSWERS] are used as instrumentation in min number of concertoes or music genres
[[{'concept': 'Q9748'}, {'concept': 'Q188451'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?i WHERE { { ?p property:P870 ?i . ?i rdf:type ontology:Q34379 . ?p rdf:type ontology:Q9748 } UNION { ?p property:P870 ?i . ?i rdf:type ontology:Q34379 . ?p rdf:type ontology:Q188451 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:Q9748 ) ( ontology:Q188451 ) } } GROUP BY ?k } . FILTER ( ?j = ?q ) }
harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton celesta maraca vibraphone
Baryton, harmonium and bass guitar are used as instrumentation in min number of concertoes or music genres
baryton harmonium bass guitar
action argmin
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
[[{'concept': 'concerto'}, {'concept': 'music genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?i WHERE { { ?p property:instrumentation ?i . ?i rdf:type ontology:musical_instrument . ?p rdf:type ontology:concerto } UNION { ?p property:instrumentation ?i . ?i rdf:type ontology:musical_instrument . ?p rdf:type ontology:music_genre } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:concerto ) ( ontology:music_genre ) } } GROUP BY ?k } . FILTER ( ?j = ?q ) }
[]