Simple Question (Direct)
Simple Question
Q6753363
P495
Q15617994
USER
Where did Many Waters originate ?
(Q6753363,P495,c(Q15617994))
action filter_type
action find
entity Q6753363
relation P495
type Q15617994
['Q6753363', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6753363 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Many Waters
action filter_type
action find
entity Many Waters
relation country of origin
type designation for an administrative territorial entity
['Many Waters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Many_Waters property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6753363,P495,c(Q15617994))
action filter_type
action find
entity Q6753363
relation P495
type Q15617994
Many Waters originated from [ANSWER]
['Q6753363', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6753363 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
Many Waters originated from United Kingdom
United Kingdom
action filter_type
action find
entity Many Waters
relation country of origin
type designation for an administrative territorial entity
['Many Waters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Many_Waters property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6753363
P58
Q502895
USER
Who was the screenwriter for that work of art ?
(Q145,P58,c(Q502895))
action filter_type
action find
entity Q6753363
relation P58
type Q502895
['Q145', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q6753363 property:P58 ?z . ?z rdf:type ontology:Q502895 }
Many Waters
action filter_type
action find
entity Many Waters
relation screenwriter
type common name
['United Kingdom', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Many_Waters property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
common name
Q14692546
SYSTEM
Leon M. Lion
Q14692546
(Q145,P58,c(Q502895))
action filter_type
action find
entity Q6753363
relation P58
type Q502895
The screenwriter for that work of art was [ANSWER]
['Q145', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q6753363 property:P58 ?z . ?z rdf:type ontology:Q502895 }
Leon M. Lion
The screenwriter for that work of art was Leon M. Lion
Leon M. Lion
action filter_type
action find
entity Many Waters
relation screenwriter
type common name
['United Kingdom', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Many_Waters property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 416 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 416
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?f = 416 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 416
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?f = 416 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 416
[ANSWERS] are played by around 416 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?f = 416 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around 416 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 416
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?f = 416 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P870
Q34379 Q207628 Q15850590
USER
Which musical instruments are used in more number of musical compositions and theatrical genres than that musical instrument ?
(c(Q207628)|c(Q15850590),P870,c(Q34379))
[[{'concept': 'Q207628'}, {'concept': 'Q15850590'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q207628 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q15850590 }
[[{'concept': 'musical composition'}, {'concept': 'theatrical genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:musical_composition . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:theatrical_genre }
[]
musical instrument musical composition theatrical genre
Comparative|More/Less|Mult. entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q207628)|c(Q15850590),P870,c(Q34379))
[ANSWER]
[[{'concept': 'Q207628'}, {'concept': 'Q15850590'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q207628 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q15850590 }
Did you mean davul ?
davul
[[{'concept': 'musical composition'}, {'concept': 'theatrical genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:musical_composition . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:theatrical_genre }
[]
Comparative Reasoning (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q207628)|c(Q15850590),P870,c(Q34379))
Q81982
[[{'concept': 'Q207628'}, {'concept': 'Q15850590'}], 'P870', {'concept': 'Q34379'}]
[[{'concept': 'musical composition'}, {'concept': 'theatrical genre'}], 'instrumentation', {'concept': 'musical instrument'}]
[]
Q5994 Q1444 Q8355
SYSTEM
piano, organ, violin
Q5994 Q1444 Q8355
(c(Q207628)|c(Q15850590),P870,c(Q34379))
[ANSWERS] are used in more number of musical compositions and theatrical genres than that musical instrument
[[{'concept': 'Q207628'}, {'concept': 'Q15850590'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q207628 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q15850590 }
piano organ violin
Piano, organ and violin are used in more number of musical compositions and theatrical genres than that musical instrument
piano organ violin
[[{'concept': 'musical composition'}, {'concept': 'theatrical genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:musical_composition . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:theatrical_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q548449
P1303
Q502895
USER
Does Paul Carrack can play those musical instruments ?
(Q548449,P1303,Q5994) (Q548449,P1303,Q1444) (Q548449,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q548449
relation P1303
['Q548449', 'P1303', 'Q5994'] ['Q548449', 'P1303', 'Q1444'] ['Q548449', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?f ) { ( resource:Q5994 ) ( resource:Q1444 ) ( resource:Q8355 ) } . resource:Q548449 property:P1303 ?f }
Paul Carrack
action is_in
entity prev_answer
action find
entity Paul Carrack
relation instrument
['Paul Carrack', 'instrument', 'piano'] ['Paul Carrack', 'instrument', 'organ'] ['Paul Carrack', 'instrument', 'violin']
ASK WHERE { VALUES ( ?f ) { ( resource:piano ) ( resource:organ ) ( resource:violin ) } . resource:Paul_Carrack property:instrument ?f }
[]
common name
SYSTEM
YES
(Q548449,P1303,Q5994) (Q548449,P1303,Q1444) (Q548449,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q548449
relation P1303
[ANSWER]
['Q548449', 'P1303', 'Q5994'] ['Q548449', 'P1303', 'Q1444'] ['Q548449', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?f ) { ( resource:Q5994 ) ( resource:Q1444 ) ( resource:Q8355 ) } . resource:Q548449 property:P1303 ?f }
Yes
action is_in
entity prev_answer
action find
entity Paul Carrack
relation instrument
['Paul Carrack', 'instrument', 'piano'] ['Paul Carrack', 'instrument', 'organ'] ['Paul Carrack', 'instrument', 'violin']
ASK WHERE { VALUES ( ?f ) { ( resource:piano ) ( resource:organ ) ( resource:violin ) } . resource:Paul_Carrack property:instrument ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4819153 Q14692546
P27
Q15617994
USER
Which administrative territories are Leon M. Lion or Aubrey Mathibe an inhabitant of ?
OR((Q14692546,P27,c(Q15617994)), (Q4819153,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14692546
relation P27
action find
entity Q4819153
relation P27
type Q15617994
{'OR': [['Q14692546', 'P27', {'concept': 'Q15617994'}], ['Q4819153', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q14692546 property:P27 ?m } UNION { resource:Q4819153 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Aubrey Mathibe Leon M. Lion
action filter_type
action union
action find
entity Leon M. Lion
relation country of citizenship
action find
entity Aubrey Mathibe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leon M. Lion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aubrey Mathibe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Leon_M._Lion property:country_of_citizenship ?m } UNION { resource:Aubrey_Mathibe property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258 Q145
SYSTEM
South Africa, United Kingdom
Q258 Q145
OR((Q14692546,P27,c(Q15617994)), (Q4819153,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14692546
relation P27
action find
entity Q4819153
relation P27
type Q15617994
[ANSWERS] are Leon M. Lion or Aubrey Mathibe an inhabitant of
{'OR': [['Q14692546', 'P27', {'concept': 'Q15617994'}], ['Q4819153', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q14692546 property:P27 ?m } UNION { resource:Q4819153 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
South Africa United Kingdom
South Africa and United Kingdom are Leon M. Lion or Aubrey Mathibe an inhabitant of
South Africa United Kingdom
action filter_type
action union
action find
entity Leon M. Lion
relation country of citizenship
action find
entity Aubrey Mathibe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leon M. Lion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aubrey Mathibe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Leon_M._Lion property:country_of_citizenship ?m } UNION { resource:Aubrey_Mathibe property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13113609
P495
Q838948
USER
Are those administrative territories a country of origin of Bandhukkal Sathrukkal ?
(Q13113609,P495,Q258) (Q13113609,P495,Q145)
action is_in
entity prev_answer
action find
entity Q13113609
relation P495
['Q13113609', 'P495', 'Q258'] ['Q13113609', 'P495', 'Q145']
ASK WHERE { resource:Q13113609 property:P495 ?b . VALUES ( ?b ) { ( resource:Q258 ) ( resource:Q145 ) } }
Bandhukkal Sathrukkal
action is_in
entity prev_answer
action find
entity Bandhukkal Sathrukkal
relation country of origin
['Bandhukkal Sathrukkal', 'country of origin', 'South Africa'] ['Bandhukkal Sathrukkal', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Bandhukkal_Sathrukkal property:country_of_origin ?b . VALUES ( ?b ) { ( resource:South_Africa ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
NO
(Q13113609,P495,Q258) (Q13113609,P495,Q145)
action is_in
entity prev_answer
action find
entity Q13113609
relation P495
[ANSWER]
['Q13113609', 'P495', 'Q258'] ['Q13113609', 'P495', 'Q145']
ASK WHERE { resource:Q13113609 property:P495 ?b . VALUES ( ?b ) { ( resource:Q258 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Bandhukkal Sathrukkal
relation country of origin
['Bandhukkal Sathrukkal', 'country of origin', 'South Africa'] ['Bandhukkal Sathrukkal', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Bandhukkal_Sathrukkal property:country_of_origin ?b . VALUES ( ?b ) { ( resource:South_Africa ) ( resource:United_Kingdom ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q258 Q553471
P530
Q15617994
USER
Does Uppershausen have diplomatic relationships with South Africa ?
(Q258,P530,Q553471)
action is_in
entity Q553471
action find
entity Q258
relation P530
['Q258', 'P530', 'Q553471']
ASK WHERE { resource:Q258 property:P530 resource:Q553471 }
South Africa Uppershausen
action is_in
entity Uppershausen
action find
entity South Africa
relation diplomatic relation
['South Africa', 'diplomatic relation', 'Uppershausen']
ASK WHERE { resource:South_Africa property:diplomatic_relation resource:Uppershausen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q258,P530,Q553471)
action is_in
entity Q553471
action find
entity Q258
relation P530
[ANSWER]
['Q258', 'P530', 'Q553471']
ASK WHERE { resource:Q258 property:P530 resource:Q553471 }
No
action is_in
entity Uppershausen
action find
entity South Africa
relation diplomatic relation
['South Africa', 'diplomatic relation', 'Uppershausen']
ASK WHERE { resource:South_Africa property:diplomatic_relation resource:Uppershausen }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q271236
P417
Q1445650 Q502895 Q15617994
USER
Which administrative territories have lesser number of holidays or people as their patron saint than Spotorno ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action less
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 Q271236
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { { ?c rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q502895 . ?c property:P417 ?f } UNION { ?c property:P417 ?f . ?c rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1445650 } } GROUP BY ?c } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q271236 property:P417 ?s . { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
Spotorno
action less
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 Spotorno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:common_name . ?c property:patron_saint ?f } UNION { ?c property:patron_saint ?f . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:holiday } } GROUP BY ?c } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Spotorno property:patron_saint ?s . { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
holiday common name designation for an administrative territorial entity
Q155 Q478277 Q13619
SYSTEM
Brazil, Castiglione di Sicilia, Cosenza
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 less
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 Q271236
relation P417
type Q1445650
type Q502895
[ANSWERS] have lesser number of holidays or people as their patron saint than Spotorno
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { { ?c rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q502895 . ?c property:P417 ?f } UNION { ?c property:P417 ?f . ?c rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1445650 } } GROUP BY ?c } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q271236 property:P417 ?s . { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
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
Brazil, Castiglione di Sicilia and Cosenza have lesser number of holidays or people as their patron saint than Spotorno
Brazil Castiglione di Sicilia Cosenza
action less
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 Spotorno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:common_name . ?c property:patron_saint ?f } UNION { ?c property:patron_saint ?f . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:holiday } } GROUP BY ?c } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Spotorno property:patron_saint ?s . { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q10337
P417
Q1445650 Q502895 Q15617994
USER
And also tell me about Varisella?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action less
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 Q10337
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?a WHERE { VALUES ( ?r ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?t rdf:type ?r } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q10337 property:P417 ?d . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } } } . FILTER ( ?m < ?y ) }
Varisella
action less
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 Varisella
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?a WHERE { VALUES ( ?r ) { ( ontology:holiday ) ( ontology:common_name ) } . ?t rdf:type ?r } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Varisella property:patron_saint ?d . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:holiday ) ( ontology:common_name ) } } } } . FILTER ( ?m < ?y ) }
[]
holiday common name designation for an administrative territorial entity
Q155 Q478277 Q13619
SYSTEM
Brazil, Castiglione di Sicilia, Cosenza
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 less
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 Q10337
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?a WHERE { VALUES ( ?r ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?t rdf:type ?r } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q10337 property:P417 ?d . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } } } . FILTER ( ?m < ?y ) }
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
Brazil Castiglione di Sicilia Cosenza
action less
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 Varisella
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?a WHERE { VALUES ( ?r ) { ( ontology:holiday ) ( ontology:common_name ) } . ?t rdf:type ?r } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Varisella property:patron_saint ?d . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:holiday ) ( ontology:common_name ) } } } } . FILTER ( ?m < ?y ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q478277 Q13619
P47
Q56061
USER
Who share the border with those administrative territories ?
(Q155,P47,c(Q56061)) (Q478277,P47,c(Q56061)) (Q13619,P47,c(Q56061))
action filter_type
action find
entity prev_answer
relation P47
type Q56061
['Q155', 'P47', {'concept': 'Q56061'}] ['Q478277', 'P47', {'concept': 'Q56061'}] ['Q13619', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?q ) { ( resource:Q51179 ) ( resource:Q265483 ) ( resource:Q18339 ) } . ?f rdf:type ontology:Q56061 . ?q property:P47 ?f }
Brazil Castiglione di Sicilia Cosenza
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Castiglione di Sicilia', 'shares border with', {'concept': 'administrative territorial entity'}] ['Cosenza', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?q ) { ( resource:Altino,_Abruzzo ) ( resource:Campomorone ) ( resource:Aisone ) } . ?f rdf:type ontology:administrative_territorial_entity . ?q property:shares_border_with ?f }
[]
administrative territorial entity
Q458 Q53915 Q491806
SYSTEM
European Union, Mendicino, Mojo Alcantara
Q458 Q491806 Q53935 Q53915
(Q155,P47,c(Q56061)) (Q478277,P47,c(Q56061)) (Q13619,P47,c(Q56061))
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[ANSWERS] share the border with those administrative territories
['Q155', 'P47', {'concept': 'Q56061'}] ['Q478277', 'P47', {'concept': 'Q56061'}] ['Q13619', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?q ) { ( resource:Q51179 ) ( resource:Q265483 ) ( resource:Q18339 ) } . ?f rdf:type ontology:Q56061 . ?q property:P47 ?f }
European Union Mojo Alcantara Pietrafitta Mendicino
European Union, Mendicino and Mojo Alcantara share the border with those administrative territories
European Union Mendicino Mojo Alcantara
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Castiglione di Sicilia', 'shares border with', {'concept': 'administrative territorial entity'}] ['Cosenza', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?q ) { ( resource:Altino,_Abruzzo ) ( resource:Campomorone ) ( resource:Aisone ) } . ?f rdf:type ontology:administrative_territorial_entity . ?q property:shares_border_with ?f }
[]