Simple Question (Direct)
Simple Question
Q5343856
P241
Q781132
USER
Which military branch is Edward Joseph Schwartz affiliated to ?
(Q5343856,P241,c(Q781132))
action filter_type
action find
entity Q5343856
relation P241
type Q781132
['Q5343856', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q781132 . resource:Q5343856 property:P241 ?o }
Edward Joseph Schwartz
action filter_type
action find
entity Edward Joseph Schwartz
relation military branch
type military branch
['Edward Joseph Schwartz', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_branch . resource:Edward_Joseph_Schwartz property:military_branch ?o }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q5343856,P241,c(Q781132))
action filter_type
action find
entity Q5343856
relation P241
type Q781132
Edward Joseph Schwartz is affiliated with [ANSWER]
['Q5343856', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q781132 . resource:Q5343856 property:P241 ?o }
United States Navy
Edward Joseph Schwartz is affiliated with United States Navy
United States Navy
action filter_type
action find
entity Edward Joseph Schwartz
relation military branch
type military branch
['Edward Joseph Schwartz', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_branch . resource:Edward_Joseph_Schwartz property:military_branch ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11220
P361
Q874405
USER
Which social group is a component of that military branch ?
(c(Q874405),P361,Q11220)
action filter_type
action find_reverse
entity Q11220
relation P361
type Q874405
[{'concept': 'Q874405'}, 'P361', 'Q11220']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q11220 . ?b rdf:type ontology:Q874405 }
United States Navy
action filter_type
action find_reverse
entity United States Navy
relation part of
type social group
[{'concept': 'social group'}, 'part of', 'United States Navy']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:United_States_Navy . ?b rdf:type ontology:social_group }
[]
social group
Q3250126
SYSTEM
Naval History & Heritage Command
Q3250126
(c(Q874405),P361,Q11220)
action filter_type
action find_reverse
entity Q11220
relation P361
type Q874405
[ANSWER] is a component of that military branch
[{'concept': 'Q874405'}, 'P361', 'Q11220']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q11220 . ?b rdf:type ontology:Q874405 }
Naval History & Heritage Command
Naval History & Heritage Command is a component of that military branch
Naval History & Heritage Command
action filter_type
action find_reverse
entity United States Navy
relation part of
type social group
[{'concept': 'social group'}, 'part of', 'United States Navy']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:United_States_Navy . ?b rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3250126
P159
Q4830453
USER
Where is the headquarter of that social group located ?
(Q3250126,P159,c(Q4830453))
action filter_type
action find
entity Q3250126
relation P159
type Q4830453
['Q3250126', 'P159', {'concept': 'Q4830453'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4830453 . resource:Q3250126 property:P159 ?q }
Naval History & Heritage Command
action filter_type
action find
entity Naval History & Heritage Command
relation headquarters location
type business enterprise
['Naval History & Heritage Command', 'headquarters location', {'concept': 'business enterprise'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:business_enterprise . resource:Naval_History_&_Heritage_Command property:headquarters_location ?q }
[]
business enterprise
Q1637241
SYSTEM
Washington Navy Yard
Q1637241
(Q3250126,P159,c(Q4830453))
action filter_type
action find
entity Q3250126
relation P159
type Q4830453
Is the headquarter of that social group located at [ANSWER]
['Q3250126', 'P159', {'concept': 'Q4830453'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4830453 . resource:Q3250126 property:P159 ?q }
Washington Navy Yard
Is the headquarter of that social group located at Washington Navy Yard
Washington Navy Yard
action filter_type
action find
entity Naval History & Heritage Command
relation headquarters location
type business enterprise
['Naval History & Heritage Command', 'headquarters location', {'concept': 'business enterprise'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:business_enterprise . resource:Naval_History_&_Heritage_Command property:headquarters_location ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3250126
P108
Q502895
USER
Which person is working for Naval History & Heritage Command ?
(c(Q502895),P108,Q3250126)
action filter_type
action find_reverse
entity Q3250126
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q3250126']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P108 resource:Q3250126 }
Naval History & Heritage Command
action filter_type
action find_reverse
entity Naval History & Heritage Command
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Naval History & Heritage Command']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:employer resource:Naval_History_&_Heritage_Command }
[]
common name
Q21601157
SYSTEM
Roy A. Grossnick
Q21601157
(c(Q502895),P108,Q3250126)
action filter_type
action find_reverse
entity Q3250126
relation P108
type Q502895
[ANSWER] is working for Naval History & Heritage Command
[{'concept': 'Q502895'}, 'P108', 'Q3250126']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P108 resource:Q3250126 }
Roy A. Grossnick
Roy A. Grossnick is working for Naval History & Heritage Command
Roy A. Grossnick
action filter_type
action find_reverse
entity Naval History & Heritage Command
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Naval History & Heritage Command']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:employer resource:Naval_History_&_Heritage_Command }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q40141 Q11220
P47 P17
Q15617994
USER
Which administrative territories are United States Navy present in or share the border with Comelico Superiore ?
OR((Q11220,P17,c(Q15617994)), (Q40141,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q11220
relation P17
action find
entity Q40141
relation P47
type Q15617994
{'OR': [['Q11220', 'P17', {'concept': 'Q15617994'}], ['Q40141', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q11220 property:P17 ?h } UNION { resource:Q40141 property:P47 ?h } } }
Comelico Superiore United States Navy
action filter_type
action union
action find
entity United States Navy
relation country
action find
entity Comelico Superiore
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States Navy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Comelico Superiore', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_Navy property:country ?h } UNION { resource:Comelico_Superiore property:shares_border_with ?h } } }
[]
designation for an administrative territorial entity
Q40153 Q40463 Q30 Q40919
SYSTEM
Auronzo di Cadore, San Nicolò di Comelico, United States of America, Danta di Cadore
Q40153 Q40463 Q30 Q40919
OR((Q11220,P17,c(Q15617994)), (Q40141,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q11220
relation P17
action find
entity Q40141
relation P47
type Q15617994
[ANSWERS] are United States Navy present in or share the border with Comelico Superiore
{'OR': [['Q11220', 'P17', {'concept': 'Q15617994'}], ['Q40141', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q11220 property:P17 ?h } UNION { resource:Q40141 property:P47 ?h } } }
Auronzo di Cadore San Nicolò di Comelico United States of America Danta di Cadore
Auronzo di Cadore, San Nicolò di Comelico, United States of America and Danta di Cadore are United States Navy present in or share the border with Comelico Superiore
Auronzo di Cadore San Nicolò di Comelico United States of America Danta di Cadore
action filter_type
action union
action find
entity United States Navy
relation country
action find
entity Comelico Superiore
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States Navy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Comelico Superiore', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_Navy property:country ?h } UNION { resource:Comelico_Superiore property:shares_border_with ?h } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9512 Q40463
P47
Q15617994
USER
Which administrative territories share border with San Nicolò di Comelico or None ?
OR((c(Q15617994),P47,Q40463), (c(Q15617994),P47,Q9512))
action filter_type
action union
action find_reverse
entity Q40463
relation P47
action find_reverse
entity Q9512
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q40463'], [{'concept': 'Q15617994'}, 'P47', 'Q9512']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:Q9512 ) ( resource:Q40463 ) } . ?z property:P47 ?h } . ?z rdf:type ontology:Q15617994 }
None San Nicolò di Comelico
action filter_type
action union
action find_reverse
entity San Nicolò di Comelico
relation shares border with
action find_reverse
entity None
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Nicolò di Comelico'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'None']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:None ) ( resource:San_Nicolò_di_Comelico ) } . ?z property:shares_border_with ?h } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9148 Q41018 Q40141 Q9221 Q10298 Q8973 Q9519 Q9578 Q10373 Q40790
SYSTEM
Some of them are Candiolo, San Pietro di Cadore, Comelico Superiore, Castagnole Piemonte, Scalenghe, Airasca, Orbassano, Piobesi Torinese, Volvera, Santo Stefano di Cadore
Q40790 Q40919 Q8973 Q9519 Q41018 Q9221 Q10361 Q10373 Q9578 Q40141 Q9148 Q10298
OR((c(Q15617994),P47,Q40463), (c(Q15617994),P47,Q9512))
action filter_type
action union
action find_reverse
entity Q40463
relation P47
action find_reverse
entity Q9512
relation P47
type Q15617994
[ANSWERS] share border with San Nicolò di Comelico or None
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q40463'], [{'concept': 'Q15617994'}, 'P47', 'Q9512']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:Q9512 ) ( resource:Q40463 ) } . ?z property:P47 ?h } . ?z rdf:type ontology:Q15617994 }
Santo Stefano di Cadore Danta di Cadore Airasca Orbassano San Pietro di Cadore Castagnole Piemonte Vinovo Volvera Piobesi Torinese Comelico Superiore Candiolo Scalenghe
Candiolo, San Pietro di Cadore, Comelico Superiore, Castagnole Piemonte, Scalenghe, Airasca, Orbassano, Piobesi Torinese, Volvera and Santo Stefano di Cadore share border with San Nicolò di Comelico or None
Candiolo San Pietro di Cadore Comelico Superiore Castagnole Piemonte Scalenghe Airasca Orbassano Piobesi Torinese Volvera Santo Stefano di Cadore
action filter_type
action union
action find_reverse
entity San Nicolò di Comelico
relation shares border with
action find_reverse
entity None
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Nicolò di Comelico'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'None']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:None ) ( resource:San_Nicolò_di_Comelico ) } . ?z property:shares_border_with ?h } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q40790
P47 P17
Q15617994
USER
Which administrative territories are bordered by Santo Stefano di Cadore and are present in Italy ?
AND((c(Q15617994),P47,Q40790), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q40790
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q40790'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . ?s property:P47 resource:Q40790 . ?s property:P17 resource:Q38 }
Italy Santo Stefano di Cadore
action filter_type
action intersection
action find_reverse
entity Santo Stefano di Cadore
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Santo Stefano di Cadore'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:shares_border_with resource:Santo_Stefano_di_Cadore . ?s property:country resource:Italy }
[]
designation for an administrative territorial entity
Q40463 Q40216 Q40919 Q41018 Q39744 Q40153 Q53262
SYSTEM
San Nicolò di Comelico, Sappada, Danta di Cadore, San Pietro di Cadore, Vigo di Cadore, Auronzo di Cadore, Forni Avoltri
Q40463 Q40216 Q40919 Q41018 Q39744 Q40153 Q53262
AND((c(Q15617994),P47,Q40790), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q40790
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
[ANSWERS] are bordered by Santo Stefano di Cadore and are present in Italy
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q40790'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . ?s property:P47 resource:Q40790 . ?s property:P17 resource:Q38 }
San Nicolò di Comelico Sappada Danta di Cadore San Pietro di Cadore Vigo di Cadore Auronzo di Cadore Forni Avoltri
San Nicolò di Comelico, Sappada, Danta di Cadore, San Pietro di Cadore, Vigo di Cadore, Auronzo di Cadore and Forni Avoltri are bordered by Santo Stefano di Cadore and are present in Italy
San Nicolò di Comelico Sappada Danta di Cadore San Pietro di Cadore Vigo di Cadore Auronzo di Cadore Forni Avoltri
action filter_type
action intersection
action find_reverse
entity Santo Stefano di Cadore
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Santo Stefano di Cadore'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:shares_border_with resource:Santo_Stefano_di_Cadore . ?s property:country resource:Italy }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q159
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Russia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?c ) WHERE { ?j property:P530 ?p . ?j rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q159 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?w ) }
Russia
action count
action approx
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 Russia
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 ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?c ) WHERE { ?j property:diplomatic_relation ?p . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Russia property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
12
Q801 Q805 Q142 Q148 Q159 Q30 Q929 Q17 Q114 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?c ) WHERE { ?j property:P530 ?p . ?j rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q159 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?w ) }
Israel Yemen France People's Republic of China Russia United States of America Central African Republic Japan Kenya Syria Cape Verde Zambia
12
action count
action approx
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 Russia
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 ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?c ) WHERE { ?j property:diplomatic_relation ?p . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Russia property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q242
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with greater number of administrative territories than Belize ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q242 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?e ) }
Belize
action count
action greater
action find_reverse_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 Belize
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 ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Belize property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q242 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?e ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
action find_reverse_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 Belize
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 ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Belize property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q40216
P47
Q15617994
USER
How many administrative territories have an adjacent border with Sappada ?
(c(Q15617994),P47,Q40216)
action count
action filter_type
action find_reverse
entity Q40216
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q40216']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P47 resource:Q40216 . ?e rdf:type ontology:Q15617994 }
Sappada
action count
action filter_type
action find_reverse
entity Sappada
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sappada']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:shares_border_with resource:Sappada . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q40790 Q39744 Q53262 Q53316
(c(Q15617994),P47,Q40216)
action count
action filter_type
action find_reverse
entity Q40216
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q40216']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P47 resource:Q40216 . ?e rdf:type ontology:Q15617994 }
Santo Stefano di Cadore Vigo di Cadore Forni Avoltri Prato Carnico
4
action count
action filter_type
action find_reverse
entity Sappada
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sappada']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:shares_border_with resource:Sappada . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]