Simple Question (Direct)
Simple Question
Q357333
P21
Q290
USER
Which sex does Stelvio Massi belong to ?
(Q357333,P21,c(Q290))
action filter_type
action find
entity Q357333
relation P21
type Q290
['Q357333', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q357333 property:P21 ?s . ?s rdf:type ontology:Q290 }
Stelvio Massi
action filter_type
action find
entity Stelvio Massi
relation gender
type sex
['Stelvio Massi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Stelvio_Massi property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q357333,P21,c(Q290))
action filter_type
action find
entity Q357333
relation P21
type Q290
Stelvio Massi belongs to [ANSWER]
['Q357333', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q357333 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Stelvio Massi belongs to male
male
action filter_type
action find
entity Stelvio Massi
relation gender
type sex
['Stelvio Massi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Stelvio_Massi property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q357333
P344
Q838948
USER
Which works of art are that person the cinematographer of ?
(c(Q838948),P344,Q6581097)
action filter_type
action find_reverse
entity Q357333
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P344 resource:Q357333 }
Stelvio Massi
action filter_type
action find_reverse
entity Stelvio Massi
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'male']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:director_of_photography resource:Stelvio_Massi }
[]
work of art
Q3793014 Q3878144 Q3282987
SYSTEM
Return of Halleluja, Non son degno di te, Giovannona Long-Thigh
Q694402 Q3953482 Q1304593 Q6072062 Q3282987 Q3204910 Q1230704 Q1675813 Q2225173 Q21246011 Q228922 Q13501736 Q1479256 Q1750347 Q869007 Q3793014 Q679940 Q3795947 Q3818284 Q3646107 Q3874913 Q17744507 Q3855964 Q3823814 Q3878144 Q4004266 Q1168027
(c(Q838948),P344,Q6581097)
action filter_type
action find_reverse
entity Q357333
relation P344
type Q838948
[ANSWERS] are that person the cinematographer of
[{'concept': 'Q838948'}, 'P344', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P344 resource:Q357333 }
The Price of Power Se non avessi più te They Call Him Cemetery Per il gusto di uccidere Giovannona Long-Thigh The Archangel I Am Sartana, Trade Your Guns for a Coffin They Call Me Hallelujah Have a Good Funeral, My Friend... Sartana Will Pay The Black Cobra I'll Sell My Skin Dearly Tiffany Memorandum Maciste alla corte del Gran Khan All'ombra di una colt Il momento di uccidere Return of Halleluja Man Called Invincible Il suo nome è Donna Rosa Alibi Brutti di notte Nessuno mi può giudicare Two Faces of the Dollar Mi vedrai tornare A Girl Called Jules Non son degno di te Una lacrima sul viso The Case of the Bloody Iris
Return of Halleluja, Non son degno di te and Giovannona Long-Thigh are that person the cinematographer of
Return of Halleluja Non son degno di te Giovannona Long-Thigh
action filter_type
action find_reverse
entity Stelvio Massi
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'male']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:director_of_photography resource:Stelvio_Massi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3282987
P86
Q502895
USER
Which person composed Giovannona Long-Thigh ?
(Q3282987,P86,c(Q502895))
action filter_type
action find
entity Q3282987
relation P86
type Q502895
['Q3282987', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3282987 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Giovannona Long-Thigh
action filter_type
action find
entity Giovannona Long-Thigh
relation composer
type common name
['Giovannona Long-Thigh', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Giovannona_Long-Thigh property:composer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q538488
SYSTEM
Guido De Angelis
Q538488
(Q3282987,P86,c(Q502895))
action filter_type
action find
entity Q3282987
relation P86
type Q502895
[ANSWER] composed Giovannona Long-Thigh
['Q3282987', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3282987 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Guido De Angelis
Guido De Angelis composed Giovannona Long-Thigh
Guido De Angelis
action filter_type
action find
entity Giovannona Long-Thigh
relation composer
type common name
['Giovannona Long-Thigh', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Giovannona_Long-Thigh property:composer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3282987
P57
Q502895
USER
Which person directed that work of art ?
(Q538488,P57,c(Q502895))
action filter_type
action find
entity Q3282987
relation P57
type Q502895
['Q538488', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3282987 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Giovannona Long-Thigh
action filter_type
action find
entity Giovannona Long-Thigh
relation director
type common name
['Guido De Angelis', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Giovannona_Long-Thigh property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q983071
SYSTEM
Sergio Martino
Q983071
(Q538488,P57,c(Q502895))
action filter_type
action find
entity Q3282987
relation P57
type Q502895
[ANSWER] directed that work of art
['Q538488', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3282987 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Sergio Martino
Sergio Martino directed that work of art
Sergio Martino
action filter_type
action find
entity Giovannona Long-Thigh
relation director
type common name
['Guido De Angelis', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Giovannona_Long-Thigh property:director ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P180
Q3305213 Q340169
USER
How many paintings and medias demonstrate male ?
(c(Q3305213),P180,Q6581097) (c(Q340169),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:Q3305213 . ?n property:P180 resource:Q6581097 } UNION { ?n rdf:type ontology:Q340169 . ?n property:P180 resource:Q6581097 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type painting
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:painting . ?n property:depicts resource:male } UNION { ?n rdf:type ontology:media . ?n property:depicts resource:male } }
[]
painting media
SYSTEM
1 paintings and 1 medias
Q20020115 Q18713957
(c(Q3305213),P180,Q6581097) (c(Q340169),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:Q3305213 . ?n property:P180 resource:Q6581097 } UNION { ?n rdf:type ontology:Q340169 . ?n property:P180 resource:Q6581097 } }
Portrait of a Young Man Raja Surendra Vikram Shah at the age of 15 with his prime minister
1 paintings and 1 medias
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type painting
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:painting . ?n property:depicts resource:male } UNION { ?n rdf:type ontology:media . ?n property:depicts resource:male } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series did exactly 11 people do the dubbing for ?
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 11
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { FILTER ( ?i = 11 ) . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?i ) WHERE { ?e property:P725 ?g . ?e rdf:type ontology:Q5398426 . ?g rdf:type ontology:Q502895 } GROUP BY ?e } }
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 11
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { FILTER ( ?i = 11 ) . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?i ) WHERE { ?e property:voice_actor ?g . ?e rdf:type ontology:television_series . ?g rdf:type ontology:common_name } GROUP BY ?e } }
[]
common name television series
SYSTEM
1
Q15392994
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 11
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { FILTER ( ?i = 11 ) . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?i ) WHERE { ?e property:P725 ?g . ?e rdf:type ontology:Q5398426 . ?g rdf:type ontology:Q502895 } GROUP BY ?e } }
Prison School
1
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 11
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { FILTER ( ?i = 11 ) . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?i ) WHERE { ?e property:voice_actor ?g . ?e rdf:type ontology:television_series . ?g rdf:type ontology:common_name } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1121131
P162
Q502895
USER
Which people produced Saratoga Trunk ?
(Q1121131,P162,c(Q502895))
action filter_type
action find
entity Q1121131
relation P162
type Q502895
['Q1121131', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q1121131 property:P162 ?k }
Saratoga Trunk
action filter_type
action find
entity Saratoga Trunk
relation producer
type common name
['Saratoga Trunk', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Saratoga_Trunk property:producer ?k }
[]
common name
Q472520 Q72614
SYSTEM
Hal B. Wallis, Jack Warner
Q472520 Q72614
(Q1121131,P162,c(Q502895))
action filter_type
action find
entity Q1121131
relation P162
type Q502895
[ANSWERS] produced Saratoga Trunk
['Q1121131', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q1121131 property:P162 ?k }
Hal B. Wallis Jack Warner
Hal B. Wallis and Jack Warner produced Saratoga Trunk
Hal B. Wallis Jack Warner
action filter_type
action find
entity Saratoga Trunk
relation producer
type common name
['Saratoga Trunk', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Saratoga_Trunk property:producer ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 576 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 576
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?x = 576 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 576
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?x = 576 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 576
[ANSWERS] can around 576 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?x = 576 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can around 576 people perform with
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 576
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?x = 576 ) }
[]