Simple Question (Direct)
Simple Question
Q344704
P410
Q4189293
USER
Which title was the military rank conferred upon Gabino Gaínza ?
(Q344704,P410,c(Q4189293))
action filter_type
action find
entity Q344704
relation P410
type Q4189293
['Q344704', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q344704 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
Gabino Gaínza
action filter_type
action find
entity Gabino Gaínza
relation military rank
type title
['Gabino Gaínza', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Gabino_Gaínza property:military_rank ?i . ?i rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q344704,P410,c(Q4189293))
action filter_type
action find
entity Q344704
relation P410
type Q4189293
[ANSWER] was the military rank conferred upon Gabino Gaínza
['Q344704', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q344704 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
general officer
General officer was the military rank conferred upon Gabino Gaínza
general officer
action filter_type
action find
entity Gabino Gaínza
relation military rank
type title
['Gabino Gaínza', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Gabino_Gaínza property:military_rank ?i . ?i rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q344704
P20
Q15617994
USER
Which administrative territory is the place of death of that person ?
(Q83460,P20,c(Q15617994))
action filter_type
action find
entity Q344704
relation P20
type Q15617994
['Q83460', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q344704 property:P20 ?u . ?u rdf:type ontology:Q15617994 }
Gabino Gaínza
action filter_type
action find
entity Gabino Gaínza
relation place of death
type designation for an administrative territorial entity
['general officer', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Gabino_Gaínza property:place_of_death ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q83460,P20,c(Q15617994))
action filter_type
action find
entity Q344704
relation P20
type Q15617994
To [ANSWER] is the place of death of that person
['Q83460', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q344704 property:P20 ?u . ?u rdf:type ontology:Q15617994 }
Mexico
To Mexico is the place of death of that person
Mexico
action filter_type
action find
entity Gabino Gaínza
relation place of death
type designation for an administrative territorial entity
['general officer', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Gabino_Gaínza property:place_of_death ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q96
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Mexico ?
(Q96,P530,c(Q15617994))
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q96 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Mexico
action count
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Mexico property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q38
(Q96,P530,c(Q15617994))
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWER]
['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q96 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Brazil Italy
2
action count
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Mexico property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q183
P530
Q15617994
USER
And also tell me about 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 ( ?s ) AS ?j ) WHERE { resource:Q183 property:P530 ?s . ?s 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 ( ?s ) AS ?j ) WHERE { resource:Germany property:diplomatic_relation ?s . ?s 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 ( ?s ) AS ?j ) WHERE { resource:Q183 property:P530 ?s . ?s 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 ( ?s ) AS ?j ) WHERE { resource:Germany property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q38
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 ( ?k ) AS ?g ) WHERE { resource:Q38 property:P530 ?k . ?k 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 ( ?k ) AS ?g ) WHERE { resource:Italy property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
(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 ( ?k ) AS ?g ) WHERE { resource:Q38 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
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 ( ?k ) AS ?g ) WHERE { resource:Italy property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q2235308 Q12737077
USER
How many administrative territories are atleast 895 ship types or occupations situated in ?
(c(Q2235308)|c(Q12737077),P17,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2235308
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q12737077
value 895
[[{'concept': 'Q2235308'}, {'concept': 'Q12737077'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q2235308 ) } . ?i rdf:type ?j } GROUP BY ?z } . FILTER ( ?b >= 895 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type ship type
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type occupation
value 895
[[{'concept': 'ship type'}, {'concept': 'occupation'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:occupation ) ( ontology:ship_type ) } . ?i rdf:type ?j } GROUP BY ?z } . FILTER ( ?b >= 895 ) }
[]
designation for an administrative territorial entity ship type occupation
SYSTEM
2
Q30 Q29
(c(Q2235308)|c(Q12737077),P17,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2235308
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q12737077
value 895
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q12737077'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q2235308 ) } . ?i rdf:type ?j } GROUP BY ?z } . FILTER ( ?b >= 895 ) }
United States of America Spain
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type ship type
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type occupation
value 895
[[{'concept': 'ship type'}, {'concept': 'occupation'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:occupation ) ( ontology:ship_type ) } . ?i rdf:type ?j } GROUP BY ?z } . FILTER ( ?b >= 895 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with lesser number of administrative territories than Canada ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?m ) WHERE { ?d property:P530 ?b . ?d rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q16 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?y ) }
Canada
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?m ) WHERE { ?d property:diplomatic_relation ?b . ?d rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Canada property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?y ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?m ) WHERE { ?d property:P530 ?b . ?d rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q16 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?y ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?m ) WHERE { ?d property:diplomatic_relation ?b . ?d rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Canada property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q40
P530
Q15617994 Q1048835
USER
And what about Austria?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:P530 ?c . ?k rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?s < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q40 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } }
Austria
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:diplomatic_relation ?c . ?k rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?s < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Austria property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
9
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:P530 ?c . ?k rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?s < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q40 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
9
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:diplomatic_relation ?c . ?k rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?s < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Austria property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with atleast 91 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?y >= 91 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:P530 ?x . ?a rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?a } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?y >= 91 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:diplomatic_relation ?x . ?a rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?y >= 91 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:P530 ?x . ?a rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?a } }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?y >= 91 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:diplomatic_relation ?x . ?a rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P1376
Q56061
USER
Which administrative territory is the county seat for Mexico ?
(c(Q56061),P1376,Q96)
action filter_type
action find_reverse
entity Q96
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q96']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q96 . ?u rdf:type ontology:Q56061 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Mexico']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Mexico . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489
SYSTEM
Mexico City
Q1489
(c(Q56061),P1376,Q96)
action filter_type
action find_reverse
entity Q96
relation P1376
type Q56061
[ANSWER] is the county seat for Mexico
[{'concept': 'Q56061'}, 'P1376', 'Q96']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q96 . ?u rdf:type ontology:Q56061 }
Mexico City
Mexico City is the county seat for Mexico
Mexico City
action filter_type
action find_reverse
entity Mexico
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Mexico']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Mexico . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P740
Q2088357
USER
What were formed at that administrative territory ?
(c(Q2088357),P740,Q1489)
action filter_type
action find_reverse
entity Q96
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1489']
SELECT DISTINCT ?l WHERE { ?l property:P740 resource:Q96 . ?l rdf:type ontology:Q2088357 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Mexico City']
SELECT DISTINCT ?l WHERE { ?l property:location_of_formation resource:Mexico . ?l rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q6172419 Q5359916 Q6424468
SYSTEM
Jeans, Elfonía, Kobol
Q6172419 Q5359916 Q6424468
(c(Q2088357),P740,Q1489)
action filter_type
action find_reverse
entity Q96
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q1489']
SELECT DISTINCT ?l WHERE { ?l property:P740 resource:Q96 . ?l rdf:type ontology:Q2088357 }
Jeans Elfonía Kobol
Jeans, Elfonía and Kobol were formed at that administrative territory
Jeans Elfonía Kobol
action filter_type
action find_reverse
entity Mexico
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Mexico City']
SELECT DISTINCT ?l WHERE { ?l property:location_of_formation resource:Mexico . ?l rdf:type ontology:musical_ensemble }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P175
Q2031291
USER
How many releases performed that musical ensemble ?
(c(Q2031291),P175,Q5359916)
[{'concept': 'Q2031291'}, 'P175', 'Q5359916']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q16010345 resource:Q5359916 . ?z rdf:type ontology:Q2031291 }
[{'concept': 'release'}, 'performer', 'Elfonía']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:performer resource:Elfonía . ?z rdf:type ontology:release }
[]
release
Quantitative|Count|Single entity type|Clarification
Q5359916
SYSTEM
Did you mean Elfonía ?
(c(Q2031291),P175,Q6172419) (c(Q2031291),P175,Q5359916) (c(Q2031291),P175,Q6424468)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q6172419'] [{'concept': 'Q2031291'}, 'P175', 'Q5359916'] [{'concept': 'Q2031291'}, 'P175', 'Q6424468']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q16010345 resource:Q5359916 . ?z rdf:type ontology:Q2031291 }
Did you mean Elfonía ?
Elfonía
[{'concept': 'release'}, 'performer', 'Jeans'] [{'concept': 'release'}, 'performer', 'Elfonía'] [{'concept': 'release'}, 'performer', 'Kobol']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:performer resource:Elfonía . ?z rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P175,Q5359916)
[{'concept': 'Q2031291'}, 'P175', 'Q5359916']
[{'concept': 'release'}, 'performer', 'Elfonía']
[]
SYSTEM
1
Q5359917
(c(Q2031291),P175,Q5359916)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q5359916']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q16010345 resource:Q5359916 . ?z rdf:type ontology:Q2031291 }
Elfonía
1
[{'concept': 'release'}, 'performer', 'Elfonía']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:performer resource:Elfonía . ?z rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q728937 Q44377
USER
How many administrative territories are the terminus for approximately 1 railroad lines or tunnels ?
(c(Q728937)|c(Q44377),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
value 1
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?w ) { ( ontology:Q44377 ) ( ontology:Q728937 ) } . ?d rdf:type ?w } GROUP BY ?m } . FILTER ( ?t = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
value 1
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?w ) { ( ontology:tunnel ) ( ontology:railroad_line ) } . ?d rdf:type ?w } GROUP BY ?m } . FILTER ( ?t = 1 ) }
[]
administrative territorial entity railroad line tunnel
SYSTEM
24
Q3051477 Q375314 Q12439 Q2814 Q4825403 Q5902931 Q7651719 Q992420 Q7050868 Q35433 Q66208 Q2796951 Q687945 Q782155 Q12714367 Q6820370 Q2703030 Q794802 Q6275457 Q1735 Q1229951 Q12191 Q634172 Q1729
(c(Q728937)|c(Q44377),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
value 1
[ANSWER]
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?w ) { ( ontology:Q44377 ) ( ontology:Q728937 ) } . ?d rdf:type ?w } GROUP BY ?m } . FILTER ( ?t = 1 ) }
Ellewoutsdijk Folkestone Detroit Halle (Saale) Austrepollen Horda, Norway Svartnes Fjærland Nordrepollen Saint-Rhémy-en-Bosses Frutigen Cumberland Gap San Bernardino Jarrow Granvin Merritton, Ontario Kilsby Otira Jong, Norway Innsbruck L'Estaque Nantes Banihal Erfurt
24
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
value 1
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?w ) { ( ontology:tunnel ) ( ontology:railroad_line ) } . ?d rdf:type ?w } GROUP BY ?m } . FILTER ( ?t = 1 ) }
[]