Simple Question (Direct)
Simple Question
Q1756908
P17
Q15617994
USER
Which administrative territory is Nechanice located in ?
(Q1756908,P17,c(Q15617994))
action filter_type
action find
entity Q1756908
relation P17
type Q15617994
['Q1756908', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1756908 property:P17 ?s }
Nechanice
action filter_type
action find
entity Nechanice
relation country
type designation for an administrative territorial entity
['Nechanice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nechanice property:country ?s }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1756908,P17,c(Q15617994))
action filter_type
action find
entity Q1756908
relation P17
type Q15617994
Nechanice is located in [ANSWER]
['Q1756908', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1756908 property:P17 ?s }
Czech Republic
Nechanice is located in Czech Republic
Czech Republic
action filter_type
action find
entity Nechanice
relation country
type designation for an administrative territorial entity
['Nechanice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nechanice property:country ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P1532
Q502895
USER
Whose people are that administrative territory ?
(c(Q502895),P1532,Q213)
action filter_type
action find_reverse
entity Q213
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q213']
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q213 . ?q rdf:type ontology:Q502895 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Czech Republic']
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:Czech_Republic . ?q rdf:type ontology:common_name }
[]
common name
Q4767410 Q19630970 Q17275699
SYSTEM
Anna Pichrtová, Patrik Šorm, Kristiina Mäki
Q17275699 Q19630970 Q25933029 Q4767410
(c(Q502895),P1532,Q213)
action filter_type
action find_reverse
entity Q213
relation P1532
type Q502895
[ANSWERS] are that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q213']
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q213 . ?q rdf:type ontology:Q502895 }
Kristiina Mäki Patrik Šorm Lucie Koudelová Anna Pichrtová
Anna Pichrtová, Patrik Šorm and Kristiina Mäki are that administrative territory
Anna Pichrtová Patrik Šorm Kristiina Mäki
action filter_type
action find_reverse
entity Czech Republic
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Czech Republic']
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:Czech_Republic . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q213 Q334
P530
Q1048835
USER
How many political territories are known to have diplomatic connections with Czech Republic and Singapore ?
(c(Q1048835),P530,Q213) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q213
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q213'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P530 resource:Q213 . ?r rdf:type ontology:Q1048835 . ?r property:P530 resource:Q334 . ?r rdf:type ontology:Q1048835 }
Czech Republic Singapore
action count
action intersection
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Czech Republic'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:diplomatic_relation resource:Czech_Republic . ?r rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation resource:Singapore . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q213) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q213
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q213'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P530 resource:Q213 . ?r rdf:type ontology:Q1048835 . ?r property:P530 resource:Q334 . ?r rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Czech Republic
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Czech Republic'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:diplomatic_relation resource:Czech_Republic . ?r rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation resource:Singapore . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P47
Q1048835
USER
Who share the border with Czech Republic ?
(Q213,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
['Q213', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P47 ?s . ?s rdf:type ontology:Q1048835 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:shares_border_with ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(Q213,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
[ANSWERS] share the border with Czech Republic
['Q213', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P47 ?s . ?s rdf:type ontology:Q1048835 }
Germany Austria
Germany and Austria share the border with Czech Republic
Germany Austria
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:shares_border_with ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1995277
Q1048835
USER
And what about Penàguila?
(Q1995277,P47,c(Q1048835))
action filter_type
action find
entity Q1995277
relation P47
type Q1048835
['Q1995277', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1995277 property:P47 ?m . ?m rdf:type ontology:Q1048835 }
Penàguila
action filter_type
action find
entity Penàguila
relation shares border with
type political territorial entity
['Penàguila', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Penàguila property:shares_border_with ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q985137 Q1751262 Q1769746
SYSTEM
Sella, Relleu, Gorga
Q930303 Q1770091 Q1770136 Q985137 Q619123 Q1751262 Q1641908 Q1769746
(Q1995277,P47,c(Q1048835))
action filter_type
action find
entity Q1995277
relation P47
type Q1048835
[ANSWERS]
['Q1995277', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1995277 property:P47 ?m . ?m rdf:type ontology:Q1048835 }
Benifallim Benilloba Benasau Sella Alcoleja Relleu Torremanzanas / La Torre de les Maçanes Gorga
Sella Relleu Gorga
action filter_type
action find
entity Penàguila
relation shares border with
type political territorial entity
['Penàguila', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Penàguila property:shares_border_with ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1995277
P47
Q1048835
USER
Does Penàguila share border with those ones ?
(Q1995277,P47,Q985137) (Q1995277,P47,Q1751262) (Q1995277,P47,Q1769746)
action is_in
entity prev_answer
action find
entity Q1995277
relation P47
['Q1995277', 'P47', 'Q985137'] ['Q1995277', 'P47', 'Q1751262'] ['Q1995277', 'P47', 'Q1769746']
ASK WHERE { resource:Q1995277 property:P47 ?o . VALUES ( ?o ) { ( resource:Q930303 ) ( resource:Q1770091 ) ( resource:Q1770136 ) } }
Penàguila
action is_in
entity prev_answer
action find
entity Penàguila
relation shares border with
['Penàguila', 'shares border with', 'Sella'] ['Penàguila', 'shares border with', 'Relleu'] ['Penàguila', 'shares border with', 'Gorga']
ASK WHERE { resource:Penàguila property:shares_border_with ?o . VALUES ( ?o ) { ( resource:Benifallim ) ( resource:Benilloba ) ( resource:Benasau ) } }
[]
political territorial entity
SYSTEM
YES
(Q1995277,P47,Q985137) (Q1995277,P47,Q1751262) (Q1995277,P47,Q1769746)
action is_in
entity prev_answer
action find
entity Q1995277
relation P47
[ANSWER]
['Q1995277', 'P47', 'Q985137'] ['Q1995277', 'P47', 'Q1751262'] ['Q1995277', 'P47', 'Q1769746']
ASK WHERE { resource:Q1995277 property:P47 ?o . VALUES ( ?o ) { ( resource:Q930303 ) ( resource:Q1770091 ) ( resource:Q1770136 ) } }
Yes
action is_in
entity prev_answer
action find
entity Penàguila
relation shares border with
['Penàguila', 'shares border with', 'Sella'] ['Penàguila', 'shares border with', 'Relleu'] ['Penàguila', 'shares border with', 'Gorga']
ASK WHERE { resource:Penàguila property:shares_border_with ?o . VALUES ( ?o ) { ( resource:Benifallim ) ( resource:Benilloba ) ( resource:Benasau ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q183 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Germany property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q183 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Germany property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q38
P530
Q15617994
USER
And also tell me about Italy?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q148
Q15617994
USER
And how about People's Republic of China?
(Q148,P530,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
['Q148', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q148 property:P530 ?o }
People's Republic of China
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?o }
[]
designation for an administrative territorial entity
SYSTEM
10
(Q148,P530,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[ANSWER]
['Q148', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q148 property:P530 ?o }
10
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:People's_Republic_of_China property:diplomatic_relation ?o }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q166142
USER
Which administrative territories are atleast 27 works of art or applications set in ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 27
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?h >= 27 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P840 ?n . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P840 ?n . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q166142 } } GROUP BY ?n } }
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 27
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?h >= 27 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art } UNION { ?f property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:application } } GROUP BY ?n } }
[]
designation for an administrative territorial entity work of art application
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q414 Q142 Q55 Q258 Q159 Q43 Q41 Q155 Q794 Q889 Q241 Q33 Q31 Q30 Q36 Q39 Q38 Q739 Q20 Q96 Q17 Q212 Q79 Q869
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 27
[ANSWERS] are atleast 27 works of art or applications set in
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?h >= 27 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P840 ?n . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P840 ?n . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q166142 } } GROUP BY ?n } }
India Argentina France Netherlands South Africa Russia Turkey Greece Brazil Iran Afghanistan Cuba Finland Belgium United States of America Poland Switzerland Italy Colombia Norway Mexico Japan Ukraine Egypt Thailand
Italy, Brazil and United States of America are atleast 27 works of art or applications set in
Italy Brazil United States of America
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 27
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?h >= 27 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art } UNION { ?f property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:application } } GROUP BY ?n } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with around 123 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 123
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = 123 ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { ?b property:P530 ?r . ?b rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?b } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 123
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = 123 ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { ?b property:diplomatic_relation ?r . ?b rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 123
[ANSWERS] hold diplomatic relationship with around 123 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = 123 ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { ?b property:P530 ?r . ?b rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?b } }
Germany Australia
Germany and Australia hold diplomatic relationship with around 123 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 123
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = 123 ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { ?b property:diplomatic_relation ?r . ?b rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4882374
P530
Q15617994
USER
Do Belfonte School District have diplomatic associations with those political territories ?
(Q4882374,P530,Q183) (Q4882374,P530,Q408)
action is_in
entity prev_answer
action find
entity Q4882374
relation P530
['Q4882374', 'P530', 'Q183'] ['Q4882374', 'P530', 'Q408']
ASK WHERE { VALUES ( ?o ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q4882374 property:P530 ?o }
Belfonte School District
action is_in
entity prev_answer
action find
entity Belfonte School District
relation diplomatic relation
['Belfonte School District', 'diplomatic relation', 'Germany'] ['Belfonte School District', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?o ) { ( resource:Germany ) ( resource:Australia ) } . resource:Belfonte_School_District property:diplomatic_relation ?o }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4882374,P530,Q183) (Q4882374,P530,Q408)
action is_in
entity prev_answer
action find
entity Q4882374
relation P530
[ANSWER]
['Q4882374', 'P530', 'Q183'] ['Q4882374', 'P530', 'Q408']
ASK WHERE { VALUES ( ?o ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q4882374 property:P530 ?o }
No
action is_in
entity prev_answer
action find
entity Belfonte School District
relation diplomatic relation
['Belfonte School District', 'diplomatic relation', 'Germany'] ['Belfonte School District', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?o ) { ( resource:Germany ) ( resource:Australia ) } . resource:Belfonte_School_District property:diplomatic_relation ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P47
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions have a shared border with Brazil ?
(Q155,P47,c(Q15617994)) (Q155,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q20667921
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } . ?q rdf:type ?x }
Brazil
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type type of french administrative division
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?q rdf:type ?x }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
11
Q739 Q142 Q717 Q3769 Q730 Q733 Q734 Q419 Q77 Q414 Q750
(Q155,P47,c(Q15617994)) (Q155,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q20667921
[ANSWER]
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } . ?q rdf:type ?x }
Colombia France Venezuela French Guiana Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia
11
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type type of french administrative division
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?q rdf:type ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P1376
Q515
USER
Which city is the county seat of that administrative territory ?
action filter_type
action find_reverse
entity Q155
relation P1376
type Q515
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q155 . ?t rdf:type ontology:Q515 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation capital of
type city
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Brazil . ?t rdf:type ontology:city }
[]
city
Q2844
SYSTEM
Brasília
Q2844
action filter_type
action find_reverse
entity Q155
relation P1376
type Q515
Of [ANSWER] is the county seat of that administrative territory
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q155 . ?t rdf:type ontology:Q515 }
Brasília
Of Brasília is the county seat of that administrative territory
Brasília
action filter_type
action find_reverse
entity Brazil
relation capital of
type city
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Brazil . ?t rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2844
P190
Q515
USER
Which cities are twin town of that one ?
(c(Q515),P190,Q2844)
action filter_type
action find
entity Q2844
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q2844']
SELECT DISTINCT ?x WHERE { resource:Q2844 property:P190 ?x . ?x rdf:type ontology:Q515 }
Brasília
action filter_type
action find
entity Brasília
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Brasília']
SELECT DISTINCT ?x WHERE { resource:Brasília property:sister_city ?x . ?x rdf:type ontology:city }
[]
city
Q1486 Q3616 Q9005
SYSTEM
Buenos Aires, Tehran, Brussels
Q1486 Q3616 Q9005
(c(Q515),P190,Q2844)
action filter_type
action find
entity Q2844
relation P190
type Q515
[ANSWERS] are twin town of that one
[{'concept': 'Q515'}, 'P190', 'Q2844']
SELECT DISTINCT ?x WHERE { resource:Q2844 property:P190 ?x . ?x rdf:type ontology:Q515 }
Buenos Aires Tehran Brussels
Buenos Aires, Tehran and Brussels are twin town of that one
Buenos Aires Tehran Brussels
action filter_type
action find
entity Brasília
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Brasília']
SELECT DISTINCT ?x WHERE { resource:Brasília property:sister_city ?x . ?x rdf:type ontology:city }
[]