Simple Question (Direct)
Simple Question
Q3595686
P1040
Q502895
USER
Who is the editor of Emanuelle Escapes from Hell ?
(Q3595686,P1040,c(Q502895))
action filter_type
action find
entity Q3595686
relation P1040
type Q502895
['Q3595686', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q3595686 property:P1040 ?j . ?j rdf:type ontology:Q502895 }
Emanuelle Escapes from Hell
action filter_type
action find
entity Emanuelle Escapes from Hell
relation film editor
type common name
['Emanuelle Escapes from Hell', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Emanuelle_Escapes_from_Hell property:film_editor ?j . ?j rdf:type ontology:common_name }
[]
common name
Q729124
SYSTEM
Bruno Mattei
Q729124
(Q3595686,P1040,c(Q502895))
action filter_type
action find
entity Q3595686
relation P1040
type Q502895
The editor of Emanuelle Escapes from is [ANSWER]
['Q3595686', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q3595686 property:P1040 ?j . ?j rdf:type ontology:Q502895 }
Bruno Mattei
The editor of Emanuelle Escapes from is Bruno Mattei
Bruno Mattei
action filter_type
action find
entity Emanuelle Escapes from Hell
relation film editor
type common name
['Emanuelle Escapes from Hell', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Emanuelle_Escapes_from_Hell property:film_editor ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3595686
P57
Q502895
USER
Who were Emanuelle Escapes from Hell directed by ?
(Q3595686,P57,c(Q502895))
action filter_type
action find
entity Q3595686
relation P57
type Q502895
['Q3595686', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q3595686 property:P57 ?v }
Emanuelle Escapes from Hell
action filter_type
action find
entity Emanuelle Escapes from Hell
relation director
type common name
['Emanuelle Escapes from Hell', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Emanuelle_Escapes_from_Hell property:director ?v }
[]
common name
Q729124 Q976428
SYSTEM
Bruno Mattei, Claudio Fragasso
Q729124 Q976428
(Q3595686,P57,c(Q502895))
action filter_type
action find
entity Q3595686
relation P57
type Q502895
Emanuelle Escapes from Hell were directed by [ANSWERS]
['Q3595686', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q3595686 property:P57 ?v }
Bruno Mattei Claudio Fragasso
Emanuelle Escapes from Hell were directed by Bruno Mattei and Claudio Fragasso
Bruno Mattei Claudio Fragasso
action filter_type
action find
entity Emanuelle Escapes from Hell
relation director
type common name
['Emanuelle Escapes from Hell', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Emanuelle_Escapes_from_Hell property:director ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q379248
P1303
Q34379 Q502895
USER
How many musical instruments are played by less number of people than Timbales ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q379248
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1303 resource:Q379248 . ?t rdf:type ontology:Q502895 } } }
Timbales
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Timbales
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:instrument resource:Timbales . ?t rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q379248
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1303 resource:Q379248 . ?t rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Timbales
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:instrument resource:Timbales . ?t rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q790468
P1303
Q34379 Q502895
USER
And how about baritone horn?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q790468
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P1303 resource:Q790468 . ?e rdf:type ontology:Q502895 } } . FILTER ( ?a < ?b ) }
baritone horn
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity baritone horn
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:instrument resource:baritone_horn . ?e rdf:type ontology:common_name } } . FILTER ( ?a < ?b ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q790468
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P1303 resource:Q790468 . ?e rdf:type ontology:Q502895 } } . FILTER ( ?a < ?b ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity baritone horn
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:instrument resource:baritone_horn . ?e rdf:type ontology:common_name } } . FILTER ( ?a < ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q729124
P1196
Q1931388
USER
What manner did Bruno Mattei die ?
(Q729124,P1196,c(Q1931388))
action filter_type
action find
entity Q729124
relation P1196
type Q1931388
['Q729124', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q729124 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Bruno Mattei
action filter_type
action find
entity Bruno Mattei
relation manner of death
type cause of death
['Bruno Mattei', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Bruno_Mattei property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q729124,P1196,c(Q1931388))
action filter_type
action find
entity Q729124
relation P1196
type Q1931388
Bruno Mattei died of [ANSWER]
['Q729124', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q729124 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Bruno Mattei died of natural causes
natural causes
action filter_type
action find
entity Bruno Mattei
relation manner of death
type cause of death
['Bruno Mattei', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Bruno_Mattei property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5301564
Q1931388
USER
And how about Douglas Hamilton?
(Q5301564,P1196,c(Q1931388))
action filter_type
action find
entity Q5301564
relation P1196
type Q1931388
['Q5301564', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1931388 . resource:Q5301564 property:P1196 ?z }
Douglas Hamilton
action filter_type
action find
entity Douglas Hamilton
relation manner of death
type cause of death
['Douglas Hamilton', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cause_of_death . resource:Douglas_Hamilton property:manner_of_death ?z }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5301564,P1196,c(Q1931388))
action filter_type
action find
entity Q5301564
relation P1196
type Q1931388
[ANSWER]
['Q5301564', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1931388 . resource:Q5301564 property:P1196 ?z }
natural causes
natural causes
action filter_type
action find
entity Douglas Hamilton
relation manner of death
type cause of death
['Douglas Hamilton', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cause_of_death . resource:Douglas_Hamilton property:manner_of_death ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q729124
P1412
Q34770
USER
Which language is spoken by Bruno Mattei ?
(Q729124,P1412,c(Q34770))
action filter_type
action find
entity Q729124
relation P1412
type Q34770
['Q729124', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q729124 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Bruno Mattei
action filter_type
action find
entity Bruno Mattei
relation languages spoken, written or signed
type language
['Bruno Mattei', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Bruno_Mattei property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q729124,P1412,c(Q34770))
action filter_type
action find
entity Q729124
relation P1412
type Q34770
For [ANSWER] is spoken by Bruno Mattei
['Q729124', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q729124 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Italian
For Italian is spoken by Bruno Mattei
Italian
action filter_type
action find
entity Bruno Mattei
relation languages spoken, written or signed
type language
['Bruno Mattei', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Bruno_Mattei property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652
P103
Q502895
USER
Which people have that language as his/her mother tongue ?
(c(Q502895),P103,Q652)
action filter_type
action find_reverse
entity Q652
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', 'Q652']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P103 resource:Q652 }
Italian
action filter_type
action find_reverse
entity Italian
relation native language
type common name
[{'concept': 'common name'}, 'native language', 'Italian']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:native_language resource:Italian }
[]
common name
Q12807 Q117763 Q3956186
SYSTEM
Umberto Eco, Giuseppe Caspar Mezzofanti, Sergio Mattarella
Q21573046 Q23045968 Q24239334 Q386459 Q318051 Q3036220 Q4132868 Q23017315 Q18921764 Q26262806 Q214119 Q50790 Q24192563 Q16632815 Q23045999 Q451001 Q22582937 Q3177183 Q24290513 Q1859227 Q27670507 Q1056504 Q81819 Q3904894 Q3956186 Q21571494 Q117269 Q3638740 Q2832777 Q3000044 Q13462929 Q379039 Q1327928 Q531777 Q2619546 Q286612 Q15136629 Q15936340 Q471342 Q3956118 Q24263776 Q23301 Q21438247 Q1348674 Q3386893 Q3960878 Q21777199 Q22334087 Q3067924 Q27670701 Q1406332 Q25927230 Q27095453 Q22666415 Q16744903 Q19960428 Q18288930 Q3876363 Q26857611 Q26868847 Q17419994 Q3894024 Q24229000 Q21562060 Q21573075 Q27092862 Q1357933 Q124138 Q23901354 Q24343738 Q1246106 Q16022242 Q24251191 Q24229386 Q1332457 Q20031259 Q26773031 Q21468414 Q5444 Q5442 Q21115018 Q21571466 Q117763 Q2939142 Q1991 Q20084191 Q27670622 Q1986094 Q22158749 Q9341480 Q7000000 Q1398937 Q471529 Q454923 Q19759295 Q17636273 Q506159 Q5450 Q529098 Q697955 Q16333749 Q24238094 Q9035872 Q22582970 Q22069302 Q340261 Q3929565 Q106057 Q20995723 Q24235213 Q602665 Q920493 Q191029 Q174277 Q17992169 Q18663487 Q15291208 Q3484635 Q3852869 Q124591 Q334219 Q17417958 Q27586390 Q3620090 Q3547811 Q153832 Q15140381 Q254462 Q215673 Q1357559 Q15726460 Q3770218 Q188107 Q20829985 Q294302 Q1989559 Q550884 Q12807 Q24260682 Q287741 Q513597 Q1042470 Q337260 Q4013102 Q666504 Q25931006 Q24233910 Q1055449 Q5857887 Q17302115 Q3839540 Q24265198 Q25894639 Q1402 Q3497953 Q454917 Q3632366 Q3860377 Q15714366 Q239404 Q517837 Q25631023 Q8317662 Q3838462 Q3706190 Q975500 Q956604 Q21004530 Q24229343 Q286600
(c(Q502895),P103,Q652)
action filter_type
action find_reverse
entity Q652
relation P103
type Q502895
[ANSWERS] have that language as his/her mother tongue
[{'concept': 'Q502895'}, 'P103', 'Q652']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P103 resource:Q652 }
Emilio Gabrielli Carlo Pagano Gaetano Mariani Paolo Tiralongo Alfredo Binda Donato Carrisi Arnaldo Galliera Marco Di Meco Daniele Garozzo Gabriele Rossetti Luciano Floridi Giovanni Visconti Eleonora Gaggero Andrea Zanni Corrado Gargiolli Moreno Argentin Lorenzo Losa Alberto Maggi Bruno Jossa Matteo Pelucchi Orazio Abbamonte Vincenzo Cabianca Monica Bellucci Pif Sergio Mattarella Gabriele Maestrelli Norman Gobbi Bernardino Zendrini Alessandro Di Stefano Gianni Carabelli Piero Nelli Samantha Cristoforetti Elena Viviani Ercole Baldini Alceo Galliera Maria, Queen of Sicily Frieda Brioschi Federico Tavola Learco Guerra Sergio Filippini Giulio Mastrototaro Roberto Benigni Francesco Recami Ercole Ferrata Pierre Rusconi Silvio Gambini Aureliano Amadei Giulio Landi Federico Pescanese Giuseppe Aloe Corrado Giustozzi Alessandro Sibilio Andrea D'Angelo Beatrice Scalvedi Roberto Quercetani Gianluigi Gamba Bonaventure de Sienne Nicola Silvaggi Rachele Risaliti Giovanni Tarditi Alessandro Giallocosta Paolo Facchinetti Benedetta Mazzucchetti Dario Taraborelli Sergio Ruzzenente Alberto Giurioli Giuseppe Nazzaro Gianni Infantino Fabio Basile Emanuele Antonelli Sandro Veronesi Michele Arcangelo Lupoli Vincenzo Barra Achille Monti Nicola Vizzoni Stefano Raffei Luca Martinelli Vincenzo Padovan Pietro Mennea Sara Simeoni Francesco Maria Dolce Giorgio Accordini Giuseppe Caspar Mezzofanti Carlo Acutis Michela Figini Lina Prosa Lillo Alessandro Nicola Boem Franco Bertolli Stanislao Loffreda Giuseppe Murnigotti Lorenzo Respighi Ludovico Antonio Muratori Gianni Bugno Francesco Palermo Masseo of Marignano Pino Caruso Antonietta Di Martino Vittorio Adorni Aroldo Tieri Gherardo Ortalli Orazio Lupis Riccardo Fraccaro Simone Cortesi Umberto Alongi Achille Varzi Raimondo Bucher Yves Montand Alice Sabatini Attilio Ferrari Antonio Juliano Paolo Sardi Giuseppe Peano Tazio Nuvolari Giacomo Barzellotti Domenico De Angelis Gianluigi Farioli Simonetta Cerrini Mauro Meconi Cornelio Sommaruga Andrea Camilleri Giuseppe Bessi Luciano Rocco Antonio Ricciardi Ugo Pierleoni Alcide De Gasperi Angelo Bottigelli Nicoletta Braschi Errico Malatesta Piero De Bernardi Davide Formolo Giuseppe Camuncoli Francesca Schiavone Sonia Fornasier Walter Zenga Armando Pierucci Michele Bartoli Umberto Eco Simonetta Pozzoli Sibilla Aleramo Augusto Lauro Carlo Rovelli Lino Ventura Vincenzo Battaglia Giuliano Pisapia Andrea Dallavalle Marco Meneschincheri Matteo Salvini F.T. Sandman Sio Luigi Crocetti Francesco Mei Mario Cavaliere Giovanni Boccaccio Stefano Cassetti Giuseppe Saronni Babaman The Nun of Monza Marta Bassino Laura Antonelli Aldo Capitini Mario Faccioli Jean Galli de Bibiena Lucia Joyce Enrico Fierro Giunta Pisano Damiano Caruso Nicola Paparusso Elena Gnoli Dacia Maraini
Umberto Eco, Giuseppe Caspar Mezzofanti and Sergio Mattarella have that language as his/her mother tongue
Umberto Eco Giuseppe Caspar Mezzofanti Sergio Mattarella
action filter_type
action find_reverse
entity Italian
relation native language
type common name
[{'concept': 'common name'}, 'native language', 'Italian']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:native_language resource:Italian }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3956186
P22
Q502895
USER
Which person has Sergio Mattarella as a parent ?
(c(Q502895),P22,Q3956186)
action filter_type
action find_reverse
entity Q3956186
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3956186']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q3956186 . ?w rdf:type ontology:Q502895 }
Sergio Mattarella
action filter_type
action find_reverse
entity Sergio Mattarella
relation father
type common name
[{'concept': 'common name'}, 'father', 'Sergio Mattarella']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Sergio_Mattarella . ?w rdf:type ontology:common_name }
[]
common name
Q18921228
SYSTEM
Bernardo Giorgio Mattarella
Q18921228
(c(Q502895),P22,Q3956186)
action filter_type
action find_reverse
entity Q3956186
relation P22
type Q502895
[ANSWER] has Sergio Mattarella as a parent
[{'concept': 'Q502895'}, 'P22', 'Q3956186']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q3956186 . ?w rdf:type ontology:Q502895 }
Bernardo Giorgio Mattarella
Bernardo Giorgio Mattarella has Sergio Mattarella as a parent
Bernardo Giorgio Mattarella
action filter_type
action find_reverse
entity Sergio Mattarella
relation father
type common name
[{'concept': 'common name'}, 'father', 'Sergio Mattarella']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Sergio_Mattarella . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3956186
P35
Q35798
USER
Which executive branch has Sergio Mattarella as its chief of state ?
(c(Q35798),P35,Q3956186)
action filter_type
action find_reverse
entity Q3956186
relation P35
type Q35798
[{'concept': 'Q35798'}, 'P35', 'Q3956186']
SELECT DISTINCT ?a WHERE { ?a property:P35 resource:Q3956186 . ?a rdf:type ontology:Q35798 }
Sergio Mattarella
action filter_type
action find_reverse
entity Sergio Mattarella
relation head of state
type executive branch
[{'concept': 'executive branch'}, 'head of state', 'Sergio Mattarella']
SELECT DISTINCT ?a WHERE { ?a property:head_of_state resource:Sergio_Mattarella . ?a rdf:type ontology:executive_branch }
[]
executive branch
Q15772498
SYSTEM
Renzi Cabinet
Q15772498
(c(Q35798),P35,Q3956186)
action filter_type
action find_reverse
entity Q3956186
relation P35
type Q35798
Cabinet [ANSWER] has Sergio Mattarella as its chief of state
[{'concept': 'Q35798'}, 'P35', 'Q3956186']
SELECT DISTINCT ?a WHERE { ?a property:P35 resource:Q3956186 . ?a rdf:type ontology:Q35798 }
Renzi Cabinet
Cabinet Renzi Cabinet has Sergio Mattarella as its chief of state
Renzi Cabinet
action filter_type
action find_reverse
entity Sergio Mattarella
relation head of state
type executive branch
[{'concept': 'executive branch'}, 'head of state', 'Sergio Mattarella']
SELECT DISTINCT ?a WHERE { ?a property:head_of_state resource:Sergio_Mattarella . ?a rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3956186
P40
Q502895
USER
Which person is a successor of Sergio Mattarella ?
(Q3956186,P40,c(Q502895))
action filter_type
action find
entity Q3956186
relation P40
type Q502895
['Q3956186', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3956186 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Sergio Mattarella
action filter_type
action find
entity Sergio Mattarella
relation child
type common name
['Sergio Mattarella', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Sergio_Mattarella property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q18921228
SYSTEM
Bernardo Giorgio Mattarella
Q18921228
(Q3956186,P40,c(Q502895))
action filter_type
action find
entity Q3956186
relation P40
type Q502895
[ANSWER] is a successor of Sergio Mattarella
['Q3956186', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3956186 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Bernardo Giorgio Mattarella
Bernardo Giorgio Mattarella is a successor of Sergio Mattarella
Bernardo Giorgio Mattarella
action filter_type
action find
entity Sergio Mattarella
relation child
type common name
['Sergio Mattarella', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Sergio_Mattarella property:child ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18921228 Q376747
P40
Q502895
USER
Does James Harlan have that one as a child ?
(Q376747,P40,Q18921228)
action is_in
entity Q376747
action find
entity Q18921228
relation P40
['Q376747', 'P40', 'Q18921228']
ASK WHERE { resource:Q18921228 property:P40 resource:Q376747 }
Bernardo Giorgio Mattarella James Harlan
action is_in
entity James Harlan
action find
entity Bernardo Giorgio Mattarella
relation child
['James Harlan', 'child', 'Bernardo Giorgio Mattarella']
ASK WHERE { resource:Bernardo_Giorgio_Mattarella property:child resource:James_Harlan }
[]
common name
SYSTEM
NO
(Q376747,P40,Q18921228)
action is_in
entity Q376747
action find
entity Q18921228
relation P40
[ANSWER]
['Q376747', 'P40', 'Q18921228']
ASK WHERE { resource:Q18921228 property:P40 resource:Q376747 }
No
action is_in
entity James Harlan
action find
entity Bernardo Giorgio Mattarella
relation child
['James Harlan', 'child', 'Bernardo Giorgio Mattarella']
ASK WHERE { resource:Bernardo_Giorgio_Mattarella property:child resource:James_Harlan }
[]