Simple Question (Direct)
Simple Question
Q3283914
P86
Q502895
USER
Who was Totò Tarzan composed by ?
(Q3283914,P86,c(Q502895))
action filter_type
action find
entity Q3283914
relation P86
type Q502895
['Q3283914', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3283914 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Totò Tarzan
action filter_type
action find
entity Totò Tarzan
relation composer
type common name
['Totò Tarzan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Totò_Tarzan property:composer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3622929
SYSTEM
Armando Fragna
Q3622929
(Q3283914,P86,c(Q502895))
action filter_type
action find
entity Q3283914
relation P86
type Q502895
Totò Tarzan was composed by [ANSWER]
['Q3283914', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3283914 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Armando Fragna
Totò Tarzan was composed by Armando Fragna
Armando Fragna
action filter_type
action find
entity Totò Tarzan
relation composer
type common name
['Totò Tarzan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Totò_Tarzan property:composer ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3622929 Q12659657 Q11735348
P20
Q56061
USER
Does Armando Fragna have Kareivos and Kapra, Estonia as place of death ?
(Q3622929,P20,Q12659657) (Q3622929,P20,Q11735348)
action is_in
entity Q3622929
action intersection
action find_reverse
entity Q12659657
relation P20
action find_reverse
entity Q11735348
relation P20
['Q3622929', 'P20', 'Q12659657'] ['Q3622929', 'P20', 'Q11735348']
ASK WHERE { resource:Q3622929 property:P20 resource:Q12659657 . resource:Q3622929 property:P20 resource:Q11735348 }
Armando Fragna Kareivos Kapra, Estonia
action is_in
entity Armando Fragna
action intersection
action find_reverse
entity Kareivos
relation place of death
action find_reverse
entity Kapra, Estonia
relation place of death
['Armando Fragna', 'place of death', 'Kareivos'] ['Armando Fragna', 'place of death', 'Kapra, Estonia']
ASK WHERE { resource:Armando_Fragna property:place_of_death resource:Kareivos . resource:Armando_Fragna property:place_of_death resource:Kapra,_Estonia }
[]
administrative territorial entity
SYSTEM
NO
(Q3622929,P20,Q12659657) (Q3622929,P20,Q11735348)
action is_in
entity Q3622929
action intersection
action find_reverse
entity Q12659657
relation P20
action find_reverse
entity Q11735348
relation P20
[ANSWER]
['Q3622929', 'P20', 'Q12659657'] ['Q3622929', 'P20', 'Q11735348']
ASK WHERE { resource:Q3622929 property:P20 resource:Q12659657 . resource:Q3622929 property:P20 resource:Q11735348 }
No
action is_in
entity Armando Fragna
action intersection
action find_reverse
entity Kareivos
relation place of death
action find_reverse
entity Kapra, Estonia
relation place of death
['Armando Fragna', 'place of death', 'Kareivos'] ['Armando Fragna', 'place of death', 'Kapra, Estonia']
ASK WHERE { resource:Armando_Fragna property:place_of_death resource:Kareivos . resource:Armando_Fragna property:place_of_death resource:Kapra,_Estonia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3283914 Q912206
P58
Q502895
USER
Did Marcello Marchesi write the script for Totò Tarzan ?
(Q3283914,P58,Q912206)
action is_in
entity Q912206
action find
entity Q3283914
relation P58
['Q3283914', 'P58', 'Q912206']
ASK WHERE { resource:Q3283914 property:P58 resource:Q912206 }
Totò Tarzan Marcello Marchesi
action is_in
entity Marcello Marchesi
action find
entity Totò Tarzan
relation screenwriter
['Totò Tarzan', 'screenwriter', 'Marcello Marchesi']
ASK WHERE { resource:Totò_Tarzan property:screenwriter resource:Marcello_Marchesi }
[]
common name
SYSTEM
YES
(Q3283914,P58,Q912206)
action is_in
entity Q912206
action find
entity Q3283914
relation P58
[ANSWER]
['Q3283914', 'P58', 'Q912206']
ASK WHERE { resource:Q3283914 property:P58 resource:Q912206 }
Yes
action is_in
entity Marcello Marchesi
action find
entity Totò Tarzan
relation screenwriter
['Totò Tarzan', 'screenwriter', 'Marcello Marchesi']
ASK WHERE { resource:Totò_Tarzan property:screenwriter resource:Marcello_Marchesi }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3283914
P57
Q502895
USER
Who was that work of art directed by ?
action filter_type
action find
entity Q3283914
relation P57
type Q502895
SELECT DISTINCT ?x WHERE { resource:Q3283914 property:P57 ?x . ?x rdf:type ontology:Q502895 }
Totò Tarzan
action filter_type
action find
entity Totò Tarzan
relation director
type common name
SELECT DISTINCT ?x WHERE { resource:Totò_Tarzan property:director ?x . ?x rdf:type ontology:common_name }
[]
common name
Q55458
SYSTEM
Mario Mattoli
Q55458
action filter_type
action find
entity Q3283914
relation P57
type Q502895
By that work of art directed was by [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q3283914 property:P57 ?x . ?x rdf:type ontology:Q502895 }
Mario Mattoli
By that work of art directed was by Mario Mattoli
Mario Mattoli
action filter_type
action find
entity Totò Tarzan
relation director
type common name
SELECT DISTINCT ?x WHERE { resource:Totò_Tarzan property:director ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q838948 Q3305213
USER
How many works of art are expressed in around 3 works of art or paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q838948))
action count
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 3
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?f WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?f } . FILTER ( ?i = 3 ) }
action count
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 3
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?f WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?f } . FILTER ( ?i = 3 ) }
[]
work of art work of art painting
SYSTEM
100
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 count
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 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?f WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?f } . FILTER ( ?i = 3 ) }
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
100
action count
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 3
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?f WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?f } . FILTER ( ?i = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 2614 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2614
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2614 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?x } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2614
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2614 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?x } }
[]
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 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2614
[ANSWERS] are played by atmost 2614 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2614 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?x } }
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 organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit 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 are played by atmost 2614 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2614
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2614 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4640415 Q12659657
P17
Q15617994
USER
Which administrative territories are Kareivos or 53rd United States Congress situated in ?
OR((Q12659657,P17,c(Q15617994)), (Q4640415,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12659657
relation P17
action find
entity Q4640415
relation P17
type Q15617994
{'OR': [['Q12659657', 'P17', {'concept': 'Q15617994'}], ['Q4640415', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q12659657 property:P17 ?z } UNION { resource:Q4640415 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
53rd United States Congress Kareivos
action filter_type
action union
action find
entity Kareivos
relation country
action find
entity 53rd United States Congress
relation country
type designation for an administrative territorial entity
{'OR': [['Kareivos', 'country', {'concept': 'designation for an administrative territorial entity'}], ['53rd United States Congress', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kareivos property:country ?z } UNION { resource:53rd_United_States_Congress property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q12659657,P17,c(Q15617994)), (Q4640415,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12659657
relation P17
action find
entity Q4640415
relation P17
type Q15617994
Kareivos or 53rd United States Congress are situated between [ANSWERS]
{'OR': [['Q12659657', 'P17', {'concept': 'Q15617994'}], ['Q4640415', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q12659657 property:P17 ?z } UNION { resource:Q4640415 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
United States of America Lithuania
Kareivos or 53rd United States Congress are situated between United States of America and Lithuania
United States of America Lithuania
action filter_type
action union
action find
entity Kareivos
relation country
action find
entity 53rd United States Congress
relation country
type designation for an administrative territorial entity
{'OR': [['Kareivos', 'country', {'concept': 'designation for an administrative territorial entity'}], ['53rd United States Congress', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kareivos property:country ?z } UNION { resource:53rd_United_States_Congress property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q62044
P47
Q15617994
USER
Are Öhningen next to the border of those ones ?
(Q62044,P47,Q30) (Q62044,P47,Q37)
action is_in
entity prev_answer
action find
entity Q62044
relation P47
['Q62044', 'P47', 'Q30'] ['Q62044', 'P47', 'Q37']
ASK WHERE { resource:Q62044 property:P47 ?g . VALUES ( ?g ) { ( resource:Q30 ) ( resource:Q37 ) } }
Öhningen
action is_in
entity prev_answer
action find
entity Öhningen
relation shares border with
['Öhningen', 'shares border with', 'United States of America'] ['Öhningen', 'shares border with', 'Lithuania']
ASK WHERE { resource:Öhningen property:shares_border_with ?g . VALUES ( ?g ) { ( resource:United_States_of_America ) ( resource:Lithuania ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q62044,P47,Q30) (Q62044,P47,Q37)
action is_in
entity prev_answer
action find
entity Q62044
relation P47
[ANSWER]
['Q62044', 'P47', 'Q30'] ['Q62044', 'P47', 'Q37']
ASK WHERE { resource:Q62044 property:P47 ?g . VALUES ( ?g ) { ( resource:Q30 ) ( resource:Q37 ) } }
No
action is_in
entity prev_answer
action find
entity Öhningen
relation shares border with
['Öhningen', 'shares border with', 'United States of America'] ['Öhningen', 'shares border with', 'Lithuania']
ASK WHERE { resource:Öhningen property:shares_border_with ?g . VALUES ( ?g ) { ( resource:United_States_of_America ) ( resource:Lithuania ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q166142
USER
How many administrative territories are the narrative locations of atmost 52 works of art and applications ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 52
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?v WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } GROUP BY ?v } . FILTER ( ?h <= 52 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 52
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?v WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:application ) } } GROUP BY ?v } . FILTER ( ?h <= 52 ) }
[]
designation for an administrative territorial entity work of art application
SYSTEM
139
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 52
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?v WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } GROUP BY ?v } . FILTER ( ?h <= 52 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
139
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 52
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?v WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:application ) } } GROUP BY ?v } . FILTER ( ?h <= 52 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14637549 Q912206
P58
Q838948
USER
Which works of art are Marcello Marchesi or Chad and Carey Hayes a screwriter of ?
OR((c(Q838948),P58,Q912206), (c(Q838948),P58,Q14637549))
action filter_type
action union
action find_reverse
entity Q912206
relation P58
action find_reverse
entity Q14637549
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q912206'], [{'concept': 'Q838948'}, 'P58', 'Q14637549']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P58 resource:Q912206 } UNION { ?i property:P58 resource:Q14637549 } } . ?i rdf:type ontology:Q838948 }
Chad and Carey Hayes Marcello Marchesi
action filter_type
action union
action find_reverse
entity Marcello Marchesi
relation screenwriter
action find_reverse
entity Chad and Carey Hayes
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Marcello Marchesi'], [{'concept': 'work of art'}, 'screenwriter', 'Chad and Carey Hayes']]}
SELECT DISTINCT ?i WHERE { { { ?i property:screenwriter resource:Marcello_Marchesi } UNION { ?i property:screenwriter resource:Chad_and_Carey_Hayes } } . ?i rdf:type ontology:work_of_art }
[]
work of art
Q4000760 Q972252 Q1428462 Q3284276 Q3801242 Q3822182 Q3637781 Q679679 Q3283653 Q3878071
SYSTEM
Some of them are Tutta la città canta, Sette ore di guai, The Dark Side of the Moon, Totò sceicco, Io sono il capataz, The Lady Is Fickle, Bellezze in bicicletta, House of Wax, The Emperor of Capri, Non me lo dire!
Q3793628 Q3639413 Q367980 Q1097615 Q3842122 Q3877781 Q3281762 Q26720479 Q3794534 Q3881208 Q3283653 Q3790582 Q3825142 Q1322981 Q3283914 Q226810 Q3284414 Q3791157 Q3822182 Q3823503 Q3623837 Q3794881 Q3877772 Q3838055 Q3978275 Q3237468 Q3801242 Q4000760 Q3647158 Q3663472 Q3801204 Q3857811 Q679679 Q3992015 Q3677504 Q3878071 Q3744655 Q3996015 Q972252 Q3730996 Q3605058 Q373806 Q3794993 Q1428462 Q3284276 Q3996014 Q3960431 Q3795158 Q3283795 Q3637781
OR((c(Q838948),P58,Q912206), (c(Q838948),P58,Q14637549))
action filter_type
action union
action find_reverse
entity Q912206
relation P58
action find_reverse
entity Q14637549
relation P58
type Q838948
Tutta la città canta, Sette ore di guai, The Dark Side of the Moon, Totò sceicco, Io sono il capataz, The Lady Is Fickle, Bellezze in bicicletta, House of Wax, The Emperor of Capri and non me lo dire! are Marcello Marchesi or Chad and Carey Hayes a screwriter of
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q912206'], [{'concept': 'Q838948'}, 'P58', 'Q14637549']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P58 resource:Q912206 } UNION { ?i property:P58 resource:Q14637549 } } . ?i rdf:type ontology:Q838948 }
Il coraggio Snow White and the Seven Thieves 47 morto che parla Figaro qua, Figaro là Hercules in the Valley of Woe Noi siamo le colonne Era lui... sì! sì! Free Escape Il Mago per forza Oggi sposi The Emperor of Capri I cadetti di Guascogna Labbra serrate The Reaping Totò Tarzan Il sogno di Zorro Toto the Third Man The Firemen of Viggiù The Lady Is Fickle La Paura fa 90 Arrivano i nostri Il Monello della strada Noi due soli È arrivato il cavaliere! Susanna Whipped Cream Schoolgirl Diary Io sono il capataz Tutta la città canta Good morning first love! Catene invisibili Io piaccio Milano miliardaria House of Wax Tizio, Caio, Sempronio The Za-Bum Circus Non me lo dire! Fifa e arena Totò lascia o raddoppia? Sette ore di guai Era lei che lo voleva Adam and Eve Una Bruna indiavolata Il padrone del vapore The Dark Side of the Moon Totò sceicco The Lady Doctor Signorinella The Pirate's Dream Totò al giro d'Italia Bellezze in bicicletta
Tutta la città canta, Sette ore di guai, The Dark Side of the Moon, Totò sceicco, Io sono il capataz, The Lady Is Fickle, Bellezze in bicicletta, House of Wax, The Emperor of Capri and non me lo dire! are Marcello Marchesi or Chad and Carey Hayes a screwriter of
Tutta la città canta Sette ore di guai The Dark Side of the Moon Totò sceicco Io sono il capataz The Lady Is Fickle Bellezze in bicicletta House of Wax The Emperor of Capri Non me lo dire!
action filter_type
action union
action find_reverse
entity Marcello Marchesi
relation screenwriter
action find_reverse
entity Chad and Carey Hayes
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Marcello Marchesi'], [{'concept': 'work of art'}, 'screenwriter', 'Chad and Carey Hayes']]}
SELECT DISTINCT ?i WHERE { { { ?i property:screenwriter resource:Marcello_Marchesi } UNION { ?i property:screenwriter resource:Chad_and_Carey_Hayes } } . ?i rdf:type ontology:work_of_art }
[]