Simple Question (Direct)
Simple Question
Q15240956
P641
Q349
USER
Which sport was Evyatar Iluz a part of ?
(Q15240956,P641,c(Q349))
action filter_type
action find
entity Q15240956
relation P641
type Q349
['Q15240956', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . resource:Q15240956 property:P641 ?m }
Evyatar Iluz
action filter_type
action find
entity Evyatar Iluz
relation sport
type sport
['Evyatar Iluz', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . resource:Evyatar_Iluz property:sport ?m }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15240956,P641,c(Q349))
action filter_type
action find
entity Q15240956
relation P641
type Q349
Which sport was Evyatar Iluz a part of
['Q15240956', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . resource:Q15240956 property:P641 ?m }
association football
Which sport was Evyatar Iluz a part of
association football
action filter_type
action find
entity Evyatar Iluz
relation sport
type sport
['Evyatar Iluz', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . resource:Evyatar_Iluz property:sport ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15240956
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q15240956
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q15240956 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Evyatar Iluz
action filter_type
action find
entity Evyatar Iluz
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Evyatar_Iluz property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q15240956
relation P27
type Q15617994
To [ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q15240956 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Israel
To Israel is the country of citizenship of that person
Israel
action filter_type
action find
entity Evyatar Iluz
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Evyatar_Iluz property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q801 Q16133500
P27
Q502895
USER
Is Leonid Pekarovsky a civilian of that administrative territory ?
(Q16133500,P27,Q801)
action is_in
entity Q801
action find
entity Q16133500
relation P27
['Q16133500', 'P27', 'Q801']
ASK WHERE { resource:Q16133500 property:P27 resource:Q801 }
Israel Leonid Pekarovsky
action is_in
entity Israel
action find
entity Leonid Pekarovsky
relation country of citizenship
['Leonid Pekarovsky', 'country of citizenship', 'Israel']
ASK WHERE { resource:Leonid_Pekarovsky property:country_of_citizenship resource:Israel }
[]
common name
SYSTEM
YES
(Q16133500,P27,Q801)
action is_in
entity Q801
action find
entity Q16133500
relation P27
[ANSWER]
['Q16133500', 'P27', 'Q801']
ASK WHERE { resource:Q16133500 property:P27 resource:Q801 }
Yes
action is_in
entity Israel
action find
entity Leonid Pekarovsky
relation country of citizenship
['Leonid Pekarovsky', 'country of citizenship', 'Israel']
ASK WHERE { resource:Leonid_Pekarovsky property:country_of_citizenship resource:Israel }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q801
P47
Q15617994 Q56061
USER
How many administrative territories or administrative territories share the border with Israel ?
(Q801,P47,c(Q15617994)) (Q801,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q801
relation P47
type Q15617994
action filter_type
action find
entity Q801
relation P47
type Q56061
['Q801', 'P47', {'concept': 'Q15617994'}] ['Q801', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Israel
action count
action union
action filter_type
action find
entity Israel
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation shares border with
type administrative territorial entity
['Israel', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
7
Q858 Q810 Q79 Q7172 Q36678 Q229 Q822
(Q801,P47,c(Q15617994)) (Q801,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q801
relation P47
type Q15617994
action filter_type
action find
entity Q801
relation P47
type Q56061
[ANSWER]
['Q801', 'P47', {'concept': 'Q15617994'}] ['Q801', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Syria Jordan Egypt Arab League West Bank Cyprus Lebanon
7
action count
action union
action filter_type
action find
entity Israel
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation shares border with
type administrative territorial entity
['Israel', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3436184 Q801
P17
Q15617994
USER
Which administrative territories are Israel or Mahshahr Airport present in ?
OR((Q801,P17,c(Q15617994)), (Q3436184,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q801
relation P17
action find
entity Q3436184
relation P17
type Q15617994
{'OR': [['Q801', 'P17', {'concept': 'Q15617994'}], ['Q3436184', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q801 property:P17 ?a } UNION { resource:Q3436184 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Mahshahr Airport Israel
action filter_type
action union
action find
entity Israel
relation country
action find
entity Mahshahr Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mahshahr Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Israel property:country ?a } UNION { resource:Mahshahr_Airport property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801 Q794
SYSTEM
Israel, Iran
Q801 Q794
OR((Q801,P17,c(Q15617994)), (Q3436184,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q801
relation P17
action find
entity Q3436184
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q801', 'P17', {'concept': 'Q15617994'}], ['Q3436184', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q801 property:P17 ?a } UNION { resource:Q3436184 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Israel Iran
Which administrative territories are Israel or Mahshahr Airport present in
Israel Iran
action filter_type
action union
action find
entity Israel
relation country
action find
entity Mahshahr Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mahshahr Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Israel property:country ?a } UNION { resource:Mahshahr_Airport property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q801 Q794
P47
Q15617994
USER
Who share the border with Israel and Iran ?
(Q801,P47,c(Q15617994)) (Q794,P47,c(Q15617994))
action union
action filter_type
action find
entity Q801
relation P47
type Q15617994
action filter_type
action find
entity Q794
relation P47
type Q15617994
['Q801', 'P47', {'concept': 'Q15617994'}] ['Q794', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q801 property:P47 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q794 property:P47 ?p . ?p rdf:type ontology:Q15617994 } }
Israel Iran
action union
action filter_type
action find
entity Israel
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Iran
relation shares border with
type designation for an administrative territorial entity
['Israel', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Iran', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Israel property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Iran property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q43 Q889 Q858
SYSTEM
Turkey, Afghanistan, Syria
Q858 Q810 Q229 Q822 Q79 Q36678 Q227 Q43 Q843 Q889 Q796 Q874 Q399
(Q801,P47,c(Q15617994)) (Q794,P47,c(Q15617994))
action union
action filter_type
action find
entity Q801
relation P47
type Q15617994
action filter_type
action find
entity Q794
relation P47
type Q15617994
[ANSWERS] share the border with Israel and Iran
['Q801', 'P47', {'concept': 'Q15617994'}] ['Q794', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q801 property:P47 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q794 property:P47 ?p . ?p rdf:type ontology:Q15617994 } }
Syria Jordan Cyprus Lebanon Egypt West Bank Azerbaijan Turkey Pakistan Afghanistan Iraq Turkmenistan Armenia
Turkey, Afghanistan and Syria share the border with Israel and Iran
Turkey Afghanistan Syria
action union
action filter_type
action find
entity Israel
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Iran
relation shares border with
type designation for an administrative territorial entity
['Israel', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Iran', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Israel property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Iran property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43 Q889 Q858
P17
Q2221906
USER
Which geographic locations are located in Turkey, Afghanistan and Syria ?
(c(Q2221906),P17,Q43) (c(Q2221906),P17,Q889) (c(Q2221906),P17,Q858)
action union
action filter_type
action find_reverse
entity Q43
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q889
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q858
relation P17
type Q2221906
[{'concept': 'Q2221906'}, 'P17', 'Q43'] [{'concept': 'Q2221906'}, 'P17', 'Q889'] [{'concept': 'Q2221906'}, 'P17', 'Q858']
SELECT DISTINCT ?k WHERE { { ?k property:P17 resource:Q889 . ?k rdf:type ontology:Q2221906 } UNION { ?k rdf:type ontology:Q2221906 . ?k property:P17 resource:Q43 } }
Turkey Afghanistan Syria
action union
action filter_type
action find_reverse
entity Turkey
relation country
type geographic location
action filter_type
action find_reverse
entity Afghanistan
relation country
type geographic location
action filter_type
action find_reverse
entity Syria
relation country
type geographic location
[{'concept': 'geographic location'}, 'country', 'Turkey'] [{'concept': 'geographic location'}, 'country', 'Afghanistan'] [{'concept': 'geographic location'}, 'country', 'Syria']
SELECT DISTINCT ?k WHERE { { ?k property:country resource:Afghanistan . ?k rdf:type ontology:geographic_location } UNION { ?k rdf:type ontology:geographic_location . ?k property:country resource:Turkey } }
[]
geographic location
Q18869 Q81483 Q3088986
SYSTEM
Caucasus, The Levant, European Union–Turkey border
Q6029137 Q18869 Q217265 Q1753844 Q3088986 Q171323 Q10734725 Q18639255 Q7855285 Q1049525 Q703480 Q620864 Q2669453 Q8285348 Q1704398 Q4665993 Q23884786 Q81483 Q18398379
(c(Q2221906),P17,Q43) (c(Q2221906),P17,Q889) (c(Q2221906),P17,Q858)
action union
action filter_type
action find_reverse
entity Q43
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q889
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q858
relation P17
type Q2221906
[ANSWERS] are located in Turkey, Afghanistan and Syria
[{'concept': 'Q2221906'}, 'P17', 'Q43'] [{'concept': 'Q2221906'}, 'P17', 'Q889'] [{'concept': 'Q2221906'}, 'P17', 'Q858']
SELECT DISTINCT ?k WHERE { { ?k property:P17 resource:Q889 . ?k rdf:type ontology:Q2221906 } UNION { ?k rdf:type ontology:Q2221906 . ?k property:P17 resource:Q43 } }
Kordoleon Caucasus Cappadocia Yivli Minare European Union–Turkey border East Thrace Arak Greenway CSP Mersin Solar Tower Plant Turkish Lakes Region Turkish Riviera Letoon Cilicia Darvaz Wakhan Corridor Pashtunistan Abdullah Gan Ghor The Levant Beit Ghazaleh
Caucasus, The Levant and European Union–Turkey border are located in Turkey, Afghanistan and Syria
Caucasus The Levant European Union–Turkey border
action union
action filter_type
action find_reverse
entity Turkey
relation country
type geographic location
action filter_type
action find_reverse
entity Afghanistan
relation country
type geographic location
action filter_type
action find_reverse
entity Syria
relation country
type geographic location
[{'concept': 'geographic location'}, 'country', 'Turkey'] [{'concept': 'geographic location'}, 'country', 'Afghanistan'] [{'concept': 'geographic location'}, 'country', 'Syria']
SELECT DISTINCT ?k WHERE { { ?k property:country resource:Afghanistan . ?k rdf:type ontology:geographic_location } UNION { ?k rdf:type ontology:geographic_location . ?k property:country resource:Turkey } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18869
P361
Q14524493
USER
Which terrain is that geographic location a component of ?
(Q18869,P361,c(Q14524493))
action filter_type
action find
entity Q18869
relation P361
type Q14524493
['Q18869', 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q18869 property:P361 ?j . ?j rdf:type ontology:Q14524493 }
Caucasus
action filter_type
action find
entity Caucasus
relation part of
type terrain
['Caucasus', 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:Caucasus property:part_of ?j . ?j rdf:type ontology:terrain }
[]
terrain
Clarification for simple ques.
Q3088986
SYSTEM
Did you mean European Union–Turkey border ?
Q18869 Q81483 Q3088986
(Q18869,P361,c(Q14524493)) (Q81483,P361,c(Q14524493)) (Q3088986,P361,c(Q14524493))
[ANSWER]
['Q18869', 'P361', {'concept': 'Q14524493'}] ['Q81483', 'P361', {'concept': 'Q14524493'}] ['Q3088986', 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q18869 property:P361 ?j . ?j rdf:type ontology:Q14524493 }
Caucasus The Levant European Union–Turkey border
Did you mean European Union–Turkey border ?
European Union–Turkey border
['Caucasus', 'part of', {'concept': 'terrain'}] ['The Levant', 'part of', {'concept': 'terrain'}] ['European Union–Turkey border', 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:Caucasus property:part_of ?j . ?j rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
USER
No, I meant Caucasus. Could you tell me the answer for that?
(Q18869,P361,c(Q14524493))
Q18869
['Q18869', 'P361', {'concept': 'Q14524493'}]
['Caucasus', 'part of', {'concept': 'terrain'}]
[]
Q847514
SYSTEM
Alpide belt
Q847514
(Q18869,P361,c(Q14524493))
action filter_type
action find
entity Q18869
relation P361
type Q14524493
Which terrain is that geographic location a component of
['Q18869', 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q18869 property:P361 ?j . ?j rdf:type ontology:Q14524493 }
Alpide belt
Which terrain is that geographic location a component of
Alpide belt
action filter_type
action find
entity Caucasus
relation part of
type terrain
['Caucasus', 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:Caucasus property:part_of ?j . ?j rdf:type ontology:terrain }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q54672
P417
Q1445650 Q502895 Q15617994
USER
Which administrative territories have around the same number of holidays and people as their patron saint as Siderno ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
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 Q54672
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?r ) WHERE { { ?x property:P417 ?t . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q502895 } UNION { ?x property:P417 ?t . ?t rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q1445650 } } . resource:Q54672 property:P417 ?q } } . FILTER ( ?r = ?c ) }
Siderno
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 Siderno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?r ) WHERE { { ?x property:patron_saint ?t . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:common_name } UNION { ?x property:patron_saint ?t . ?t rdf:type ontology:holiday . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:holiday } } . resource:Siderno property:patron_saint ?q } } . FILTER ( ?r = ?c ) }
[]
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 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 Q54672
relation P417
type Q1445650
type Q502895
[ANSWERS] have around the same number of holidays and people as their patron saint as Siderno
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?r ) WHERE { { ?x property:P417 ?t . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q502895 } UNION { ?x property:P417 ?t . ?t rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q1445650 } } . resource:Q54672 property:P417 ?q } } . FILTER ( ?r = ?c ) }
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 around the same number of holidays and people as their patron saint as Siderno
Brazil Castiglione di Sicilia Cosenza
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 Siderno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?r ) WHERE { { ?x property:patron_saint ?t . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:common_name } UNION { ?x property:patron_saint ?t . ?t rdf:type ontology:holiday . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:holiday } } . resource:Siderno property:patron_saint ?q } } . FILTER ( ?r = ?c ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q478277 Q13619
P47
Q15617994
USER
Which administrative territories share border with Brazil, Castiglione di Sicilia and Cosenza ?
(c(Q15617994),P47,Q155) (c(Q15617994),P47,Q478277) (c(Q15617994),P47,Q13619)
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q478277
relation P47
type Q15617994
action filter_type
action find
entity Q13619
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q478277'] [{'concept': 'Q15617994'}, 'P47', 'Q13619']
SELECT DISTINCT ?d WHERE { { resource:Q155 property:P47 ?d . ?d rdf:type ontology:Q15617994 } UNION { resource:Q478277 property:P47 ?d . ?d rdf:type ontology:Q15617994 } }
Brazil Castiglione di Sicilia Cosenza
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Castiglione di Sicilia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Cosenza
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castiglione di Sicilia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cosenza']
SELECT DISTINCT ?d WHERE { { resource:Brazil property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Castiglione_di_Sicilia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q414 Q739
SYSTEM
France, Argentina, Colombia
Q750 Q739 Q730 Q734 Q419 Q414 Q142 Q717 Q77 Q733 Q478226 Q478232 Q478240 Q478246 Q387547 Q493478 Q335861 Q366574 Q478357 Q478776 Q478753 Q210433 Q140202 Q199952 Q491812 Q492985 Q478708 Q496141 Q478875 Q54039 Q54033 Q53830 Q53852 Q53851 Q53855 Q53946 Q53954 Q53931 Q53932 Q53934 Q53874
(c(Q15617994),P47,Q155) (c(Q15617994),P47,Q478277) (c(Q15617994),P47,Q13619)
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q478277
relation P47
type Q15617994
action filter_type
action find
entity Q13619
relation P47
type Q15617994
[ANSWERS] share border with Brazil, Castiglione di Sicilia and Cosenza
[{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q478277'] [{'concept': 'Q15617994'}, 'P47', 'Q13619']
SELECT DISTINCT ?d WHERE { { resource:Q155 property:P47 ?d . ?d rdf:type ontology:Q15617994 } UNION { resource:Q478277 property:P47 ?d . ?d rdf:type ontology:Q15617994 } }
Bolivia Colombia Suriname Guyana Peru Argentina France Venezuela Uruguay Paraguay Belpasso Biancavilla Bronte, Sicily Calatabiano Malvagna Graniti Motta Camastra Adrano Maletto Randazzo Piedimonte Etneo Linguaglossa Zafferana Etnea Taormina Roccella Valdemone Gaggi Nicolosi Francavilla di Sicilia Sant'Alfio Zumpano, Calabria Trenta, Calabria Aprigliano Casole Bruzio Carolei Castrolibero Rende Rovito Paterno Calabro Pedace Piane Crati Dipignano
France, Argentina and Colombia share border with Brazil, Castiglione di Sicilia and Cosenza
France Argentina Colombia
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Castiglione di Sicilia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Cosenza
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castiglione di Sicilia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cosenza']
SELECT DISTINCT ?d WHERE { { resource:Brazil property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Castiglione_di_Sicilia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q414 Q739
P17
Q15617994
USER
Which administrative territories are those ones a part of ?
(Q142,P17,c(Q15617994)) (Q414,P17,c(Q15617994)) (Q739,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q142', 'P17', {'concept': 'Q15617994'}] ['Q414', 'P17', {'concept': 'Q15617994'}] ['Q739', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?c property:P17 ?h . ?h rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q750 ) ( resource:Q739 ) ( resource:Q730 ) } }
France Argentina Colombia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Argentina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Colombia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?c property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Bolivia ) ( resource:Colombia ) ( resource:Suriname ) } }
[]
designation for an administrative territorial entity
Q142 Q414 Q739
SYSTEM
France, Argentina, Colombia
Q142 Q414 Q739
(Q142,P17,c(Q15617994)) (Q414,P17,c(Q15617994)) (Q739,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS] are those ones a part of
['Q142', 'P17', {'concept': 'Q15617994'}] ['Q414', 'P17', {'concept': 'Q15617994'}] ['Q739', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?c property:P17 ?h . ?h rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q750 ) ( resource:Q739 ) ( resource:Q730 ) } }
France Argentina Colombia
France, Argentina and Colombia are those ones a part of
France Argentina Colombia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Argentina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Colombia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?c property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Bolivia ) ( resource:Colombia ) ( resource:Suriname ) } }
[]