Simple Question (Direct)
Simple Question
Q19968639
P27
Q15617994
USER
Which administrative territory does Jonathan Francisco Lemos belong to ?
(Q19968639,P27,c(Q15617994))
action filter_type
action find
entity Q19968639
relation P27
type Q15617994
['Q19968639', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q19968639 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Jonathan Francisco Lemos
action filter_type
action find
entity Jonathan Francisco Lemos
relation country of citizenship
type designation for an administrative territorial entity
['Jonathan Francisco Lemos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jonathan_Francisco_Lemos property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q19968639,P27,c(Q15617994))
action filter_type
action find
entity Q19968639
relation P27
type Q15617994
Jonathan Francisco Lemos belongs to [ANSWER]
['Q19968639', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q19968639 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Brazil
Jonathan Francisco Lemos belongs to Brazil
Brazil
action filter_type
action find
entity Jonathan Francisco Lemos
relation country of citizenship
type designation for an administrative territorial entity
['Jonathan Francisco Lemos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jonathan_Francisco_Lemos property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P706
Q103817
USER
Which indigenous peoples is located in that administrative territory ?
(c(Q103817),P706,Q155)
action filter_type
action find_reverse
entity Q155
relation P706
type Q103817
[{'concept': 'Q103817'}, 'P706', 'Q155']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q103817 . ?g property:P706 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation located on terrain feature
type indigenous peoples
[{'concept': 'indigenous peoples'}, 'located on terrain feature', 'Brazil']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:indigenous_peoples . ?g property:located_on_terrain_feature resource:Brazil }
[]
indigenous peoples
Q3817631
SYSTEM
Kwaza people
Q3817631
(c(Q103817),P706,Q155)
action filter_type
action find_reverse
entity Q155
relation P706
type Q103817
[ANSWER] is located in that administrative territory
[{'concept': 'Q103817'}, 'P706', 'Q155']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q103817 . ?g property:P706 resource:Q155 }
Kwaza people
Kwaza people is located in that administrative territory
Kwaza people
action filter_type
action find_reverse
entity Brazil
relation located on terrain feature
type indigenous peoples
[{'concept': 'indigenous peoples'}, 'located on terrain feature', 'Brazil']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:indigenous_peoples . ?g property:located_on_terrain_feature resource:Brazil }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3817631
P103
Q34770
USER
Which language is the mother tongue of that indigenous peoples ?
(Q3817631,P103,c(Q34770))
action filter_type
action find
entity Q3817631
relation P103
type Q34770
['Q3817631', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3817631 property:P103 ?u . ?u rdf:type ontology:Q34770 }
Kwaza people
action filter_type
action find
entity Kwaza people
relation native language
type language
['Kwaza people', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Kwaza_people property:native_language ?u . ?u rdf:type ontology:language }
[]
language
Q3200839
SYSTEM
Kwaza language
Q3200839
(Q3817631,P103,c(Q34770))
action filter_type
action find
entity Q3817631
relation P103
type Q34770
Language [ANSWER] is the mother tongue of that indigenous peoples
['Q3817631', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3817631 property:P103 ?u . ?u rdf:type ontology:Q34770 }
Kwaza language
Language Kwaza language is the mother tongue of that indigenous peoples
Kwaza language
action filter_type
action find
entity Kwaza people
relation native language
type language
['Kwaza people', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Kwaza_people property:native_language ?u . ?u rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q49655
P37
Q34770 Q1048835
USER
Which political territories designates more number of languages as their official language than Schellenberg ?
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q49655
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { ?w property:P37 ?l . ?w rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q34770 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q1048835 . resource:Q49655 property:P37 ?o } } . FILTER ( ?i > ?b ) }
Schellenberg
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Schellenberg
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { ?w property:official_language ?l . ?w rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:language } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Schellenberg property:official_language ?o } } . FILTER ( ?i > ?b ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q49655
relation P37
type Q1048835
[ANSWERS] designate more number of languages as their official language than Schellenberg
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { ?w property:P37 ?l . ?w rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q34770 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q1048835 . resource:Q49655 property:P37 ?o } } . FILTER ( ?i > ?b ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia, Canada and Catalonia designate more number of languages as their official language than Schellenberg
Australia Canada Catalonia
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Schellenberg
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { ?w property:official_language ?l . ?w rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:language } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Schellenberg property:official_language ?o } } . FILTER ( ?i > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q171965
P37
Q34770 Q1048835
USER
And what about Luhansk Oblast?
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q171965
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?w ) WHERE { ?c property:P37 ?r . ?c rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q171965 property:P37 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?b ) }
Luhansk Oblast
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Luhansk Oblast
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?w ) WHERE { ?c property:official_language ?r . ?c rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Luhansk_Oblast property:official_language ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?b ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q171965
relation P37
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?w ) WHERE { ?c property:P37 ?r . ?c rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q171965 property:P37 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?b ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia Canada Catalonia
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Luhansk Oblast
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?w ) WHERE { ?c property:official_language ?r . ?c rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Luhansk_Oblast property:official_language ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q838948 Q11060274
USER
Which administrative territories are depicted in around 4 works of art and prints ?
(c(Q838948)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 4
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P180 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P180 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11060274 } } GROUP BY ?e } . FILTER ( ?m = 4 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 4
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:depicts ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:work_of_art } UNION { ?q property:depicts ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:print } } GROUP BY ?e } . FILTER ( ?m = 4 ) }
[]
designation for an administrative territorial entity work of art print
Q82025 Q80591
SYSTEM
horn, Atrani
Q82025 Q80591
(c(Q838948)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 4
The [ANSWERS] are depicted in around 4 works of art and prints
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P180 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P180 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11060274 } } GROUP BY ?e } . FILTER ( ?m = 4 ) }
horn Atrani
The horn and Atrani are depicted in around 4 works of art and prints
horn Atrani
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 4
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:depicts ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:work_of_art } UNION { ?q property:depicts ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:print } } GROUP BY ?e } . FILTER ( ?m = 4 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with greater number of administrative territories than Solomon Islands ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { ?x property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q685 property:P530 ?q } } . FILTER ( ?u > ?a ) }
Solomon Islands
action count
action greater
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 Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { ?x property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?q } } . FILTER ( ?u > ?a ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { ?x property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q685 property:P530 ?q } } . FILTER ( ?u > ?a ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
11
action count
action greater
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 Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { ?x property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?q } } . FILTER ( ?u > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P85
Q7725634
USER
Which is the national anthem of Australia ?
(Q408,P85,c(Q7725634))
action filter_type
action find
entity Q408
relation P85
type Q7725634
['Q408', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?d WHERE { resource:Q408 property:P85 ?d . ?d rdf:type ontology:Q7725634 }
Australia
action filter_type
action find
entity Australia
relation anthem
type literary work
['Australia', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?d WHERE { resource:Australia property:anthem ?d . ?d rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q408,P85,c(Q7725634))
action filter_type
action find
entity Q408
relation P85
type Q7725634
The national anthem of Australia is the [ANSWER]
['Q408', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?d WHERE { resource:Q408 property:P85 ?d . ?d rdf:type ontology:Q7725634 }
God Save the Queen
The national anthem of Australia is the God Save the Queen
God Save the Queen
action filter_type
action find
entity Australia
relation anthem
type literary work
['Australia', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?d WHERE { resource:Australia property:anthem ?d . ?d rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P610
Q14524493
USER
Which terrains are the highest point of that political territory ?
(Q40807,P610,c(Q14524493))
action filter_type
action find
entity Q408
relation P610
type Q14524493
['Q40807', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q408 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Australia
action filter_type
action find
entity Australia
relation highest point
type terrain
['God Save the Queen', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:Australia property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
terrain
Q178167 Q2114101
SYSTEM
Mount Kosciuszko, Mawson Peak
Q178167 Q2114101
(Q40807,P610,c(Q14524493))
action filter_type
action find
entity Q408
relation P610
type Q14524493
[ANSWERS] are the highest point of that political territory
['Q40807', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q408 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Mount Kosciuszko Mawson Peak
Mount Kosciuszko and Mawson Peak are the highest point of that political territory
Mount Kosciuszko Mawson Peak
action filter_type
action find
entity Australia
relation highest point
type terrain
['God Save the Queen', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:Australia property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P38
Q8142
USER
What is the currency of Australia ?
(Q408,P38,c(Q8142))
action filter_type
action find
entity Q408
relation P38
type Q8142
['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { resource:Q408 property:P38 ?w . ?w rdf:type ontology:Q8142 }
Australia
action filter_type
action find
entity Australia
relation currency
type currency
['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { resource:Australia property:currency ?w . ?w rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q408,P38,c(Q8142))
action filter_type
action find
entity Q408
relation P38
type Q8142
The currency of Australia is the [ANSWER]
['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { resource:Q408 property:P38 ?w . ?w rdf:type ontology:Q8142 }
pound sterling
The currency of Australia is the pound sterling
pound sterling
action filter_type
action find
entity Australia
relation currency
type currency
['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { resource:Australia property:currency ?w . ?w rdf:type ontology:currency }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q29999
Q8142
USER
And what about Kingdom of the Netherlands?
(Q29999,P38,c(Q8142))
action filter_type
action find
entity Q29999
relation P38
type Q8142
['Q29999', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { resource:Q29999 property:P38 ?s . ?s rdf:type ontology:Q8142 }
Kingdom of the Netherlands
action filter_type
action find
entity Kingdom of the Netherlands
relation currency
type currency
['Kingdom of the Netherlands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { resource:Kingdom_of_the_Netherlands property:currency ?s . ?s rdf:type ontology:currency }
[]
currency
Q4917 Q232270 Q522701
SYSTEM
United States dollar, Aruban florin, Netherlands Antillean guilder
Q4917 Q232270 Q522701
(Q29999,P38,c(Q8142))
action filter_type
action find
entity Q29999
relation P38
type Q8142
[ANSWERS]
['Q29999', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { resource:Q29999 property:P38 ?s . ?s rdf:type ontology:Q8142 }
United States dollar Aruban florin Netherlands Antillean guilder
United States dollar Aruban florin Netherlands Antillean guilder
action filter_type
action find
entity Kingdom of the Netherlands
relation currency
type currency
['Kingdom of the Netherlands', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { resource:Kingdom_of_the_Netherlands property:currency ?s . ?s rdf:type ontology:currency }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q29999
P38
Q15617994
USER
Does Kingdom of the Netherlands use those ones as their currency ?
(Q29999,P38,Q4917) (Q29999,P38,Q232270) (Q29999,P38,Q522701)
action is_in
entity prev_answer
action find
entity Q29999
relation P38
['Q29999', 'P38', 'Q4917'] ['Q29999', 'P38', 'Q232270'] ['Q29999', 'P38', 'Q522701']
ASK WHERE { resource:Q29999 property:P38 ?p . VALUES ( ?p ) { ( resource:Q4917 ) ( resource:Q232270 ) ( resource:Q522701 ) } }
Kingdom of the Netherlands
action is_in
entity prev_answer
action find
entity Kingdom of the Netherlands
relation currency
['Kingdom of the Netherlands', 'currency', 'United States dollar'] ['Kingdom of the Netherlands', 'currency', 'Aruban florin'] ['Kingdom of the Netherlands', 'currency', 'Netherlands Antillean guilder']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:currency ?p . VALUES ( ?p ) { ( resource:United_States_dollar ) ( resource:Aruban_florin ) ( resource:Netherlands_Antillean_guilder ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q29999,P38,Q4917) (Q29999,P38,Q232270) (Q29999,P38,Q522701)
action is_in
entity prev_answer
action find
entity Q29999
relation P38
[ANSWER]
['Q29999', 'P38', 'Q4917'] ['Q29999', 'P38', 'Q232270'] ['Q29999', 'P38', 'Q522701']
ASK WHERE { resource:Q29999 property:P38 ?p . VALUES ( ?p ) { ( resource:Q4917 ) ( resource:Q232270 ) ( resource:Q522701 ) } }
Yes
action is_in
entity prev_answer
action find
entity Kingdom of the Netherlands
relation currency
['Kingdom of the Netherlands', 'currency', 'United States dollar'] ['Kingdom of the Netherlands', 'currency', 'Aruban florin'] ['Kingdom of the Netherlands', 'currency', 'Netherlands Antillean guilder']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:currency ?p . VALUES ( ?p ) { ( resource:United_States_dollar ) ( resource:Aruban_florin ) ( resource:Netherlands_Antillean_guilder ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q80591
P47
Q15617994
USER
Which administrative territories have a shared border with Atrani ?
(Q80591,P47,c(Q15617994))
action filter_type
action find
entity Q80591
relation P47
type Q15617994
['Q80591', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q80591 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Atrani
action filter_type
action find
entity Atrani
relation shares border with
type designation for an administrative territorial entity
['Atrani', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Atrani property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q80563 Q81427 Q81681
SYSTEM
Amalfi, Ravello, Scala, Campania
Q80563 Q81427 Q81681
(Q80591,P47,c(Q15617994))
action filter_type
action find
entity Q80591
relation P47
type Q15617994
[ANSWERS]
['Q80591', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q80591 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Amalfi Ravello Scala, Campania
Amalfi, Ravello and Scala, Campania have a shared border with Atrani
Amalfi Ravello Scala, Campania
action filter_type
action find
entity Atrani
relation shares border with
type designation for an administrative territorial entity
['Atrani', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Atrani property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q81427
P17
Q15617994
USER
Which administrative territory is that one located in ?
(Q81427,P17,c(Q15617994))
action filter_type
action find
entity Q81427
relation P17
type Q15617994
['Q81427', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q81427 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Ravello
action filter_type
action find
entity Ravello
relation country
type designation for an administrative territorial entity
['Ravello', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ravello property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q80563
SYSTEM
Did you mean Amalfi ?
Q80563 Q81427 Q81681
(Q80563,P17,c(Q15617994)) (Q81427,P17,c(Q15617994)) (Q81681,P17,c(Q15617994))
[ANSWER]
['Q80563', 'P17', {'concept': 'Q15617994'}] ['Q81427', 'P17', {'concept': 'Q15617994'}] ['Q81681', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q81427 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Amalfi Ravello Scala, Campania
Did you mean Amalfi ?
Amalfi
['Amalfi', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ravello', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Scala, Campania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ravello property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Ravello. Could you tell me the answer for that?
(Q81427,P17,c(Q15617994))
Q81427
['Q81427', 'P17', {'concept': 'Q15617994'}]
['Ravello', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q81427,P17,c(Q15617994))
action filter_type
action find
entity Q81427
relation P17
type Q15617994
That one is located in [ANSWER]
['Q81427', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q81427 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Italy
That one is located in Italy
Italy
action filter_type
action find
entity Ravello
relation country
type designation for an administrative territorial entity
['Ravello', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ravello property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]