Simple Question (Direct)
Simple Question
Q3790733
P364
Q34770
USER
Which language was used originally for the creation of The Two Friends ?
(Q3790733,P364,c(Q34770))
action filter_type
action find
entity Q3790733
relation P364
type Q34770
['Q3790733', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q3790733 property:P364 ?h . ?h rdf:type ontology:Q34770 }
The Two Friends
action filter_type
action find
entity The Two Friends
relation original language of work
type language
['The Two Friends', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:The_Two_Friends property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3790733,P364,c(Q34770))
action filter_type
action find
entity Q3790733
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Two Friends
['Q3790733', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q3790733 property:P364 ?h . ?h rdf:type ontology:Q34770 }
Italian
In Italian was used originally for the creation of The Two Friends
Italian
action filter_type
action find
entity The Two Friends
relation original language of work
type language
['The Two Friends', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:The_Two_Friends property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3790733
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q652,P58,c(Q502895))
action filter_type
action find
entity Q3790733
relation P58
type Q502895
['Q652', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3790733 property:P58 ?z . ?z rdf:type ontology:Q502895 }
The Two Friends
action filter_type
action find
entity The Two Friends
relation screenwriter
type common name
['Italian', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Two_Friends property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
common name
Q55450 Q968421 Q1898633
SYSTEM
Aldo Fabrizi, Ruggero Maccari, Mario Amendola
Q55450 Q968421 Q1898633
(Q652,P58,c(Q502895))
action filter_type
action find
entity Q3790733
relation P58
type Q502895
[ANSWERS] wrote the screenplay for that work of art
['Q652', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3790733 property:P58 ?z . ?z rdf:type ontology:Q502895 }
Aldo Fabrizi Ruggero Maccari Mario Amendola
Aldo Fabrizi, Ruggero Maccari and Mario Amendola wrote the screenplay for that work of art
Aldo Fabrizi Ruggero Maccari Mario Amendola
action filter_type
action find
entity The Two Friends
relation screenwriter
type common name
['Italian', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Two_Friends property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55450
P166
Q618779
USER
What was won by Aldo Fabrizi ?
(Q55450,P166,c(Q618779))
action filter_type
action find
entity Q55450
relation P166
type Q618779
['Q55450', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q55450 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Aldo Fabrizi
action filter_type
action find
entity Aldo Fabrizi
relation award received
type award
['Aldo Fabrizi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Aldo_Fabrizi property:award_received ?q . ?q rdf:type ontology:award }
[]
award
Q14539974
SYSTEM
Knight Grand Cross of the Order of Merit of the Italian Republic
Q14539974
(Q55450,P166,c(Q618779))
action filter_type
action find
entity Q55450
relation P166
type Q618779
Italy [ANSWER] was won by Aldo Fabrizi
['Q55450', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q55450 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Knight Grand Cross of the Order of Merit of the Italian Republic
Italy Knight Grand Cross of the Order of Merit of the Italian Republic was won by Aldo Fabrizi
Knight Grand Cross of the Order of Merit of the Italian Republic
action filter_type
action find
entity Aldo Fabrizi
relation award received
type award
['Aldo Fabrizi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Aldo_Fabrizi property:award_received ?q . ?q rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55450
P1412
Q34770
USER
Which language does Aldo Fabrizi speak in ?
(Q55450,P1412,c(Q34770))
action filter_type
action find
entity Q55450
relation P1412
type Q34770
['Q55450', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q55450 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Aldo Fabrizi
action filter_type
action find
entity Aldo Fabrizi
relation languages spoken, written or signed
type language
['Aldo Fabrizi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Aldo_Fabrizi property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q55450,P1412,c(Q34770))
action filter_type
action find
entity Q55450
relation P1412
type Q34770
Aldo Fabrizi speaks [ANSWER]
['Q55450', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q55450 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Italian
Aldo Fabrizi speaks Italian
Italian
action filter_type
action find
entity Aldo Fabrizi
relation languages spoken, written or signed
type language
['Aldo Fabrizi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Aldo_Fabrizi property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55450
P119
Q43229
USER
Which organization is the resting place of Aldo Fabrizi ?
(Q55450,P119,c(Q43229))
action filter_type
action find
entity Q55450
relation P119
type Q43229
['Q55450', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q43229 . resource:Q55450 property:P119 ?p }
Aldo Fabrizi
action filter_type
action find
entity Aldo Fabrizi
relation place of burial
type organization
['Aldo Fabrizi', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:organization . resource:Aldo_Fabrizi property:place_of_burial ?p }
[]
organization
Q27426
SYSTEM
Campo Verano
Q27426
(Q55450,P119,c(Q43229))
action filter_type
action find
entity Q55450
relation P119
type Q43229
[ANSWER] is the resting place of Aldo Fabrizi
['Q55450', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q43229 . resource:Q55450 property:P119 ?p }
Campo Verano
Campo Verano is the resting place of Aldo Fabrizi
Campo Verano
action filter_type
action find
entity Aldo Fabrizi
relation place of burial
type organization
['Aldo Fabrizi', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:organization . resource:Aldo_Fabrizi property:place_of_burial ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55450
P162
Q838948
USER
Which works of art have been produced by that person ?
(c(Q838948),P162,Q27426)
action filter_type
action find_reverse
entity Q55450
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q27426']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P162 resource:Q55450 }
Aldo Fabrizi
action filter_type
action find_reverse
entity Aldo Fabrizi
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Campo Verano']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:producer resource:Aldo_Fabrizi }
[]
work of art
Q3822246 Q3894933 Q3822247
SYSTEM
La famiglia Passaguai, Papà diventa mamma, La Famiglia Passaguai fa fortuna
Q4004188 Q3638352 Q3822246 Q3822247 Q3894933
(c(Q838948),P162,Q27426)
action filter_type
action find_reverse
entity Q55450
relation P162
type Q838948
[ANSWERS] have been produced by that person
[{'concept': 'Q838948'}, 'P162', 'Q27426']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P162 resource:Q55450 }
One of Those Welcome, Reverend! La famiglia Passaguai La Famiglia Passaguai fa fortuna Papà diventa mamma
La famiglia Passaguai, Papà diventa mamma and La Famiglia Passaguai fa fortuna have been produced by that person
La famiglia Passaguai Papà diventa mamma La Famiglia Passaguai fa fortuna
action filter_type
action find_reverse
entity Aldo Fabrizi
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Campo Verano']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:producer resource:Aldo_Fabrizi }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q55450
P161
Q838948
USER
How many works of art do Aldo Fabrizi star in ?
(c(Q838948),P161,Q55450)
action count
action filter_type
action find_reverse
entity Q55450
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q55450']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P161 resource:Q55450 . ?t rdf:type ontology:Q838948 }
Aldo Fabrizi
action count
action filter_type
action find_reverse
entity Aldo Fabrizi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Aldo Fabrizi']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:cast_member resource:Aldo_Fabrizi . ?t rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
63
Q2266283 Q3561653 Q3695044 Q7939569 Q3695052 Q3651324 Q3677303 Q3842327 Q3821250 Q3713689 Q3894933 Q3613359 Q5060167 Q3283409 Q3742607 Q4003928 Q17509044 Q3020368 Q3870637 Q3307840 Q3910835 Q3791213 Q3791214 Q3992639 Q2790720 Q3441169 Q3959980 Q3126871 Q3874820 Q937303 Q3790733 Q2257063 Q991511 Q721146 Q5451182 Q3858642 Q2753566 Q3660629 Q2636079 Q3791210 Q3791104 Q3996012 Q2250429 Q3677504 Q3791166 Q3822246 Q1141065 Q3638352 Q3654646 Q3801204 Q7797843 Q3822247 Q3819762 Q3221967 Q17313421 Q1058517 Q3223684 Q7882064 Q3415903 Q4004077 Q16975105 Q4004188 Q4000900
(c(Q838948),P161,Q55450)
action count
action filter_type
action find_reverse
entity Q55450
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q55450']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P161 resource:Q55450 . ?t rdf:type ontology:Q838948 }
The Angel Wore Red To Live in Peace Cose da pazzi Voice of Silence Gang War Cameriera bella presenza offresi... Five Paupers in an Automobile Made in Italy La Tosca Donatella Papà diventa mamma Altri tempi Cento anni d'amore Toto vs the Four Ferdinando I, re di Napoli Un militare e mezzo Before the Postman Of Life and Love Christmas at Camp 119 Allow Me Prepotenti più di prima The Four Musketeers I 4 tassisti Tombolo, paradiso nero Paris Is Always Paris Rome-Paris-Rome Siamo tutti inquilini They Stole a Tram Nerone The Wonders of Aladdin The Two Friends Cops and Robbers We All Loved Each Other So Much Rome, Open City Fiorenzo, il terzo uomo Professor, My son Guardia Carousel of Variety The Flowers of St. Francis I 4 monaci I pappagalli Totò, Fabrizi e i giovani d'oggi I Tartassati The Za-Bum Circus I prepotenti La famiglia Passaguai Prima comunione Welcome, Reverend! The Peddler and the Lady Io piaccio Three Steps North La Famiglia Passaguai fa fortuna The Last Wagon Flesh Will Surrender I pinguini ci guardano A Dog's Life Il giorno più corto Un po' di cielo Immigrants Un sorriso, uno schiaffo, un bacio in bocca Anthony of Padua One of Those Tutto il mondo ride
63
action count
action filter_type
action find_reverse
entity Aldo Fabrizi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Aldo Fabrizi']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:cast_member resource:Aldo_Fabrizi . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3622672
P161
Q838948
USER
And also tell me about Aristide Garbini?
(c(Q838948),P161,Q3622672)
action count
action filter_type
action find_reverse
entity Q3622672
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3622672']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q838948 . ?w property:P161 resource:Q3622672 }
Aristide Garbini
action count
action filter_type
action find_reverse
entity Aristide Garbini
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Aristide Garbini']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:work_of_art . ?w property:cast_member resource:Aristide_Garbini }
[]
work of art
SYSTEM
29
Q3823510 Q3754344 Q2370024 Q18208936 Q738618 Q3677286 Q3821793 Q4023319 Q1118851 Q3699445 Q3220913 Q3820101 Q2526645 Q305839 Q3981590 Q1634966 Q261951 Q3619892 Q21646034 Q3793861 Q3795452 Q3819762 Q3609068 Q211341 Q4010856 Q112477 Q4016036 Q3878174 Q3835835
(c(Q838948),P161,Q3622672)
action count
action filter_type
action find_reverse
entity Q3622672
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3622672']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q838948 . ?w property:P161 resource:Q3622672 }
The Sinner The Opium Den Gerusalemme liberata Hurricane in the Tropics Rose scarlatte Five to Nil La città dolente Yvonne of the Night The Old Guard Heart Il cavaliere misterioso Man of the Sea The Children Are Watching Us Abbandono Red Tavern Four Steps in the Clouds Fiamme sul mare Antonio Meucci After Casanova's Fashion Doctor Antonio Romulus and the Sabines The Last Wagon Aldebaran Il birichino di papà Via delle Cinque Lune Giorno di nozze I Live as I Please Non ti pago! Unknown Men of San Marino
29
action count
action filter_type
action find_reverse
entity Aristide Garbini
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Aristide Garbini']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:work_of_art . ?w property:cast_member resource:Aristide_Garbini }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3622672
P161
Q201658 Q838948
USER
How many film genres and works of art have Aristide Garbini as actor ?
(c(Q201658),P161,Q3622672) (c(Q838948),P161,Q3622672)
action count
action union
action filter_type
action find_reverse
entity Q3622672
relation P161
type Q201658
action filter_type
action find_reverse
entity Q3622672
relation P161
type Q838948
[{'concept': 'Q201658'}, 'P161', 'Q3622672'] [{'concept': 'Q838948'}, 'P161', 'Q3622672']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P161 resource:Q3622672 . ?g rdf:type ontology:Q201658 } UNION { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q3622672 } }
Aristide Garbini
action count
action union
action filter_type
action find_reverse
entity Aristide Garbini
relation cast member
type film genre
action filter_type
action find_reverse
entity Aristide Garbini
relation cast member
type work of art
[{'concept': 'film genre'}, 'cast member', 'Aristide Garbini'] [{'concept': 'work of art'}, 'cast member', 'Aristide Garbini']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:cast_member resource:Aristide_Garbini . ?g rdf:type ontology:film_genre } UNION { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Aristide_Garbini } }
[]
film genre work of art
SYSTEM
2 film genres and 29 works of art
Q211341 Q3619892 Q1634966 Q3981590 Q3821793 Q3835835 Q2370024 Q3855334 Q305839 Q3795452 Q3677286 Q3820875 Q738618 Q4023319 Q3878174 Q3793861 Q1118851 Q3819762 Q3820101 Q4010856 Q3699445 Q3609068 Q21646034 Q3220913 Q112477 Q3823510 Q3754344 Q261951 Q4016036 Q2526645 Q18208936
(c(Q201658),P161,Q3622672) (c(Q838948),P161,Q3622672)
action count
action union
action filter_type
action find_reverse
entity Q3622672
relation P161
type Q201658
action filter_type
action find_reverse
entity Q3622672
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P161', 'Q3622672'] [{'concept': 'Q838948'}, 'P161', 'Q3622672']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P161 resource:Q3622672 . ?g rdf:type ontology:Q201658 } UNION { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q3622672 } }
Il birichino di papà Antonio Meucci Four Steps in the Clouds Red Tavern La città dolente Unknown Men of San Marino Gerusalemme liberata Messalina Abbandono Romulus and the Sabines Five to Nil The Crusaders Rose scarlatte Yvonne of the Night Non ti pago! Doctor Antonio The Old Guard The Last Wagon Man of the Sea Via delle Cinque Lune Heart Aldebaran After Casanova's Fashion Il cavaliere misterioso Giorno di nozze The Sinner The Opium Den Fiamme sul mare I Live as I Please The Children Are Watching Us Hurricane in the Tropics
2 film genres and 29 works of art
action count
action union
action filter_type
action find_reverse
entity Aristide Garbini
relation cast member
type film genre
action filter_type
action find_reverse
entity Aristide Garbini
relation cast member
type work of art
[{'concept': 'film genre'}, 'cast member', 'Aristide Garbini'] [{'concept': 'work of art'}, 'cast member', 'Aristide Garbini']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:cast_member resource:Aristide_Garbini . ?g rdf:type ontology:film_genre } UNION { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Aristide_Garbini } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55450
P57
Q838948
USER
Which works of art are Aldo Fabrizi a director of ?
(c(Q838948),P57,Q55450)
action filter_type
action find_reverse
entity Q55450
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q55450']
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q55450 . ?k rdf:type ontology:Q838948 }
Aldo Fabrizi
action filter_type
action find_reverse
entity Aldo Fabrizi
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Aldo Fabrizi']
SELECT DISTINCT ?k WHERE { ?k property:director resource:Aldo_Fabrizi . ?k rdf:type ontology:work_of_art }
[]
work of art
Q3020368 Q3822246 Q3894933
SYSTEM
Of Life and Love, La famiglia Passaguai, Papà diventa mamma
Q4004188 Q3415903 Q3822246 Q3822247 Q3638352 Q3020368 Q3894933 Q3126871
(c(Q838948),P57,Q55450)
action filter_type
action find_reverse
entity Q55450
relation P57
type Q838948
[ANSWERS] are Aldo Fabrizi a director of
[{'concept': 'Q838948'}, 'P57', 'Q55450']
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q55450 . ?k rdf:type ontology:Q838948 }
One of Those Immigrants La famiglia Passaguai La Famiglia Passaguai fa fortuna Welcome, Reverend! Of Life and Love Papà diventa mamma They Stole a Tram
Of Life and Love, La famiglia Passaguai and Papà diventa mamma are Aldo Fabrizi a director of
Of Life and Love La famiglia Passaguai Papà diventa mamma
action filter_type
action find_reverse
entity Aldo Fabrizi
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Aldo Fabrizi']
SELECT DISTINCT ?k WHERE { ?k property:director resource:Aldo_Fabrizi . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55450
P20
Q56061
USER
Where did that person die ?
(Q3020368,P20,c(Q56061)) (Q3822246,P20,c(Q56061)) (Q3894933,P20,c(Q56061))
action filter_type
action find
entity Q55450
relation P20
type Q56061
['Q3020368', 'P20', {'concept': 'Q56061'}] ['Q3822246', 'P20', {'concept': 'Q56061'}] ['Q3894933', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q55450 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Aldo Fabrizi
action filter_type
action find
entity Aldo Fabrizi
relation place of death
type administrative territorial entity
['Of Life and Love', 'place of death', {'concept': 'administrative territorial entity'}] ['La famiglia Passaguai', 'place of death', {'concept': 'administrative territorial entity'}] ['Papà diventa mamma', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Aldo_Fabrizi property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3020368,P20,c(Q56061)) (Q3822246,P20,c(Q56061)) (Q3894933,P20,c(Q56061))
action filter_type
action find
entity Q55450
relation P20
type Q56061
That person died in [ANSWER]
['Q3020368', 'P20', {'concept': 'Q56061'}] ['Q3822246', 'P20', {'concept': 'Q56061'}] ['Q3894933', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q55450 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Rome
That person died in Rome
Rome
action filter_type
action find
entity Aldo Fabrizi
relation place of death
type administrative territorial entity
['Of Life and Love', 'place of death', {'concept': 'administrative territorial entity'}] ['La famiglia Passaguai', 'place of death', {'concept': 'administrative territorial entity'}] ['Papà diventa mamma', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Aldo_Fabrizi property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q3024240 Q451967
USER
How many former countries and human actions have that administrative territory as their county seat ?
(Q220,P1376,c(Q3024240)) (Q220,P1376,c(Q451967)) (Q220,P1376,c(Q3024240)) (Q220,P1376,c(Q451967))
action count
action union
action filter_type
action find
entity Q220
relation P1376
type Q3024240
action filter_type
action find
entity Q220
relation P1376
type Q451967
['Q220', 'P1376', {'concept': 'Q3024240'}] ['Q220', 'P1376', {'concept': 'Q451967'}] ['Q220', 'P1376', {'concept': 'Q3024240'}] ['Q220', 'P1376', {'concept': 'Q451967'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { resource:Q220 property:P1376 ?v . ?v rdf:type ontology:Q3024240 } UNION { resource:Q220 property:P1376 ?v . ?v rdf:type ontology:Q451967 } }
action count
action union
action filter_type
action find
entity Rome
relation capital of
type former country
action filter_type
action find
entity Rome
relation capital of
type human action
['Rome', 'capital of', {'concept': 'former country'}] ['Rome', 'capital of', {'concept': 'human action'}] ['Rome', 'capital of', {'concept': 'former country'}] ['Rome', 'capital of', {'concept': 'human action'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { resource:Rome property:capital_of ?v . ?v rdf:type ontology:former_country } UNION { resource:Rome property:capital_of ?v . ?v rdf:type ontology:human_action } }
[]
former country human action
SYSTEM
1 former countries and 1 human actions
Q17167 Q2277
(Q220,P1376,c(Q3024240)) (Q220,P1376,c(Q451967)) (Q220,P1376,c(Q3024240)) (Q220,P1376,c(Q451967))
action count
action union
action filter_type
action find
entity Q220
relation P1376
type Q3024240
action filter_type
action find
entity Q220
relation P1376
type Q451967
[ANSWER]
['Q220', 'P1376', {'concept': 'Q3024240'}] ['Q220', 'P1376', {'concept': 'Q451967'}] ['Q220', 'P1376', {'concept': 'Q3024240'}] ['Q220', 'P1376', {'concept': 'Q451967'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { resource:Q220 property:P1376 ?v . ?v rdf:type ontology:Q3024240 } UNION { resource:Q220 property:P1376 ?v . ?v rdf:type ontology:Q451967 } }
Roman Republic Roman Empire
1 former countries and 1 human actions
action count
action union
action filter_type
action find
entity Rome
relation capital of
type former country
action filter_type
action find
entity Rome
relation capital of
type human action
['Rome', 'capital of', {'concept': 'former country'}] ['Rome', 'capital of', {'concept': 'human action'}] ['Rome', 'capital of', {'concept': 'former country'}] ['Rome', 'capital of', {'concept': 'human action'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { resource:Rome property:capital_of ?v . ?v rdf:type ontology:former_country } UNION { resource:Rome property:capital_of ?v . ?v rdf:type ontology:human_action } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q838948 Q3305213
USER
Which works of art are expressed in approximately 4 works of art or paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
value 4
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P180 ?j . ?j rdf:type ontology:Q838948 . ?t rdf:type ontology:Q838948 } UNION { ?t property:P180 ?j . ?j rdf:type ontology:Q838948 . ?t rdf:type ontology:Q3305213 } } GROUP BY ?j } . FILTER ( ?x = 4 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
value 4
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:depicts ?j . ?j rdf:type ontology:work_of_art . ?t rdf:type ontology:work_of_art } UNION { ?t property:depicts ?j . ?j rdf:type ontology:work_of_art . ?t rdf:type ontology:painting } } GROUP BY ?j } . FILTER ( ?x = 4 ) }
[]
work of art work of art painting
Q17305020 Q734834 Q465762
SYSTEM
Tanagra, Ghent Altarpiece, Laocoön and His Sons
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q143912 Q846870 Q178401 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q267971 Q831869 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q17305006 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q1779386 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q215911 Q476968 Q1350279 Q17305020 Q280336 Q652011 Q3575260 Q16332506 Q2963060 Q907387 Q18177089 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q183272 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q838948)|c(Q3305213),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
value 4
[ANSWERS] are expressed in approximately 4 works of art or paintings
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P180 ?j . ?j rdf:type ontology:Q838948 . ?t rdf:type ontology:Q838948 } UNION { ?t property:P180 ?j . ?j rdf:type ontology:Q838948 . ?t rdf:type ontology:Q3305213 } } GROUP BY ?j } . FILTER ( ?x = 4 ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme triumphal arch Prometheus Bound amphora Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Triton Fountain oenochoe Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Galatea Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback Menat flamenco One True Thing David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater pyxis Tanagra partner dance Richard III bijou Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc frieze Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
Tanagra, Ghent Altarpiece and Laocoön and His Sons are expressed in approximately 4 works of art or paintings
Tanagra Ghent Altarpiece Laocoön and His Sons
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
value 4
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:depicts ?j . ?j rdf:type ontology:work_of_art . ?t rdf:type ontology:work_of_art } UNION { ?t property:depicts ?j . ?j rdf:type ontology:work_of_art . ?t rdf:type ontology:painting } } GROUP BY ?j } . FILTER ( ?x = 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5423775 Q220
P47 P27
Q15617994
USER
Which administrative territories have a shared border with Rome or are F.Rahardi a civilian of ?
OR((Q220,P47,c(Q15617994)), (Q5423775,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q220
relation P47
action find
entity Q5423775
relation P27
type Q15617994
{'OR': [['Q220', 'P47', {'concept': 'Q15617994'}], ['Q5423775', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q5423775 property:P27 ?s } UNION { resource:Q220 property:P47 ?s } } . ?s rdf:type ontology:Q15617994 }
F.Rahardi Rome
action filter_type
action union
action find
entity Rome
relation shares border with
action find
entity F.Rahardi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['F.Rahardi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:F.Rahardi property:country_of_citizenship ?s } UNION { resource:Rome property:shares_border_with ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q242965 Q243172 Q191115 Q242558 Q242998 Q19326 Q243311 Q241693 Q190963 Q159605
SYSTEM
Some of them are Monte Porzio Catone, Pomezia, Albano Laziale, Colonna, Lazio, Monterotondo, Fiumicino, Sacrofano, Anguillara Sabazia, Frascati, Tivoli
Q241693 Q242710 Q242637 Q242558 Q242513 Q191115 Q243364 Q242926 Q243188 Q140255 Q242965 Q242645 Q242105 Q19326 Q242661 Q242120 Q242942 Q241733 Q242703 Q243133 Q241911 Q243311 Q252 Q242998 Q243497 Q159605 Q190963 Q243168 Q243172
OR((Q220,P47,c(Q15617994)), (Q5423775,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q220
relation P47
action find
entity Q5423775
relation P27
type Q15617994
[ANSWERS] have a shared border with Rome or are F.Rahardi a civilian of
{'OR': [['Q220', 'P47', {'concept': 'Q15617994'}], ['Q5423775', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q5423775 property:P27 ?s } UNION { resource:Q220 property:P47 ?s } } . ?s rdf:type ontology:Q15617994 }
Anguillara Sabazia Guidonia Montecelio Fonte Nuova Colonna, Lazio Ciampino Albano Laziale San Gregorio da Sassola Marino, Lazio Riano, Lazio Zagarolo Monte Porzio Catone Formello Castel Gandolfo Fiumicino Gallicano nel Lazio Castel San Pietro Romano Mentana Ardea Grottaferrata Palestrina Campagnano di Roma Sacrofano Indonesia Monterotondo Trevignano Romano Tivoli Frascati Poli, Lazio Pomezia
Monte Porzio Catone, Pomezia, Albano Laziale, Colonna, Lazio, Monterotondo, Fiumicino, Sacrofano, Anguillara Sabazia, Frascati and Tivoli have a shared border with Rome or are F.Rahardi a civilian of
Monte Porzio Catone Pomezia Albano Laziale Colonna, Lazio Monterotondo Fiumicino Sacrofano Anguillara Sabazia Frascati Tivoli
action filter_type
action union
action find
entity Rome
relation shares border with
action find
entity F.Rahardi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['F.Rahardi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:F.Rahardi property:country_of_citizenship ?s } UNION { resource:Rome property:shares_border_with ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]