Simple Question (Direct)
Simple Question
Q2216522
P19
Q56061
USER
Which administrative territory is the birthplace of Sammy Lawhorn ?
(Q2216522,P19,c(Q56061))
action filter_type
action find
entity Q2216522
relation P19
type Q56061
['Q2216522', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2216522 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Sammy Lawhorn
action filter_type
action find
entity Sammy Lawhorn
relation place of birth
type administrative territorial entity
['Sammy Lawhorn', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sammy_Lawhorn property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33405
SYSTEM
Little Rock
Q33405
(Q2216522,P19,c(Q56061))
action filter_type
action find
entity Q2216522
relation P19
type Q56061
As [ANSWER] is the birthplace of Sammy Lawhorn
['Q2216522', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2216522 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Little Rock
As Little Rock is the birthplace of Sammy Lawhorn
Little Rock
action filter_type
action find
entity Sammy Lawhorn
relation place of birth
type administrative territorial entity
['Sammy Lawhorn', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sammy_Lawhorn property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2216522
P136
Q151885
USER
Which concept is the genre for Sammy Lawhorn ?
(Q2216522,P136,c(Q151885))
action filter_type
action find
entity Q2216522
relation P136
type Q151885
['Q2216522', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q2216522 property:P136 ?n . ?n rdf:type ontology:Q151885 }
Sammy Lawhorn
action filter_type
action find
entity Sammy Lawhorn
relation genre
type concept
['Sammy Lawhorn', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Sammy_Lawhorn property:genre ?n . ?n rdf:type ontology:concept }
[]
concept
Q1071873
SYSTEM
Chicago blues
Q1071873
(Q2216522,P136,c(Q151885))
action filter_type
action find
entity Q2216522
relation P136
type Q151885
Blues [ANSWER] is the genre for Sammy Lawhorn
['Q2216522', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q2216522 property:P136 ?n . ?n rdf:type ontology:Q151885 }
Chicago blues
Blues Chicago blues is the genre for Sammy Lawhorn
Chicago blues
action filter_type
action find
entity Sammy Lawhorn
relation genre
type concept
['Sammy Lawhorn', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Sammy_Lawhorn property:genre ?n . ?n rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1071873 Q30
P495
Q15617994
USER
Is United States of America the origin of that concept ?
(Q1071873,P495,Q30)
action is_in
entity Q30
action find
entity Q1071873
relation P495
['Q1071873', 'P495', 'Q30']
ASK WHERE { resource:Q1071873 property:P495 resource:Q30 }
Chicago blues United States of America
action is_in
entity United States of America
action find
entity Chicago blues
relation country of origin
['Chicago blues', 'country of origin', 'United States of America']
ASK WHERE { resource:Chicago_blues property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1071873,P495,Q30)
action is_in
entity Q30
action find
entity Q1071873
relation P495
[ANSWER]
['Q1071873', 'P495', 'Q30']
ASK WHERE { resource:Q1071873 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Chicago blues
relation country of origin
['Chicago blues', 'country of origin', 'United States of America']
ASK WHERE { resource:Chicago_blues property:country_of_origin resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P706
Q1048835 Q151885
USER
How many political territories are the location where lesser number of concepts are located than Denmark ?
(c(Q151885),P706,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find_reverse
entity Q35
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P706 ?i . ?i rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q151885 } GROUP BY ?i } . FILTER ( ?r < ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P706 resource:Q35 . ?m rdf:type ontology:Q151885 } } }
Denmark
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find_reverse
entity Denmark
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:located_on_terrain_feature ?i . ?i rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:concept } GROUP BY ?i } . FILTER ( ?r < ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:located_on_terrain_feature resource:Denmark . ?m rdf:type ontology:concept } } }
[]
political territorial entity concept
SYSTEM
24
Q2012050 Q1747689 Q188399 Q785 Q47134 Q13769 Q202023 Q9676 Q10557 Q5705 Q15434 Q7166 Q5783 Q168159 Q80967 Q11266977 Q109128 Q190930 Q100166 Q234 Q40 Q3908 Q23635 Q25228
(c(Q151885),P706,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find_reverse
entity Q35
relation P706
type Q151885
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P706 ?i . ?i rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q151885 } GROUP BY ?i } . FILTER ( ?r < ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P706 resource:Q35 . ?m rdf:type ontology:Q151885 } } }
Donetsk Oblast Ancient Rome Central Bohemian Region Jersey Shetland Camiguin Herm Isle of Man Swabia Catalonia Montseny Heilbronn Andalusia Anglesey Outer Hebrides Epirus Gwynedd Vysočina Region Orkney Islands Flemish Region Austria Galicia Bermuda Anguilla
24
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find_reverse
entity Denmark
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:located_on_terrain_feature ?i . ?i rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:concept } GROUP BY ?i } . FILTER ( ?r < ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:located_on_terrain_feature resource:Denmark . ?m rdf:type ontology:concept } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183
P706
Q1048835 Q151885
USER
And what about Germany?
(c(Q151885),P706,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find_reverse
entity Q183
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P706 ?i . ?i rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q151885 } GROUP BY ?i } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P706 resource:Q183 . ?b rdf:type ontology:Q151885 } } }
Germany
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find_reverse
entity Germany
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:located_on_terrain_feature ?i . ?i rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:concept } GROUP BY ?i } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:located_on_terrain_feature resource:Germany . ?b rdf:type ontology:concept } } }
[]
political territorial entity concept
SYSTEM
24
Q2012050 Q1747689 Q188399 Q785 Q47134 Q13769 Q202023 Q9676 Q10557 Q5705 Q15434 Q7166 Q5783 Q168159 Q80967 Q11266977 Q109128 Q190930 Q100166 Q234 Q40 Q3908 Q23635 Q25228
(c(Q151885),P706,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find_reverse
entity Q183
relation P706
type Q151885
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P706 ?i . ?i rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q151885 } GROUP BY ?i } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P706 resource:Q183 . ?b rdf:type ontology:Q151885 } } }
Donetsk Oblast Ancient Rome Central Bohemian Region Jersey Shetland Camiguin Herm Isle of Man Swabia Catalonia Montseny Heilbronn Andalusia Anglesey Outer Hebrides Epirus Gwynedd Vysočina Region Orkney Islands Flemish Region Austria Galicia Bermuda Anguilla
24
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find_reverse
entity Germany
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:located_on_terrain_feature ?i . ?i rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:concept } GROUP BY ?i } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:located_on_terrain_feature resource:Germany . ?b rdf:type ontology:concept } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q271669 Q151885
USER
Which landforms are atleast 1 concept located on ?
(c(Q151885),P706,c(Q271669))
action atleast
action find_reverse_tuple_counts
relation P706
type Q271669
type Q151885
value 1
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P706 ?t . ?t rdf:type ontology:Q271669 . ?o rdf:type ontology:Q151885 } GROUP BY ?t } . FILTER ( ?c >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:located_on_terrain_feature ?t . ?t rdf:type ontology:landform . ?o rdf:type ontology:concept } GROUP BY ?t } . FILTER ( ?c >= 1 ) }
[]
landform concept
Q23522 Q12837 Q34374
SYSTEM
Balkans, Iberian Peninsula, Crete
Q193264 Q12837 Q23522 Q34374
(c(Q151885),P706,c(Q271669))
action atleast
action find_reverse_tuple_counts
relation P706
type Q271669
type Q151885
value 1
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P706 ?t . ?t rdf:type ontology:Q271669 . ?o rdf:type ontology:Q151885 } GROUP BY ?t } . FILTER ( ?c >= 1 ) }
Marajó Iberian Peninsula Balkans Crete
Which landforms are atleast 1 concept located on
Balkans Iberian Peninsula Crete
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:located_on_terrain_feature ?t . ?t rdf:type ontology:landform . ?o rdf:type ontology:concept } GROUP BY ?t } . FILTER ( ?c >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q76925
P706
Q15324 Q271669
USER
Which bodies of water are less number of landforms located on than Venetian Lagoon ?
(c(Q271669),P706,c(Q15324))
action less
action find_reverse_tuple_counts
relation P706
type Q15324
type Q271669
action count
action filter_type
action find_reverse
entity Q76925
relation P706
type Q271669
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P706 ?d . ?a rdf:type ontology:Q271669 . ?d rdf:type ontology:Q15324 } GROUP BY ?d } . FILTER ( ?h < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P706 resource:Q76925 . ?g rdf:type ontology:Q271669 } } }
Venetian Lagoon
action less
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landform
action count
action filter_type
action find_reverse
entity Venetian Lagoon
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:located_on_terrain_feature ?d . ?a rdf:type ontology:landform . ?d rdf:type ontology:body_of_water } GROUP BY ?d } . FILTER ( ?h < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:located_on_terrain_feature resource:Venetian_Lagoon . ?g rdf:type ontology:landform } } }
[]
body of water landform
Q213367 Q37660 Q131217
SYSTEM
Gdańsk Bay, South China Sea, Gulf of Thailand
Q41430 Q1359524 Q12630 Q1004067 Q204703 Q947086 Q114575 Q141376 Q271043 Q38882 Q211779 Q33254 Q810532 Q805470 Q5003930 Q948291 Q2879789 Q3377211 Q717765 Q321837 Q481734 Q4176307 Q1112319 Q19876312 Q1631174 Q131217 Q47632 Q531060 Q1779743 Q867460 Q702691 Q164466 Q2268498 Q159183 Q183455 Q140290 Q2344806 Q217501 Q20680338 Q5413918 Q21906844 Q3740577 Q178914 Q13234218 Q1247 Q254164 Q281813 Q2203907 Q7988 Q648954 Q938327 Q223810 Q11416963 Q1185210 Q35367 Q2292350 Q186733 Q599732 Q41573 Q540179 Q173343 Q271198 Q21885510 Q700309 Q317006 Q594834 Q3059070 Q2621502 Q474708 Q494927 Q37495 Q3306188 Q14686 Q379063 Q21973072 Q2879577 Q1127599 Q7355798 Q695074 Q1267413 Q21922838 Q312433 Q1518380 Q4161995 Q7963133 Q4812258 Q767824 Q202083 Q7838780 Q22351839 Q242326 Q298119 Q1649939 Q207468 Q132868 Q1680511 Q647879 Q34675 Q201385 Q11613279 Q326170 Q1419628 Q81499 Q42820 Q141017 Q803717 Q213517 Q1064776 Q193149 Q132811 Q41735 Q213367 Q37660 Q1679819 Q1165951 Q650654 Q1368308 Q82931 Q20922822 Q2879639 Q392623
(c(Q271669),P706,c(Q15324))
action less
action find_reverse_tuple_counts
relation P706
type Q15324
type Q271669
action count
action filter_type
action find_reverse
entity Q76925
relation P706
type Q271669
[ANSWERS] are less number of landforms located on than Venetian Lagoon
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P706 ?d . ?a rdf:type ontology:Q271669 . ?d rdf:type ontology:Q15324 } GROUP BY ?d } . FILTER ( ?h < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P706 resource:Q76925 . ?g rdf:type ontology:Q271669 } } }
Gulf of Guinea Bay of Bangkok Gulf of Mexico Frobisher Bay Scotia Sea Green Bay Hiroshima Bay Bouquet Bay Sea of Åland Tyrrhenian Sea Saronic Gulf Tasman Sea Arcachon Bay Balmer See Byam Martin Channel Chesterfield Inlet Le Pouliguen Bay Little Roussel Phang Nga Bay German Bight Amur Bay Saltsjön Columbia Icefield Norfolk Bay Isefjord Gulf of Thailand Andaman Sea Bay of Wismar Abu Qir Bay Long Island Sound Heligoland Bight Ross Sea Stikine Icecap Philippine Sea Bellingshausen Sea Bay of Plenty Hakata Bay Pechora Sea Yobukonoseto Kempeleenlahti The Narrows Admiralty Inlet Martinique Passage Bothnian Bay Caribbean Sea Ōmura Bay Holme Bay Rügischer Bodden Laptev Sea Spencer Gulf Cumberland Sound James Bay Sudo nada Pagasetic Gulf Sea of Marmara Bantry Bay Great Australian Bight Buzzards Bay Bay of Biscay Camotes Sea Weddell Sea Årstaviken Shark Bay Bay of Lübeck Bay of Mecklenburg Sibuyan Sea Loire estuary Nakhodka Bay Visayan Sea Peter the Great Gulf Ionian Sea Amakusa Sea Gulf of Finland Thracian Sea Tipplers Passage Ago Bay Galway Bay Rocky Harbour Bay of Mali Ston Georgian Bay Ansons Bay Schlei Juneau Icefield Maxwell Bay Wallis Lake Asō Bay Hauraki Gulf Firth of Forth Tresilian Bay Burnt Point Bay Bohol Sea Öræfajökull Bothnian Sea Bay of Kotor Greenland Sea Kleiner Jasmunder Bodden Bay of Greifswald Persian Gulf Gulf of Naples Usuki Bay Bay of Pomerania Firth of Thames Celtic Sea Ligurian Sea Tokyo Bay Mont Saint-Michel Bay Gironde estuary Upper New York Bay Sea of Crete Gulf of California Irish Sea Gdańsk Bay South China Sea Jamaica Bay Ungava Bay Archipelago Sea Ise Bay Coral Sea Għadira Bay Baie de Douarnenez Samar Sea
Gdańsk Bay, South China Sea and Gulf of Thailand are less number of landforms located on than Venetian Lagoon
Gdańsk Bay South China Sea Gulf of Thailand
action less
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landform
action count
action filter_type
action find_reverse
entity Venetian Lagoon
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:located_on_terrain_feature ?d . ?a rdf:type ontology:landform . ?d rdf:type ontology:body_of_water } GROUP BY ?d } . FILTER ( ?h < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:located_on_terrain_feature resource:Venetian_Lagoon . ?g rdf:type ontology:landform } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34374
P610
Q14524493
USER
Which is the highest peak of Crete ?
(Q34374,P610,c(Q14524493))
action filter_type
action find
entity Q34374
relation P610
type Q14524493
['Q34374', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q34374 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Crete
action filter_type
action find
entity Crete
relation highest point
type terrain
['Crete', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Crete property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
terrain
Q83659
SYSTEM
Mount Ida
Q83659
(Q34374,P610,c(Q14524493))
action filter_type
action find
entity Q34374
relation P610
type Q14524493
The highest peak of Crete is the [ANSWER]
['Q34374', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q34374 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Mount Ida
The highest peak of Crete is the Mount Ida
Mount Ida
action filter_type
action find
entity Crete
relation highest point
type terrain
['Crete', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Crete property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q965
Q14524493
USER
And also tell me about Burkina Faso?
(Q965,P610,c(Q14524493))
action filter_type
action find
entity Q965
relation P610
type Q14524493
['Q965', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q965 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Burkina Faso
action filter_type
action find
entity Burkina Faso
relation highest point
type terrain
['Burkina Faso', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Burkina_Faso property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
terrain
Q116675
SYSTEM
Mount Tenakourou
Q116675
(Q965,P610,c(Q14524493))
action filter_type
action find
entity Q965
relation P610
type Q14524493
[ANSWER]
['Q965', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q965 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Mount Tenakourou
Mount Tenakourou
action filter_type
action find
entity Burkina Faso
relation highest point
type terrain
['Burkina Faso', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Burkina_Faso property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3557616
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have around the same number of holidays or people as their patron saint as Platres ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q3557616
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { { ?q property:P417 ?n . ?q rdf:type ontology:Q56061 . ?n rdf:type ontology:Q1445650 } UNION { ?q property:P417 ?n . ?q rdf:type ontology:Q56061 . ?n rdf:type ontology:Q502895 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q3557616 property:P417 ?v . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q1445650 } } } } . FILTER ( ?t = ?s ) }
Platres
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Platres
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { { ?q property:patron_saint ?n . ?q rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:holiday } UNION { ?q property:patron_saint ?n . ?q rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:common_name } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Platres property:patron_saint ?v . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:holiday } } } } . FILTER ( ?t = ?s ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q3557616
relation P417
type Q1445650
type Q502895
[ANSWERS] have around the same number of holidays or people as their patron saint as Platres
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { { ?q property:P417 ?n . ?q rdf:type ontology:Q56061 . ?n rdf:type ontology:Q1445650 } UNION { ?q property:P417 ?n . ?q rdf:type ontology:Q56061 . ?n rdf:type ontology:Q502895 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q3557616 property:P417 ?v . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q1445650 } } } } . FILTER ( ?t = ?s ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan have around the same number of holidays or people as their patron saint as Platres
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Platres
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { { ?q property:patron_saint ?n . ?q rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:holiday } UNION { ?q property:patron_saint ?n . ?q rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:common_name } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Platres property:patron_saint ?v . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:holiday } } } } . FILTER ( ?t = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q244193
P417
Q1445650 Q502895 Q56061
USER
And how about Cagno?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q244193
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { { ?x property:P417 ?p . ?p rdf:type ontology:Q502895 . ?x rdf:type ontology:Q56061 } UNION { ?x property:P417 ?p . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1445650 } } GROUP BY ?x } . FILTER ( ?k = ?d ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q244193 property:P417 ?w . { { ?w rdf:type ontology:Q1445650 } UNION { ?w rdf:type ontology:Q502895 } } } } }
Cagno
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Cagno
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { { ?x property:patron_saint ?p . ?p rdf:type ontology:common_name . ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x property:patron_saint ?p . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:holiday } } GROUP BY ?x } . FILTER ( ?k = ?d ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Cagno property:patron_saint ?w . { { ?w rdf:type ontology:holiday } UNION { ?w rdf:type ontology:common_name } } } } }
[]
holiday common name administrative territorial entity
Q6221 Q329984 Q4361
SYSTEM
Brescia, Úbeda, Curitiba
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q244193
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { { ?x property:P417 ?p . ?p rdf:type ontology:Q502895 . ?x rdf:type ontology:Q56061 } UNION { ?x property:P417 ?p . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1445650 } } GROUP BY ?x } . FILTER ( ?k = ?d ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q244193 property:P417 ?w . { { ?w rdf:type ontology:Q1445650 } UNION { ?w rdf:type ontology:Q502895 } } } } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
Brescia Úbeda Curitiba
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Cagno
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?k ) WHERE { { ?x property:patron_saint ?p . ?p rdf:type ontology:common_name . ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x property:patron_saint ?p . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:holiday } } GROUP BY ?x } . FILTER ( ?k = ?d ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Cagno property:patron_saint ?w . { { ?w rdf:type ontology:holiday } UNION { ?w rdf:type ontology:common_name } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q37660
P17
Q15617994
USER
How many administrative territories are South China Sea located in ?
(Q37660,P17,c(Q15617994))
action count
action filter_type
action find
entity Q37660
relation P17
type Q15617994
['Q37660', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q37660 property:P17 ?a }
South China Sea
action count
action filter_type
action find
entity South China Sea
relation country
type designation for an administrative territorial entity
['South China Sea', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:South_China_Sea property:country ?a }
[]
designation for an administrative territorial entity
SYSTEM
6
Q833 Q424 Q148 Q921 Q928 Q881
(Q37660,P17,c(Q15617994))
action count
action filter_type
action find
entity Q37660
relation P17
type Q15617994
[ANSWER]
['Q37660', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q37660 property:P17 ?a }
Malaysia Cambodia People's Republic of China Brunei Philippines Vietnam
6
action count
action filter_type
action find
entity South China Sea
relation country
type designation for an administrative territorial entity
['South China Sea', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:South_China_Sea property:country ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q12428186
P17
Q15617994
USER
And also tell me about Jaipal Pur Urf Dharanagri?
(Q12428186,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12428186
relation P17
type Q15617994
['Q12428186', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q12428186 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Jaipal Pur Urf Dharanagri
action count
action filter_type
action find
entity Jaipal Pur Urf Dharanagri
relation country
type designation for an administrative territorial entity
['Jaipal Pur Urf Dharanagri', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Jaipal_Pur_Urf_Dharanagri property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q12428186,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12428186
relation P17
type Q15617994
[ANSWER]
['Q12428186', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q12428186 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Jaipal Pur Urf Dharanagri
relation country
type designation for an administrative territorial entity
['Jaipal Pur Urf Dharanagri', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Jaipal_Pur_Urf_Dharanagri property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7953000
Q15617994
USER
And how about WMOX?
(Q7953000,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7953000
relation P17
type Q15617994
['Q7953000', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q7953000 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
WMOX
action count
action filter_type
action find
entity WMOX
relation country
type designation for an administrative territorial entity
['WMOX', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:WMOX property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7953000,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7953000
relation P17
type Q15617994
[ANSWER]
['Q7953000', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q7953000 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity WMOX
relation country
type designation for an administrative territorial entity
['WMOX', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:WMOX property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]