Simple Question (Direct)
Simple Question
Q3429157
P344
Q502895
USER
Who is the director of photography for Sillunu Oru Kaadhal ?
(Q3429157,P344,c(Q502895))
action filter_type
action find
entity Q3429157
relation P344
type Q502895
['Q3429157', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3429157 property:P344 ?o . ?o rdf:type ontology:Q502895 }
Sillunu Oru Kaadhal
action filter_type
action find
entity Sillunu Oru Kaadhal
relation director of photography
type common name
['Sillunu Oru Kaadhal', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Sillunu_Oru_Kaadhal property:director_of_photography ?o . ?o rdf:type ontology:common_name }
[]
common name
Q7273570
SYSTEM
R. D. Rajasekhar
Q7273570
(Q3429157,P344,c(Q502895))
action filter_type
action find
entity Q3429157
relation P344
type Q502895
The director of photography for Sillunu Oru Kaadhal is of [ANSWER]
['Q3429157', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3429157 property:P344 ?o . ?o rdf:type ontology:Q502895 }
R. D. Rajasekhar
The director of photography for Sillunu Oru Kaadhal is of R. D. Rajasekhar
R. D. Rajasekhar
action filter_type
action find
entity Sillunu Oru Kaadhal
relation director of photography
type common name
['Sillunu Oru Kaadhal', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Sillunu_Oru_Kaadhal property:director_of_photography ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3429157
P86
Q502895
USER
Who did the compostion for Sillunu Oru Kaadhal ?
(Q3429157,P86,c(Q502895))
action filter_type
action find
entity Q3429157
relation P86
type Q502895
['Q3429157', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3429157 property:P86 ?r . ?r rdf:type ontology:Q502895 }
Sillunu Oru Kaadhal
action filter_type
action find
entity Sillunu Oru Kaadhal
relation composer
type common name
['Sillunu Oru Kaadhal', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Sillunu_Oru_Kaadhal property:composer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q108560
SYSTEM
A. R. Rahman
Q108560
(Q3429157,P86,c(Q502895))
action filter_type
action find
entity Q3429157
relation P86
type Q502895
[ANSWER] did the compostion for Sillunu Oru Kaadhal
['Q3429157', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3429157 property:P86 ?r . ?r rdf:type ontology:Q502895 }
A. R. Rahman
A. R. Rahman did the compostion for Sillunu Oru Kaadhal
A. R. Rahman
action filter_type
action find
entity Sillunu Oru Kaadhal
relation composer
type common name
['Sillunu Oru Kaadhal', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Sillunu_Oru_Kaadhal property:composer ?r . ?r rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
Which musical instruments are played by greater number of people than bass guitar ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q46185 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?d > ?v ) }
bass guitar
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:bass_guitar property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?d > ?v ) }
[]
musical instrument common name
Q5994 Q8338 Q8355
SYSTEM
piano, trumpet, violin
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWERS] are played by greater number of people than bass guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q46185 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?d > ?v ) }
piano trumpet violin organ drum kit
Piano, trumpet and violin are played by greater number of people than bass guitar
piano trumpet violin
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:bass_guitar property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?d > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P61
Q502895
USER
Which person was the first person to come up with piano ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5994 property:P61 ?m . ?m rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:piano property:discoverer_or_inventor ?m . ?m rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
[ANSWER] was the first person to come up with piano
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5994 property:P61 ?m . ?m rdf:type ontology:Q502895 }
Bartolomeo Cristofori
Bartolomeo Cristofori was the first person to come up with piano
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:piano property:discoverer_or_inventor ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q154752
Q502895
USER
And how about 4842 Atsushi?
(Q154752,P61,c(Q502895))
action filter_type
action find
entity Q154752
relation P61
type Q502895
['Q154752', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q154752 property:P61 ?k . ?k rdf:type ontology:Q502895 }
4842 Atsushi
action filter_type
action find
entity 4842 Atsushi
relation discoverer or inventor
type common name
['4842 Atsushi', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:4842_Atsushi property:discoverer_or_inventor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q507053 Q737057
SYSTEM
Hiroshi Kaneda, Seiji Ueda
Q507053 Q737057
(Q154752,P61,c(Q502895))
action filter_type
action find
entity Q154752
relation P61
type Q502895
[ANSWERS]
['Q154752', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q154752 property:P61 ?k . ?k rdf:type ontology:Q502895 }
Hiroshi Kaneda Seiji Ueda
Hiroshi Kaneda Seiji Ueda
action filter_type
action find
entity 4842 Atsushi
relation discoverer or inventor
type common name
['4842 Atsushi', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:4842_Atsushi property:discoverer_or_inventor ?k . ?k rdf:type ontology:common_name }
[]