Simple Question (Direct)
Simple Question
Q98204
P166
Q618779
USER
Which award was Reinhold Tüxen awarded with ?
(Q98204,P166,c(Q618779))
action filter_type
action find
entity Q98204
relation P166
type Q618779
['Q98204', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q98204 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Reinhold Tüxen
action filter_type
action find
entity Reinhold Tüxen
relation award received
type award
['Reinhold Tüxen', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Reinhold_Tüxen property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q21164
SYSTEM
Order of Merit of the Federal Republic of Germany
Q21164
(Q98204,P166,c(Q618779))
action filter_type
action find
entity Q98204
relation P166
type Q618779
Reinhold Tüxen was awarded the [ANSWER]
['Q98204', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q98204 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Order of Merit of the Federal Republic of Germany
Reinhold Tüxen was awarded the Order of Merit of the Federal Republic of Germany
Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Reinhold Tüxen
relation award received
type award
['Reinhold Tüxen', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Reinhold_Tüxen property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q98204
P21
Q290
USER
Which sex does Reinhold Tüxen have ?
(Q98204,P21,c(Q290))
action filter_type
action find
entity Q98204
relation P21
type Q290
['Q98204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q98204 property:P21 ?r . ?r rdf:type ontology:Q290 }
Reinhold Tüxen
action filter_type
action find
entity Reinhold Tüxen
relation gender
type sex
['Reinhold Tüxen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Reinhold_Tüxen property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q98204,P21,c(Q290))
action filter_type
action find
entity Q98204
relation P21
type Q290
Reinhold Tüxen has a [ANSWER]
['Q98204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q98204 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Reinhold Tüxen has a male
male
action filter_type
action find
entity Reinhold Tüxen
relation gender
type sex
['Reinhold Tüxen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Reinhold_Tüxen property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10421962
Q290
USER
And how about Timothy Hotte?
(Q10421962,P21,c(Q290))
action filter_type
action find
entity Q10421962
relation P21
type Q290
['Q10421962', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q10421962 property:P21 ?y . ?y rdf:type ontology:Q290 }
Timothy Hotte
action filter_type
action find
entity Timothy Hotte
relation gender
type sex
['Timothy Hotte', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Timothy_Hotte property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10421962,P21,c(Q290))
action filter_type
action find
entity Q10421962
relation P21
type Q290
[ANSWER]
['Q10421962', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q10421962 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Timothy Hotte
relation gender
type sex
['Timothy Hotte', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Timothy_Hotte property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1682269 Q10421962
P19 P1383
Q56061
USER
Which administrative territories were Timothy Hotte born or are in Snagov ?
OR((Q10421962,P19,c(Q56061)), (Q1682269,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q10421962
relation P19
action find
entity Q1682269
relation P1383
type Q56061
{'OR': [['Q10421962', 'P19', {'concept': 'Q56061'}], ['Q1682269', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { { resource:Q10421962 property:P19 ?t } UNION { resource:Q1682269 property:P1383 ?t } } }
Snagov Timothy Hotte
action filter_type
action union
action find
entity Timothy Hotte
relation place of birth
action find
entity Snagov
relation contains settlement
type administrative territorial entity
{'OR': [['Timothy Hotte', 'place of birth', {'concept': 'administrative territorial entity'}], ['Snagov', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { { resource:Timothy_Hotte property:place_of_birth ?t } UNION { resource:Snagov property:contains_settlement ?t } } }
[]
administrative territorial entity
Q12170676 Q12095840 Q22905 Q914849 Q12089912 Q2463580
SYSTEM
Ciofliceni, Ghermănești, Bradford, Snagov, Vlădiceasca, Tâncăbești
Q12170676 Q12095840 Q22905 Q914849 Q12089912 Q2463580
OR((Q10421962,P19,c(Q56061)), (Q1682269,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q10421962
relation P19
action find
entity Q1682269
relation P1383
type Q56061
Timothy Hotte were born in [ANSWERS] or are in Snagov
{'OR': [['Q10421962', 'P19', {'concept': 'Q56061'}], ['Q1682269', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { { resource:Q10421962 property:P19 ?t } UNION { resource:Q1682269 property:P1383 ?t } } }
Ciofliceni Ghermănești Bradford Snagov Vlădiceasca Tâncăbești
Timothy Hotte were born in Ciofliceni, Ghermănești, Bradford, Snagov, Vlădiceasca and Tâncăbești or are in Snagov
Ciofliceni Ghermănești Bradford Snagov Vlădiceasca Tâncăbești
action filter_type
action union
action find
entity Timothy Hotte
relation place of birth
action find
entity Snagov
relation contains settlement
type administrative territorial entity
{'OR': [['Timothy Hotte', 'place of birth', {'concept': 'administrative territorial entity'}], ['Snagov', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { { resource:Timothy_Hotte property:place_of_birth ?t } UNION { resource:Snagov property:contains_settlement ?t } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q56061 Q2342494 Q340169
USER
Which administrative territories are expressed in max number of collectables or medias ?
(c(Q2342494)|c(Q340169),P180,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?w rdf:type ?k } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?n WHERE { { ?z property:P180 ?n . ?n rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q56061 . ?z rdf:type ontology:Q340169 . ?z property:P180 ?n } } GROUP BY ?n } . FILTER ( ?y = ?m ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { VALUES ( ?k ) { ( ontology:media ) ( ontology:collectable ) } . ?w rdf:type ?k } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?n WHERE { { ?z property:depicts ?n . ?n rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:collectable } UNION { ?n rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:media . ?z property:depicts ?n } } GROUP BY ?n } . FILTER ( ?y = ?m ) }
[]
administrative territorial entity collectable media
Q220 Q90
SYSTEM
Rome, Paris
Q220 Q90
(c(Q2342494)|c(Q340169),P180,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
[ANSWERS] are expressed in max number of collectables or medias
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?w rdf:type ?k } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?n WHERE { { ?z property:P180 ?n . ?n rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q56061 . ?z rdf:type ontology:Q340169 . ?z property:P180 ?n } } GROUP BY ?n } . FILTER ( ?y = ?m ) }
Rome Paris
Rome and Paris are expressed in max number of collectables or medias
Rome Paris
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { VALUES ( ?k ) { ( ontology:media ) ( ontology:collectable ) } . ?w rdf:type ?k } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?n WHERE { { ?z property:depicts ?n . ?n rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:collectable } UNION { ?n rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:media . ?z property:depicts ?n } } GROUP BY ?n } . FILTER ( ?y = ?m ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q220 Q90
P36
Q7275
USER
Which states are those administrative territories the capital of ?
(c(Q7275),P36,Q220) (c(Q7275),P36,Q90)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q220'] [{'concept': 'Q7275'}, 'P36', 'Q90']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7275 . VALUES ( ?w ) { ( resource:Q220 ) ( resource:Q90 ) } . ?k property:P36 ?w }
Rome Paris
action filter_type
action find_reverse
entity prev_answer
relation capital
type state
[{'concept': 'state'}, 'capital', 'Rome'] [{'concept': 'state'}, 'capital', 'Paris']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:state . VALUES ( ?w ) { ( resource:Rome ) ( resource:Paris ) } . ?k property:capital ?w }
[]
state
Q172579 Q1194329 Q170174
SYSTEM
Kingdom of Italy, Nova Roma, Papal States
Q172579 Q1194329 Q170174 Q106577 Q207162 Q70972 Q71092
(c(Q7275),P36,Q220) (c(Q7275),P36,Q90)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q7275
[ANSWERS] are those administrative territories the capital of
[{'concept': 'Q7275'}, 'P36', 'Q220'] [{'concept': 'Q7275'}, 'P36', 'Q90']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7275 . VALUES ( ?w ) { ( resource:Q220 ) ( resource:Q90 ) } . ?k property:P36 ?w }
Kingdom of Italy Nova Roma Papal States Neustria Bourbon Restoration Kingdom of France Second French Empire
Kingdom of Italy, Nova Roma and Papal States are those administrative territories the capital of
Kingdom of Italy Nova Roma Papal States
action filter_type
action find_reverse
entity prev_answer
relation capital
type state
[{'concept': 'state'}, 'capital', 'Rome'] [{'concept': 'state'}, 'capital', 'Paris']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:state . VALUES ( ?w ) { ( resource:Rome ) ( resource:Paris ) } . ?k property:capital ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1194329
P30
Q2221906
USER
Which geographic location is that state located in ?
(Q1194329,P30,c(Q2221906))
action filter_type
action find
entity Q1194329
relation P30
type Q2221906
['Q1194329', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q1194329 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Nova Roma
action filter_type
action find
entity Nova Roma
relation continent
type geographic location
['Nova Roma', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Nova_Roma property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q170174
SYSTEM
Did you mean Papal States ?
Q172579 Q1194329 Q170174
(Q172579,P30,c(Q2221906)) (Q1194329,P30,c(Q2221906)) (Q170174,P30,c(Q2221906))
[ANSWER]
['Q172579', 'P30', {'concept': 'Q2221906'}] ['Q1194329', 'P30', {'concept': 'Q2221906'}] ['Q170174', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q1194329 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Kingdom of Italy Nova Roma Papal States
Did you mean Papal States ?
Papal States
['Kingdom of Italy', 'continent', {'concept': 'geographic location'}] ['Nova Roma', 'continent', {'concept': 'geographic location'}] ['Papal States', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Nova_Roma property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Nova Roma. Could you tell me the answer for that?
(Q1194329,P30,c(Q2221906))
Q1194329
['Q1194329', 'P30', {'concept': 'Q2221906'}]
['Nova Roma', 'continent', {'concept': 'geographic location'}]
[]
Q49
SYSTEM
North America
Q49
(Q1194329,P30,c(Q2221906))
action filter_type
action find
entity Q1194329
relation P30
type Q2221906
That state is located in [ANSWER]
['Q1194329', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q1194329 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
North America
That state is located in North America
North America
action filter_type
action find
entity Nova Roma
relation continent
type geographic location
['Nova Roma', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Nova_Roma property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49
P30
Q14524493
USER
Which terrains are located in that geographic location ?
(c(Q14524493),P30,Q49)
action filter_type
action find_reverse
entity Q49
relation P30
type Q14524493
[{'concept': 'Q14524493'}, 'P30', 'Q49']
SELECT DISTINCT ?z WHERE { ?z property:P30 resource:Q49 . ?z rdf:type ontology:Q14524493 }
North America
action filter_type
action find_reverse
entity North America
relation continent
type terrain
[{'concept': 'terrain'}, 'continent', 'North America']
SELECT DISTINCT ?z WHERE { ?z property:continent resource:North_America . ?z rdf:type ontology:terrain }
[]
terrain
Q1534757 Q235539 Q194057
SYSTEM
Mount Saint Helena, Mount Whitney, Mount Rainier
Q818467 Q5094164 Q1950549 Q1193964 Q692922 Q1789130 Q338192 Q1534757 Q1637301 Q594387 Q7636978 Q1148432 Q840735 Q8522152 Q3116485 Q27669997 Q1810012 Q770496 Q1544340 Q129698 Q1145743 Q267646 Q7440497 Q7690099 Q1853477 Q1500146 Q1529000 Q1858056 Q5763373 Q27660423 Q657225 Q2474525 Q238147 Q181157 Q476822 Q26201750 Q47490 Q1327687 Q6922752 Q235539 Q1642538 Q804733 Q6920668 Q3321921 Q231620 Q185847 Q3498546 Q1788022 Q23438231 Q129705 Q6923639 Q825709 Q727246 Q76309 Q885798 Q1124852 Q575891 Q5686360 Q194057 Q130018 Q859354 Q280645 Q287118 Q859376 Q5518215 Q1950362
(c(Q14524493),P30,Q49)
action filter_type
action find_reverse
entity Q49
relation P30
type Q14524493
[ANSWERS] are located in that geographic location
[{'concept': 'Q14524493'}, 'P30', 'Q49']
SELECT DISTINCT ?z WHERE { ?z property:P30 resource:Q49 . ?z rdf:type ontology:Q14524493 }
Volcán Tajumulco Chetco Peak Mount Iliamna Augustine Volcano Novarupta Mount Adagdak Acatenango Mount Saint Helena Tikaboo Peak Mount Baker Sumas Mountain Triple Divide Peak Mount Redoubt Whitehorse Mountain Tahual Pilot Peak Mount Carlisle Mount Saint Elias Mount Fairweather Abajo Peak Pico Turquino Mount Adams Seahpo Peak Taylor Peak Mount Thor (Canada) Mount Nirvana Glacier Peak Mount Katahdin La Campana Hill Mammoth Peak Mount Elbert Ulamertorsuaq Pico de Orizaba Popocatépetl Mount Daniel Las Conchas Hill Doyle's Delight Volcán de Agua Mount Pilchuck Mount Whitney King's Peak Bald Mountain Mount Erie Mount Lee Parícutin Mount Wrangell American Border Peak Mount Shuksan La Ballena Hill Mount Timpanogos Mount Si Gunnbjørn Fjeld Buckner Mountain Mount Pelée Blue Mountain Peak El Capitan Momotombo Hayden Peak Mount Rainier Denali Lassen Peak Mount Dutton Aguajito Volcán de Fuego Galbraith Mountain Mount Akutan
Mount Saint Helena, Mount Whitney and Mount Rainier are located in that geographic location
Mount Saint Helena Mount Whitney Mount Rainier
action filter_type
action find_reverse
entity North America
relation continent
type terrain
[{'concept': 'terrain'}, 'continent', 'North America']
SELECT DISTINCT ?z WHERE { ?z property:continent resource:North_America . ?z rdf:type ontology:terrain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6782710 Q10421962
P27
Q15617994
USER
Which administrative territories do Timothy Hotte or Masato Hatanaka belong to ?
OR((Q10421962,P27,c(Q15617994)), (Q6782710,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10421962
relation P27
action find
entity Q6782710
relation P27
type Q15617994
{'OR': [['Q10421962', 'P27', {'concept': 'Q15617994'}], ['Q6782710', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q10421962 property:P27 ?x } UNION { resource:Q6782710 property:P27 ?x } } }
Masato Hatanaka Timothy Hotte
action filter_type
action union
action find
entity Timothy Hotte
relation country of citizenship
action find
entity Masato Hatanaka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Timothy Hotte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Masato Hatanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Timothy_Hotte property:country_of_citizenship ?x } UNION { resource:Masato_Hatanaka property:country_of_citizenship ?x } } }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q10421962,P27,c(Q15617994)), (Q6782710,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10421962
relation P27
action find
entity Q6782710
relation P27
type Q15617994
Timothy Hotte or Masato Hatanaka belong to all [ANSWERS]
{'OR': [['Q10421962', 'P27', {'concept': 'Q15617994'}], ['Q6782710', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q10421962 property:P27 ?x } UNION { resource:Q6782710 property:P27 ?x } } }
Japan United Kingdom
Timothy Hotte or Masato Hatanaka belong to all Japan and United Kingdom
Japan United Kingdom
action filter_type
action union
action find
entity Timothy Hotte
relation country of citizenship
action find
entity Masato Hatanaka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Timothy Hotte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Masato Hatanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Timothy_Hotte property:country_of_citizenship ?x } UNION { resource:Masato_Hatanaka property:country_of_citizenship ?x } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with around 72 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 72
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c = 72 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?c ) WHERE { ?o property:P530 ?t . ?o rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?o } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 72
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c = 72 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?c ) WHERE { ?o property:diplomatic_relation ?t . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 72
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c = 72 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?c ) WHERE { ?o property:P530 ?t . ?o rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?o } }
Italy Georgia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 72
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c = 72 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?c ) WHERE { ?o property:diplomatic_relation ?t . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194057
P20
Q502895
USER
Who died in Mount Rainier ?
(c(Q502895),P20,Q194057)
action filter_type
action find_reverse
entity Q194057
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q194057']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q194057 }
Mount Rainier
action filter_type
action find_reverse
entity Mount Rainier
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Mount Rainier']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Mount_Rainier }
[]
common name
Q2577599
SYSTEM
Willi Unsoeld
Q2577599
(c(Q502895),P20,Q194057)
action filter_type
action find_reverse
entity Q194057
relation P20
type Q502895
[ANSWER] died in Mount Rainier
[{'concept': 'Q502895'}, 'P20', 'Q194057']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q194057 }
Willi Unsoeld
Willi Unsoeld died in Mount Rainier
Willi Unsoeld
action filter_type
action find_reverse
entity Mount Rainier
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Mount Rainier']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Mount_Rainier }
[]