Simple Question (Direct)
Simple Question
Q2148652
P20
Q56061
USER
Which administrative territory is the place of death of Ricardo Espalter ?
(Q2148652,P20,c(Q56061))
action filter_type
action find
entity Q2148652
relation P20
type Q56061
['Q2148652', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2148652 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Ricardo Espalter
action filter_type
action find
entity Ricardo Espalter
relation place of death
type administrative territorial entity
['Ricardo Espalter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ricardo_Espalter property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16258
SYSTEM
Maldonado
Q16258
(Q2148652,P20,c(Q56061))
action filter_type
action find
entity Q2148652
relation P20
type Q56061
[ANSWER] is the place of death of Ricardo Espalter
['Q2148652', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2148652 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Maldonado
Maldonado is the place of death of Ricardo Espalter
Maldonado
action filter_type
action find
entity Ricardo Espalter
relation place of death
type administrative territorial entity
['Ricardo Espalter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ricardo_Espalter property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2148652
P161
Q15416
USER
Which television program stars Ricardo Espalter as actor ?
(c(Q15416),P161,Q2148652)
action filter_type
action find_reverse
entity Q2148652
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q2148652']
SELECT DISTINCT ?q WHERE { ?q property:P161 resource:Q2148652 . ?q rdf:type ontology:Q15416 }
Ricardo Espalter
action filter_type
action find_reverse
entity Ricardo Espalter
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Ricardo Espalter']
SELECT DISTINCT ?q WHERE { ?q property:cast_member resource:Ricardo_Espalter . ?q rdf:type ontology:television_program }
[]
television program
Q20983514
SYSTEM
Hupumorpo
Q20983514
(c(Q15416),P161,Q2148652)
action filter_type
action find_reverse
entity Q2148652
relation P161
type Q15416
[ANSWER] stars Ricardo Espalter as actor
[{'concept': 'Q15416'}, 'P161', 'Q2148652']
SELECT DISTINCT ?q WHERE { ?q property:P161 resource:Q2148652 . ?q rdf:type ontology:Q15416 }
Hupumorpo
Hupumorpo stars Ricardo Espalter as actor
Hupumorpo
action filter_type
action find_reverse
entity Ricardo Espalter
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Ricardo Espalter']
SELECT DISTINCT ?q WHERE { ?q property:cast_member resource:Ricardo_Espalter . ?q rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16258
P190
Q1048835
USER
Which political territory is partner town of Maldonado ?
(Q16258,P190,c(Q1048835))
action filter_type
action find
entity Q16258
relation P190
type Q1048835
['Q16258', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q16258 property:P190 ?u . ?u rdf:type ontology:Q1048835 }
Maldonado
action filter_type
action find
entity Maldonado
relation sister city
type political territorial entity
['Maldonado', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Maldonado property:sister_city ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q694833
SYSTEM
Gramado
Q694833
(Q16258,P190,c(Q1048835))
action filter_type
action find
entity Q16258
relation P190
type Q1048835
[ANSWER] is partner town of Maldonado
['Q16258', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q16258 property:P190 ?u . ?u rdf:type ontology:Q1048835 }
Gramado
Gramado is partner town of Maldonado
Gramado
action filter_type
action find
entity Maldonado
relation sister city
type political territorial entity
['Maldonado', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Maldonado property:sister_city ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q16258
Q56061
USER
And which administrative territory?
(Q16258,P190,c(Q56061))
action filter_type
action find
entity Q16258
relation P190
type Q56061
['Q16258', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16258 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Maldonado
action filter_type
action find
entity Maldonado
relation sister city
type administrative territorial entity
['Maldonado', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maldonado property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q44059
SYSTEM
La Plata
Q44059
(Q16258,P190,c(Q56061))
action filter_type
action find
entity Q16258
relation P190
type Q56061
[ANSWER]
['Q16258', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16258 property:P190 ?q . ?q rdf:type ontology:Q56061 }
La Plata
La Plata
action filter_type
action find
entity Maldonado
relation sister city
type administrative territorial entity
['Maldonado', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maldonado property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q44059 Q34375
P190
Q15617994
USER
Is Villanova del Ghebbo partner town of La Plata ?
(Q44059,P190,Q34375)
action is_in
entity Q34375
action find
entity Q44059
relation P190
['Q44059', 'P190', 'Q34375']
ASK WHERE { resource:Q44059 property:P190 resource:Q34375 }
La Plata Villanova del Ghebbo
action is_in
entity Villanova del Ghebbo
action find
entity La Plata
relation sister city
['La Plata', 'sister city', 'Villanova del Ghebbo']
ASK WHERE { resource:La_Plata property:sister_city resource:Villanova_del_Ghebbo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q44059,P190,Q34375)
action is_in
entity Q34375
action find
entity Q44059
relation P190
[ANSWER]
['Q44059', 'P190', 'Q34375']
ASK WHERE { resource:Q44059 property:P190 resource:Q34375 }
No
action is_in
entity Villanova del Ghebbo
action find
entity La Plata
relation sister city
['La Plata', 'sister city', 'Villanova del Ghebbo']
ASK WHERE { resource:La_Plata property:sister_city resource:Villanova_del_Ghebbo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q44059
P190
Q56061 Q20667921
USER
How many administrative territories or french administrative divisions are a sister city of La Plata ?
(c(Q56061),P190,Q44059) (c(Q20667921),P190,Q44059)
action count
action union
action filter_type
action find_reverse
entity Q44059
relation P190
type Q56061
action filter_type
action find_reverse
entity Q44059
relation P190
type Q20667921
[{'concept': 'Q56061'}, 'P190', 'Q44059'] [{'concept': 'Q20667921'}, 'P190', 'Q44059']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } }
La Plata
action count
action union
action filter_type
action find_reverse
entity La Plata
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity La Plata
relation sister city
type type of french administrative division
[{'concept': 'administrative territorial entity'}, 'sister city', 'La Plata'] [{'concept': 'type of french administrative division'}, 'sister city', 'La Plata']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
administrative territorial entity type of french administrative division
SYSTEM
12
Q43668 Q174 Q13410 Q16258 Q41843 Q170688 Q1335 Q81997 Q1134454 Q10305 Q40269 Q1891
(c(Q56061),P190,Q44059) (c(Q20667921),P190,Q44059)
action count
action union
action filter_type
action find_reverse
entity Q44059
relation P190
type Q56061
action filter_type
action find_reverse
entity Q44059
relation P190
type Q20667921
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q44059'] [{'concept': 'Q20667921'}, 'P190', 'Q44059']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } }
Louisville São Paulo Latina Maldonado Beersheba Santa Cruz Montevideo Boulogne-sur-Mer Coro Zaragoza Porto Alegre Bologna
12
action count
action union
action filter_type
action find_reverse
entity La Plata
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity La Plata
relation sister city
type type of french administrative division
[{'concept': 'administrative territorial entity'}, 'sister city', 'La Plata'] [{'concept': 'type of french administrative division'}, 'sister city', 'La Plata']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q44059
P190
Q56061
USER
How many administrative territories are the sister cities of La Plata ?
(Q44059,P190,c(Q56061))
action count
action filter_type
action find
entity Q44059
relation P190
type Q56061
['Q44059', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q44059 property:P190 ?o . ?o rdf:type ontology:Q56061 }
La Plata
action count
action filter_type
action find
entity La Plata
relation sister city
type administrative territorial entity
['La Plata', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:La_Plata property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
11
Q174 Q13410 Q16258 Q41843 Q170688 Q43668 Q1335 Q1134454 Q10305 Q40269 Q1891
(Q44059,P190,c(Q56061))
action count
action filter_type
action find
entity Q44059
relation P190
type Q56061
[ANSWER]
['Q44059', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q44059 property:P190 ?o . ?o rdf:type ontology:Q56061 }
São Paulo Latina Maldonado Beersheba Santa Cruz Louisville Montevideo Coro Zaragoza Porto Alegre Bologna
11
action count
action filter_type
action find
entity La Plata
relation sister city
type administrative territorial entity
['La Plata', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:La_Plata property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44059
P931
Q62447
USER
Which aerodrome is served by La Plata ?
(c(Q62447),P931,Q44059)
action filter_type
action find_reverse
entity Q44059
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q44059']
SELECT DISTINCT ?u WHERE { ?u property:P931 resource:Q44059 . ?u rdf:type ontology:Q62447 }
La Plata
action filter_type
action find_reverse
entity La Plata
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'La Plata']
SELECT DISTINCT ?u WHERE { ?u property:place_served_by_airport resource:La_Plata . ?u rdf:type ontology:aerodrome }
[]
aerodrome
Q6464471
SYSTEM
La Plata Airport
Q6464471
(c(Q62447),P931,Q44059)
action filter_type
action find_reverse
entity Q44059
relation P931
type Q62447
Plata [ANSWER] is served by La Plata
[{'concept': 'Q62447'}, 'P931', 'Q44059']
SELECT DISTINCT ?u WHERE { ?u property:P931 resource:Q44059 . ?u rdf:type ontology:Q62447 }
La Plata Airport
Plata La Plata Airport is served by La Plata
La Plata Airport
action filter_type
action find_reverse
entity La Plata
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'La Plata']
SELECT DISTINCT ?u WHERE { ?u property:place_served_by_airport resource:La_Plata . ?u rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6464471
P17
Q15617994
USER
Which administrative territory is that aerodrome situated in ?
(Q6464471,P17,c(Q15617994))
action filter_type
action find
entity Q6464471
relation P17
type Q15617994
['Q6464471', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q6464471 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
La Plata Airport
action filter_type
action find
entity La Plata Airport
relation country
type designation for an administrative territorial entity
['La Plata Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:La_Plata_Airport property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q6464471,P17,c(Q15617994))
action filter_type
action find
entity Q6464471
relation P17
type Q15617994
That aerodrome is situated in [ANSWER]
['Q6464471', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q6464471 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Argentina
That aerodrome is situated in Argentina
Argentina
action filter_type
action find
entity La Plata Airport
relation country
type designation for an administrative territorial entity
['La Plata Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:La_Plata_Airport property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q414 Q8318807
P27
Q502895
USER
Is Laurent Bovis a native of that administrative territory ?
(Q8318807,P27,Q414)
action is_in
entity Q8318807
action find
entity Q414
relation P27
['Q8318807', 'P27', 'Q414']
ASK WHERE { resource:Q414 property:P27 resource:Q8318807 }
Argentina Laurent Bovis
action is_in
entity Laurent Bovis
action find
entity Argentina
relation country of citizenship
['Laurent Bovis', 'country of citizenship', 'Argentina']
ASK WHERE { resource:Argentina property:country_of_citizenship resource:Laurent_Bovis }
[]
common name
SYSTEM
NO
(Q8318807,P27,Q414)
action is_in
entity Q8318807
action find
entity Q414
relation P27
[ANSWER]
['Q8318807', 'P27', 'Q414']
ASK WHERE { resource:Q414 property:P27 resource:Q8318807 }
No
action is_in
entity Laurent Bovis
action find
entity Argentina
relation country of citizenship
['Laurent Bovis', 'country of citizenship', 'Argentina']
ASK WHERE { resource:Argentina property:country_of_citizenship resource:Laurent_Bovis }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q974
P495
Q15617994 Q838948 Q2088357
USER
Which administrative territories did greater number of works of art and musical ensembles originate than Democratic Republic of the Congo ?
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q974
relation P495
type Q838948
type Q2088357
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?c WHERE { { ?j property:P495 ?c . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P495 ?c . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2088357 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q2088357 } } . ?w property:P495 resource:Q974 } } . FILTER ( ?b > ?k ) }
Democratic Republic of the Congo
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Democratic Republic of the Congo
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?c WHERE { { ?j property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:work_of_art } UNION { ?j property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:musical_ensemble } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:musical_ensemble } } . ?w property:country_of_origin resource:Democratic_Republic_of_the_Congo } } . FILTER ( ?b > ?k ) }
[]
designation for an administrative territorial entity work of art musical ensemble
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q717 Q837 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q232 Q20 Q1041 Q27 Q28 Q189 Q843 Q1028 Q225 Q224 Q222 Q96 Q17 Q902 Q1033 Q191 Q298 Q750 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q833 Q836 Q79 Q77 Q948 Q29 Q869
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q974
relation P495
type Q838948
type Q2088357
[ANSWERS] greater number of works of art and musical ensembles originated than Democratic Republic of the Congo
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?c WHERE { { ?j property:P495 ?c . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P495 ?c . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2088357 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q2088357 } } . ?w property:P495 resource:Q974 } } . FILTER ( ?b > ?k ) }
Israel Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Venezuela Nepal Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iran South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Kazakhstan Norway Senegal Ireland Hungary Iceland Pakistan Morocco Bosnia and Herzegovina Croatia Albania Mexico Japan Bangladesh Nigeria Estonia Chile Bolivia Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Malaysia Myanmar Egypt Uruguay Tunisia Spain Thailand
Italy, Brazil and United States of America greater number of works of art and musical ensembles originated than Democratic Republic of the Congo
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Democratic Republic of the Congo
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?c WHERE { { ?j property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:work_of_art } UNION { ?j property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:musical_ensemble } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:musical_ensemble } } . ?w property:country_of_origin resource:Democratic_Republic_of_the_Congo } } . FILTER ( ?b > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q750
P495
Q15617994 Q838948 Q2088357
USER
And how about Bolivia?
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q750
relation P495
type Q838948
type Q2088357
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 . ?f property:P495 ?k } UNION { ?f property:P495 ?k . ?f rdf:type ontology:Q2088357 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P495 resource:Q750 . { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?j > ?b ) }
Bolivia
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Bolivia
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art . ?f property:country_of_origin ?k } UNION { ?f property:country_of_origin ?k . ?f rdf:type ontology:musical_ensemble . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:country_of_origin resource:Bolivia . { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?j > ?b ) }
[]
designation for an administrative territorial entity work of art musical ensemble
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q717 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q20 Q1041 Q27 Q28 Q189 Q843 Q1028 Q225 Q224 Q222 Q96 Q17 Q902 Q1033 Q191 Q298 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q833 Q836 Q79 Q77 Q948 Q29 Q869
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q750
relation P495
type Q838948
type Q2088357
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 . ?f property:P495 ?k } UNION { ?f property:P495 ?k . ?f rdf:type ontology:Q2088357 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P495 resource:Q750 . { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?j > ?b ) }
Israel Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Venezuela Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iran South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Norway Senegal Ireland Hungary Iceland Pakistan Morocco Bosnia and Herzegovina Croatia Albania Mexico Japan Bangladesh Nigeria Estonia Chile Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Malaysia Myanmar Egypt Uruguay Tunisia Spain Thailand
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Bolivia
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art . ?f property:country_of_origin ?k } UNION { ?f property:country_of_origin ?k . ?f rdf:type ontology:musical_ensemble . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:country_of_origin resource:Bolivia . { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?j > ?b ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P610
Q14524493
USER
Which terrains are the highest point of those administrative territories ?
(Q38,P610,c(Q14524493)) (Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}] ['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?i ) { ( resource:Q801 ) ( resource:Q419 ) ( resource:Q668 ) } . ?i property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Italy Brazil United States of America
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}] ['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?i ) { ( resource:Israel ) ( resource:Peru ) ( resource:India ) } . ?i property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
terrain
Q583 Q739484 Q130018
SYSTEM
Mont Blanc, Pico da Neblina, Denali
Q583 Q739484 Q130018
(Q38,P610,c(Q14524493)) (Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
[ANSWERS] are the highest point of those administrative territories
['Q38', 'P610', {'concept': 'Q14524493'}] ['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?i ) { ( resource:Q801 ) ( resource:Q419 ) ( resource:Q668 ) } . ?i property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Mont Blanc Pico da Neblina Denali
Mont Blanc, Pico da Neblina and Denali are the highest point of those administrative territories
Mont Blanc Pico da Neblina Denali
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}] ['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?i ) { ( resource:Israel ) ( resource:Peru ) ( resource:India ) } . ?i property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q583 Q739484 Q130018
P610
Q15617994
USER
Which administrative territories are Mont Blanc, Pico da Neblina and Denali the zenith of ?
(c(Q15617994),P610,Q583) (c(Q15617994),P610,Q739484) (c(Q15617994),P610,Q130018)
action union
action filter_type
action find_reverse
entity Q583
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q739484
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q130018
relation P610
type Q15617994
[{'concept': 'Q15617994'}, 'P610', 'Q583'] [{'concept': 'Q15617994'}, 'P610', 'Q739484'] [{'concept': 'Q15617994'}, 'P610', 'Q130018']
SELECT DISTINCT ?g WHERE { { ?g property:P610 resource:Q739484 . ?g rdf:type ontology:Q15617994 } UNION { ?g property:P610 resource:Q583 . ?g rdf:type ontology:Q15617994 } }
Mont Blanc Pico da Neblina Denali
action union
action filter_type
action find_reverse
entity Mont Blanc
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pico da Neblina
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denali
relation highest point
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mont Blanc'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Pico da Neblina'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Denali']
SELECT DISTINCT ?g WHERE { { ?g property:highest_point resource:Pico_da_Neblina . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:highest_point resource:Mont_Blanc . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q12751 Q142 Q38 Q155 Q30
(c(Q15617994),P610,Q583) (c(Q15617994),P610,Q739484) (c(Q15617994),P610,Q130018)
action union
action filter_type
action find_reverse
entity Q583
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q739484
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q130018
relation P610
type Q15617994
[ANSWERS] are Mont Blanc, Pico da Neblina and Denali the zenith of
[{'concept': 'Q15617994'}, 'P610', 'Q583'] [{'concept': 'Q15617994'}, 'P610', 'Q739484'] [{'concept': 'Q15617994'}, 'P610', 'Q130018']
SELECT DISTINCT ?g WHERE { { ?g property:P610 resource:Q739484 . ?g rdf:type ontology:Q15617994 } UNION { ?g property:P610 resource:Q583 . ?g rdf:type ontology:Q15617994 } }
Haute-Savoie France Italy Brazil United States of America
Italy, Brazil and United States of America are Mont Blanc, Pico da Neblina and Denali the zenith of
Italy Brazil United States of America
action union
action filter_type
action find_reverse
entity Mont Blanc
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pico da Neblina
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denali
relation highest point
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mont Blanc'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Pico da Neblina'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Denali']
SELECT DISTINCT ?g WHERE { { ?g property:highest_point resource:Pico_da_Neblina . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:highest_point resource:Mont_Blanc . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q130018
P138
Q2235308
USER
Which ship type has Denali as its namesake ?
(c(Q2235308),P138,Q130018)
action filter_type
action find_reverse
entity Q130018
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q130018']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q130018 . ?o rdf:type ontology:Q2235308 }
Denali
action filter_type
action find_reverse
entity Denali
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Denali']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Denali . ?o rdf:type ontology:ship_type }
[]
ship type
Q7871987
SYSTEM
USS Mount McKinley
Q7871987
(c(Q2235308),P138,Q130018)
action filter_type
action find_reverse
entity Q130018
relation P138
type Q2235308
As [ANSWER] has Denali as its namesake
[{'concept': 'Q2235308'}, 'P138', 'Q130018']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q130018 . ?o rdf:type ontology:Q2235308 }
USS Mount McKinley
As USS Mount McKinley has Denali as its namesake
USS Mount McKinley
action filter_type
action find_reverse
entity Denali
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Denali']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Denali . ?o rdf:type ontology:ship_type }
[]