Simple Question (Direct)
Simple Question
Q9052
P47
Q15617994
USER
Which administrative territories share border with Bobbio Pellice ?
(Q9052,P47,c(Q15617994))
action filter_type
action find
entity Q9052
relation P47
type Q15617994
['Q9052', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q9052 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Bobbio Pellice
action filter_type
action find
entity Bobbio Pellice
relation shares border with
type designation for an administrative territorial entity
['Bobbio Pellice', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bobbio_Pellice property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20006 Q10356 Q10203
SYSTEM
Crissolo, Villar Pellice, Prali
Q20006 Q10356 Q10203
(Q9052,P47,c(Q15617994))
action filter_type
action find
entity Q9052
relation P47
type Q15617994
[ANSWERS] share border with Bobbio Pellice
['Q9052', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q9052 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Crissolo Villar Pellice Prali
Crissolo, Villar Pellice and Prali share border with Bobbio Pellice
Crissolo Villar Pellice Prali
action filter_type
action find
entity Bobbio Pellice
relation shares border with
type designation for an administrative territorial entity
['Bobbio Pellice', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bobbio_Pellice property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10203
P190
Q20667921
USER
Which french administrative division is twin city of that administrative territory ?
(Q10203,P190,c(Q20667921))
action filter_type
action find
entity Q10203
relation P190
type Q20667921
['Q10203', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q10203 property:P190 ?d . ?d rdf:type ontology:Q20667921 }
Prali
action filter_type
action find
entity Prali
relation sister city
type type of french administrative division
['Prali', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Prali property:sister_city ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q10203
SYSTEM
Did you mean Prali ?
Q20006 Q10356 Q10203
(Q20006,P190,c(Q20667921)) (Q10356,P190,c(Q20667921)) (Q10203,P190,c(Q20667921))
[ANSWER]
['Q20006', 'P190', {'concept': 'Q20667921'}] ['Q10356', 'P190', {'concept': 'Q20667921'}] ['Q10203', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q10203 property:P190 ?d . ?d rdf:type ontology:Q20667921 }
Crissolo Villar Pellice Prali
Did you mean Prali ?
Prali
['Crissolo', 'sister city', {'concept': 'type of french administrative division'}] ['Villar Pellice', 'sister city', {'concept': 'type of french administrative division'}] ['Prali', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Prali property:sister_city ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10203,P190,c(Q20667921))
['Q10203', 'P190', {'concept': 'Q20667921'}]
['Prali', 'sister city', {'concept': 'type of french administrative division'}]
[]
Q331508
SYSTEM
Abriès
Q331508
(Q10203,P190,c(Q20667921))
action filter_type
action find
entity Q10203
relation P190
type Q20667921
[ANSWER] is twin city of that administrative territory
['Q10203', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q10203 property:P190 ?d . ?d rdf:type ontology:Q20667921 }
Abriès
Abriès is twin city of that administrative territory
Abriès
action filter_type
action find
entity Prali
relation sister city
type type of french administrative division
['Prali', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Prali property:sister_city ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q710
P17
Q15617994 Q811979 Q7743
USER
Which administrative territories are around the same number of architectural structures and homes situated in as Kiribati ?
(c(Q811979)|c(Q7743),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q811979
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q710
relation P17
type Q811979
type Q7743
[[{'concept': 'Q811979'}, {'concept': 'Q7743'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?e WHERE { { ?q property:P17 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q811979 } UNION { ?q property:P17 ?e . ?q rdf:type ontology:Q7743 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P17 resource:Q710 . { VALUES ( ?t ) { ( ontology:Q811979 ) ( ontology:Q7743 ) } . ?f rdf:type ?t } } } . FILTER ( ?u = ?b ) }
Kiribati
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type architectural structure
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Kiribati
relation country
type architectural structure
type home
[[{'concept': 'architectural structure'}, {'concept': 'home'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?e WHERE { { ?q property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:architectural_structure } UNION { ?q property:country ?e . ?q rdf:type ontology:home . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:country resource:Kiribati . { VALUES ( ?t ) { ( ontology:architectural_structure ) ( ontology:home ) } . ?f rdf:type ?t } } } . FILTER ( ?u = ?b ) }
[]
designation for an administrative territorial entity architectural structure home
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q811979)|c(Q7743),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q811979
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q710
relation P17
type Q811979
type Q7743
[ANSWERS] are around the same number of architectural structures and homes situated in as Kiribati
[[{'concept': 'Q811979'}, {'concept': 'Q7743'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?e WHERE { { ?q property:P17 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q811979 } UNION { ?q property:P17 ?e . ?q rdf:type ontology:Q7743 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P17 resource:Q710 . { VALUES ( ?t ) { ( ontology:Q811979 ) ( ontology:Q7743 ) } . ?f rdf:type ?t } } } . FILTER ( ?u = ?b ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Italy, Brazil and Georgia are around the same number of architectural structures and homes situated in as Kiribati
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type architectural structure
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Kiribati
relation country
type architectural structure
type home
[[{'concept': 'architectural structure'}, {'concept': 'home'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?e WHERE { { ?q property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:architectural_structure } UNION { ?q property:country ?e . ?q rdf:type ontology:home . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:country resource:Kiribati . { VALUES ( ?t ) { ( ontology:architectural_structure ) ( ontology:home ) } . ?f rdf:type ?t } } } . FILTER ( ?u = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with atmost 26 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 26
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?l ) WHERE { ?j property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?j } . FILTER ( ?l <= 26 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 26
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?l ) WHERE { ?j property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?j } . FILTER ( ?l <= 26 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 26
[ANSWERS] have ambassadorial relations with atmost 26 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?l ) WHERE { ?j property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?j } . FILTER ( ?l <= 26 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have ambassadorial relations with atmost 26 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 26
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?l ) WHERE { ?j property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?j } . FILTER ( ?l <= 26 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q43229
USER
How many international organizations or organizations had that political territory as their member ?
(Q40,P463,c(Q484652)) (Q40,P463,c(Q43229)) (Q35,P463,c(Q484652)) (Q35,P463,c(Q43229)) (Q40,P463,c(Q484652)) (Q40,P463,c(Q43229)) (Q664,P463,c(Q484652)) (Q664,P463,c(Q43229))
['Q40', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q43229'}] ['Q35', 'P463', {'concept': 'Q484652'}] ['Q35', 'P463', {'concept': 'Q43229'}] ['Q40', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q43229'}] ['Q664', 'P463', {'concept': 'Q484652'}] ['Q664', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q359060 property:P463 ?z } UNION { resource:Q359060 property:P463 ?y } UNION { resource:Q22286761 property:P463 ?z } UNION { resource:Q22286761 property:P463 ?y } UNION { resource:Q359060 property:P463 ?z } UNION { resource:Q359060 property:P463 ?y } UNION { resource:Q21470645 property:P463 ?z } UNION { resource:Q21470645 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q43229 }
['Austria', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'organization'}] ['Denmark', 'member of', {'concept': 'international organization'}] ['Denmark', 'member of', {'concept': 'organization'}] ['Austria', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'organization'}] ['New Zealand', 'member of', {'concept': 'international organization'}] ['New Zealand', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Austria property:member_of ?z } UNION { resource:Austria property:member_of ?y } UNION { resource:Denmark property:member_of ?z } UNION { resource:Denmark property:member_of ?y } UNION { resource:Austria property:member_of ?z } UNION { resource:Austria property:member_of ?y } UNION { resource:New_Zealand property:member_of ?z } UNION { resource:New_Zealand property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:organization }
[]
international organization organization
Quantitative|Count|Mult. entity type|Clarification
Q664
SYSTEM
Did you mean New Zealand ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q359060 property:P463 ?z } UNION { resource:Q359060 property:P463 ?y } UNION { resource:Q22286761 property:P463 ?z } UNION { resource:Q22286761 property:P463 ?y } UNION { resource:Q359060 property:P463 ?z } UNION { resource:Q359060 property:P463 ?y } UNION { resource:Q21470645 property:P463 ?z } UNION { resource:Q21470645 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q43229 }
Did you mean New Zealand ?
New Zealand
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Austria property:member_of ?z } UNION { resource:Austria property:member_of ?y } UNION { resource:Denmark property:member_of ?z } UNION { resource:Denmark property:member_of ?y } UNION { resource:Austria property:member_of ?z } UNION { resource:Austria property:member_of ?y } UNION { resource:New_Zealand property:member_of ?z } UNION { resource:New_Zealand property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Austria. Could you tell me the answer for that?
(Q40,P463,c(Q484652)) (Q40,P463,c(Q43229)) (Q35,P463,c(Q484652)) (Q35,P463,c(Q43229)) (Q40,P463,c(Q484652)) (Q40,P463,c(Q43229)) (Q664,P463,c(Q484652)) (Q664,P463,c(Q43229))
Q40
['Q40', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q43229'}] ['Q35', 'P463', {'concept': 'Q484652'}] ['Q35', 'P463', {'concept': 'Q43229'}] ['Q40', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q43229'}] ['Q664', 'P463', {'concept': 'Q484652'}] ['Q664', 'P463', {'concept': 'Q43229'}]
['Austria', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'organization'}] ['Denmark', 'member of', {'concept': 'international organization'}] ['Denmark', 'member of', {'concept': 'organization'}] ['Austria', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'organization'}] ['New Zealand', 'member of', {'concept': 'international organization'}] ['New Zealand', 'member of', {'concept': 'organization'}]
[]
SYSTEM
12
Q340195 Q81299 Q191384 Q899770 Q41550 Q1065 Q188822 Q656801 Q151991 Q7825 Q827525 Q1043527
(Q40,P463,c(Q484652)) (Q40,P463,c(Q43229)) (Q35,P463,c(Q484652)) (Q35,P463,c(Q43229)) (Q40,P463,c(Q484652)) (Q40,P463,c(Q43229)) (Q664,P463,c(Q484652)) (Q664,P463,c(Q43229))
[ANSWER]
['Q40', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q43229'}] ['Q35', 'P463', {'concept': 'Q484652'}] ['Q35', 'P463', {'concept': 'Q43229'}] ['Q40', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q43229'}] ['Q664', 'P463', {'concept': 'Q484652'}] ['Q664', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q359060 property:P463 ?z } UNION { resource:Q359060 property:P463 ?y } UNION { resource:Q22286761 property:P463 ?z } UNION { resource:Q22286761 property:P463 ?y } UNION { resource:Q359060 property:P463 ?z } UNION { resource:Q359060 property:P463 ?y } UNION { resource:Q21470645 property:P463 ?z } UNION { resource:Q21470645 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q43229 }
African Development Bank Organization for Security and Co-operation in Europe International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development United Nations Asian Development Bank International Finance Corporation European Southern Observatory World Trade Organization International Development Association Multilateral Investment Guarantee Agency
12
['Austria', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'organization'}] ['Denmark', 'member of', {'concept': 'international organization'}] ['Denmark', 'member of', {'concept': 'organization'}] ['Austria', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'organization'}] ['New Zealand', 'member of', {'concept': 'international organization'}] ['New Zealand', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Austria property:member_of ?z } UNION { resource:Austria property:member_of ?y } UNION { resource:Denmark property:member_of ?z } UNION { resource:Denmark property:member_of ?y } UNION { resource:Austria property:member_of ?z } UNION { resource:Austria property:member_of ?y } UNION { resource:New_Zealand property:member_of ?z } UNION { resource:New_Zealand property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7750014 Q9052
P495 P17
Q15617994
USER
Which administrative territories do Bobbio Pellice belong to or are the countries of origin of The Man by the Shore ?
OR((Q9052,P17,c(Q15617994)), (Q7750014,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q9052
relation P17
action find
entity Q7750014
relation P495
type Q15617994
{'OR': [['Q9052', 'P17', {'concept': 'Q15617994'}], ['Q7750014', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q9052 property:P17 ?g } UNION { resource:Q7750014 property:P495 ?g } } . ?g rdf:type ontology:Q15617994 }
The Man by the Shore Bobbio Pellice
action filter_type
action union
action find
entity Bobbio Pellice
relation country
action find
entity The Man by the Shore
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bobbio Pellice', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Man by the Shore', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bobbio_Pellice property:country ?g } UNION { resource:The_Man_by_the_Shore property:country_of_origin ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38 Q790
SYSTEM
France, Italy, Haiti
Q142 Q38 Q790
OR((Q9052,P17,c(Q15617994)), (Q7750014,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q9052
relation P17
action find
entity Q7750014
relation P495
type Q15617994
[ANSWERS] Bobbio Pellice belong to or are the countries of origin of The Man by the Shore
{'OR': [['Q9052', 'P17', {'concept': 'Q15617994'}], ['Q7750014', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q9052 property:P17 ?g } UNION { resource:Q7750014 property:P495 ?g } } . ?g rdf:type ontology:Q15617994 }
France Italy Haiti
France, Italy and Haiti Bobbio Pellice belong to or are the countries of origin of The Man by the Shore
France Italy Haiti
action filter_type
action union
action find
entity Bobbio Pellice
relation country
action find
entity The Man by the Shore
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bobbio Pellice', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Man by the Shore', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bobbio_Pellice property:country ?g } UNION { resource:The_Man_by_the_Shore property:country_of_origin ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]