Simple Question (Direct)
Simple Question
Q1021716
P166
Q618779
USER
Which award was Chevières awarded with ?
(Q1021716,P166,c(Q618779))
action filter_type
action find
entity Q1021716
relation P166
type Q618779
['Q1021716', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q1021716 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Chevières
action filter_type
action find
entity Chevières
relation award received
type award
['Chevières', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Chevières property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1021716,P166,c(Q618779))
action filter_type
action find
entity Q1021716
relation P166
type Q618779
Chevières was awarded the [ANSWER]
['Q1021716', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q1021716 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
Chevières was awarded the Croix de guerre 1914–1918
Croix de guerre 1914–1918
action filter_type
action find
entity Chevières
relation award received
type award
['Chevières', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Chevières property:award_received ?b . ?b rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1021716
P47
Q20667921
USER
Which french administrative divisions do that one share a border with ?
(c(Q20667921),P47,Q2727598)
action filter_type
action find
entity Q1021716
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q2727598']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q1021716 property:P47 ?s }
Chevières
action filter_type
action find
entity Chevières
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Croix de guerre 1914–1918']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Chevières property:shares_border_with ?s }
[]
type of french administrative division
Q1159602 Q477021 Q473123
SYSTEM
Senuc, Grandpré, Champigneulle
Q937614 Q477021 Q473123 Q816899 Q1159602
(c(Q20667921),P47,Q2727598)
action filter_type
action find
entity Q1021716
relation P47
type Q20667921
[ANSWERS] that one share a border with
[{'concept': 'Q20667921'}, 'P47', 'Q2727598']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q1021716 property:P47 ?s }
Marcq Grandpré Champigneulle Saint-Juvin Senuc
Senuc, Grandpré and Champigneulle that one share a border with
Senuc Grandpré Champigneulle
action filter_type
action find
entity Chevières
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Croix de guerre 1914–1918']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Chevières property:shares_border_with ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q1021716
P47 P17
Q20667921
USER
Which french administrative divisions are next to the border of Chevières and are located in France ?
AND((c(Q20667921),P47,Q1021716), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q1021716
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q1021716'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?f WHERE { ?f property:P47 resource:Q1021716 . ?f property:P17 resource:Q142 . ?f rdf:type ontology:Q20667921 }
France Chevières
action filter_type
action intersection
action find_reverse
entity Chevières
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Chevières'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?f WHERE { ?f property:shares_border_with resource:Chevières . ?f property:country resource:France . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1159602 Q937614 Q816899 Q473123 Q477021
SYSTEM
Senuc, Marcq, Saint-Juvin, Champigneulle, Grandpré
Q1159602 Q937614 Q816899 Q473123 Q477021
AND((c(Q20667921),P47,Q1021716), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q1021716
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] are next to the border of Chevières and are located in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q1021716'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?f WHERE { ?f property:P47 resource:Q1021716 . ?f property:P17 resource:Q142 . ?f rdf:type ontology:Q20667921 }
Senuc Marcq Saint-Juvin Champigneulle Grandpré
Senuc, Marcq, Saint-Juvin, Champigneulle and Grandpré are next to the border of Chevières and are located in France
Senuc Marcq Saint-Juvin Champigneulle Grandpré
action filter_type
action intersection
action find_reverse
entity Chevières
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Chevières'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?f WHERE { ?f property:shares_border_with resource:Chevières . ?f property:country resource:France . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1159602 Q937614 Q816899 Q473123 Q477021
P17
Q15617994
USER
Which administrative territories are those french administrative divisions a part of ?
(Q1159602,P17,c(Q15617994)) (Q937614,P17,c(Q15617994)) (Q816899,P17,c(Q15617994)) (Q473123,P17,c(Q15617994)) (Q477021,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1159602', 'P17', {'concept': 'Q15617994'}] ['Q937614', 'P17', {'concept': 'Q15617994'}] ['Q816899', 'P17', {'concept': 'Q15617994'}] ['Q473123', 'P17', {'concept': 'Q15617994'}] ['Q477021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . VALUES ( ?y ) { ( resource:Q1159602 ) ( resource:Q937614 ) ( resource:Q816899 ) } . ?y property:P17 ?l }
Senuc Marcq Saint-Juvin Champigneulle Grandpré
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Senuc', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Marcq', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Juvin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Champigneulle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Grandpré', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?y ) { ( resource:Senuc ) ( resource:Marcq ) ( resource:Saint-Juvin ) } . ?y property:country ?l }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142 Q142 Q142
(Q1159602,P17,c(Q15617994)) (Q937614,P17,c(Q15617994)) (Q816899,P17,c(Q15617994)) (Q473123,P17,c(Q15617994)) (Q477021,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are those french administrative divisions a part of
['Q1159602', 'P17', {'concept': 'Q15617994'}] ['Q937614', 'P17', {'concept': 'Q15617994'}] ['Q816899', 'P17', {'concept': 'Q15617994'}] ['Q473123', 'P17', {'concept': 'Q15617994'}] ['Q477021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . VALUES ( ?y ) { ( resource:Q1159602 ) ( resource:Q937614 ) ( resource:Q816899 ) } . ?y property:P17 ?l }
France France France France France
France, France and France are those french administrative divisions a part of
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Senuc', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Marcq', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Juvin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Champigneulle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Grandpré', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?y ) { ( resource:Senuc ) ( resource:Marcq ) ( resource:Saint-Juvin ) } . ?y property:country ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q477021
P1376
Q20667921
USER
Which french administrative division has Grandpré has its first city ?
(Q477021,P1376,c(Q20667921))
action filter_type
action find
entity Q477021
relation P1376
type Q20667921
['Q477021', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q477021 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
Grandpré
action filter_type
action find
entity Grandpré
relation capital of
type type of french administrative division
['Grandpré', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Grandpré property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725393
SYSTEM
canton of Grandpré
Q1725393
(Q477021,P1376,c(Q20667921))
action filter_type
action find
entity Q477021
relation P1376
type Q20667921
[ANSWER] has Grandpré has its first city
['Q477021', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q477021 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
canton of Grandpré
Canton of Grandpré has Grandpré has its first city
canton of Grandpré
action filter_type
action find
entity Grandpré
relation capital of
type type of french administrative division
['Grandpré', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Grandpré property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1725393
P36
Q20667921
USER
Which french administrative division is the capital of that one ?
(Q1725393,P36,c(Q20667921))
action filter_type
action find
entity Q1725393
relation P36
type Q20667921
['Q1725393', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q1725393 property:P36 ?c . ?c rdf:type ontology:Q20667921 }
canton of Grandpré
action filter_type
action find
entity canton of Grandpré
relation capital
type type of french administrative division
['canton of Grandpré', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:canton_of_Grandpré property:capital ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q477021
SYSTEM
Grandpré
Q477021
(Q1725393,P36,c(Q20667921))
action filter_type
action find
entity Q1725393
relation P36
type Q20667921
[ANSWER] is the capital of that one
['Q1725393', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q1725393 property:P36 ?c . ?c rdf:type ontology:Q20667921 }
Grandpré
Grandpré is the capital of that one
Grandpré
action filter_type
action find
entity canton of Grandpré
relation capital
type type of french administrative division
['canton of Grandpré', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:canton_of_Grandpré property:capital ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q477021 Q16240154
P19
Q502895
USER
Does Derek Dainard have birthplace at that french administrative division ?
(Q16240154,P19,Q477021)
action is_in
entity Q16240154
action find
entity Q477021
relation P19
['Q16240154', 'P19', 'Q477021']
ASK WHERE { resource:Q477021 property:P19 resource:Q16240154 }
Grandpré Derek Dainard
action is_in
entity Derek Dainard
action find
entity Grandpré
relation place of birth
['Derek Dainard', 'place of birth', 'Grandpré']
ASK WHERE { resource:Grandpré property:place_of_birth resource:Derek_Dainard }
[]
common name
SYSTEM
NO
(Q16240154,P19,Q477021)
action is_in
entity Q16240154
action find
entity Q477021
relation P19
[ANSWER]
['Q16240154', 'P19', 'Q477021']
ASK WHERE { resource:Q477021 property:P19 resource:Q16240154 }
No
action is_in
entity Derek Dainard
action find
entity Grandpré
relation place of birth
['Derek Dainard', 'place of birth', 'Grandpré']
ASK WHERE { resource:Grandpré property:place_of_birth resource:Derek_Dainard }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1715328 Q16240154
P106
Q151885
USER
Which concepts are the professions of Derek Dainard or Jörg Geuder ?
OR((Q16240154,P106,c(Q151885)), (Q1715328,P106,c(Q151885)))
action filter_type
action union
action find
entity Q16240154
relation P106
action find
entity Q1715328
relation P106
type Q151885
{'OR': [['Q16240154', 'P106', {'concept': 'Q151885'}], ['Q1715328', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q16240154 property:P106 ?h } UNION { resource:Q1715328 property:P106 ?h } } . ?h rdf:type ontology:Q151885 }
Jörg Geuder Derek Dainard
action filter_type
action union
action find
entity Derek Dainard
relation occupation
action find
entity Jörg Geuder
relation occupation
type concept
{'OR': [['Derek Dainard', 'occupation', {'concept': 'concept'}], ['Jörg Geuder', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Derek_Dainard property:occupation ?h } UNION { resource:Jörg_Geuder property:occupation ?h } } . ?h rdf:type ontology:concept }
[]
concept
Q10843402 Q482980
SYSTEM
swimmer, author
Q10843402 Q482980
OR((Q16240154,P106,c(Q151885)), (Q1715328,P106,c(Q151885)))
action filter_type
action union
action find
entity Q16240154
relation P106
action find
entity Q1715328
relation P106
type Q151885
[ANSWERS] are the professions of Derek Dainard or Jörg Geuder
{'OR': [['Q16240154', 'P106', {'concept': 'Q151885'}], ['Q1715328', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q16240154 property:P106 ?h } UNION { resource:Q1715328 property:P106 ?h } } . ?h rdf:type ontology:Q151885 }
swimmer author
Swimmer and author are the professions of Derek Dainard or Jörg Geuder
swimmer author
action filter_type
action union
action find
entity Derek Dainard
relation occupation
action find
entity Jörg Geuder
relation occupation
type concept
{'OR': [['Derek Dainard', 'occupation', {'concept': 'concept'}], ['Jörg Geuder', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Derek_Dainard property:occupation ?h } UNION { resource:Jörg_Geuder property:occupation ?h } } . ?h rdf:type ontology:concept }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q151885 Q21114848 Q502895
USER
How many concepts are the fields of work of more number of magazine genres and people than that concept ?
(c(Q21114848)|c(Q502895),P101,c(Q151885))
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:Q627436 ?y } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:field_of_work ?y } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
concept magazine genre common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q482980
SYSTEM
Did you mean author ?
(c(Q21114848)|c(Q502895),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:Q627436 ?y } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
Did you mean author ?
author
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:field_of_work ?y } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q21114848)|c(Q502895),P101,c(Q151885))
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
[]
SYSTEM
13
Q3281534 Q9730 Q131476 Q9778 Q37073 Q3014296 Q847526 Q50637 Q192781 Q2066131 Q39680 Q8341 Q6501221
(c(Q21114848)|c(Q502895),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
modern history classical music graph theory electronic music pop music motorcycle racer queueing theory art history military history sportsperson macroeconomics jazz control theory
13
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q202207
P706
Q107425 Q151885
USER
How many landscapes are the location where lesser number of concepts are located than Po Valley ?
(c(Q151885),P706,c(Q107425))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find_reverse
entity Q202207
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P706 ?v . ?v rdf:type ontology:Q107425 . ?n rdf:type ontology:Q151885 } GROUP BY ?v } . FILTER ( ?i < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P706 resource:Q202207 . ?e rdf:type ontology:Q151885 } } }
Po Valley
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find_reverse
entity Po Valley
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:located_on_terrain_feature ?v . ?v rdf:type ontology:landscape . ?n rdf:type ontology:concept } GROUP BY ?v } . FILTER ( ?i < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:located_on_terrain_feature resource:Po_Valley . ?e rdf:type ontology:concept } } }
[]
landscape concept
SYSTEM
104
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find_reverse
entity Q202207
relation P706
type Q151885
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P706 ?v . ?v rdf:type ontology:Q107425 . ?n rdf:type ontology:Q151885 } GROUP BY ?v } . FILTER ( ?i < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P706 resource:Q202207 . ?e rdf:type ontology:Q151885 } } }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Highlands of Iceland Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
104
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find_reverse
entity Po Valley
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:located_on_terrain_feature ?v . ?v rdf:type ontology:landscape . ?n rdf:type ontology:concept } GROUP BY ?v } . FILTER ( ?i < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:located_on_terrain_feature resource:Po_Valley . ?e rdf:type ontology:concept } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10843402
P180
Q838948
USER
Which works of art express swimmer ?
(c(Q838948),P180,Q10843402)
action filter_type
action find_reverse
entity Q10843402
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q10843402']
SELECT DISTINCT ?j WHERE { ?j property:P180 resource:Q10843402 . ?j rdf:type ontology:Q838948 }
swimmer
action filter_type
action find_reverse
entity swimmer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'swimmer']
SELECT DISTINCT ?j WHERE { ?j property:depicts resource:swimmer . ?j rdf:type ontology:work_of_art }
[]
work of art
Q23315502 Q5174011
SYSTEM
...Dans le bonheur, Cosmetic Spoon: Young Girl Swimming
Q23315502 Q5174011
(c(Q838948),P180,Q10843402)
action filter_type
action find_reverse
entity Q10843402
relation P180
type Q838948
[ANSWERS] express swimmer
[{'concept': 'Q838948'}, 'P180', 'Q10843402']
SELECT DISTINCT ?j WHERE { ?j property:P180 resource:Q10843402 . ?j rdf:type ontology:Q838948 }
...Dans le bonheur Cosmetic Spoon: Young Girl Swimming
...Dans le bonheur and Cosmetic Spoon: Young Girl Swimming express swimmer
...Dans le bonheur Cosmetic Spoon: Young Girl Swimming
action filter_type
action find_reverse
entity swimmer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'swimmer']
SELECT DISTINCT ?j WHERE { ?j property:depicts resource:swimmer . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23315502 Q5174011
P180
Q151885
USER
Which concepts are demonstrated in those works of art ?
(Q23315502,P180,c(Q151885)) (Q5174011,P180,c(Q151885))
action filter_type
action find
entity prev_answer
relation P180
type Q151885
['Q23315502', 'P180', {'concept': 'Q151885'}] ['Q5174011', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?j property:P180 ?w . VALUES ( ?j ) { ( resource:Q23315502 ) ( resource:Q5174011 ) } . ?w rdf:type ontology:Q151885 }
...Dans le bonheur Cosmetic Spoon: Young Girl Swimming
action filter_type
action find
entity prev_answer
relation depicts
type concept
['...Dans le bonheur', 'depicts', {'concept': 'concept'}] ['Cosmetic Spoon: Young Girl Swimming', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?j property:depicts ?w . VALUES ( ?j ) { ( resource:...Dans_le_bonheur ) ( resource:Cosmetic_Spoon:_Young_Girl_Swimming ) } . ?w rdf:type ontology:concept }
[]
concept
Q10843402 Q10843402
SYSTEM
swimmer
Q10843402 Q10843402
(Q23315502,P180,c(Q151885)) (Q5174011,P180,c(Q151885))
action filter_type
action find
entity prev_answer
relation P180
type Q151885
And [ANSWER] and [ANSWER] are demonstrated in those works of art
['Q23315502', 'P180', {'concept': 'Q151885'}] ['Q5174011', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?j property:P180 ?w . VALUES ( ?j ) { ( resource:Q23315502 ) ( resource:Q5174011 ) } . ?w rdf:type ontology:Q151885 }
swimmer swimmer
And swimmer and swimmer are demonstrated in those works of art
swimmer swimmer
action filter_type
action find
entity prev_answer
relation depicts
type concept
['...Dans le bonheur', 'depicts', {'concept': 'concept'}] ['Cosmetic Spoon: Young Girl Swimming', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?j property:depicts ?w . VALUES ( ?j ) { ( resource:...Dans_le_bonheur ) ( resource:Cosmetic_Spoon:_Young_Girl_Swimming ) } . ?w rdf:type ontology:concept }
[]