Simple Question (Direct)
Simple Question
Q1557412
P20
Q15617994
USER
Where did the expiration of Guus Lutjens occur ?
(Q1557412,P20,c(Q15617994))
action filter_type
action find
entity Q1557412
relation P20
type Q15617994
['Q1557412', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1557412 property:P20 ?z . ?z rdf:type ontology:Q15617994 }
Guus Lutjens
action filter_type
action find
entity Guus Lutjens
relation place of death
type designation for an administrative territorial entity
['Guus Lutjens', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Guus_Lutjens property:place_of_death ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q1557412,P20,c(Q15617994))
action filter_type
action find
entity Q1557412
relation P20
type Q15617994
The expiration of Guus Lutjens occurred in [ANSWER]
['Q1557412', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1557412 property:P20 ?z . ?z rdf:type ontology:Q15617994 }
Netherlands
The expiration of Guus Lutjens occurred in Netherlands
Netherlands
action filter_type
action find
entity Guus Lutjens
relation place of death
type designation for an administrative territorial entity
['Guus Lutjens', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Guus_Lutjens property:place_of_death ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P610
Q8072
USER
Which is the zenith of that administrative territory ?
(Q55,P610,c(Q8072))
action filter_type
action find
entity Q55
relation P610
type Q8072
['Q55', 'P610', {'concept': 'Q8072'}]
SELECT DISTINCT ?p WHERE { resource:Q55 property:P610 ?p . ?p rdf:type ontology:Q8072 }
Netherlands
action filter_type
action find
entity Netherlands
relation highest point
type volcano
['Netherlands', 'highest point', {'concept': 'volcano'}]
SELECT DISTINCT ?p WHERE { resource:Netherlands property:highest_point ?p . ?p rdf:type ontology:volcano }
[]
volcano
Q1301834
SYSTEM
Mount Scenery
Q1301834
(Q55,P610,c(Q8072))
action filter_type
action find
entity Q55
relation P610
type Q8072
The zenith of that administrative territory is of [ANSWER]
['Q55', 'P610', {'concept': 'Q8072'}]
SELECT DISTINCT ?p WHERE { resource:Q55 property:P610 ?p . ?p rdf:type ontology:Q8072 }
Mount Scenery
The zenith of that administrative territory is of Mount Scenery
Mount Scenery
action filter_type
action find
entity Netherlands
relation highest point
type volcano
['Netherlands', 'highest point', {'concept': 'volcano'}]
SELECT DISTINCT ?p WHERE { resource:Netherlands property:highest_point ?p . ?p rdf:type ontology:volcano }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P610
Q15617994 Q2221906
USER
How many administrative territories and geographic locations are that volcano the highest point of ?
(c(Q15617994),P610,Q1301834) (c(Q2221906),P610,Q1301834) (c(Q15617994),P610,Q1301834) (c(Q2221906),P610,Q1301834)
action count
action union
action filter_type
action find_reverse
entity Q1301834
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q1301834
relation P610
type Q2221906
[{'concept': 'Q15617994'}, 'P610', 'Q1301834'] [{'concept': 'Q2221906'}, 'P610', 'Q1301834'] [{'concept': 'Q15617994'}, 'P610', 'Q1301834'] [{'concept': 'Q2221906'}, 'P610', 'Q1301834']
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:P610 resource:Q1301834 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P610 resource:Q1301834 . ?m rdf:type ontology:Q2221906 } }
action count
action union
action filter_type
action find_reverse
entity Mount Scenery
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Mount Scenery
relation highest point
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mount Scenery'] [{'concept': 'geographic location'}, 'highest point', 'Mount Scenery'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mount Scenery'] [{'concept': 'geographic location'}, 'highest point', 'Mount Scenery']
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:highest_point resource:Mount_Scenery . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:highest_point resource:Mount_Scenery . ?m rdf:type ontology:geographic_location } }
[]
designation for an administrative territorial entity geographic location
SYSTEM
2 administrative territories and 1 geographic locations
Q27561 Q29999 Q55
(c(Q15617994),P610,Q1301834) (c(Q2221906),P610,Q1301834) (c(Q15617994),P610,Q1301834) (c(Q2221906),P610,Q1301834)
action count
action union
action filter_type
action find_reverse
entity Q1301834
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q1301834
relation P610
type Q2221906
[ANSWER]
[{'concept': 'Q15617994'}, 'P610', 'Q1301834'] [{'concept': 'Q2221906'}, 'P610', 'Q1301834'] [{'concept': 'Q15617994'}, 'P610', 'Q1301834'] [{'concept': 'Q2221906'}, 'P610', 'Q1301834']
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:P610 resource:Q1301834 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P610 resource:Q1301834 . ?m rdf:type ontology:Q2221906 } }
Caribbean Netherlands Kingdom of the Netherlands Netherlands
2 administrative territories and 1 geographic locations
action count
action union
action filter_type
action find_reverse
entity Mount Scenery
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Mount Scenery
relation highest point
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mount Scenery'] [{'concept': 'geographic location'}, 'highest point', 'Mount Scenery'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mount Scenery'] [{'concept': 'geographic location'}, 'highest point', 'Mount Scenery']
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:highest_point resource:Mount_Scenery . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:highest_point resource:Mount_Scenery . ?m rdf:type ontology:geographic_location } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q459020 Q1557412
P54
Q1194951
USER
Which national sports teams are Guus Lutjens and Otman Bakkal a member of ?
AND((Q1557412,P54,c(Q1194951)), (Q459020,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q1557412
relation P54
action find
entity Q459020
relation P54
type Q1194951
{'AND': [['Q1557412', 'P54', {'concept': 'Q1194951'}], ['Q459020', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1557412 property:P54 ?g . resource:Q459020 property:P54 ?g . ?g rdf:type ontology:Q1194951 }
Otman Bakkal Guus Lutjens
action filter_type
action intersection
action find
entity Guus Lutjens
relation member of sports team
action find
entity Otman Bakkal
relation member of sports team
type national sports team
{'AND': [['Guus Lutjens', 'member of sports team', {'concept': 'national sports team'}], ['Otman Bakkal', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?g WHERE { resource:Guus_Lutjens property:member_of_sports_team ?g . resource:Otman_Bakkal property:member_of_sports_team ?g . ?g rdf:type ontology:national_sports_team }
[]
national sports team
Q47050
SYSTEM
Netherlands national football team
Q47050
AND((Q1557412,P54,c(Q1194951)), (Q459020,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q1557412
relation P54
action find
entity Q459020
relation P54
type Q1194951
[ANSWER] is Guus Lutjens and Otman Bakkal a member of
{'AND': [['Q1557412', 'P54', {'concept': 'Q1194951'}], ['Q459020', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1557412 property:P54 ?g . resource:Q459020 property:P54 ?g . ?g rdf:type ontology:Q1194951 }
Netherlands national football team
Netherlands national football team is Guus Lutjens and Otman Bakkal a member of
Netherlands national football team
action filter_type
action intersection
action find
entity Guus Lutjens
relation member of sports team
action find
entity Otman Bakkal
relation member of sports team
type national sports team
{'AND': [['Guus Lutjens', 'member of sports team', {'concept': 'national sports team'}], ['Otman Bakkal', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?g WHERE { resource:Guus_Lutjens property:member_of_sports_team ?g . resource:Otman_Bakkal property:member_of_sports_team ?g . ?g rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P186
Q8063 Q8072
USER
Which rocks are used to produce min number of volcanoes ?
(c(Q8072),P186,Q332748)
action argmin
action find_reverse_tuple_counts
relation P186
type Q8063
type Q8072
[{'concept': 'Q8072'}, 'P186', 'Q332748']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?q rdf:type ontology:Q8063 . ?s rdf:type ontology:Q8072 . ?s property:P186 ?q } GROUP BY ?q } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P186 ?d . ?w rdf:type ontology:Q8072 . ?d rdf:type ontology:Q8063 } GROUP BY ?d } } }
action argmin
action find_reverse_tuple_counts
relation material used
type rock
type volcano
[{'concept': 'volcano'}, 'material used', 'trachyte']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?q rdf:type ontology:rock . ?s rdf:type ontology:volcano . ?s property:material_used ?q } GROUP BY ?q } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:material_used ?d . ?w rdf:type ontology:volcano . ?d rdf:type ontology:rock } GROUP BY ?d } } }
[]
rock volcano
Q216798 Q41177 Q23757
SYSTEM
lapis lazuli, granite, limestone
Q944070 Q1134814 Q17017524 Q484924 Q216798 Q2509719 Q847257 Q42302 Q513110 Q166409 Q184053 Q11722524 Q751300 Q565731 Q216202 Q237883 Q40861 Q757022 Q731880 Q207079 Q190727 Q6642424 Q1225329 Q753016 Q3387746 Q3338048 Q632078 Q41177 Q191250 Q102078 Q195178 Q15315 Q7282754 Q1257550 Q183670 Q337238 Q11722512 Q23757 Q491689 Q3856092 Q40157
(c(Q8072),P186,Q332748)
action argmin
action find_reverse_tuple_counts
relation P186
type Q8063
type Q8072
[ANSWERS] are used to produce min number of volcanoes
[{'concept': 'Q8072'}, 'P186', 'Q332748']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?q rdf:type ontology:Q8063 . ?s rdf:type ontology:Q8072 . ?s property:P186 ?q } GROUP BY ?q } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P186 ?d . ?w rdf:type ontology:Q8072 . ?d rdf:type ontology:Q8063 } GROUP BY ?d } } }
artificial stone dolostone Pennant Measures tuff lapis lazuli ironstone felsic clay pluton gneiss marl gypsum rock shale siltstone granulite quartzite marble sett phyllite slate rhyolite mudstone rubble diabase Volvic stone Nenfro oolite granite breccia bauxite Carbonatite schist rag-stone phonolite chalk porphyry anhydrite stone limestone evaporite mica schist lava
Lapis lazuli, granite and limestone are used to produce min number of volcanoes
lapis lazuli granite limestone
action argmin
action find_reverse_tuple_counts
relation material used
type rock
type volcano
[{'concept': 'volcano'}, 'material used', 'trachyte']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?q rdf:type ontology:rock . ?s rdf:type ontology:volcano . ?s property:material_used ?q } GROUP BY ?q } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:material_used ?d . ?w rdf:type ontology:volcano . ?d rdf:type ontology:rock } GROUP BY ?d } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2364075
P361
Q271669 Q56061 Q8072
USER
How many volcanoes are a portion of less number of landforms or administrative territories than Iliboleng ?
(c(Q8072),P361,c(Q271669)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P361
type Q8072
type Q271669
action find_tuple_counts
relation P361
type Q8072
type Q56061
action count
action filter_multi_types
action find
entity Q2364075
relation P361
type Q271669
type Q56061
[{'concept': 'Q8072'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } . ?c rdf:type ?g } GROUP BY ?w } . FILTER ( ?b < ?i ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } } . resource:Q2364075 property:P361 ?k } } }
Iliboleng
action count
action less
action union
action find_tuple_counts
relation part of
type volcano
type landform
action find_tuple_counts
relation part of
type volcano
type administrative territorial entity
action count
action filter_multi_types
action find
entity Iliboleng
relation part of
type landform
type administrative territorial entity
[{'concept': 'volcano'}, 'part of', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } . ?c rdf:type ?g } GROUP BY ?w } . FILTER ( ?b < ?i ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } } . resource:Iliboleng property:part_of ?k } } }
[]
landform administrative territorial entity volcano
SYSTEM
71
Q1319819 Q2017022 Q2666898 Q2155367 Q2956713 Q3468506 Q639727 Q1301834 Q150081 Q48689 Q1566089 Q1960702 Q524 Q839630 Q2666159 Q695846 Q1480510 Q1283494 Q3468247 Q1190110 Q29595 Q40981 Q201914 Q1394606 Q3322184 Q523385 Q748355 Q12647181 Q1143757 Q2188825 Q3332032 Q914225 Q1025749 Q40692 Q2729027 Q25022 Q1372968 Q546823 Q497912 Q816303 Q827728 Q1018862 Q1451 Q4675 Q862760 Q1646267 Q1586079 Q1049644 Q2670276 Q2095166 Q2008889 Q2701927 Q19286542 Q257441 Q1186618 Q594726 Q1572574 Q152872 Q531642 Q16990 Q863196 Q340866 Q48784 Q275662 Q624994 Q516606 Q1908139 Q2462118 Q207678 Q2225973 Q1424033
(c(Q8072),P361,c(Q271669)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P361
type Q8072
type Q271669
action find_tuple_counts
relation P361
type Q8072
type Q56061
action count
action filter_multi_types
action find
entity Q2364075
relation P361
type Q271669
type Q56061
[ANSWER]
[{'concept': 'Q8072'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } . ?c rdf:type ?g } GROUP BY ?w } . FILTER ( ?b < ?i ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } } . resource:Q2364075 property:P361 ?k } } }
Mount Hibok-Hibok Ok Yelovsky Mount Talang Santa Isabel Yantarni Volcano Uturuncu Mount Scenery Mount Kaba Mount Churchill Three Sisters Mount Marapi Mount Vesuvius Koryaksky Eggella Nyamuragira Skjaldbreiður Mawenzi Frosty Volcano La Cumbre Seulawah Agam Geureudong Katla volcano Kibo Mount Warning Hole-in-the-Ground Mount Shasta Volcano Palinuro Cumbre Vieja 2 Mount Singgalang Cold Bay Volcano Inaccessible Island Cagua Volcano Mount Tandikat Bolshaya Ipelka Michincha Puʻu ʻŌʻō Cerro Machín Mount Taylor Bely Mount Kerinci Bárðarbunga Pinatubo Mount St. Helens Kronotsky Mount Kalatungan The Quill Piton de la Fournaise Kebeney Pilot Butte Shishel Koʻolau Range Jbel Hebri Emi Koussi Mount Dempo Volcán Barú Marsili Ball's Pyramid Mount Aniakchak Mount Etna Billy Mitchell Akhtang Tolbachik Mount Hood La Garita Caldera Kohala Uksichan Tweed Volcano Mount Sinabung West Maui Mountains Mount Hagen
71
action count
action less
action union
action find_tuple_counts
relation part of
type volcano
type landform
action find_tuple_counts
relation part of
type volcano
type administrative territorial entity
action count
action filter_multi_types
action find
entity Iliboleng
relation part of
type landform
type administrative territorial entity
[{'concept': 'volcano'}, 'part of', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } . ?c rdf:type ?g } GROUP BY ?w } . FILTER ( ?b < ?i ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } } . resource:Iliboleng property:part_of ?k } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q455963
P361
Q271669 Q56061 Q8072
USER
And also tell me about Mount Apo?
(c(Q8072),P361,c(Q271669)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P361
type Q8072
type Q271669
action find_tuple_counts
relation P361
type Q8072
type Q56061
action count
action filter_multi_types
action find
entity Q455963
relation P361
type Q271669
type Q56061
[{'concept': 'Q8072'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { { ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q271669 } } . resource:Q455963 property:P361 ?s } } . FILTER ( ?d < ?x ) }
Mount Apo
action count
action less
action union
action find_tuple_counts
relation part of
type volcano
type landform
action find_tuple_counts
relation part of
type volcano
type administrative territorial entity
action count
action filter_multi_types
action find
entity Mount Apo
relation part of
type landform
type administrative territorial entity
[{'concept': 'volcano'}, 'part of', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { { ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:landform } } . resource:Mount_Apo property:part_of ?s } } . FILTER ( ?d < ?x ) }
[]
landform administrative territorial entity volcano
SYSTEM
71
Q1319819 Q2017022 Q2666898 Q2155367 Q2956713 Q3468506 Q639727 Q1301834 Q150081 Q48689 Q1566089 Q1960702 Q524 Q839630 Q2666159 Q695846 Q1480510 Q1283494 Q3468247 Q1190110 Q29595 Q40981 Q201914 Q1394606 Q3322184 Q523385 Q748355 Q12647181 Q1143757 Q2188825 Q3332032 Q914225 Q1025749 Q40692 Q2729027 Q25022 Q1372968 Q546823 Q497912 Q816303 Q827728 Q1018862 Q1451 Q4675 Q862760 Q1646267 Q1586079 Q1049644 Q2670276 Q2095166 Q2008889 Q2701927 Q19286542 Q257441 Q1186618 Q594726 Q1572574 Q152872 Q531642 Q16990 Q863196 Q340866 Q48784 Q275662 Q624994 Q516606 Q1908139 Q2462118 Q207678 Q2225973 Q1424033
(c(Q8072),P361,c(Q271669)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P361
type Q8072
type Q271669
action find_tuple_counts
relation P361
type Q8072
type Q56061
action count
action filter_multi_types
action find
entity Q455963
relation P361
type Q271669
type Q56061
[ANSWER]
[{'concept': 'Q8072'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q271669 ) ( ontology:Q56061 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { { ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q271669 } } . resource:Q455963 property:P361 ?s } } . FILTER ( ?d < ?x ) }
Mount Hibok-Hibok Ok Yelovsky Mount Talang Santa Isabel Yantarni Volcano Uturuncu Mount Scenery Mount Kaba Mount Churchill Three Sisters Mount Marapi Mount Vesuvius Koryaksky Eggella Nyamuragira Skjaldbreiður Mawenzi Frosty Volcano La Cumbre Seulawah Agam Geureudong Katla volcano Kibo Mount Warning Hole-in-the-Ground Mount Shasta Volcano Palinuro Cumbre Vieja 2 Mount Singgalang Cold Bay Volcano Inaccessible Island Cagua Volcano Mount Tandikat Bolshaya Ipelka Michincha Puʻu ʻŌʻō Cerro Machín Mount Taylor Bely Mount Kerinci Bárðarbunga Pinatubo Mount St. Helens Kronotsky Mount Kalatungan The Quill Piton de la Fournaise Kebeney Pilot Butte Shishel Koʻolau Range Jbel Hebri Emi Koussi Mount Dempo Volcán Barú Marsili Ball's Pyramid Mount Aniakchak Mount Etna Billy Mitchell Akhtang Tolbachik Mount Hood La Garita Caldera Kohala Uksichan Tweed Volcano Mount Sinabung West Maui Mountains Mount Hagen
71
action count
action less
action union
action find_tuple_counts
relation part of
type volcano
type landform
action find_tuple_counts
relation part of
type volcano
type administrative territorial entity
action count
action filter_multi_types
action find
entity Mount Apo
relation part of
type landform
type administrative territorial entity
[{'concept': 'volcano'}, 'part of', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:landform ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { { ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:landform } } . resource:Mount_Apo property:part_of ?s } } . FILTER ( ?d < ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8027766 Q1301834
P17
Q15617994
USER
Which administrative territories are Mount Scenery or Wistow and Newton Harcourt a part of ?
OR((Q1301834,P17,c(Q15617994)), (Q8027766,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1301834
relation P17
action find
entity Q8027766
relation P17
type Q15617994
{'OR': [['Q1301834', 'P17', {'concept': 'Q15617994'}], ['Q8027766', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q8027766 property:P17 ?k } UNION { resource:Q1301834 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Wistow and Newton Harcourt Mount Scenery
action filter_type
action union
action find
entity Mount Scenery
relation country
action find
entity Wistow and Newton Harcourt
relation country
type designation for an administrative territorial entity
{'OR': [['Mount Scenery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wistow and Newton Harcourt', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Wistow_and_Newton_Harcourt property:country ?k } UNION { resource:Mount_Scenery property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q55 Q145
SYSTEM
Kingdom of the Netherlands, Netherlands, United Kingdom
Q29999 Q55 Q145
OR((Q1301834,P17,c(Q15617994)), (Q8027766,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1301834
relation P17
action find
entity Q8027766
relation P17
type Q15617994
[ANSWERS] are Mount Scenery or Wistow and Newton Harcourt a part of
{'OR': [['Q1301834', 'P17', {'concept': 'Q15617994'}], ['Q8027766', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q8027766 property:P17 ?k } UNION { resource:Q1301834 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Netherlands United Kingdom
Kingdom of the Netherlands, Netherlands and United Kingdom are Mount Scenery or Wistow and Newton Harcourt a part of
Kingdom of the Netherlands Netherlands United Kingdom
action filter_type
action union
action find
entity Mount Scenery
relation country
action find
entity Wistow and Newton Harcourt
relation country
type designation for an administrative territorial entity
{'OR': [['Mount Scenery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wistow and Newton Harcourt', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Wistow_and_Newton_Harcourt property:country ?k } UNION { resource:Mount_Scenery property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?f property:P530 ?x } GROUP BY ?f } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?g property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?b = ?u ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?x } GROUP BY ?f } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?g property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?b = ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?f property:P530 ?x } GROUP BY ?f } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?g property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?b = ?u ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic relations with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?x } GROUP BY ?f } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?b ) WHERE { ?g property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?b = ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4942412 Q1301834
P27 P17
Q15617994
USER
Which administrative territories are Mount Scenery a part of or are Maria Cederschiöld a civilian of ?
OR((Q1301834,P17,c(Q15617994)), (Q4942412,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1301834
relation P17
action find
entity Q4942412
relation P27
type Q15617994
{'OR': [['Q1301834', 'P17', {'concept': 'Q15617994'}], ['Q4942412', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1301834 property:P17 ?w } UNION { resource:Q4942412 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Maria Cederschiöld Mount Scenery
action filter_type
action union
action find
entity Mount Scenery
relation country
action find
entity Maria Cederschiöld
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mount Scenery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Maria Cederschiöld', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Mount_Scenery property:country ?w } UNION { resource:Maria_Cederschiöld property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q55 Q34
SYSTEM
Kingdom of the Netherlands, Netherlands, Sweden
Q29999 Q55 Q34
OR((Q1301834,P17,c(Q15617994)), (Q4942412,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1301834
relation P17
action find
entity Q4942412
relation P27
type Q15617994
[ANSWERS] are Mount Scenery a part of or are Maria Cederschiöld a civilian of
{'OR': [['Q1301834', 'P17', {'concept': 'Q15617994'}], ['Q4942412', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1301834 property:P17 ?w } UNION { resource:Q4942412 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Netherlands Sweden
Kingdom of the Netherlands, Netherlands and Sweden are Mount Scenery a part of or are Maria Cederschiöld a civilian of
Kingdom of the Netherlands Netherlands Sweden
action filter_type
action union
action find
entity Mount Scenery
relation country
action find
entity Maria Cederschiöld
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mount Scenery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Maria Cederschiöld', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Mount_Scenery property:country ?w } UNION { resource:Maria_Cederschiöld property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4942412
P106
Q12737077
USER
Which occupation is the profession of Maria Cederschiöld ?
(Q4942412,P106,c(Q12737077))
action filter_type
action find
entity Q4942412
relation P106
type Q12737077
['Q4942412', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4942412 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Maria Cederschiöld
action filter_type
action find
entity Maria Cederschiöld
relation occupation
type occupation
['Maria Cederschiöld', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Maria_Cederschiöld property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q4942412,P106,c(Q12737077))
action filter_type
action find
entity Q4942412
relation P106
type Q12737077
The [ANSWER] is the profession of Maria Cederschiöld
['Q4942412', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4942412 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
journalist
The journalist is the profession of Maria Cederschiöld
journalist
action filter_type
action find
entity Maria Cederschiöld
relation occupation
type occupation
['Maria Cederschiöld', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Maria_Cederschiöld property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21588109
Q12737077
USER
And what about Markus Schubert?
(Q21588109,P106,c(Q12737077))
action filter_type
action find
entity Q21588109
relation P106
type Q12737077
['Q21588109', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q21588109 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Markus Schubert
action filter_type
action find
entity Markus Schubert
relation occupation
type occupation
['Markus Schubert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Markus_Schubert property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q21588109,P106,c(Q12737077))
action filter_type
action find
entity Q21588109
relation P106
type Q12737077
[ANSWER]
['Q21588109', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q21588109 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Markus Schubert
relation occupation
type occupation
['Markus Schubert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Markus_Schubert property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P47
Q15617994 Q1048835
USER
How many administrative territories and political territories share the border with Sweden ?
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2 administrative territories and 1 political territories
Q33 Q20 Q35
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
[ANSWER]
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Finland Norway Denmark
2 administrative territories and 1 political territories
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P85
Q484692
USER
What is the anthem for Netherlands ?
(Q55,P85,c(Q484692))
action filter_type
action find
entity Q55
relation P85
type Q484692
['Q55', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q55 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Netherlands
action filter_type
action find
entity Netherlands
relation anthem
type hymn
['Netherlands', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Netherlands property:anthem ?v . ?v rdf:type ontology:hymn }
[]
hymn
Q131713
SYSTEM
Wilhelmus
Q131713
(Q55,P85,c(Q484692))
action filter_type
action find
entity Q55
relation P85
type Q484692
The anthem for Netherlands is Prins [ANSWER]
['Q55', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q55 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Wilhelmus
The anthem for Netherlands is Prins Wilhelmus
Wilhelmus
action filter_type
action find
entity Netherlands
relation anthem
type hymn
['Netherlands', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Netherlands property:anthem ?v . ?v rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131713
P800
Q502895
USER
Which person has that hymn as a notable work ?
(c(Q502895),P800,Q131713)
action filter_type
action find_reverse
entity Q131713
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q131713']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q131713 . ?z rdf:type ontology:Q502895 }
Wilhelmus
action filter_type
action find_reverse
entity Wilhelmus
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Wilhelmus']
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:Wilhelmus . ?z rdf:type ontology:common_name }
[]
common name
Q326701
SYSTEM
Adrianus Valerius
Q326701
(c(Q502895),P800,Q131713)
action filter_type
action find_reverse
entity Q131713
relation P800
type Q502895
[ANSWER] has that hymn as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q131713']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q131713 . ?z rdf:type ontology:Q502895 }
Adrianus Valerius
Adrianus Valerius has that hymn as a notable work
Adrianus Valerius
action filter_type
action find_reverse
entity Wilhelmus
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Wilhelmus']
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:Wilhelmus . ?z rdf:type ontology:common_name }
[]