Simple Question (Direct)
Simple Question
Q7528063
P97
Q355567
USER
What title was held by Sir John Shelley, 7th Baronet ?
(Q7528063,P97,c(Q355567))
action filter_type
action find
entity Q7528063
relation P97
type Q355567
['Q7528063', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?t WHERE { resource:Q7528063 property:P97 ?t . ?t rdf:type ontology:Q355567 }
Sir John Shelley, 7th Baronet
action filter_type
action find
entity Sir John Shelley, 7th Baronet
relation noble title
type royal or noble rank
['Sir John Shelley, 7th Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?t WHERE { resource:Sir_John_Shelley,_7th_Baronet property:noble_title ?t . ?t rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q7528063,P97,c(Q355567))
action filter_type
action find
entity Q7528063
relation P97
type Q355567
A [ANSWER] was held by Sir John Shelley, 7th [ANSWER]
['Q7528063', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?t WHERE { resource:Q7528063 property:P97 ?t . ?t rdf:type ontology:Q355567 }
baronet
A baronet was held by Sir John Shelley, 7th Baronet
baronet
action filter_type
action find
entity Sir John Shelley, 7th Baronet
relation noble title
type royal or noble rank
['Sir John Shelley, 7th Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?t WHERE { resource:Sir_John_Shelley,_7th_Baronet property:noble_title ?t . ?t rdf:type ontology:royal_or_noble_rank }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7528063
P1412
Q34770
USER
Which language is spoken by Sir John Shelley, 7th Baronet ?
(Q7528063,P1412,c(Q34770))
action filter_type
action find
entity Q7528063
relation P1412
type Q34770
['Q7528063', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7528063 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Sir John Shelley, 7th Baronet
action filter_type
action find
entity Sir John Shelley, 7th Baronet
relation languages spoken, written or signed
type language
['Sir John Shelley, 7th Baronet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Sir_John_Shelley,_7th_Baronet property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7528063,P1412,c(Q34770))
action filter_type
action find
entity Q7528063
relation P1412
type Q34770
[ANSWER] is spoken by Sir John Shelley, 7th Baronet
['Q7528063', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7528063 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
English is spoken by Sir John Shelley, 7th Baronet
English
action filter_type
action find
entity Sir John Shelley, 7th Baronet
relation languages spoken, written or signed
type language
['Sir John Shelley, 7th Baronet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Sir_John_Shelley,_7th_Baronet property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P37
Q15617994
USER
Which administrative territories have their official language as that one ?
(c(Q15617994),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q1860']
SELECT DISTINCT ?g WHERE { ?g property:P37 resource:Q1860 . ?g rdf:type ontology:Q15617994 }
English
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?g WHERE { ?g property:official_language resource:English . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q953 Q145
SYSTEM
Netherlands, Zambia, United Kingdom
Q1036 Q1020 Q1005 Q1037 Q843 Q709 Q1009 Q668 Q2003 Q683 Q242 Q34020 Q244 Q1904 Q686 Q760 Q1974 Q754 Q55 Q1948 Q145 Q784 Q1050 Q1989 Q924 Q672 Q833 Q928 Q986 Q712 Q710 Q1033 Q1030 Q1014 Q27 Q734 Q963 Q695 Q678 Q114 Q117 Q1013 Q258 Q1979 Q233 Q1951 Q1952 Q954 Q1044 Q1042 Q953 Q2023 Q958 Q1049
(c(Q15617994),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
[ANSWERS] have their official language as that one
[{'concept': 'Q15617994'}, 'P37', 'Q1860']
SELECT DISTINCT ?g WHERE { ?g property:P37 resource:Q1860 . ?g rdf:type ontology:Q15617994 }
Uganda Malawi Gambia Rwanda Pakistan Marshall Islands Cameroon India Newfoundland and Labrador Samoa Belize Niue Barbados Ontario Vanuatu Saint Lucia British Columbia Trinidad and Tobago Netherlands Manitoba United Kingdom Dominica Swaziland Saskatchewan Tanzania Tuvalu Malaysia Philippines Eritrea Fiji Kiribati Nigeria Namibia Liberia Ireland Guyana Botswana Palau Tonga Kenya Ghana Lesotho South Africa Prince Edward Island Malta Alberta Nova Scotia Zimbabwe Sierra Leone Seychelles Zambia Nunavut South Sudan Sudan
Netherlands, Zambia and United Kingdom have their official language as that one
Netherlands Zambia United Kingdom
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?g WHERE { ?g property:official_language resource:English . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4115208 Q953
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Zambia and are Downtown Cairo situated in ?
AND((Q953,P530,c(Q15617994)), (Q4115208,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q953
relation P530
action find
entity Q4115208
relation P17
type Q15617994
{'AND': [['Q953', 'P530', {'concept': 'Q15617994'}], ['Q4115208', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q953 property:P530 ?m . resource:Q4115208 property:P17 ?m }
Downtown Cairo Zambia
action filter_type
action intersection
action find
entity Zambia
relation diplomatic relation
action find
entity Downtown Cairo
relation country
type designation for an administrative territorial entity
{'AND': [['Zambia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Downtown Cairo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zambia property:diplomatic_relation ?m . resource:Downtown_Cairo property:country ?m }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
AND((Q953,P530,c(Q15617994)), (Q4115208,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q953
relation P530
action find
entity Q4115208
relation P17
type Q15617994
[ANSWER] holds diplomatic relationship with Zambia and are Downtown Cairo situated in
{'AND': [['Q953', 'P530', {'concept': 'Q15617994'}], ['Q4115208', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q953 property:P530 ?m . resource:Q4115208 property:P17 ?m }
Egypt
Egypt holds diplomatic relationship with Zambia and are Downtown Cairo situated in
Egypt
action filter_type
action intersection
action find
entity Zambia
relation diplomatic relation
action find
entity Downtown Cairo
relation country
type designation for an administrative territorial entity
{'AND': [['Zambia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Downtown Cairo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zambia property:diplomatic_relation ?m . resource:Downtown_Cairo property:country ?m }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q211
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with less number of administrative territories than Latvia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q211
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?q property:P530 ?y . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?v < ?m ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q211 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } }
Latvia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Latvia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?q property:diplomatic_relation ?y . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?v < ?m ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Latvia property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q211
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with less number of administrative territories than Latvia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?q property:P530 ?y . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?v < ?m ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q211 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic associations with less number of administrative territories than Latvia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Latvia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { ?q property:diplomatic_relation ?y . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?v < ?m ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Latvia property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q142
P530
Q15617994 Q15617994
USER
And how about France?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?u ) WHERE { ?k property:P530 ?v . ?k rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q142 property:P530 ?w } } . FILTER ( ?u < ?r ) }
France
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?u ) WHERE { ?k property:diplomatic_relation ?v . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:diplomatic_relation ?w } } . FILTER ( ?u < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?u ) WHERE { ?k property:P530 ?v . ?k rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q142 property:P530 ?w } } . FILTER ( ?u < ?r ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?u ) WHERE { ?k property:diplomatic_relation ?v . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:diplomatic_relation ?w } } . FILTER ( ?u < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q36
P47
Q15617994
USER
How many administrative territories share border with Poland ?
(Q36,P47,c(Q15617994))
action count
action filter_type
action find
entity Q36
relation P47
type Q15617994
['Q36', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q36 property:P47 ?u }
Poland
action count
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Poland property:shares_border_with ?u }
[]
designation for an administrative territorial entity
SYSTEM
8
Q212 Q213 Q211 Q159 Q214 Q184 Q37 Q218
(Q36,P47,c(Q15617994))
action count
action filter_type
action find
entity Q36
relation P47
type Q15617994
[ANSWER]
['Q36', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q36 property:P47 ?u }
Ukraine Czech Republic Latvia Russia Slovakia Belarus Lithuania Romania
8
action count
action filter_type
action find
entity Poland
relation shares border with
type designation for an administrative territorial entity
['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Poland property:shares_border_with ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q54597
P47
Q15617994
USER
And also tell me about Caulonia?
(Q54597,P47,c(Q15617994))
action count
action filter_type
action find
entity Q54597
relation P47
type Q15617994
['Q54597', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q54597 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Caulonia
action count
action filter_type
action find
entity Caulonia
relation shares border with
type designation for an administrative territorial entity
['Caulonia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Caulonia property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q54723 Q54642 Q54635 Q54634
(Q54597,P47,c(Q15617994))
action count
action filter_type
action find
entity Q54597
relation P47
type Q15617994
[ANSWER]
['Q54597', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q54597 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Nardodipace Roccella Ionica Placanica Pazzano
4
action count
action filter_type
action find
entity Caulonia
relation shares border with
type designation for an administrative territorial entity
['Caulonia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Caulonia property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q104571
Q15617994
USER
And what about Dello, Lombardy?
(Q104571,P47,c(Q15617994))
action count
action filter_type
action find
entity Q104571
relation P47
type Q15617994
['Q104571', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q104571 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Dello, Lombardy
action count
action filter_type
action find
entity Dello, Lombardy
relation shares border with
type designation for an administrative territorial entity
['Dello, Lombardy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Dello,_Lombardy property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
(Q104571,P47,c(Q15617994))
action count
action filter_type
action find
entity Q104571
relation P47
type Q15617994
[ANSWER]
['Q104571', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q104571 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
8
action count
action filter_type
action find
entity Dello, Lombardy
relation shares border with
type designation for an administrative territorial entity
['Dello, Lombardy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Dello,_Lombardy property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]