Simple Question (Direct)
Simple Question
Q3707201
P641
Q349
USER
Which sport was Diego Lo Grippo a part of ?
(Q3707201,P641,c(Q349))
action filter_type
action find
entity Q3707201
relation P641
type Q349
['Q3707201', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3707201 property:P641 ?i . ?i rdf:type ontology:Q349 }
Diego Lo Grippo
action filter_type
action find
entity Diego Lo Grippo
relation sport
type sport
['Diego Lo Grippo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Diego_Lo_Grippo property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3707201,P641,c(Q349))
action filter_type
action find
entity Q3707201
relation P641
type Q349
Which sport was Diego Lo Grippo a part of
['Q3707201', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3707201 property:P641 ?i . ?i rdf:type ontology:Q349 }
basketball
Which sport was Diego Lo Grippo a part of
basketball
action filter_type
action find
entity Diego Lo Grippo
relation sport
type sport
['Diego Lo Grippo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Diego_Lo_Grippo property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3707201
P54
Q12973014
USER
What is Diego Lo Grippo a member of ?
(Q3707201,P54,c(Q12973014))
action filter_type
action find
entity Q3707201
relation P54
type Q12973014
['Q3707201', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { resource:Q3707201 property:P54 ?k . ?k rdf:type ontology:Q12973014 }
Diego Lo Grippo
action filter_type
action find
entity Diego Lo Grippo
relation member of sports team
type sports team
['Diego Lo Grippo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { resource:Diego_Lo_Grippo property:member_of_sports_team ?k . ?k rdf:type ontology:sports_team }
[]
sports team
Q290787
SYSTEM
Asociación Deportiva Atenas
Q290787
(Q3707201,P54,c(Q12973014))
action filter_type
action find
entity Q3707201
relation P54
type Q12973014
Diego Lo Grippo of the [ANSWER]
['Q3707201', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { resource:Q3707201 property:P54 ?k . ?k rdf:type ontology:Q12973014 }
Asociación Deportiva Atenas
Diego Lo Grippo of the Asociación Deportiva Atenas
Asociación Deportiva Atenas
action filter_type
action find
entity Diego Lo Grippo
relation member of sports team
type sports team
['Diego Lo Grippo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { resource:Diego_Lo_Grippo property:member_of_sports_team ?k . ?k rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3707201
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Diego Lo Grippo ?
(Q3707201,P27,c(Q15617994))
action filter_type
action find
entity Q3707201
relation P27
type Q15617994
['Q3707201', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3707201 property:P27 ?z }
Diego Lo Grippo
action filter_type
action find
entity Diego Lo Grippo
relation country of citizenship
type designation for an administrative territorial entity
['Diego Lo Grippo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Diego_Lo_Grippo property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q38 Q414
SYSTEM
Italy, Argentina
Q38 Q414
(Q3707201,P27,c(Q15617994))
action filter_type
action find
entity Q3707201
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Diego Lo Grippo
['Q3707201', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3707201 property:P27 ?z }
Italy Argentina
Italy and Argentina are the countries of citizenship of Diego Lo Grippo
Italy Argentina
action filter_type
action find
entity Diego Lo Grippo
relation country of citizenship
type designation for an administrative territorial entity
['Diego Lo Grippo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Diego_Lo_Grippo property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q414
P30
Q2221906
USER
Where are Italy and Argentina located ?
(Q38,P30,c(Q2221906)) (Q414,P30,c(Q2221906))
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q414
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q414', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { { resource:Q414 property:P30 ?a . ?a rdf:type ontology:Q2221906 } UNION { resource:Q38 property:P30 ?a . ?a rdf:type ontology:Q2221906 } }
Italy Argentina
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Argentina
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Argentina', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { { resource:Argentina property:continent ?a . ?a rdf:type ontology:geographic_location } UNION { resource:Italy property:continent ?a . ?a rdf:type ontology:geographic_location } }
[]
geographic location
Q46 Q18
SYSTEM
Europe, South America
Q46 Q18
(Q38,P30,c(Q2221906)) (Q414,P30,c(Q2221906))
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q414
relation P30
type Q2221906
Italy and Argentina are located in [ANSWERS]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q414', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { { resource:Q414 property:P30 ?a . ?a rdf:type ontology:Q2221906 } UNION { resource:Q38 property:P30 ?a . ?a rdf:type ontology:Q2221906 } }
Europe South America
Italy and Argentina are located in Europe and South America
Europe South America
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Argentina
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Argentina', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { { resource:Argentina property:continent ?a . ?a rdf:type ontology:geographic_location } UNION { resource:Italy property:continent ?a . ?a rdf:type ontology:geographic_location } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18
P376
Q16889133
USER
Which class is that geographic location situated on ?
(Q18,P376,c(Q16889133))
action filter_type
action find
entity Q18
relation P376
type Q16889133
['Q18', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?c WHERE { resource:Q18 property:P376 ?c . ?c rdf:type ontology:Q16889133 }
South America
action filter_type
action find
entity South America
relation located on astronomical body
type class
['South America', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?c WHERE { resource:South_America property:located_on_astronomical_body ?c . ?c rdf:type ontology:class }
[]
class
Clarification for simple ques.
Q46
SYSTEM
Did you mean Europe ?
Q46 Q18
(Q46,P376,c(Q16889133)) (Q18,P376,c(Q16889133))
[ANSWER]
['Q46', 'P376', {'concept': 'Q16889133'}] ['Q18', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?c WHERE { resource:Q18 property:P376 ?c . ?c rdf:type ontology:Q16889133 }
Europe South America
Did you mean Europe ?
Europe
['Europe', 'located on astronomical body', {'concept': 'class'}] ['South America', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?c WHERE { resource:South_America property:located_on_astronomical_body ?c . ?c rdf:type ontology:class }
[]
Simple Question (Coreferenced)
USER
No, I meant South America. Could you tell me the answer for that?
(Q18,P376,c(Q16889133))
Q18
['Q18', 'P376', {'concept': 'Q16889133'}]
['South America', 'located on astronomical body', {'concept': 'class'}]
[]
Q2
SYSTEM
Earth
Q2
(Q18,P376,c(Q16889133))
action filter_type
action find
entity Q18
relation P376
type Q16889133
That geographic location is situated on [ANSWER]
['Q18', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?c WHERE { resource:Q18 property:P376 ?c . ?c rdf:type ontology:Q16889133 }
Earth
That geographic location is situated on Earth
Earth
action filter_type
action find
entity South America
relation located on astronomical body
type class
['South America', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?c WHERE { resource:South_America property:located_on_astronomical_body ?c . ?c rdf:type ontology:class }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1747689
P706
Q1048835 Q2221906
USER
How many political territories are approximately the same number of geographic locations located on as Ancient Rome ?
(c(Q2221906),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q1747689
relation P706
type Q1048835
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P706 ?z . ?z rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2221906 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q1747689 property:P706 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?b = ?w ) }
Ancient Rome
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Ancient Rome
relation located on terrain feature
type political territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:located_on_terrain_feature ?z . ?z rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:geographic_location } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Ancient_Rome property:located_on_terrain_feature ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?b = ?w ) }
[]
political territorial entity geographic location
SYSTEM
25
Q2012050 Q1747689 Q188399 Q785 Q47134 Q13769 Q202023 Q9676 Q10557 Q5705 Q15434 Q7166 Q5783 Q168159 Q35 Q80967 Q11266977 Q109128 Q190930 Q100166 Q234 Q40 Q3908 Q23635 Q25228
(c(Q2221906),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q1747689
relation P706
type Q1048835
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P706 ?z . ?z rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2221906 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q1747689 property:P706 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?b = ?w ) }
Donetsk Oblast Ancient Rome Central Bohemian Region Jersey Shetland Camiguin Herm Isle of Man Swabia Catalonia Montseny Heilbronn Andalusia Anglesey Denmark Outer Hebrides Epirus Gwynedd Vysočina Region Orkney Islands Flemish Region Austria Galicia Bermuda Anguilla
25
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Ancient Rome
relation located on terrain feature
type political territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:located_on_terrain_feature ?z . ?z rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:geographic_location } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Ancient_Rome property:located_on_terrain_feature ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?b = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q35
P706
Q1048835 Q2221906
USER
And how about Denmark?
(c(Q2221906),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q35
relation P706
type Q1048835
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?a ) WHERE { ?p rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q2221906 . ?z property:P706 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q35 property:P706 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?a = ?n ) }
Denmark
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Denmark
relation located on terrain feature
type political territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?a ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:geographic_location . ?z property:located_on_terrain_feature ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Denmark property:located_on_terrain_feature ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?a = ?n ) }
[]
political territorial entity geographic location
SYSTEM
25
Q2012050 Q1747689 Q188399 Q785 Q47134 Q13769 Q202023 Q9676 Q10557 Q5705 Q15434 Q7166 Q5783 Q168159 Q35 Q80967 Q11266977 Q109128 Q190930 Q100166 Q234 Q40 Q3908 Q23635 Q25228
(c(Q2221906),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q35
relation P706
type Q1048835
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?a ) WHERE { ?p rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q2221906 . ?z property:P706 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q35 property:P706 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?a = ?n ) }
Donetsk Oblast Ancient Rome Central Bohemian Region Jersey Shetland Camiguin Herm Isle of Man Swabia Catalonia Montseny Heilbronn Andalusia Anglesey Denmark Outer Hebrides Epirus Gwynedd Vysočina Region Orkney Islands Flemish Region Austria Galicia Bermuda Anguilla
25
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Denmark
relation located on terrain feature
type political territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?a ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:geographic_location . ?z property:located_on_terrain_feature ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Denmark property:located_on_terrain_feature ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?a = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6488761
P706
Q2221906 Q2221906
USER
Which geographic locations are located in lesser number of geographic locations than Larch Mountain ?
(c(Q2221906),P706,c(Q2221906))
action less
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action count
action filter_type
action find
entity Q6488761
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:P706 ?g . ?h rdf:type ontology:Q2221906 . ?g rdf:type ontology:Q2221906 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q6488761 property:P706 ?d . ?d rdf:type ontology:Q2221906 } } . FILTER ( ?m < ?c ) }
Larch Mountain
action less
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action count
action filter_type
action find
entity Larch Mountain
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:located_on_terrain_feature ?g . ?h rdf:type ontology:geographic_location . ?g rdf:type ontology:geographic_location } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Larch_Mountain property:located_on_terrain_feature ?d . ?d rdf:type ontology:geographic_location } } . FILTER ( ?m < ?c ) }
[]
geographic location geographic location
Q51 Q151356 Q46
SYSTEM
Antarctica, Fernsehturm Berlin, Europe
Q5415940 Q4878573 Q1948178 Q14714846 Q315496 Q16671723 Q51 Q23385389 Q1998580 Q228608 Q3468036 Q14714685 Q151356 Q1551170 Q46 Q14711841 Q81483 Q4848366 Q15211098 Q14713610 Q32530 Q14713596 Q5088912 Q14705355 Q4672454 Q16827917 Q5184293 Q22673001 Q15651275 Q19838231 Q261407 Q16892114 Q4777 Q5169452 Q15202826 Q5051042 Q6922487 Q21491032 Q22704024 Q21007124 Q18356771 Q5559107 Q14713790 Q929147 Q2333134 Q326359 Q5597624 Q5338781 Q16845327 Q14714809 Q495241 Q14709821 Q2092983 Q5933320 Q14714818 Q11961757 Q7886194 Q5474347 Q2387700 Q14713936 Q16899205 Q4876461 Q14874585 Q6649684 Q14713886 Q16893544 Q14711877 Q4985824 Q2266713 Q16892238 Q21838035 Q14704530 Q14714702 Q1134643 Q5564047 Q14951375 Q3846790 Q17208861 Q15238659 Q15213747 Q702543 Q1725885
(c(Q2221906),P706,c(Q2221906))
action less
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action count
action filter_type
action find
entity Q6488761
relation P706
type Q2221906
[ANSWERS] are located in lesser number of geographic locations than Larch Mountain
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:P706 ?g . ?h rdf:type ontology:Q2221906 . ?g rdf:type ontology:Q2221906 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q6488761 property:P706 ?d . ?d rdf:type ontology:Q2221906 } } . FILTER ( ?m < ?c ) }
Evans Névé Bechs Mølle Central Limburg Sunbeam Peak Upper Harz southern pole of inaccessibility Antarctica northern pole of inaccessibility Northern Black Forest South Limburg Pogromni Volcano Clayton Mountain Fernsehturm Berlin Palmer Land Europe Mount Powell (Utah) The Levant Bailey Ice Stream Cockedhat Mountain Clark Mountain (Washington) Lusatia Big Lava Bed Cheat Mountain Mount Avalon Access Slope American Legion Peak Creque Marine Railway Fonte River Dam Stuhlinger Ice Piedmont Nurn South Baden Harrower Peak Mount Roraima Coral Coast Bold Peak Cat Island Mount Oglethorpe Lower Harz Great Cross of Hendaye Cerro Negro Selenean summit Gibney Beach Lemei Rock Río de Oro Kukenán-tepui Palatinate Grassy Ridge Edlin Névé Bow Mountain Muddy Mountain Gyeongju Historic Areas Bote Mountain Southern Bukovina Hughes Basin Pinnacle Ridge Bogen oceanic pole of inaccessibility Foundation Ice Stream Northern Bukovina West Crater Red Crane, Portland Bear Island Custer Ridge Little Creek Peak Sawtooth Mountain Knife Point Mountain South Kings Peak Buffalo Ridge Fiordland Henderson Peak Rheasilvia central peak Ch-paa-qn Peak Downs Mountain Southern England Giovinco Ice Piedmont Torrey Peak, Wyoming Maremma Grossetana Shiretoko Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland Naheland
Antarctica, Fernsehturm Berlin and Europe are located in lesser number of geographic locations than Larch Mountain
Antarctica Fernsehturm Berlin Europe
action less
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action count
action filter_type
action find
entity Larch Mountain
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?m ) WHERE { ?h property:located_on_terrain_feature ?g . ?h rdf:type ontology:geographic_location . ?g rdf:type ontology:geographic_location } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Larch_Mountain property:located_on_terrain_feature ?d . ?d rdf:type ontology:geographic_location } } . FILTER ( ?m < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7191008
P706
Q2221906 Q2221906
USER
And how about Pico El León?
(c(Q2221906),P706,c(Q2221906))
action less
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action count
action filter_type
action find
entity Q7191008
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?m ) WHERE { ?r property:P706 ?d . ?r rdf:type ontology:Q2221906 . ?d rdf:type ontology:Q2221906 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q7191008 property:P706 ?l . ?l rdf:type ontology:Q2221906 } } . FILTER ( ?m < ?q ) }
Pico El León
action less
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action count
action filter_type
action find
entity Pico El León
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?m ) WHERE { ?r property:located_on_terrain_feature ?d . ?r rdf:type ontology:geographic_location . ?d rdf:type ontology:geographic_location } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Pico_El_León property:located_on_terrain_feature ?l . ?l rdf:type ontology:geographic_location } } . FILTER ( ?m < ?q ) }
[]
geographic location geographic location
Q51 Q151356 Q46
SYSTEM
Antarctica, Fernsehturm Berlin, Europe
Q5415940 Q4878573 Q1948178 Q14714846 Q315496 Q16671723 Q51 Q23385389 Q1998580 Q228608 Q3468036 Q14714685 Q151356 Q1551170 Q46 Q14711841 Q81483 Q4848366 Q15211098 Q14713610 Q32530 Q14713596 Q5088912 Q14705355 Q4672454 Q16827917 Q5184293 Q22673001 Q15651275 Q19838231 Q261407 Q16892114 Q4777 Q5169452 Q15202826 Q5051042 Q6922487 Q21491032 Q22704024 Q21007124 Q18356771 Q5559107 Q14713790 Q929147 Q2333134 Q326359 Q5597624 Q5338781 Q16845327 Q14714809 Q495241 Q14709821 Q2092983 Q5933320 Q14714818 Q11961757 Q7886194 Q5474347 Q2387700 Q14713936 Q16899205 Q4876461 Q14874585 Q6649684 Q14713886 Q16893544 Q14711877 Q4985824 Q2266713 Q16892238 Q21838035 Q14704530 Q14714702 Q1134643 Q5564047 Q14951375 Q3846790 Q17208861 Q15238659 Q15213747 Q702543 Q1725885
(c(Q2221906),P706,c(Q2221906))
action less
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action count
action filter_type
action find
entity Q7191008
relation P706
type Q2221906
[ANSWERS]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?m ) WHERE { ?r property:P706 ?d . ?r rdf:type ontology:Q2221906 . ?d rdf:type ontology:Q2221906 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q7191008 property:P706 ?l . ?l rdf:type ontology:Q2221906 } } . FILTER ( ?m < ?q ) }
Evans Névé Bechs Mølle Central Limburg Sunbeam Peak Upper Harz southern pole of inaccessibility Antarctica northern pole of inaccessibility Northern Black Forest South Limburg Pogromni Volcano Clayton Mountain Fernsehturm Berlin Palmer Land Europe Mount Powell (Utah) The Levant Bailey Ice Stream Cockedhat Mountain Clark Mountain (Washington) Lusatia Big Lava Bed Cheat Mountain Mount Avalon Access Slope American Legion Peak Creque Marine Railway Fonte River Dam Stuhlinger Ice Piedmont Nurn South Baden Harrower Peak Mount Roraima Coral Coast Bold Peak Cat Island Mount Oglethorpe Lower Harz Great Cross of Hendaye Cerro Negro Selenean summit Gibney Beach Lemei Rock Río de Oro Kukenán-tepui Palatinate Grassy Ridge Edlin Névé Bow Mountain Muddy Mountain Gyeongju Historic Areas Bote Mountain Southern Bukovina Hughes Basin Pinnacle Ridge Bogen oceanic pole of inaccessibility Foundation Ice Stream Northern Bukovina West Crater Red Crane, Portland Bear Island Custer Ridge Little Creek Peak Sawtooth Mountain Knife Point Mountain South Kings Peak Buffalo Ridge Fiordland Henderson Peak Rheasilvia central peak Ch-paa-qn Peak Downs Mountain Southern England Giovinco Ice Piedmont Torrey Peak, Wyoming Maremma Grossetana Shiretoko Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland Naheland
Antarctica Fernsehturm Berlin Europe
action less
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action count
action filter_type
action find
entity Pico El León
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?m ) WHERE { ?r property:located_on_terrain_feature ?d . ?r rdf:type ontology:geographic_location . ?d rdf:type ontology:geographic_location } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Pico_El_León property:located_on_terrain_feature ?l . ?l rdf:type ontology:geographic_location } } . FILTER ( ?m < ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q2221906 Q14524493 Q3895768
USER
Which geographic locations are max number of terrains and fictional locations located on ?
(c(Q14524493)|c(Q3895768),P706,c(Q2221906))
action argmax
action union
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q14524493
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q3895768
[[{'concept': 'Q14524493'}, {'concept': 'Q3895768'}], 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) ?m WHERE { { ?l property:P706 ?m . ?m rdf:type ontology:Q2221906 . ?l rdf:type ontology:Q14524493 } UNION { ?l property:P706 ?m . ?l rdf:type ontology:Q3895768 . ?m rdf:type ontology:Q2221906 } } GROUP BY ?m } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?k WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q14524493 ) ( ontology:Q3895768 ) } } GROUP BY ?k } }
action argmax
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type terrain
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type fictional location
[[{'concept': 'terrain'}, {'concept': 'fictional location'}], 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) ?m WHERE { { ?l property:located_on_terrain_feature ?m . ?m rdf:type ontology:geographic_location . ?l rdf:type ontology:terrain } UNION { ?l property:located_on_terrain_feature ?m . ?l rdf:type ontology:fictional_location . ?m rdf:type ontology:geographic_location } } GROUP BY ?m } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?k WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:terrain ) ( ontology:fictional_location ) } } GROUP BY ?k } }
[]
geographic location terrain fictional location
Q1084560
SYSTEM
Northwest Highlands
Q1084560
(c(Q14524493)|c(Q3895768),P706,c(Q2221906))
action argmax
action union
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q14524493
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q3895768
Max number of terrains and fictional locations are located in [ANSWER]
[[{'concept': 'Q14524493'}, {'concept': 'Q3895768'}], 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) ?m WHERE { { ?l property:P706 ?m . ?m rdf:type ontology:Q2221906 . ?l rdf:type ontology:Q14524493 } UNION { ?l property:P706 ?m . ?l rdf:type ontology:Q3895768 . ?m rdf:type ontology:Q2221906 } } GROUP BY ?m } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?k WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q14524493 ) ( ontology:Q3895768 ) } } GROUP BY ?k } }
Northwest Highlands
Max number of terrains and fictional locations are located in Northwest Highlands
Northwest Highlands
action argmax
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type terrain
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type fictional location
[[{'concept': 'terrain'}, {'concept': 'fictional location'}], 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) ?m WHERE { { ?l property:located_on_terrain_feature ?m . ?m rdf:type ontology:geographic_location . ?l rdf:type ontology:terrain } UNION { ?l property:located_on_terrain_feature ?m . ?l rdf:type ontology:fictional_location . ?m rdf:type ontology:geographic_location } } GROUP BY ?m } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?k WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:terrain ) ( ontology:fictional_location ) } } GROUP BY ?k } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1084560 Q145 Q537429
P17
Q15617994
USER
Is that geographic location present in United Kingdom and Röthenbach ?
(Q1084560,P17,Q145) (Q1084560,P17,Q537429)
action is_in
entity Q1084560
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q537429
relation P17
['Q1084560', 'P17', 'Q145'] ['Q1084560', 'P17', 'Q537429']
ASK WHERE { resource:Q1084560 property:P17 resource:Q145 . resource:Q1084560 property:P17 resource:Q537429 }
Northwest Highlands United Kingdom Röthenbach
action is_in
entity Northwest Highlands
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Röthenbach
relation country
['Northwest Highlands', 'country', 'United Kingdom'] ['Northwest Highlands', 'country', 'Röthenbach']
ASK WHERE { resource:Northwest_Highlands property:country resource:United_Kingdom . resource:Northwest_Highlands property:country resource:Röthenbach }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1084560,P17,Q145) (Q1084560,P17,Q537429)
action is_in
entity Q1084560
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q537429
relation P17
[ANSWER]
['Q1084560', 'P17', 'Q145'] ['Q1084560', 'P17', 'Q537429']
ASK WHERE { resource:Q1084560 property:P17 resource:Q145 . resource:Q1084560 property:P17 resource:Q537429 }
YES and NO respectively
action is_in
entity Northwest Highlands
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Röthenbach
relation country
['Northwest Highlands', 'country', 'United Kingdom'] ['Northwest Highlands', 'country', 'Röthenbach']
ASK WHERE { resource:Northwest_Highlands property:country resource:United_Kingdom . resource:Northwest_Highlands property:country resource:Röthenbach }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19292253 Q3707201
P276 P19
Q56061
USER
Which administrative territories were Diego Lo Grippo born at or are the place where Kastanjelaan are located ?
OR((Q3707201,P19,c(Q56061)), (Q19292253,P276,c(Q56061)))
action filter_type
action union
action find
entity Q3707201
relation P19
action find
entity Q19292253
relation P276
type Q56061
{'OR': [['Q3707201', 'P19', {'concept': 'Q56061'}], ['Q19292253', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q19292253 property:P276 ?v } UNION { resource:Q3707201 property:P19 ?v } } . ?v rdf:type ontology:Q56061 }
Kastanjelaan Diego Lo Grippo
action filter_type
action union
action find
entity Diego Lo Grippo
relation place of birth
action find
entity Kastanjelaan
relation location
type administrative territorial entity
{'OR': [['Diego Lo Grippo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Kastanjelaan', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kastanjelaan property:location ?v } UNION { resource:Diego_Lo_Grippo property:place_of_birth ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3101185 Q52535
SYSTEM
Uithuizermeeden, Rosario
Q3101185 Q52535
OR((Q3707201,P19,c(Q56061)), (Q19292253,P276,c(Q56061)))
action filter_type
action union
action find
entity Q3707201
relation P19
action find
entity Q19292253
relation P276
type Q56061
[ANSWERS] Diego Lo Grippo were born at or are the place where Kastanjelaan are located
{'OR': [['Q3707201', 'P19', {'concept': 'Q56061'}], ['Q19292253', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q19292253 property:P276 ?v } UNION { resource:Q3707201 property:P19 ?v } } . ?v rdf:type ontology:Q56061 }
Uithuizermeeden Rosario
Uithuizermeeden and Rosario Diego Lo Grippo were born at or are the place where Kastanjelaan are located
Uithuizermeeden Rosario
action filter_type
action union
action find
entity Diego Lo Grippo
relation place of birth
action find
entity Kastanjelaan
relation location
type administrative territorial entity
{'OR': [['Diego Lo Grippo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Kastanjelaan', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kastanjelaan property:location ?v } UNION { resource:Diego_Lo_Grippo property:place_of_birth ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]