Simple Question (Direct)
Simple Question
Q3350843
P734
Q82799
USER
Who has the surname Olivier Borel ?
(Q3350843,P734,c(Q82799))
action filter_type
action find
entity Q3350843
relation P734
type Q82799
['Q3350843', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3350843 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Olivier Borel
action filter_type
action find
entity Olivier Borel
relation family name
type name
['Olivier Borel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Olivier_Borel property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q16860247
SYSTEM
Borel
Q16860247
(Q3350843,P734,c(Q82799))
action filter_type
action find
entity Q3350843
relation P734
type Q82799
[ANSWER] has the surname Olivier [ANSWER]
['Q3350843', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3350843 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Borel
Borel has the surname Olivier Borel
Borel
action filter_type
action find
entity Olivier Borel
relation family name
type name
['Olivier Borel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Olivier_Borel property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3350843
P641
Q349
USER
What was the sport that Olivier Borel was a part of ?
(Q3350843,P641,c(Q349))
action filter_type
action find
entity Q3350843
relation P641
type Q349
['Q3350843', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q3350843 property:P641 ?j . ?j rdf:type ontology:Q349 }
Olivier Borel
action filter_type
action find
entity Olivier Borel
relation sport
type sport
['Olivier Borel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Olivier_Borel property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3350843,P641,c(Q349))
action filter_type
action find
entity Q3350843
relation P641
type Q349
The sport that Olivier Borel was a part of was [ANSWER]
['Q3350843', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q3350843 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The sport that Olivier Borel was a part of was association football
association football
action filter_type
action find
entity Olivier Borel
relation sport
type sport
['Olivier Borel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Olivier_Borel property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { resource:Q2736 property:P495 ?c . ?c rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:association_football property:country_of_origin ?c . ?c rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { resource:Q2736 property:P495 ?c . ?c rdf:type ontology:Q1496967 }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:association_football property:country_of_origin ?c . ?c rdf:type ontology:territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5287205
Q1496967
USER
And also tell me about Dock pudding?
(Q5287205,P495,c(Q1496967))
action filter_type
action find
entity Q5287205
relation P495
type Q1496967
['Q5287205', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?i WHERE { resource:Q5287205 property:P495 ?i . ?i rdf:type ontology:Q1496967 }
Dock pudding
action filter_type
action find
entity Dock pudding
relation country of origin
type territorial entity
['Dock pudding', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Dock_pudding property:country_of_origin ?i . ?i rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q5287205,P495,c(Q1496967))
action filter_type
action find
entity Q5287205
relation P495
type Q1496967
[ANSWER]
['Q5287205', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?i WHERE { resource:Q5287205 property:P495 ?i . ?i rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity Dock pudding
relation country of origin
type territorial entity
['Dock pudding', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Dock_pudding property:country_of_origin ?i . ?i rdf:type ontology:territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P3179
Q7275
USER
Which state has an overlap with France ?
(c(Q7275),P3179,Q142)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[{'concept': 'Q7275'}, 'P3179', 'Q142']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . ?d property:P3179 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'France']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . ?d property:territory_overlaps resource:France }
[]
state
Q70972
SYSTEM
Kingdom of France
Q70972
(c(Q7275),P3179,Q142)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[ANSWER] has an overlap with France
[{'concept': 'Q7275'}, 'P3179', 'Q142']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . ?d property:P3179 resource:Q142 }
Kingdom of France
Kingdom of France has an overlap with France
Kingdom of France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'France']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . ?d property:territory_overlaps resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70972
P1001
Q12737077
USER
Which occupations apply to jurisdiction over that state ?
(c(Q12737077),P1001,Q70972)
action filter_type
action find_reverse
entity Q70972
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q70972']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q70972 . ?n rdf:type ontology:Q12737077 }
Kingdom of France
action filter_type
action find_reverse
entity Kingdom of France
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of France']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Kingdom_of_France . ?n rdf:type ontology:occupation }
[]
occupation
Q3439798 Q2638620 Q1549592
SYSTEM
King of France, Controller-General of Finances, Grand Squire of France
Q3439798 Q2638620 Q1549592
(c(Q12737077),P1001,Q70972)
action filter_type
action find_reverse
entity Q70972
relation P1001
type Q12737077
[ANSWERS] apply to jurisdiction over that state
[{'concept': 'Q12737077'}, 'P1001', 'Q70972']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q70972 . ?n rdf:type ontology:Q12737077 }
King of France Controller-General of Finances Grand Squire of France
King of France, Controller-General of Finances and Grand Squire of France apply to jurisdiction over that state
King of France Controller-General of Finances Grand Squire of France
action filter_type
action find_reverse
entity Kingdom of France
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of France']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Kingdom_of_France . ?n rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q926335 Q70972
P710
Q1190554
USER
Which events were Kingdom of France but not Renaud I, Count of Dammartin a participant of ?
AND((c(Q1190554),P710,Q70972), NOT((c(Q1190554),P710,Q926335)))
action filter_type
action difference
action find_reverse
entity Q70972
relation P710
action find_reverse
entity Q926335
relation P710
type Q1190554
{'AND': [[{'concept': 'Q1190554'}, 'P710', 'Q70972'], {'NOT': [[{'concept': 'Q1190554'}, 'P710', 'Q926335']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q70972 . MINUS { ?n property:P710 resource:Q926335 } . ?n rdf:type ontology:Q1190554 }
Renaud I, Count of Dammartin Kingdom of France
action filter_type
action difference
action find_reverse
entity Kingdom of France
relation participant
action find_reverse
entity Renaud I, Count of Dammartin
relation participant
type event
{'AND': [[{'concept': 'event'}, 'participant', 'Kingdom of France'], {'NOT': [[{'concept': 'event'}, 'participant', 'Renaud I, Count of Dammartin']]}]}
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Kingdom_of_France . MINUS { ?n property:participant resource:Renaud_I,_Count_of_Dammartin } . ?n rdf:type ontology:event }
[]
event
Q1516439 Q150701 Q1248605 Q2890887 Q152218 Q611827 Q648535 Q154635 Q815148 Q1669489
SYSTEM
Some of them are Battle of Bremule, War of the Spanish Succession, Battle of Beachy Head, Battle of the Col de Panissars, Nine Years' War, Battle of Blanchetaque, Battle of Patay, Battle of Blenheim, Siege of Harfleur, Battle of Taillebourg
Q1785755 Q1669489 Q1876031 Q152218 Q1516439 Q1248605 Q2501743 Q154635 Q161325 Q815148 Q4872232 Q2887879 Q648535 Q2890887 Q611827 Q150701 Q2890678 Q1855461
AND((c(Q1190554),P710,Q70972), NOT((c(Q1190554),P710,Q926335)))
action filter_type
action difference
action find_reverse
entity Q70972
relation P710
action find_reverse
entity Q926335
relation P710
type Q1190554
[ANSWERS] were Kingdom of France but not Renaud I, Count of Dammartin a participant of
{'AND': [[{'concept': 'Q1190554'}, 'P710', 'Q70972'], {'NOT': [[{'concept': 'Q1190554'}, 'P710', 'Q926335']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q70972 . MINUS { ?n property:P710 resource:Q926335 } . ?n rdf:type ontology:Q1190554 }
Battle of Baugé Battle of Taillebourg Siege of Damietta Nine Years' War Battle of Bremule Battle of Beachy Head Battle of Jersey Battle of Blenheim Battle of Ramillies Siege of Harfleur Battle of Sahay Battle of Ardres Battle of Patay Battle of the Col de Panissars Battle of Blanchetaque War of the Spanish Succession Battle of Les Formigues Battle of Lincoln
Battle of Bremule, War of the Spanish Succession, Battle of Beachy Head, Battle of the Col de Panissars, Nine Years' War, Battle of Blanchetaque, Battle of Patay, Battle of Blenheim, Siege of Harfleur and Battle of Taillebourg were Kingdom of France but not Renaud I, Count of Dammartin a participant of
Battle of Bremule War of the Spanish Succession Battle of Beachy Head Battle of the Col de Panissars Nine Years' War Battle of Blanchetaque Battle of Patay Battle of Blenheim Siege of Harfleur Battle of Taillebourg
action filter_type
action difference
action find_reverse
entity Kingdom of France
relation participant
action find_reverse
entity Renaud I, Count of Dammartin
relation participant
type event
{'AND': [[{'concept': 'event'}, 'participant', 'Kingdom of France'], {'NOT': [[{'concept': 'event'}, 'participant', 'Renaud I, Count of Dammartin']]}]}
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Kingdom_of_France . MINUS { ?n property:participant resource:Renaud_I,_Count_of_Dammartin } . ?n rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q154635
P21 P20
Q502895
USER
Which people died in Battle of Blenheim and are a male ?
AND((c(Q502895),P20,Q154635), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q154635
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q154635'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q154635 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Battle of Blenheim
action filter_type
action intersection
action find_reverse
entity Battle of Blenheim
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Battle of Blenheim'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Battle_of_Blenheim . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q22085297
SYSTEM
Joseph Ignace Scaglia, conte de Verua
Q22085297
AND((c(Q502895),P20,Q154635), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q154635
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] died in Battle of Blenheim and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q154635'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q154635 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Joseph Ignace Scaglia, conte de Verua
Joseph Ignace Scaglia, conte de Verua died in Battle of Blenheim and are a male
Joseph Ignace Scaglia, conte de Verua
action filter_type
action intersection
action find_reverse
entity Battle of Blenheim
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Battle of Blenheim'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Battle_of_Blenheim . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q49603
P47
Q15617994
USER
How many administrative territories have a shared border with England or Ponte Buggianese ?
(Q21,P47,c(Q15617994)) (Q49603,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q21
relation P47
type Q15617994
action filter_type
action find
entity Q49603
relation P47
type Q15617994
['Q21', 'P47', {'concept': 'Q15617994'}] ['Q49603', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?b ) { ( resource:Q21 ) ( resource:Q49603 ) } . ?b property:P47 ?n }
England Ponte Buggianese
action count
action union
action filter_type
action find
entity England
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Ponte Buggianese
relation shares border with
type designation for an administrative territorial entity
['England', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ponte Buggianese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?b ) { ( resource:England ) ( resource:Ponte_Buggianese ) } . ?b property:shares_border_with ?n }
[]
designation for an administrative territorial entity
SYSTEM
6
Q49605 Q82699 Q102634 Q102578 Q102566 Q102677
(Q21,P47,c(Q15617994)) (Q49603,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q21
relation P47
type Q15617994
action filter_type
action find
entity Q49603
relation P47
type Q15617994
[ANSWER]
['Q21', 'P47', {'concept': 'Q15617994'}] ['Q49603', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?b ) { ( resource:Q21 ) ( resource:Q49603 ) } . ?b property:P47 ?n }
Montecatini Terme Fucecchio Monsummano Terme Chiesina Uzzanese Buggiano Pieve a Nievole
6
action count
action union
action filter_type
action find
entity England
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Ponte Buggianese
relation shares border with
type designation for an administrative territorial entity
['England', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ponte Buggianese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?b ) { ( resource:England ) ( resource:Ponte_Buggianese ) } . ?b property:shares_border_with ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150701
P276
Q2221906
USER
Where can War of the Spanish Succession be found ?
(Q150701,P276,c(Q2221906))
action filter_type
action find
entity Q150701
relation P276
type Q2221906
['Q150701', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q150701 property:P276 ?k . ?k rdf:type ontology:Q2221906 }
War of the Spanish Succession
action filter_type
action find
entity War of the Spanish Succession
relation location
type geographic location
['War of the Spanish Succession', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:War_of_the_Spanish_Succession property:location ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q18 Q49
SYSTEM
Europe, South America, North America
Q46 Q18 Q49
(Q150701,P276,c(Q2221906))
action filter_type
action find
entity Q150701
relation P276
type Q2221906
War of the Spanish Succession can be found in [ANSWERS]
['Q150701', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q150701 property:P276 ?k . ?k rdf:type ontology:Q2221906 }
Europe South America North America
War of the Spanish Succession can be found in Europe, South America and North America
Europe South America North America
action filter_type
action find
entity War of the Spanish Succession
relation location
type geographic location
['War of the Spanish Succession', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:War_of_the_Spanish_Succession property:location ?k . ?k rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q150701
P276
Q1190554
USER
Are War of the Spanish Succession located at those geographic locations ?
(Q150701,P276,Q46) (Q150701,P276,Q18) (Q150701,P276,Q49)
action is_in
entity prev_answer
action find
entity Q150701
relation P276
['Q150701', 'P276', 'Q46'] ['Q150701', 'P276', 'Q18'] ['Q150701', 'P276', 'Q49']
ASK WHERE { VALUES ( ?y ) { ( resource:Q46 ) ( resource:Q18 ) ( resource:Q49 ) } . resource:Q150701 property:P276 ?y }
War of the Spanish Succession
action is_in
entity prev_answer
action find
entity War of the Spanish Succession
relation location
['War of the Spanish Succession', 'location', 'Europe'] ['War of the Spanish Succession', 'location', 'South America'] ['War of the Spanish Succession', 'location', 'North America']
ASK WHERE { VALUES ( ?y ) { ( resource:Europe ) ( resource:South_America ) ( resource:North_America ) } . resource:War_of_the_Spanish_Succession property:location ?y }
[]
event
SYSTEM
YES
(Q150701,P276,Q46) (Q150701,P276,Q18) (Q150701,P276,Q49)
action is_in
entity prev_answer
action find
entity Q150701
relation P276
[ANSWER]
['Q150701', 'P276', 'Q46'] ['Q150701', 'P276', 'Q18'] ['Q150701', 'P276', 'Q49']
ASK WHERE { VALUES ( ?y ) { ( resource:Q46 ) ( resource:Q18 ) ( resource:Q49 ) } . resource:Q150701 property:P276 ?y }
Yes
action is_in
entity prev_answer
action find
entity War of the Spanish Succession
relation location
['War of the Spanish Succession', 'location', 'Europe'] ['War of the Spanish Succession', 'location', 'South America'] ['War of the Spanish Succession', 'location', 'North America']
ASK WHERE { VALUES ( ?y ) { ( resource:Europe ) ( resource:South_America ) ( resource:North_America ) } . resource:War_of_the_Spanish_Succession property:location ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4204
P706
Q553036 Q2221906
USER
Which natural region of Germanys are the location where less number of geographic locations are located than Black Forest ?
(c(Q2221906),P706,c(Q553036))
action less
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
action count
action filter_type
action find_reverse
entity Q4204
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P706 ?s . ?r rdf:type ontology:Q2221906 . ?s rdf:type ontology:Q553036 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:Q2221906 . ?f property:P706 resource:Q4204 } } . FILTER ( ?o < ?y ) }
Black Forest
action less
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
action count
action filter_type
action find_reverse
entity Black Forest
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:located_on_terrain_feature ?s . ?r rdf:type ontology:geographic_location . ?s rdf:type ontology:natural_region_of_Germany } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:geographic_location . ?f property:located_on_terrain_feature resource:Black_Forest } } . FILTER ( ?o < ?y ) }
[]
natural region of Germany geographic location
Q152356 Q4198 Q157290
SYSTEM
Eifel, Ore Mountains, Bohemian Forest
Q157290 Q152356 Q152131 Q707004 Q159589 Q8359 Q640966 Q109773 Q4207 Q525051 Q4198 Q158884 Q896061 Q179378 Q4210 Q685984 Q148988 Q182470 Q157728 Q15079119
(c(Q2221906),P706,c(Q553036))
action less
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
action count
action filter_type
action find_reverse
entity Q4204
relation P706
type Q2221906
[ANSWERS] are the location where less number of geographic locations are located than Black Forest
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P706 ?s . ?r rdf:type ontology:Q2221906 . ?s rdf:type ontology:Q553036 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:Q2221906 . ?f property:P706 resource:Q4204 } } . FILTER ( ?o < ?y ) }
Bohemian Forest Eifel Sudetes Palatinate Forest Swabian Jura Odenwald Westerwald Teutoburg Forest Bavarian Forest Kellerwald Ore Mountains Taunus Kaufungen Forest Reinhardswald Thuringian Forest Upper Palatine Forest Rhön Mountains Spessart Fichtelgebirge Steigerwald
Eifel, Ore Mountains and Bohemian Forest are the location where less number of geographic locations are located than Black Forest
Eifel Ore Mountains Bohemian Forest
action less
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
action count
action filter_type
action find_reverse
entity Black Forest
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:located_on_terrain_feature ?s . ?r rdf:type ontology:geographic_location . ?s rdf:type ontology:natural_region_of_Germany } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:geographic_location . ?f property:located_on_terrain_feature resource:Black_Forest } } . FILTER ( ?o < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q4186
P706
Q553036 Q2221906
USER
And also tell me about Harz?
(c(Q2221906),P706,c(Q553036))
action less
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
action count
action filter_type
action find_reverse
entity Q4186
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?c ) WHERE { ?q rdf:type ontology:Q553036 . ?h rdf:type ontology:Q2221906 . ?h property:P706 ?q } GROUP BY ?q } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P706 resource:Q4186 . ?n rdf:type ontology:Q2221906 } } }
Harz
action less
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
action count
action filter_type
action find_reverse
entity Harz
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?c ) WHERE { ?q rdf:type ontology:natural_region_of_Germany . ?h rdf:type ontology:geographic_location . ?h property:located_on_terrain_feature ?q } GROUP BY ?q } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:located_on_terrain_feature resource:Harz . ?n rdf:type ontology:geographic_location } } }
[]
natural region of Germany geographic location
Q152356 Q4198 Q157290
SYSTEM
Eifel, Ore Mountains, Bohemian Forest
Q157290 Q152356 Q152131 Q707004 Q159589 Q8359 Q640966 Q109773 Q4207 Q525051 Q4198 Q158884 Q896061 Q179378 Q4210 Q685984 Q148988 Q182470 Q157728 Q4204 Q15079119
(c(Q2221906),P706,c(Q553036))
action less
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
action count
action filter_type
action find_reverse
entity Q4186
relation P706
type Q2221906
[ANSWERS]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?c ) WHERE { ?q rdf:type ontology:Q553036 . ?h rdf:type ontology:Q2221906 . ?h property:P706 ?q } GROUP BY ?q } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P706 resource:Q4186 . ?n rdf:type ontology:Q2221906 } } }
Bohemian Forest Eifel Sudetes Palatinate Forest Swabian Jura Odenwald Westerwald Teutoburg Forest Bavarian Forest Kellerwald Ore Mountains Taunus Kaufungen Forest Reinhardswald Thuringian Forest Upper Palatine Forest Rhön Mountains Spessart Fichtelgebirge Black Forest Steigerwald
Eifel Ore Mountains Bohemian Forest
action less
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
action count
action filter_type
action find_reverse
entity Harz
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?c ) WHERE { ?q rdf:type ontology:natural_region_of_Germany . ?h rdf:type ontology:geographic_location . ?h property:located_on_terrain_feature ?q } GROUP BY ?q } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:located_on_terrain_feature resource:Harz . ?n rdf:type ontology:geographic_location } } }
[]