Simple Question (Direct)
Simple Question
Q3703240
P641
Q349
USER
Which sport was David Londero a part of ?
(Q3703240,P641,c(Q349))
action filter_type
action find
entity Q3703240
relation P641
type Q349
['Q3703240', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q3703240 property:P641 ?z . ?z rdf:type ontology:Q349 }
David Londero
action filter_type
action find
entity David Londero
relation sport
type sport
['David Londero', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:David_Londero property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3703240,P641,c(Q349))
action filter_type
action find
entity Q3703240
relation P641
type Q349
David Londero was a [ANSWER]
['Q3703240', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q3703240 property:P641 ?z . ?z rdf:type ontology:Q349 }
basketball
David Londero was a basketball
basketball
action filter_type
action find
entity David Londero
relation sport
type sport
['David Londero', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:David_Londero property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3703240
P19
Q13220204
USER
Where was that person born ?
(Q5372,P19,c(Q13220204))
action filter_type
action find
entity Q3703240
relation P19
type Q13220204
['Q5372', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q3703240 property:P19 ?q . ?q rdf:type ontology:Q13220204 }
David Londero
action filter_type
action find
entity David Londero
relation place of birth
type second-level administrative country subdivision
['basketball', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:David_Londero property:place_of_birth ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9093
SYSTEM
Bülach
Q9093
(Q5372,P19,c(Q13220204))
action filter_type
action find
entity Q3703240
relation P19
type Q13220204
That person was born in [ANSWER]
['Q5372', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q3703240 property:P19 ?q . ?q rdf:type ontology:Q13220204 }
Bülach
That person was born in Bülach
Bülach
action filter_type
action find
entity David Londero
relation place of birth
type second-level administrative country subdivision
['basketball', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:David_Londero property:place_of_birth ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17541949 Q3703240
P27 P17
Q15617994
USER
Which administrative territories are David Londero an inhabitant of or are Church Of All Saints a part of ?
OR((Q3703240,P27,c(Q15617994)), (Q17541949,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3703240
relation P27
action find
entity Q17541949
relation P17
type Q15617994
{'OR': [['Q3703240', 'P27', {'concept': 'Q15617994'}], ['Q17541949', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3703240 property:P27 ?y } UNION { resource:Q17541949 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Church Of All Saints David Londero
action filter_type
action union
action find
entity David Londero
relation country of citizenship
action find
entity Church Of All Saints
relation country
type designation for an administrative territorial entity
{'OR': [['David Londero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Church Of All Saints', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:David_Londero property:country_of_citizenship ?y } UNION { resource:Church_Of_All_Saints property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q38 Q145
SYSTEM
Switzerland, Italy, United Kingdom
Q39 Q38 Q145
OR((Q3703240,P27,c(Q15617994)), (Q17541949,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3703240
relation P27
action find
entity Q17541949
relation P17
type Q15617994
[ANSWERS] are David Londero an inhabitant of or are Church Of All Saints a part of
{'OR': [['Q3703240', 'P27', {'concept': 'Q15617994'}], ['Q17541949', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3703240 property:P27 ?y } UNION { resource:Q17541949 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Switzerland Italy United Kingdom
Switzerland, Italy and United Kingdom are David Londero an inhabitant of or are Church Of All Saints a part of
Switzerland Italy United Kingdom
action filter_type
action union
action find
entity David Londero
relation country of citizenship
action find
entity Church Of All Saints
relation country
type designation for an administrative territorial entity
{'OR': [['David Londero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Church Of All Saints', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:David_Londero property:country_of_citizenship ?y } UNION { resource:Church_Of_All_Saints property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21338521
P27
Q502895
USER
Are P. Sujanapal a native of those administrative territories ?
(Q21338521,P27,Q39) (Q21338521,P27,Q38) (Q21338521,P27,Q145)
action is_in
entity prev_answer
action find
entity Q21338521
relation P27
['Q21338521', 'P27', 'Q39'] ['Q21338521', 'P27', 'Q38'] ['Q21338521', 'P27', 'Q145']
ASK WHERE { resource:Q21338521 property:P27 ?a . VALUES ( ?a ) { ( resource:Q39 ) ( resource:Q38 ) ( resource:Q145 ) } }
P. Sujanapal
action is_in
entity prev_answer
action find
entity P. Sujanapal
relation country of citizenship
['P. Sujanapal', 'country of citizenship', 'Switzerland'] ['P. Sujanapal', 'country of citizenship', 'Italy'] ['P. Sujanapal', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:P._Sujanapal property:country_of_citizenship ?a . VALUES ( ?a ) { ( resource:Switzerland ) ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
NO
(Q21338521,P27,Q39) (Q21338521,P27,Q38) (Q21338521,P27,Q145)
action is_in
entity prev_answer
action find
entity Q21338521
relation P27
[ANSWER]
['Q21338521', 'P27', 'Q39'] ['Q21338521', 'P27', 'Q38'] ['Q21338521', 'P27', 'Q145']
ASK WHERE { resource:Q21338521 property:P27 ?a . VALUES ( ?a ) { ( resource:Q39 ) ( resource:Q38 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity P. Sujanapal
relation country of citizenship
['P. Sujanapal', 'country of citizenship', 'Switzerland'] ['P. Sujanapal', 'country of citizenship', 'Italy'] ['P. Sujanapal', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:P._Sujanapal property:country_of_citizenship ?a . VALUES ( ?a ) { ( resource:Switzerland ) ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q39 Q40474 Q5329792
P47
Q15617994
USER
Does Switzerland have an adjacent border with Varzi and Eastampton Township School District ?
(Q39,P47,Q40474) (Q39,P47,Q5329792)
action is_in
entity Q39
action intersection
action find_reverse
entity Q40474
relation P47
action find_reverse
entity Q5329792
relation P47
['Q39', 'P47', 'Q40474'] ['Q39', 'P47', 'Q5329792']
ASK WHERE { resource:Q39 property:P47 resource:Q40474 . resource:Q39 property:P47 resource:Q5329792 }
Switzerland Varzi Eastampton Township School District
action is_in
entity Switzerland
action intersection
action find_reverse
entity Varzi
relation shares border with
action find_reverse
entity Eastampton Township School District
relation shares border with
['Switzerland', 'shares border with', 'Varzi'] ['Switzerland', 'shares border with', 'Eastampton Township School District']
ASK WHERE { resource:Switzerland property:shares_border_with resource:Varzi . resource:Switzerland property:shares_border_with resource:Eastampton_Township_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q39,P47,Q40474) (Q39,P47,Q5329792)
action is_in
entity Q39
action intersection
action find_reverse
entity Q40474
relation P47
action find_reverse
entity Q5329792
relation P47
[ANSWER]
['Q39', 'P47', 'Q40474'] ['Q39', 'P47', 'Q5329792']
ASK WHERE { resource:Q39 property:P47 resource:Q40474 . resource:Q39 property:P47 resource:Q5329792 }
No
action is_in
entity Switzerland
action intersection
action find_reverse
entity Varzi
relation shares border with
action find_reverse
entity Eastampton Township School District
relation shares border with
['Switzerland', 'shares border with', 'Varzi'] ['Switzerland', 'shares border with', 'Eastampton Township School District']
ASK WHERE { resource:Switzerland property:shares_border_with resource:Varzi . resource:Switzerland property:shares_border_with resource:Eastampton_Township_School_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q232
P138
Q15617994 Q2472587 Q15617994
USER
How many administrative territories come from less number of administrative territories and peoples than Kazakhstan ?
(c(Q15617994),P138,c(Q15617994)|c(Q2472587))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action count
action filter_multi_types
action find
entity Q232
relation P138
type Q15617994
type Q2472587
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q2472587 ) } . ?z rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q232 property:P138 ?j . { { ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q2472587 } } } } . FILTER ( ?s < ?n ) }
Kazakhstan
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action count
action filter_multi_types
action find
entity Kazakhstan
relation named after
type designation for an administrative territorial entity
type people
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:people ) } . ?z rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Kazakhstan property:named_after ?j . { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:people } } } } . FILTER ( ?s < ?n ) }
[]
designation for an administrative territorial entity people designation for an administrative territorial entity
SYSTEM
306
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q685048 Q21671144 Q801 Q12538 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q221 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q1366860 Q12788 Q12584 Q12580 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q12736 Q12642 Q160307 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q15617994)|c(Q2472587))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action count
action filter_multi_types
action find
entity Q232
relation P138
type Q15617994
type Q2472587
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q2472587 ) } . ?z rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q232 property:P138 ?j . { { ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q2472587 } } } } . FILTER ( ?s < ?n ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Simplon Mezhetchina Israel Haute-Garonne Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Republic of Macedonia Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Escaut Val-de-Marne Maine-et-Loire Lozère Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Saône-et-Loire Morbihan Fatimid caliphate Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
306
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action count
action filter_multi_types
action find
entity Kazakhstan
relation named after
type designation for an administrative territorial entity
type people
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:people ) } . ?z rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Kazakhstan property:named_after ?j . { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:people } } } } . FILTER ( ?s < ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q842199
P530
Q15617994
USER
How many administrative territories are known to have diplomatic connections with Italy and Belarusian People's Republic ?
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q842199)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q842199
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q842199']
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P530 resource:Q38 . ?z rdf:type ontology:Q15617994 . ?z property:P530 resource:Q842199 . ?z rdf:type ontology:Q15617994 }
Italy Belarusian People's Republic
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Belarusian People's Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', "Belarusian People's Republic"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:diplomatic_relation resource:Italy . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation resource:Belarusian_People's_Republic . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q33 Q191 Q211 Q37
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q842199)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q842199
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q842199']
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P530 resource:Q38 . ?z rdf:type ontology:Q15617994 . ?z property:P530 resource:Q842199 . ?z rdf:type ontology:Q15617994 }
Finland Estonia Latvia Lithuania
4
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Belarusian People's Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', "Belarusian People's Republic"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:diplomatic_relation resource:Italy . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation resource:Belarusian_People's_Republic . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5212249 Q40474
P27 P17
Q15617994
USER
Which administrative territories are Varzi situated in and do Damian Fernando belong to ?
AND((Q40474,P17,c(Q15617994)), (Q5212249,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q40474
relation P17
action find
entity Q5212249
relation P27
type Q15617994
{'AND': [['Q40474', 'P17', {'concept': 'Q15617994'}], ['Q5212249', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q40474 property:P17 ?t . resource:Q5212249 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Damian Fernando Varzi
action filter_type
action intersection
action find
entity Varzi
relation country
action find
entity Damian Fernando
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Varzi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Damian Fernando', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Varzi property:country ?t . resource:Damian_Fernando property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q40474,P17,c(Q15617994)), (Q5212249,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q40474
relation P17
action find
entity Q5212249
relation P27
type Q15617994
Varzi are situated belong to the [ANSWER]
{'AND': [['Q40474', 'P17', {'concept': 'Q15617994'}], ['Q5212249', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q40474 property:P17 ?t . resource:Q5212249 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Italy
Varzi are situated belong to the Italy
Italy
action filter_type
action intersection
action find
entity Varzi
relation country
action find
entity Damian Fernando
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Varzi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Damian Fernando', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Varzi property:country ?t . resource:Damian_Fernando property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]