Simple Question (Direct)
Simple Question
Q3263110
P140
Q874405
USER
Which social group does Louis Sextius Jarente de La Bruyère relate to ?
(Q3263110,P140,c(Q874405))
action filter_type
action find
entity Q3263110
relation P140
type Q874405
['Q3263110', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q3263110 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Louis Sextius Jarente de La Bruyère
action filter_type
action find
entity Louis Sextius Jarente de La Bruyère
relation religion
type social group
['Louis Sextius Jarente de La Bruyère', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Louis_Sextius_Jarente_de_La_Bruyère property:religion ?d . ?d rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q3263110,P140,c(Q874405))
action filter_type
action find
entity Q3263110
relation P140
type Q874405
Louis Sextius Jarente de La Bruyère relates Roman [ANSWER]
['Q3263110', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q3263110 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Catholicism
Louis Sextius Jarente de La Bruyère relates Roman Catholicism
Catholicism
action filter_type
action find
entity Louis Sextius Jarente de La Bruyère
relation religion
type social group
['Louis Sextius Jarente de La Bruyère', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Louis_Sextius_Jarente_de_La_Bruyère property:religion ?d . ?d rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3263110
P20
Q20667921
USER
Where did Louis Sextius Jarente de La Bruyère expire ?
(Q3263110,P20,c(Q20667921))
action filter_type
action find
entity Q3263110
relation P20
type Q20667921
['Q3263110', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3263110 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
Louis Sextius Jarente de La Bruyère
action filter_type
action find
entity Louis Sextius Jarente de La Bruyère
relation place of death
type type of french administrative division
['Louis Sextius Jarente de La Bruyère', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Louis_Sextius_Jarente_de_La_Bruyère property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q658776
SYSTEM
Meung-sur-Loire
Q658776
(Q3263110,P20,c(Q20667921))
action filter_type
action find
entity Q3263110
relation P20
type Q20667921
Louis Sextius Jarente de La Bruyère expired [ANSWER]
['Q3263110', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3263110 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
Meung-sur-Loire
Louis Sextius Jarente de La Bruyère expired Meung-sur-Loire
Meung-sur-Loire
action filter_type
action find
entity Louis Sextius Jarente de La Bruyère
relation place of death
type type of french administrative division
['Louis Sextius Jarente de La Bruyère', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Louis_Sextius_Jarente_de_La_Bruyère property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q658776 Q1251125
P47
Q20667921
USER
Is Baule bordered by that one ?
(Q658776,P47,Q1251125)
action is_in
entity Q1251125
action find
entity Q658776
relation P47
['Q658776', 'P47', 'Q1251125']
ASK WHERE { resource:Q658776 property:P47 resource:Q1251125 }
Meung-sur-Loire Baule
action is_in
entity Baule
action find
entity Meung-sur-Loire
relation shares border with
['Meung-sur-Loire', 'shares border with', 'Baule']
ASK WHERE { resource:Meung-sur-Loire property:shares_border_with resource:Baule }
[]
type of french administrative division
SYSTEM
YES
(Q658776,P47,Q1251125)
action is_in
entity Q1251125
action find
entity Q658776
relation P47
[ANSWER]
['Q658776', 'P47', 'Q1251125']
ASK WHERE { resource:Q658776 property:P47 resource:Q1251125 }
Yes
action is_in
entity Baule
action find
entity Meung-sur-Loire
relation shares border with
['Meung-sur-Loire', 'shares border with', 'Baule']
ASK WHERE { resource:Meung-sur-Loire property:shares_border_with resource:Baule }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q150058
P1376
Q7275 Q20667921
USER
Which states have greater number of french administrative divisions as their county seat than Travancore ?
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q150058
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q150058 property:P1376 ?c . ?c rdf:type ontology:Q7275 } } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P1376 ?q . ?q rdf:type ontology:Q7275 . ?w rdf:type ontology:Q20667921 } GROUP BY ?q } }
Travancore
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Travancore
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Travancore property:capital_of ?c . ?c rdf:type ontology:state } } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:capital_of ?q . ?q rdf:type ontology:state . ?w rdf:type ontology:type_of_french_administrative_division } GROUP BY ?q } }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q150058
relation P1376
type Q7275
[ANSWERS] have greater number of french administrative divisions as their county seat than Travancore
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q150058 property:P1376 ?c . ?c rdf:type ontology:Q7275 } } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P1376 ?q . ?q rdf:type ontology:Q7275 . ?w rdf:type ontology:Q20667921 } GROUP BY ?q } }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo, Duchy of Normandy and Republic of Saugeais have greater number of french administrative divisions as their county seat than Travancore
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Travancore
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Travancore property:capital_of ?c . ?c rdf:type ontology:state } } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:capital_of ?q . ?q rdf:type ontology:state . ?w rdf:type ontology:type_of_french_administrative_division } GROUP BY ?q } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16410
P1376
Q7275 Q20667921
USER
And also tell me about People's Republic of Hungary?
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q16410
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P1376 ?t . ?b rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q7275 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q16410 property:P1376 ?i . ?i rdf:type ontology:Q7275 } } . FILTER ( ?g > ?u ) }
People's Republic of Hungary
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity People's Republic of Hungary
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:capital_of ?t . ?b rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:state } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:People's_Republic_of_Hungary property:capital_of ?i . ?i rdf:type ontology:state } } . FILTER ( ?g > ?u ) }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q16410
relation P1376
type Q7275
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P1376 ?t . ?b rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q7275 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q16410 property:P1376 ?i . ?i rdf:type ontology:Q7275 } } . FILTER ( ?g > ?u ) }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity People's Republic of Hungary
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:capital_of ?t . ?b rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:state } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:People's_Republic_of_Hungary property:capital_of ?i . ?i rdf:type ontology:state } } . FILTER ( ?g > ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3456417
P36
Q20667921
USER
Which french administrative division is associated to Republic of Saint-Malo as the capital ?
(Q3456417,P36,c(Q20667921))
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
['Q3456417', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q3456417 property:P36 ?b . ?b rdf:type ontology:Q20667921 }
Republic of Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Republic_of_Saint-Malo property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q163108
SYSTEM
Saint-Malo
Q163108
(Q3456417,P36,c(Q20667921))
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
[ANSWER] is associated to Republic of [ANSWER] as the capital
['Q3456417', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q3456417 property:P36 ?b . ?b rdf:type ontology:Q20667921 }
Saint-Malo
Saint-Malo is associated to Republic of Saint-Malo as the capital
Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Republic_of_Saint-Malo property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q163108 Q1130797
P1376
Q7275
USER
Does Hill States of India have that french administrative division has its center of administration ?
(Q163108,P1376,Q1130797)
action is_in
entity Q1130797
action find
entity Q163108
relation P1376
['Q163108', 'P1376', 'Q1130797']
ASK WHERE { resource:Q163108 property:P1376 resource:Q1130797 }
Saint-Malo Hill States of India
action is_in
entity Hill States of India
action find
entity Saint-Malo
relation capital of
['Saint-Malo', 'capital of', 'Hill States of India']
ASK WHERE { resource:Saint-Malo property:capital_of resource:Hill_States_of_India }
[]
state
SYSTEM
NO
(Q163108,P1376,Q1130797)
action is_in
entity Q1130797
action find
entity Q163108
relation P1376
[ANSWER]
['Q163108', 'P1376', 'Q1130797']
ASK WHERE { resource:Q163108 property:P1376 resource:Q1130797 }
No
action is_in
entity Hill States of India
action find
entity Saint-Malo
relation capital of
['Saint-Malo', 'capital of', 'Hill States of India']
ASK WHERE { resource:Saint-Malo property:capital_of resource:Hill_States_of_India }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3456417 Q707090
P36
Q20667921
USER
How many french administrative divisions are called the capital of Republic of Saint-Malo or Charolais ?
(Q3456417,P36,c(Q20667921)) (Q707090,P36,c(Q20667921))
action count
action union
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
action filter_type
action find
entity Q707090
relation P36
type Q20667921
['Q3456417', 'P36', {'concept': 'Q20667921'}] ['Q707090', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { resource:Q3456417 property:P36 ?r . ?r rdf:type ontology:Q20667921 } UNION { resource:Q707090 property:P36 ?r . ?r rdf:type ontology:Q20667921 } }
Republic of Saint-Malo Charolais
action count
action union
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
action filter_type
action find
entity Charolais
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}] ['Charolais', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { resource:Republic_of_Saint-Malo property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } UNION { resource:Charolais property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
SYSTEM
2
Q213509 Q163108
(Q3456417,P36,c(Q20667921)) (Q707090,P36,c(Q20667921))
action count
action union
action filter_type
action find
entity Q3456417
relation P36
type Q20667921
action filter_type
action find
entity Q707090
relation P36
type Q20667921
[ANSWER]
['Q3456417', 'P36', {'concept': 'Q20667921'}] ['Q707090', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { resource:Q3456417 property:P36 ?r . ?r rdf:type ontology:Q20667921 } UNION { resource:Q707090 property:P36 ?r . ?r rdf:type ontology:Q20667921 } }
Charolles Saint-Malo
2
action count
action union
action filter_type
action find
entity Republic of Saint-Malo
relation capital
type type of french administrative division
action filter_type
action find
entity Charolais
relation capital
type type of french administrative division
['Republic of Saint-Malo', 'capital', {'concept': 'type of french administrative division'}] ['Charolais', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { resource:Republic_of_Saint-Malo property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } UNION { resource:Charolais property:capital ?r . ?r rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3456417
P30
Q2221906
USER
Which geographic location is Republic of Saint-Malo a part of ?
(Q3456417,P30,c(Q2221906))
action filter_type
action find
entity Q3456417
relation P30
type Q2221906
['Q3456417', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q3456417 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Republic of Saint-Malo
action filter_type
action find
entity Republic of Saint-Malo
relation continent
type geographic location
['Republic of Saint-Malo', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:Republic_of_Saint-Malo property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q3456417,P30,c(Q2221906))
action filter_type
action find
entity Q3456417
relation P30
type Q2221906
[ANSWER] is Republic of Saint-Malo a part of
['Q3456417', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q3456417 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Europe
Europe is Republic of Saint-Malo a part of
Europe
action filter_type
action find
entity Republic of Saint-Malo
relation continent
type geographic location
['Republic of Saint-Malo', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:Republic_of_Saint-Malo property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5093269
Q2221906
USER
And how about Chesnee High School?
(Q5093269,P30,c(Q2221906))
action filter_type
action find
entity Q5093269
relation P30
type Q2221906
['Q5093269', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q5093269 property:P30 ?b }
Chesnee High School
action filter_type
action find
entity Chesnee High School
relation continent
type geographic location
['Chesnee High School', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Chesnee_High_School property:continent ?b }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q5093269,P30,c(Q2221906))
action filter_type
action find
entity Q5093269
relation P30
type Q2221906
[ANSWER]
['Q5093269', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q5093269 property:P30 ?b }
North America
North America
action filter_type
action find
entity Chesnee High School
relation continent
type geographic location
['Chesnee High School', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Chesnee_High_School property:continent ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2084841
P706
Q2221906 Q3895768
USER
Which fictional locations are located in around the same number of geographic locations as Amon Rûdh ?
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q2084841
relation P706
type Q3895768
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?r ) WHERE { ?f property:P706 ?d . ?f rdf:type ontology:Q3895768 . ?d rdf:type ontology:Q2221906 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q2084841 property:P706 ?i . ?i rdf:type ontology:Q3895768 } } . FILTER ( ?r = ?k ) }
Amon Rûdh
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity Amon Rûdh
relation located on terrain feature
type fictional location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?r ) WHERE { ?f property:located_on_terrain_feature ?d . ?f rdf:type ontology:fictional_location . ?d rdf:type ontology:geographic_location } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Amon_Rûdh property:located_on_terrain_feature ?i . ?i rdf:type ontology:fictional_location } } . FILTER ( ?r = ?k ) }
[]
geographic location fictional location
Q26922992 Q213223 Q641375
SYSTEM
Rock Tunnel, Arnor, Doriath
Q3098980 Q931583 Q2372432 Q18763210 Q18763211 Q18763212 Q5748800 Q5031960 Q5532694 Q12282683 Q26995312 Q11755466 Q1234628 Q20746359 Q12005279 Q10750431 Q1772976 Q2720685 Q13586486 Q3236023 Q2882138 Q3078960 Q3490968 Q11903265 Q717079 Q3358862 Q2104066 Q3305317 Q2722222 Q3591950 Q8458577 Q834656 Q5815259 Q26098 Q12287751 Q947309 Q6150892 Q13586984 Q27643192 Q27643193 Q218728 Q843151 Q2363061 Q3751838 Q2031367 Q3553489 Q20791988 Q3356700 Q18030290 Q719496 Q2288937 Q2609014 Q3490022 Q368572 Q509110 Q3315777 Q3932040 Q18763209 Q26987257 Q18379925 Q9088483 Q1098873 Q1417506 Q2328564 Q840539 Q18763205 Q18215067 Q308659 Q14088252 Q16540960 Q18381143 Q3493126 Q3192885 Q11800584 Q987372 Q3160818 Q947130 Q2866101 Q987380 Q2604645 Q3707746 Q2620849 Q3509107 Q3370353 Q20791967 Q26922992 Q2345258 Q2084841 Q2736938 Q13231336 Q2454900 Q9088888 Q3861637 Q46289 Q16382515 Q3434365 Q2638853 Q2792965 Q2930025 Q1755479 Q20267163 Q26985022 Q2918364 Q213223 Q9373781 Q1773933 Q1781719 Q11690667 Q932923 Q641375 Q1698465 Q2068808 Q2707952 Q661818 Q2272995 Q2997950 Q833022 Q632806 Q2519058 Q2294726 Q26995314 Q26995316 Q13221630 Q1066081 Q6470774 Q3319549 Q1772818 Q3200314 Q2721743 Q2634165 Q18763208 Q2997433 Q16896007 Q3647114 Q13222057 Q2280167 Q997218 Q79734 Q9360122 Q1991162 Q3510506 Q26995318 Q2014805 Q2603177 Q617964 Q10332032 Q10565747 Q2622787
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q2084841
relation P706
type Q3895768
[ANSWERS] are located in around the same number of geographic locations as Amon Rûdh
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?r ) WHERE { ?f property:P706 ?d . ?f rdf:type ontology:Q3895768 . ?d rdf:type ontology:Q2221906 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q2084841 property:P706 ?i . ?i rdf:type ontology:Q3895768 } } . FILTER ( ?r = ?k ) }
Blingdenstone Phatt Island Überwald Keshan Punt Zembabwei Carach Angren Candlekeep Genertela Carchost Victory Road Woodland Realm Angband Halruaa Taur-nu-Fuin Kingdom of Rhovanion Tol Eressëa Logres Kingdom of the Isles Dalelands Bandalong Formenos Agatean Empire Hornburg Isengard Aglon Dolmed Melvaunt Meduseld Evermeet Muntab Booty Island Durthang Lonely Mountain Narchost Umbar Towers of the Teeth Luskan Aether Paradise Melemele Shire Barad-dûr Forodwaith Rammas Echor Baldur's Gate Icewind Dale Kharé Cloudyhead New New York Angmar Brethil Nevrast Klatch Valinor Calacirya Mirabar Dwarf kingdom of the Dwarrowdelf Darfar Mt. Mortar Núath Torech Ungol Andúnië Fangorn Ankh-Morpork Eregion Xapur Lantan Lothlórien Himring Dor-Cúarthol Havens of the Falas Maglor's Gap Kara-Tur Last Bridge Isle of Balar Jambalaya Island Nan Elmoth Aryvandaar Thargelion Dor Daedeloth Dimholt Almaren Ephebe Eithel Sirion Kakhabad Rock Tunnel Menzoberranzan Amon Rûdh Bay of Belfalas Quirm Sevii Islands Tower of Cirith Ungol Haunted Mountain Mirkwood Amn Shrieking Shack Helcaraxë High Pass Beregost Dol Guldur Borogravia Ilex Forest Gap of Rohan Arnor Durin's Tower Tol Galen Orthanc Cirith Ninniach Old Forest Doriath Aman Utumno Silvertine Harad Tol Brandir Waterdeep Lindon Cair Andros Rauros Minas Tirith Victory Road Victory Road Sto Lat Neverwinter Chamber of Mazarbul Lancre Amon Ereb Kuldahar Ossiriand Dor-lómin Kush Cormyr Null Island Barad Eithel Genua March of Maedhros White Towers Middle-earth Tor Lara Erathia XXXX Victory Road Dorthonion Dunharrow Blood Island Mount Rerir Gulf of Lune Faerûn
Rock Tunnel, Arnor and Doriath are located in around the same number of geographic locations as Amon Rûdh
Rock Tunnel Arnor Doriath
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity Amon Rûdh
relation located on terrain feature
type fictional location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?r ) WHERE { ?f property:located_on_terrain_feature ?d . ?f rdf:type ontology:fictional_location . ?d rdf:type ontology:geographic_location } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Amon_Rûdh property:located_on_terrain_feature ?i . ?i rdf:type ontology:fictional_location } } . FILTER ( ?r = ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213223
P112
Q989255
USER
Which Middle-earth races was the founder of that fictional location ?
(Q213223,P112,c(Q989255))
action filter_type
action find
entity Q213223
relation P112
type Q989255
['Q213223', 'P112', {'concept': 'Q989255'}]
SELECT DISTINCT ?v WHERE { resource:Q213223 property:P112 ?v . ?v rdf:type ontology:Q989255 }
Arnor
action filter_type
action find
entity Arnor
relation founder
type Middle-earth races
['Arnor', 'founder', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?v WHERE { resource:Arnor property:founder ?v . ?v rdf:type ontology:Middle-earth_races }
[]
Middle-earth races
Clarification for simple ques.
Q641375
SYSTEM
Did you mean Doriath ?
Q26922992 Q213223 Q641375
(Q26922992,P112,c(Q989255)) (Q213223,P112,c(Q989255)) (Q641375,P112,c(Q989255))
[ANSWER]
['Q26922992', 'P112', {'concept': 'Q989255'}] ['Q213223', 'P112', {'concept': 'Q989255'}] ['Q641375', 'P112', {'concept': 'Q989255'}]
SELECT DISTINCT ?v WHERE { resource:Q213223 property:P112 ?v . ?v rdf:type ontology:Q989255 }
Rock Tunnel Arnor Doriath
Did you mean Doriath ?
Doriath
['Rock Tunnel', 'founder', {'concept': 'Middle-earth races'}] ['Arnor', 'founder', {'concept': 'Middle-earth races'}] ['Doriath', 'founder', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?v WHERE { resource:Arnor property:founder ?v . ?v rdf:type ontology:Middle-earth_races }
[]
Simple Question (Coreferenced)
USER
No, I meant Arnor. Could you tell me the answer for that?
(Q213223,P112,c(Q989255))
Q213223
['Q213223', 'P112', {'concept': 'Q989255'}]
['Arnor', 'founder', {'concept': 'Middle-earth races'}]
[]
Q719736
SYSTEM
Elendil
Q719736
(Q213223,P112,c(Q989255))
action filter_type
action find
entity Q213223
relation P112
type Q989255
Which Middle-earth races was the founder of that fictional location
['Q213223', 'P112', {'concept': 'Q989255'}]
SELECT DISTINCT ?v WHERE { resource:Q213223 property:P112 ?v . ?v rdf:type ontology:Q989255 }
Elendil
Which Middle-earth races was the founder of that fictional location
Elendil
action filter_type
action find
entity Arnor
relation founder
type Middle-earth races
['Arnor', 'founder', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?v WHERE { resource:Arnor property:founder ?v . ?v rdf:type ontology:Middle-earth_races }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q719736 Q79762 Q17113909
P1441
Q2342494
USER
Does that middle-earth race appears in The Silmarillion and Modern Masterpieces of Science Fiction ?
(Q719736,P1441,Q79762) (Q719736,P1441,Q17113909)
action is_in
entity Q719736
action intersection
action find_reverse
entity Q79762
relation P1441
action find_reverse
entity Q17113909
relation P1441
['Q719736', 'P1441', 'Q79762'] ['Q719736', 'P1441', 'Q17113909']
ASK WHERE { resource:Q719736 property:P1441 resource:Q79762 . resource:Q719736 property:P1441 resource:Q17113909 }
Elendil The Silmarillion Modern Masterpieces of Science Fiction
action is_in
entity Elendil
action intersection
action find_reverse
entity The Silmarillion
relation present in work
action find_reverse
entity Modern Masterpieces of Science Fiction
relation present in work
['Elendil', 'present in work', 'The Silmarillion'] ['Elendil', 'present in work', 'Modern Masterpieces of Science Fiction']
ASK WHERE { resource:Elendil property:present_in_work resource:The_Silmarillion . resource:Elendil property:present_in_work resource:Modern_Masterpieces_of_Science_Fiction }
[]
collectable
SYSTEM
YES and NO respectively
(Q719736,P1441,Q79762) (Q719736,P1441,Q17113909)
action is_in
entity Q719736
action intersection
action find_reverse
entity Q79762
relation P1441
action find_reverse
entity Q17113909
relation P1441
[ANSWER]
['Q719736', 'P1441', 'Q79762'] ['Q719736', 'P1441', 'Q17113909']
ASK WHERE { resource:Q719736 property:P1441 resource:Q79762 . resource:Q719736 property:P1441 resource:Q17113909 }
YES and NO respectively
action is_in
entity Elendil
action intersection
action find_reverse
entity The Silmarillion
relation present in work
action find_reverse
entity Modern Masterpieces of Science Fiction
relation present in work
['Elendil', 'present in work', 'The Silmarillion'] ['Elendil', 'present in work', 'Modern Masterpieces of Science Fiction']
ASK WHERE { resource:Elendil property:present_in_work resource:The_Silmarillion . resource:Elendil property:present_in_work resource:Modern_Masterpieces_of_Science_Fiction }
[]