Simple Question (Direct)
Simple Question
Q1378700
P20
Q56061
USER
Which administrative territory is the place of death of Eustace Lycett ?
(Q1378700,P20,c(Q56061))
action filter_type
action find
entity Q1378700
relation P20
type Q56061
['Q1378700', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1378700 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Eustace Lycett
action filter_type
action find
entity Eustace Lycett
relation place of death
type administrative territorial entity
['Eustace Lycett', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Eustace_Lycett property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q494723
SYSTEM
Fullerton
Q494723
(Q1378700,P20,c(Q56061))
action filter_type
action find
entity Q1378700
relation P20
type Q56061
[ANSWER] is the place of death of Eustace Lycett
['Q1378700', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1378700 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Fullerton
Fullerton is the place of death of Eustace Lycett
Fullerton
action filter_type
action find
entity Eustace Lycett
relation place of death
type administrative territorial entity
['Eustace Lycett', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Eustace_Lycett property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1378700
P166
Q4220917
USER
Which film award was that person awarded with ?
(Q494723,P166,c(Q4220917))
action filter_type
action find
entity Q1378700
relation P166
type Q4220917
['Q494723', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q1378700 property:P166 ?g . ?g rdf:type ontology:Q4220917 }
Eustace Lycett
action filter_type
action find
entity Eustace Lycett
relation award received
type film award
['Fullerton', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:Eustace_Lycett property:award_received ?g . ?g rdf:type ontology:film_award }
[]
film award
Q393686
SYSTEM
Academy Award for Best Visual Effects
Q393686
(Q494723,P166,c(Q4220917))
action filter_type
action find
entity Q1378700
relation P166
type Q4220917
That person was awarded the [ANSWER]
['Q494723', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q1378700 property:P166 ?g . ?g rdf:type ontology:Q4220917 }
Academy Award for Best Visual Effects
That person was awarded the Academy Award for Best Visual Effects
Academy Award for Best Visual Effects
action filter_type
action find
entity Eustace Lycett
relation award received
type film award
['Fullerton', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:Eustace_Lycett property:award_received ?g . ?g rdf:type ontology:film_award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5751315 Q1378700
P27
Q15617994
USER
Which administrative territories do Eustace Lycett or Carlos Pedemonte y Talavera belong to ?
OR((Q1378700,P27,c(Q15617994)), (Q5751315,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1378700
relation P27
action find
entity Q5751315
relation P27
type Q15617994
{'OR': [['Q1378700', 'P27', {'concept': 'Q15617994'}], ['Q5751315', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { ?z property:P27 ?a . VALUES ( ?z ) { ( resource:Q5751315 ) ( resource:Q1378700 ) } } }
Carlos Pedemonte y Talavera Eustace Lycett
action filter_type
action union
action find
entity Eustace Lycett
relation country of citizenship
action find
entity Carlos Pedemonte y Talavera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eustace Lycett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carlos Pedemonte y Talavera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?z property:country_of_citizenship ?a . VALUES ( ?z ) { ( resource:Carlos_Pedemonte_y_Talavera ) ( resource:Eustace_Lycett ) } } }
[]
designation for an administrative territorial entity
Q419 Q145
SYSTEM
Peru, United Kingdom
Q419 Q145
OR((Q1378700,P27,c(Q15617994)), (Q5751315,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1378700
relation P27
action find
entity Q5751315
relation P27
type Q15617994
[ANSWERS] Eustace Lycett or Carlos Pedemonte y Talavera belong to
{'OR': [['Q1378700', 'P27', {'concept': 'Q15617994'}], ['Q5751315', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { ?z property:P27 ?a . VALUES ( ?z ) { ( resource:Q5751315 ) ( resource:Q1378700 ) } } }
Peru United Kingdom
Peru and United Kingdom Eustace Lycett or Carlos Pedemonte y Talavera belong to
Peru United Kingdom
action filter_type
action union
action find
entity Eustace Lycett
relation country of citizenship
action find
entity Carlos Pedemonte y Talavera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eustace Lycett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carlos Pedemonte y Talavera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?z property:country_of_citizenship ?a . VALUES ( ?z ) { ( resource:Carlos_Pedemonte_y_Talavera ) ( resource:Eustace_Lycett ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q573645
P137
Q3084961
USER
Does B-40 Flying Fortress can be described as facility operator of those administrative territories ?
(Q573645,P137,Q419) (Q573645,P137,Q145)
action is_in
entity prev_answer
action find
entity Q573645
relation P137
['Q573645', 'P137', 'Q419'] ['Q573645', 'P137', 'Q145']
ASK WHERE { VALUES ( ?f ) { ( resource:Q419 ) ( resource:Q145 ) } . resource:Q573645 property:P137 ?f }
B-40 Flying Fortress
action is_in
entity prev_answer
action find
entity B-40 Flying Fortress
relation operator
['B-40 Flying Fortress', 'operator', 'Peru'] ['B-40 Flying Fortress', 'operator', 'United Kingdom']
ASK WHERE { VALUES ( ?f ) { ( resource:Peru ) ( resource:United_Kingdom ) } . resource:B-40_Flying_Fortress property:operator ?f }
[]
product lining
SYSTEM
NO
(Q573645,P137,Q419) (Q573645,P137,Q145)
action is_in
entity prev_answer
action find
entity Q573645
relation P137
[ANSWER]
['Q573645', 'P137', 'Q419'] ['Q573645', 'P137', 'Q145']
ASK WHERE { VALUES ( ?f ) { ( resource:Q419 ) ( resource:Q145 ) } . resource:Q573645 property:P137 ?f }
No
action is_in
entity prev_answer
action find
entity B-40 Flying Fortress
relation operator
['B-40 Flying Fortress', 'operator', 'Peru'] ['B-40 Flying Fortress', 'operator', 'United Kingdom']
ASK WHERE { VALUES ( ?f ) { ( resource:Peru ) ( resource:United_Kingdom ) } . resource:B-40_Flying_Fortress property:operator ?f }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atmost 33 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 33
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?z ) WHERE { ?n property:P530 ?s . ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?z <= 33 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?z ) WHERE { ?n property:diplomatic_relation ?s . ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?z <= 33 ) }
[]
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 33
[ANSWERS] have diplomatic relations with atmost 33 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?z ) WHERE { ?n property:P530 ?s . ?n rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?z <= 33 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have diplomatic relations with atmost 33 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 33
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?z ) WHERE { ?n property:diplomatic_relation ?s . ?n rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?z <= 33 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q810
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with approximately the same number of political territories as Jordan ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q810
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?p ) WHERE { ?j property:P530 ?x . ?x rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q810 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?e ) }
Jordan
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jordan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?p ) WHERE { ?j property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Jordan property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?e ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 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 Q114 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q810
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with approximately the same number of political territories as Jordan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?p ) WHERE { ?j property:P530 ?x . ?x rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q810 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?e ) }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus 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 Kenya 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America, Russia and Netherlands are known to have diplomatic connections with approximately the same number of political territories as Jordan
United States of America Russia Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jordan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?p ) WHERE { ?j property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Jordan property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1007
P530
Q1048835 Q15617994
USER
And also tell me about Guinea-Bissau?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1007
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?d ) WHERE { ?n property:P530 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q1007 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?k ) }
Guinea-Bissau
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Guinea-Bissau
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?d ) WHERE { ?n property:diplomatic_relation ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Guinea-Bissau property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?k ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1007
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?d ) WHERE { ?n property:P530 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q1007 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?k ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Guinea-Bissau
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?d ) WHERE { ?n property:diplomatic_relation ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Guinea-Bissau property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q35
P740
Q2088357 Q7397
USER
How many musical ensembles and software originated at Denmark ?
(c(Q2088357),P740,Q35) (c(Q7397),P740,Q35)
action count
action union
action filter_type
action find_reverse
entity Q35
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q35
relation P740
type Q7397
[{'concept': 'Q2088357'}, 'P740', 'Q35'] [{'concept': 'Q7397'}, 'P740', 'Q35']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:P740 resource:Q35 . ?n rdf:type ontology:Q2088357 } UNION { ?n property:P740 resource:Q35 . ?n rdf:type ontology:Q7397 } }
Denmark
action count
action union
action filter_type
action find_reverse
entity Denmark
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Denmark
relation location of formation
type software
[{'concept': 'musical ensemble'}, 'location of formation', 'Denmark'] [{'concept': 'software'}, 'location of formation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:location_of_formation resource:Denmark . ?n rdf:type ontology:musical_ensemble } UNION { ?n property:location_of_formation resource:Denmark . ?n rdf:type ontology:software } }
[]
musical ensemble software
SYSTEM
12 musical ensembles and 1 software
Q6652346 Q1797714 Q4726413 Q12343052 Q1648419 Q12070229 Q3650362 Q3147138 Q9087127 Q5467475 Q7849131 Q7256477 Q2663195
(c(Q2088357),P740,Q35) (c(Q7397),P740,Q35)
action count
action union
action filter_type
action find_reverse
entity Q35
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q35
relation P740
type Q7397
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q35'] [{'concept': 'Q7397'}, 'P740', 'Q35']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:P740 resource:Q35 . ?n rdf:type ontology:Q2088357 } UNION { ?n property:P740 resource:Q35 . ?n rdf:type ontology:Q7397 } }
Little Trees SEB Alien Beat Club The Malpractice Tiger Tunes Substereo The Walkers I Scream Ice Cream The Storm Force of Evil Très.b Psychopomps Sitecore
12 musical ensembles and 1 software
action count
action union
action filter_type
action find_reverse
entity Denmark
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Denmark
relation location of formation
type software
[{'concept': 'musical ensemble'}, 'location of formation', 'Denmark'] [{'concept': 'software'}, 'location of formation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:location_of_formation resource:Denmark . ?n rdf:type ontology:musical_ensemble } UNION { ?n property:location_of_formation resource:Denmark . ?n rdf:type ontology:software } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q53873
P138
Q15617994 Q16521 Q151885
USER
How many administrative territories are the etymology of lesser number of taxons and concepts than Diamante ?
(c(Q16521)|c(Q151885),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q53873
relation P138
type Q16521
type Q151885
[[{'concept': 'Q16521'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?z WHERE { { ?a rdf:type ontology:Q16521 . ?z rdf:type ontology:Q15617994 . ?a property:P138 ?z } UNION { ?a property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q151885 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { VALUES ( ?b ) { ( ontology:Q16521 ) ( ontology:Q151885 ) } . ?q rdf:type ?b } . ?q property:P138 resource:Q53873 } } . FILTER ( ?c < ?p ) }
Diamante
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Diamante
relation named after
type taxon
type concept
[[{'concept': 'taxon'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?z WHERE { { ?a rdf:type ontology:taxon . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:named_after ?z } UNION { ?a property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:concept } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { VALUES ( ?b ) { ( ontology:taxon ) ( ontology:concept ) } . ?q rdf:type ?b } . ?q property:named_after resource:Diamante } } . FILTER ( ?c < ?p ) }
[]
designation for an administrative territorial entity taxon concept
SYSTEM
369
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q640473 Q189 Q184 Q1028 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q6122 Q42931 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q654138 Q81261 Q493437 Q863 Q574429 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q2596432 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q16521)|c(Q151885),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q53873
relation P138
type Q16521
type Q151885
[ANSWER]
[[{'concept': 'Q16521'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?z WHERE { { ?a rdf:type ontology:Q16521 . ?z rdf:type ontology:Q15617994 . ?a property:P138 ?z } UNION { ?a property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q151885 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { VALUES ( ?b ) { ( ontology:Q16521 ) ( ontology:Q151885 ) } . ?q rdf:type ?b } . ?q property:P138 resource:Q53873 } } . FILTER ( ?c < ?p ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Hohenstein Iceland Belarus Morocco Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo Asti Merate Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Euvelgunne Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
369
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Diamante
relation named after
type taxon
type concept
[[{'concept': 'taxon'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?z WHERE { { ?a rdf:type ontology:taxon . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:named_after ?z } UNION { ?a property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:concept } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { VALUES ( ?b ) { ( ontology:taxon ) ( ontology:concept ) } . ?q rdf:type ?b } . ?q property:named_after resource:Diamante } } . FILTER ( ?c < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q717
P138
Q15617994 Q16521 Q151885
USER
And also tell me about Venezuela?
(c(Q16521)|c(Q151885),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q717
relation P138
type Q16521
type Q151885
[[{'concept': 'Q16521'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g rdf:type ontology:Q16521 . ?f rdf:type ontology:Q15617994 . ?g property:P138 ?f } UNION { ?g property:P138 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q151885 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q16521 ) ( ontology:Q151885 ) } } . ?b property:P138 resource:Q717 } } . FILTER ( ?o < ?e ) }
Venezuela
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Venezuela
relation named after
type taxon
type concept
[[{'concept': 'taxon'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g rdf:type ontology:taxon . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:named_after ?f } UNION { ?g property:named_after ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:concept } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:taxon ) ( ontology:concept ) } } . ?b property:named_after resource:Venezuela } } . FILTER ( ?o < ?e ) }
[]
designation for an administrative territorial entity taxon concept
SYSTEM
369
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q640473 Q189 Q184 Q1028 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q6122 Q42931 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q654138 Q81261 Q493437 Q863 Q574429 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q2596432 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q16521)|c(Q151885),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q717
relation P138
type Q16521
type Q151885
[ANSWER]
[[{'concept': 'Q16521'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g rdf:type ontology:Q16521 . ?f rdf:type ontology:Q15617994 . ?g property:P138 ?f } UNION { ?g property:P138 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q151885 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q16521 ) ( ontology:Q151885 ) } } . ?b property:P138 resource:Q717 } } . FILTER ( ?o < ?e ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Hohenstein Iceland Belarus Morocco Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo Asti Merate Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Euvelgunne Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
369
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Venezuela
relation named after
type taxon
type concept
[[{'concept': 'taxon'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g rdf:type ontology:taxon . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:named_after ?f } UNION { ?g property:named_after ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:concept } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:taxon ) ( ontology:concept ) } } . ?b property:named_after resource:Venezuela } } . FILTER ( ?o < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P1001
Q14660
USER
Which flag has jurisdiction over Belarus ?
(c(Q14660),P1001,Q184)
action filter_type
action find_reverse
entity Q184
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q184']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q184 . ?d rdf:type ontology:Q14660 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Belarus']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Belarus . ?d rdf:type ontology:flag }
[]
flag
Q132633
SYSTEM
flag of Belarus
Q132633
(c(Q14660),P1001,Q184)
action filter_type
action find_reverse
entity Q184
relation P1001
type Q14660
The [ANSWER] has jurisdiction over Belarus
[{'concept': 'Q14660'}, 'P1001', 'Q184']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q184 . ?d rdf:type ontology:Q14660 }
flag of Belarus
The flag of Belarus has jurisdiction over Belarus
flag of Belarus
action filter_type
action find_reverse
entity Belarus
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Belarus']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Belarus . ?d rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184
P17
Q15617994
USER
Which administrative territory is that one present in ?
(Q132633,P17,c(Q15617994))
action filter_type
action find
entity Q184
relation P17
type Q15617994
['Q132633', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q184 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Belarus
action filter_type
action find
entity Belarus
relation country
type designation for an administrative territorial entity
['flag of Belarus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Belarus property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q132633,P17,c(Q15617994))
action filter_type
action find
entity Q184
relation P17
type Q15617994
That one is the [ANSWER]
['Q132633', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q184 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Belarus
That one is the Belarus
Belarus
action filter_type
action find
entity Belarus
relation country
type designation for an administrative territorial entity
['flag of Belarus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Belarus property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184
P840
Q166142
USER
Which application has its narrative set in that administrative territory ?
(c(Q166142),P840,Q184)
action filter_type
action find_reverse
entity Q184
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q184']
SELECT DISTINCT ?p WHERE { ?p property:P840 resource:Q184 . ?p rdf:type ontology:Q166142 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Belarus']
SELECT DISTINCT ?p WHERE { ?p property:narrative_location resource:Belarus . ?p rdf:type ontology:application }
[]
application
Q811024
SYSTEM
Battlefield 2142
Q811024
(c(Q166142),P840,Q184)
action filter_type
action find_reverse
entity Q184
relation P840
type Q166142
[ANSWER] has its narrative set in that administrative territory
[{'concept': 'Q166142'}, 'P840', 'Q184']
SELECT DISTINCT ?p WHERE { ?p property:P840 resource:Q184 . ?p rdf:type ontology:Q166142 }
Battlefield 2142
Battlefield 2142 has its narrative set in that administrative territory
Battlefield 2142
action filter_type
action find_reverse
entity Belarus
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Belarus']
SELECT DISTINCT ?p WHERE { ?p property:narrative_location resource:Belarus . ?p rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P551
Q502895
USER
Which person has residence at Belarus ?
(c(Q502895),P551,Q184)
action filter_type
action find_reverse
entity Q184
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q184']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q184 . ?w rdf:type ontology:Q502895 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Belarus']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Belarus . ?w rdf:type ontology:common_name }
[]
common name
Q463501
SYSTEM
Valeriya Novodvorskaya
Q463501
(c(Q502895),P551,Q184)
action filter_type
action find_reverse
entity Q184
relation P551
type Q502895
[ANSWER] has residence at Belarus
[{'concept': 'Q502895'}, 'P551', 'Q184']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q184 . ?w rdf:type ontology:Q502895 }
Valeriya Novodvorskaya
Valeriya Novodvorskaya has residence at Belarus
Valeriya Novodvorskaya
action filter_type
action find_reverse
entity Belarus
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Belarus']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Belarus . ?w rdf:type ontology:common_name }
[]