Simple Question (Direct)
Simple Question
Q3395425
P86
Q502895
USER
Which person composed Kuduz ?
(Q3395425,P86,c(Q502895))
action filter_type
action find
entity Q3395425
relation P86
type Q502895
['Q3395425', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3395425 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Kuduz
action filter_type
action find
entity Kuduz
relation composer
type common name
['Kuduz', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Kuduz property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q193273
SYSTEM
Goran Bregović
Q193273
(Q3395425,P86,c(Q502895))
action filter_type
action find
entity Q3395425
relation P86
type Q502895
[ANSWER] composed Kuduz
['Q3395425', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3395425 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Goran Bregović
Goran Bregović composed Kuduz
Goran Bregović
action filter_type
action find
entity Kuduz
relation composer
type common name
['Kuduz', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Kuduz property:composer ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3395425
P57
Q502895
USER
Who was the director of Kuduz ?
(Q3395425,P57,c(Q502895))
action filter_type
action find
entity Q3395425
relation P57
type Q502895
['Q3395425', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3395425 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Kuduz
action filter_type
action find
entity Kuduz
relation director
type common name
['Kuduz', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kuduz property:director ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3437212
SYSTEM
Ademir Kenović
Q3437212
(Q3395425,P57,c(Q502895))
action filter_type
action find
entity Q3395425
relation P57
type Q502895
The director of Kuduz was Sultan [ANSWER]
['Q3395425', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3395425 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Ademir Kenović
The director of Kuduz was Sultan Ademir Kenović
Ademir Kenović
action filter_type
action find
entity Kuduz
relation director
type common name
['Kuduz', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kuduz property:director ?e . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11404
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as drum ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q11404
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?i rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q11404 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?d = ?w ) }
drum
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?i rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:drum property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?d = ?w ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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
action count
action filter_type
action find
entity Q11404
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as drum
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?i rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q11404 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?d = ?w ) }
viola 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 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 are played by approximately the same number of people as drum
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?i rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:drum property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?d = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q340169
USER
Which medias depict around 1 musical instrument ?
(c(Q340169),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?i ) WHERE { ?r property:P180 ?b . ?r rdf:type ontology:Q340169 . ?b rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?i = 1 ) }
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?i ) WHERE { ?r property:depicts ?b . ?r rdf:type ontology:media . ?b rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?i = 1 ) }
[]
musical instrument media
Q19868516 Q17519439
SYSTEM
Violin Hanging on a Wall, Achille Henri Victor Gouffé
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
Violin hanging on a Wall and Achille Henri Victor Gouffé depict around 1 musical instrument
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?i ) WHERE { ?r property:P180 ?b . ?r rdf:type ontology:Q340169 . ?b rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?i = 1 ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
Violin hanging on a Wall and Achille Henri Victor Gouffé depict around 1 musical instrument
Violin Hanging on a Wall Achille Henri Victor Gouffé
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?i ) WHERE { ?r property:depicts ?b . ?r rdf:type ontology:media . ?b rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?i = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q81982
P870
Q862597 Q188451
USER
How many musical forms and music genres employs harpsichord as a musical instrument ?
(c(Q862597),P870,Q81982) (c(Q188451),P870,Q81982)
action count
action union
action filter_type
action find_reverse
entity Q81982
relation P870
type Q862597
action filter_type
action find_reverse
entity Q81982
relation P870
type Q188451
[{'concept': 'Q862597'}, 'P870', 'Q81982'] [{'concept': 'Q188451'}, 'P870', 'Q81982']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:Q862597 ) ( ontology:Q188451 ) } . ?f rdf:type ?s }
harpsichord
action count
action union
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type musical form
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type music genre
[{'concept': 'musical form'}, 'instrumentation', 'harpsichord'] [{'concept': 'music genre'}, 'instrumentation', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:musical_form ) ( ontology:music_genre ) } . ?f rdf:type ?s }
[]
musical form music genre
SYSTEM
5 musical forms and 1 music genres
Q3503326 Q213728 Q2759224 Q1087598 Q17015133 Q1034933
(c(Q862597),P870,Q81982) (c(Q188451),P870,Q81982)
action count
action union
action filter_type
action find_reverse
entity Q81982
relation P870
type Q862597
action filter_type
action find_reverse
entity Q81982
relation P870
type Q188451
[ANSWER]
[{'concept': 'Q862597'}, 'P870', 'Q81982'] [{'concept': 'Q188451'}, 'P870', 'Q81982']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:Q862597 ) ( ontology:Q188451 ) } . ?f rdf:type ?s }
Keyboard suite in D minor Goldberg Variations Unmeasured prelude Chromatic Fantasia and Fugue Recorder sonata in A minor Capriccio sopra la lontananza del suo fratello dilettissimo
5 musical forms and 1 music genres
action count
action union
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type musical form
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type music genre
[{'concept': 'musical form'}, 'instrumentation', 'harpsichord'] [{'concept': 'music genre'}, 'instrumentation', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:musical_form ) ( ontology:music_genre ) } . ?f rdf:type ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19429673 Q1759986
P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano or Prikkedaem a part of ?
OR((Q1759986,P17,c(Q15617994)), (Q19429673,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q19429673
relation P17
type Q15617994
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q19429673', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { VALUES ( ?f ) { ( resource:Q1759986 ) ( resource:Q19429673 ) } . ?f property:P17 ?x } }
Prikkedaem Wurlitzer electric piano
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Prikkedaem
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Prikkedaem', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?f ) { ( resource:Wurlitzer_electric_piano ) ( resource:Prikkedaem ) } . ?f property:country ?x } }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q1759986,P17,c(Q15617994)), (Q19429673,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q19429673
relation P17
type Q15617994
[ANSWERS] are Wurlitzer electric piano or Prikkedaem a part of
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q19429673', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { VALUES ( ?f ) { ( resource:Q1759986 ) ( resource:Q19429673 ) } . ?f property:P17 ?x } }
United States of America Netherlands
United States of America and Netherlands are Wurlitzer electric piano or Prikkedaem a part of
United States of America Netherlands
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Prikkedaem
relation country
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Prikkedaem', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?f ) { ( resource:Wurlitzer_electric_piano ) ( resource:Prikkedaem ) } . ?f property:country ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q683
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with greater number of administrative territories than Samoa ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q683
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q683 property:P530 ?r } } . FILTER ( ?w > ?o ) }
Samoa
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Samoa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Samoa property:diplomatic_relation ?r } } . FILTER ( ?w > ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q683
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Samoa
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q683 property:P530 ?r } } . FILTER ( ?w > ?o ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relationships with greater number of administrative territories than Samoa
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Samoa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Samoa property:diplomatic_relation ?r } } . FILTER ( ?w > ?o ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of less number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Italy ?
Italy
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q155
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
150
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
150
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q42192
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have around the same number of holidays and people as their patron saint as San Donato Milanese ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q42192
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?o WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q42192 property:P417 ?k . { { ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q1445650 } } } } . FILTER ( ?w = ?y ) }
San Donato Milanese
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity San Donato Milanese
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?o WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:San_Donato_Milanese property:patron_saint ?k . { { ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:holiday } } } } . FILTER ( ?w = ?y ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
528
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q42192
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?o WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q42192 property:P417 ?k . { { ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q1445650 } } } } . FILTER ( ?w = ?y ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
528
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity San Donato Milanese
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?o WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:San_Donato_Milanese property:patron_saint ?k . { { ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:holiday } } } } . FILTER ( ?w = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q390108
P417
Q1445650 Q502895 Q15617994
USER
And also tell me about Anela?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q390108
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?q ) WHERE { { ?u property:P417 ?y . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1445650 } UNION { ?u property:P417 ?y . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q502895 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q390108 property:P417 ?j . { VALUES ( ?n ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?j rdf:type ?n } } } . FILTER ( ?q = ?o ) }
Anela
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Anela
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?q ) WHERE { { ?u property:patron_saint ?y . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:holiday } UNION { ?u property:patron_saint ?y . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:common_name } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Anela property:patron_saint ?j . { VALUES ( ?n ) { ( ontology:holiday ) ( ontology:common_name ) } . ?j rdf:type ?n } } } . FILTER ( ?q = ?o ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q390108
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?q ) WHERE { { ?u property:P417 ?y . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1445650 } UNION { ?u property:P417 ?y . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q502895 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q390108 property:P417 ?j . { VALUES ( ?n ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?j rdf:type ?n } } } . FILTER ( ?q = ?o ) }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Anela
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?q ) WHERE { { ?u property:patron_saint ?y . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:holiday } UNION { ?u property:patron_saint ?y . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:common_name } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Anela property:patron_saint ?j . { VALUES ( ?n ) { ( ontology:holiday ) ( ontology:common_name ) } . ?j rdf:type ?n } } } . FILTER ( ?q = ?o ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q81982
P21 P1303
Q502895
USER
Which people knows to play harpsichord and have male as the sex ?
AND((c(Q502895),P1303,Q81982), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81982
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q81982'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P1303 resource:Q81982 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male harpsichord
action filter_type
action intersection
action find_reverse
entity harpsichord
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'harpsichord'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:instrument resource:harpsichord . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q2526926 Q1682344 Q463998 Q876342 Q2424360 Q3761917 Q3350801 Q76735 Q2898792 Q3141950
SYSTEM
Some of them are Vincenzo Lavigna, Joseph-Nicolas-Pancrace Royer, James Nares, Fritz Neumeyer, Antoine Geoffroy-Dechaume, Giacinto Manna, Olivier Baumont, Karl Richter, Bernard de Bury, Hubert Bédard
Q3761917 Q2982659 Q463998 Q3725604 Q963003 Q435198 Q571445 Q289847 Q254 Q4979366 Q3183956 Q2535808 Q563321 Q17648436 Q590410 Q376588 Q2959912 Q597101 Q92244 Q3219532 Q699207 Q457010 Q18642513 Q314799 Q3619994 Q4526398 Q5112624 Q2414155 Q963831 Q969937 Q6733079 Q3106857 Q551008 Q3411056 Q2805699 Q339929 Q718398 Q2462092 Q2526926 Q2451955 Q1682366 Q700648 Q3168842 Q6264882 Q3147203 Q3294067 Q2856990 Q18889499 Q3136187 Q3287715 Q739019 Q3293546 Q3147213 Q928954 Q3168308 Q2898792 Q3187447 Q3351094 Q1682344 Q3181642 Q560325 Q965256 Q15041700 Q4133063 Q319306 Q697674 Q2553716 Q3168042 Q459715 Q3452937 Q1406863 Q11434081 Q2034506 Q2735112 Q3568609 Q45909 Q3524273 Q76735 Q3446656 Q876342 Q1270605 Q17630873 Q3141950 Q181474 Q3167320 Q23001989 Q3573587 Q3190862 Q119189 Q339128 Q2848507 Q96304 Q2899489 Q199856 Q2094389 Q4497156 Q1046616 Q1843799 Q1348195 Q378905 Q2424360 Q3298708 Q3350801 Q3148824 Q3613839 Q1339 Q2958126 Q434774
AND((c(Q502895),P1303,Q81982), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81982
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] know to play harpsichord and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q81982'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P1303 resource:Q81982 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Giacinto Manna Colin Tilney James Nares Enrico Baiano Thurston Dart Christopher Hogwood Rinaldo Alessandrini Étienne Loulié Wolfgang Amadeus Mozart Bruno Procopio Jory Vinikour Václav Luks Kenneth Gilbert Władysław Kłosiewicz Christophe Rousset William Christie Charles Noblet Ralph Kirkpatrick Johann Paul Schulthesius Laurent Teycheney Joseph Anton Steffan Igor Kipnis Pierre-Alain Clerc Antonio Soler Antonio Palella Miklós Spányi Christopher Jackson Skip Sempé Ottavio Dantone Denis Bédard Mahan Esfahani Giovanni Pietro Del Buono Jon Laukvik Putnam Aldrich Frédérick Haas Thomas Linley the elder Robert Veyron-Lacroix Pascal Dubreuil Vincenzo Lavigna Yves Rechsteiner Jan Willem Jansen Masaaki Suzuki Jean-Philippe Navarre John Worgan Iain Simcock Mark Edwards Anton Bemetzrieder Francesco Mazzoli Nicholas McGegan Marc-Roger Normand Giovanni Battista Lampugnani Mario Raskin Iakovos Pappas Vincenzo Manfredini Jean-Patrice Brosse Bernard de Bury Joël Pontet Olivier Houette Joseph-Nicolas-Pancrace Royer John Grew Hervé Niquet Alan Curtis Cosimo Damiano Lanza Malcolm Hamilton Oscar Milani René Clemencic Jean Rondeau Jean-Michel Hasler Matteo Messori Ruggero Gerlin Fernando Valenti Naoya Ōtsuka Luciano Sgrizzi William Babell William Felton John Cale Thierry Geffrotin Karl Richter Rudi Jacques Fritz Neumeyer Lars Ulrik Mortensen Jean-Luc Ho Hubert Bédard Teodorico Pedrini Jean-Marc Aymes György Vashegyi Yves Cuenot Jérôme Correas Vital Julian Frey Rafael Puyana André Raynaud Tobias Koch Bertrand Cuiller Johann Christian Schieferdecker Pietro Alessandro Guglielmi Stanislav Heller Tim Rice-Oxley Frédéric Champion Louis-Emmanuel Jadin Michael Wollny Antoine Geoffroy-Dechaume Mathieu Duguay Olivier Baumont Ilton Wjuniski Ambrogio Minoja Johann Sebastian Bach Charles-Henri Plantade Trevor Pinnock
Vincenzo Lavigna, Joseph-Nicolas-Pancrace Royer, James Nares, Fritz Neumeyer, Antoine Geoffroy-Dechaume, Giacinto Manna, Olivier Baumont, Karl Richter, Bernard de Bury and Hubert Bédard know to play harpsichord and have male as the sex
Vincenzo Lavigna Joseph-Nicolas-Pancrace Royer James Nares Fritz Neumeyer Antoine Geoffroy-Dechaume Giacinto Manna Olivier Baumont Karl Richter Bernard de Bury Hubert Bédard
action filter_type
action intersection
action find_reverse
entity harpsichord
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'harpsichord'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:instrument resource:harpsichord . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]