Simple Question (Direct)
Simple Question
Q21173038
P703
Q16521
USER
Which taxon is transcriptional regulator NrdR    CTL0663 found in ?
(Q21173038,P703,c(Q16521))
action filter_type
action find
entity Q21173038
relation P703
type Q16521
['Q21173038', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?z WHERE { resource:Q21173038 property:P703 ?z . ?z rdf:type ontology:Q16521 }
transcriptional regulator NrdR    CTL0663
action filter_type
action find
entity transcriptional regulator NrdR    CTL0663
relation found in taxon
type taxon
['transcriptional regulator NrdR    CTL0663', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?z WHERE { resource:transcriptional_regulator_NrdR____CTL0663 property:found_in_taxon ?z . ?z rdf:type ontology:taxon }
[]
taxon
Q20800254
SYSTEM
Chlamydia trachomatis 434/BU
Q20800254
(Q21173038,P703,c(Q16521))
action filter_type
action find
entity Q21173038
relation P703
type Q16521
Transcriptional regulator NrdR CTL0663 is found in [ANSWER]
['Q21173038', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?z WHERE { resource:Q21173038 property:P703 ?z . ?z rdf:type ontology:Q16521 }
Chlamydia trachomatis 434/BU
Transcriptional regulator NrdR CTL0663 is found in Chlamydia trachomatis 434/BU
Chlamydia trachomatis 434/BU
action filter_type
action find
entity transcriptional regulator NrdR    CTL0663
relation found in taxon
type taxon
['transcriptional regulator NrdR    CTL0663', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?z WHERE { resource:transcriptional_regulator_NrdR____CTL0663 property:found_in_taxon ?z . ?z rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21173038
P688
Q863908
USER
Which nucleic acid sequence encodes transcriptional regulator NrdR    CTL0663 ?
(c(Q863908),P688,Q21173038)
action filter_type
action find_reverse
entity Q21173038
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21173038']
SELECT DISTINCT ?s WHERE { ?s property:P688 resource:Q21173038 . ?s rdf:type ontology:Q863908 }
transcriptional regulator NrdR    CTL0663
action filter_type
action find_reverse
entity transcriptional regulator NrdR    CTL0663
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'transcriptional regulator NrdR    CTL0663']
SELECT DISTINCT ?s WHERE { ?s property:encodes resource:transcriptional_regulator_NrdR____CTL0663 . ?s rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21172086
SYSTEM
transcriptional regulator NrdR    CTL0663
Q21172086
(c(Q863908),P688,Q21173038)
action filter_type
action find_reverse
entity Q21173038
relation P688
type Q863908
En transcriptional regulator NrdR CTL0663 encodes transcriptional regulator NrdR CTL0663
[{'concept': 'Q863908'}, 'P688', 'Q21173038']
SELECT DISTINCT ?s WHERE { ?s property:P688 resource:Q21173038 . ?s rdf:type ontology:Q863908 }
transcriptional regulator NrdR    CTL0663
En transcriptional regulator NrdR CTL0663 encodes transcriptional regulator NrdR CTL0663
transcriptional regulator NrdR    CTL0663
action filter_type
action find_reverse
entity transcriptional regulator NrdR    CTL0663
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'transcriptional regulator NrdR    CTL0663']
SELECT DISTINCT ?s WHERE { ?s property:encodes resource:transcriptional_regulator_NrdR____CTL0663 . ?s rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21172086 Q23517706
P702
Q181394
USER
Does that nucleic acid sequence encode pyrrolidone-carboxylate peptidase    BSU02650 ?
(Q23517706,P702,Q21172086)
action is_in
entity Q23517706
action find
entity Q21172086
relation P702
['Q23517706', 'P702', 'Q21172086']
ASK WHERE { resource:Q21172086 property:P702 resource:Q23517706 }
transcriptional regulator NrdR    CTL0663 pyrrolidone-carboxylate peptidase    BSU02650
action is_in
entity pyrrolidone-carboxylate peptidase    BSU02650
action find
entity transcriptional regulator NrdR    CTL0663
relation encoded by
['pyrrolidone-carboxylate peptidase    BSU02650', 'encoded by', 'transcriptional regulator NrdR    CTL0663']
ASK WHERE { resource:transcriptional_regulator_NrdR____CTL0663 property:encoded_by resource:pyrrolidone-carboxylate_peptidase____BSU02650 }
[]
nutrient
SYSTEM
NO
(Q23517706,P702,Q21172086)
action is_in
entity Q23517706
action find
entity Q21172086
relation P702
[ANSWER]
['Q23517706', 'P702', 'Q21172086']
ASK WHERE { resource:Q21172086 property:P702 resource:Q23517706 }
No
action is_in
entity pyrrolidone-carboxylate peptidase    BSU02650
action find
entity transcriptional regulator NrdR    CTL0663
relation encoded by
['pyrrolidone-carboxylate peptidase    BSU02650', 'encoded by', 'transcriptional regulator NrdR    CTL0663']
ASK WHERE { resource:transcriptional_regulator_NrdR____CTL0663 property:encoded_by resource:pyrrolidone-carboxylate_peptidase____BSU02650 }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21173038 Q21172086
P702
Q863908
USER
Does transcriptional regulator NrdR    CTL0663 encode that nutrient ?
(Q21173038,P702,Q21172086)
action is_in
entity Q21172086
action find
entity Q21173038
relation P702
['Q21173038', 'P702', 'Q21172086']
ASK WHERE { resource:Q21173038 property:P702 resource:Q21172086 }
transcriptional regulator NrdR    CTL0663 transcriptional regulator NrdR    CTL0663
action is_in
entity transcriptional regulator NrdR    CTL0663
action find
entity transcriptional regulator NrdR    CTL0663
relation encoded by
['transcriptional regulator NrdR    CTL0663', 'encoded by', 'transcriptional regulator NrdR    CTL0663']
ASK WHERE { resource:transcriptional_regulator_NrdR____CTL0663 property:encoded_by resource:transcriptional_regulator_NrdR____CTL0663 }
[]
nucleic acid sequence
SYSTEM
YES
(Q21173038,P702,Q21172086)
action is_in
entity Q21172086
action find
entity Q21173038
relation P702
[ANSWER]
['Q21173038', 'P702', 'Q21172086']
ASK WHERE { resource:Q21173038 property:P702 resource:Q21172086 }
Yes
action is_in
entity transcriptional regulator NrdR    CTL0663
action find
entity transcriptional regulator NrdR    CTL0663
relation encoded by
['transcriptional regulator NrdR    CTL0663', 'encoded by', 'transcriptional regulator NrdR    CTL0663']
ASK WHERE { resource:transcriptional_regulator_NrdR____CTL0663 property:encoded_by resource:transcriptional_regulator_NrdR____CTL0663 }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17139177
P138
Q22988604 Q2235308 Q16521
USER
Which taxons come from greater number of mythological Greek characters and ship types than Hydrocotyle chiangdaoensis ?
(c(Q16521),P138,c(Q22988604)|c(Q2235308))
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q2235308
action count
action filter_multi_types
action find
entity Q17139177
relation P138
type Q22988604
type Q2235308
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:Q22988604 ) ( ontology:Q2235308 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { { ?p rdf:type ontology:Q22988604 } UNION { ?p rdf:type ontology:Q2235308 } } . resource:Q17139177 property:P138 ?p } } . FILTER ( ?q > ?i ) }
Hydrocotyle chiangdaoensis
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type ship type
action count
action filter_multi_types
action find
entity Hydrocotyle chiangdaoensis
relation named after
type mythological Greek character
type ship type
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'ship type'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:mythological_Greek_character ) ( ontology:ship_type ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { { ?p rdf:type ontology:mythological_Greek_character } UNION { ?p rdf:type ontology:ship_type } } . resource:Hydrocotyle_chiangdaoensis property:named_after ?p } } . FILTER ( ?q > ?i ) }
[]
mythological Greek character ship type taxon
Q4418984 Q2967539 Q526115
SYSTEM
Sisyphus, Chthonius minotaurus, Zethus
Q4418984 Q526115 Q1187229 Q585936 Q14534987 Q2967539 Q20635184
(c(Q16521),P138,c(Q22988604)|c(Q2235308))
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q2235308
action count
action filter_multi_types
action find
entity Q17139177
relation P138
type Q22988604
type Q2235308
[ANSWERS] come from greater number of mythological Greek characters and ship types than Hydrocotyle chiangdaoensis
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:Q22988604 ) ( ontology:Q2235308 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { { ?p rdf:type ontology:Q22988604 } UNION { ?p rdf:type ontology:Q2235308 } } . resource:Q17139177 property:P138 ?p } } . FILTER ( ?q > ?i ) }
Sisyphus Zethus Ascalaphidae Trimma tevegae Labium Chthonius minotaurus Geophilus hadesi
Sisyphus, Chthonius minotaurus and Zethus come from greater number of mythological Greek characters and ship types than Hydrocotyle chiangdaoensis
Sisyphus Chthonius minotaurus Zethus
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type ship type
action count
action filter_multi_types
action find
entity Hydrocotyle chiangdaoensis
relation named after
type mythological Greek character
type ship type
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'ship type'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:mythological_Greek_character ) ( ontology:ship_type ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { { ?p rdf:type ontology:mythological_Greek_character } UNION { ?p rdf:type ontology:ship_type } } . resource:Hydrocotyle_chiangdaoensis property:named_after ?p } } . FILTER ( ?q > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2060630
P138
Q22988604 Q2235308 Q16521
USER
And how about India?
(c(Q16521),P138,c(Q22988604)|c(Q2235308))
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q2235308
action count
action filter_multi_types
action find
entity Q2060630
relation P138
type Q22988604
type Q2235308
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2235308 ) ( ontology:Q22988604 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q2060630 property:P138 ?n . { { ?n rdf:type ontology:Q22988604 } UNION { ?n rdf:type ontology:Q2235308 } } } } . FILTER ( ?y > ?q ) }
India
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type ship type
action count
action filter_multi_types
action find
entity India
relation named after
type mythological Greek character
type ship type
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'ship type'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:ship_type ) ( ontology:mythological_Greek_character ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:India property:named_after ?n . { { ?n rdf:type ontology:mythological_Greek_character } UNION { ?n rdf:type ontology:ship_type } } } } . FILTER ( ?y > ?q ) }
[]
mythological Greek character ship type taxon
Q4418984 Q2967539 Q526115
SYSTEM
Sisyphus, Chthonius minotaurus, Zethus
Q4418984 Q526115 Q1187229 Q585936 Q14534987 Q2967539 Q20635184
(c(Q16521),P138,c(Q22988604)|c(Q2235308))
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q2235308
action count
action filter_multi_types
action find
entity Q2060630
relation P138
type Q22988604
type Q2235308
[ANSWERS]
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2235308 ) ( ontology:Q22988604 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q2060630 property:P138 ?n . { { ?n rdf:type ontology:Q22988604 } UNION { ?n rdf:type ontology:Q2235308 } } } } . FILTER ( ?y > ?q ) }
Sisyphus Zethus Ascalaphidae Trimma tevegae Labium Chthonius minotaurus Geophilus hadesi
Sisyphus Chthonius minotaurus Zethus
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type ship type
action count
action filter_multi_types
action find
entity India
relation named after
type mythological Greek character
type ship type
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'ship type'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:ship_type ) ( ontology:mythological_Greek_character ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:India property:named_after ?n . { { ?n rdf:type ontology:mythological_Greek_character } UNION { ?n rdf:type ontology:ship_type } } } } . FILTER ( ?y > ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22316187 Q23517706
P702
Q863908
USER
Which nucleic acid sequences genes encode pyrrolidone-carboxylate peptidase    BSU02650 or glycine-betaine dioxygenase subunit    PP_0315 ?
OR((Q23517706,P702,c(Q863908)), (Q22316187,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23517706
relation P702
action find
entity Q22316187
relation P702
type Q863908
{'OR': [['Q23517706', 'P702', {'concept': 'Q863908'}], ['Q22316187', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q863908 . { { resource:Q22316187 property:P702 ?l } UNION { resource:Q23517706 property:P702 ?l } } }
glycine-betaine dioxygenase subunit    PP_0315 pyrrolidone-carboxylate peptidase    BSU02650
action filter_type
action union
action find
entity pyrrolidone-carboxylate peptidase    BSU02650
relation encoded by
action find
entity glycine-betaine dioxygenase subunit    PP_0315
relation encoded by
type nucleic acid sequence
{'OR': [['pyrrolidone-carboxylate peptidase    BSU02650', 'encoded by', {'concept': 'nucleic acid sequence'}], ['glycine-betaine dioxygenase subunit    PP_0315', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nucleic_acid_sequence . { { resource:glycine-betaine_dioxygenase_subunit____PP_0315 property:encoded_by ?l } UNION { resource:pyrrolidone-carboxylate_peptidase____BSU02650 property:encoded_by ?l } } }
[]
nucleic acid sequence
Q23352269 Q22309858
SYSTEM
pyrrolidone-carboxylate peptidase    BSU02650, glycine-betaine dioxygenase subunit    PP_0315
Q23352269 Q22309858
OR((Q23517706,P702,c(Q863908)), (Q22316187,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23517706
relation P702
action find
entity Q22316187
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q23517706', 'P702', {'concept': 'Q863908'}], ['Q22316187', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q863908 . { { resource:Q22316187 property:P702 ?l } UNION { resource:Q23517706 property:P702 ?l } } }
pyrrolidone-carboxylate peptidase    BSU02650 glycine-betaine dioxygenase subunit    PP_0315
Pyrrolidone-carboxylate peptidase BSU02650 and glycine-betaine dioxygenase subunit PP 0315 encode pyrrolidone-carboxylate peptidase BSU02650 or glycine-betaine dioxygenase subunit PP_0315
pyrrolidone-carboxylate peptidase    BSU02650 glycine-betaine dioxygenase subunit    PP_0315
action filter_type
action union
action find
entity pyrrolidone-carboxylate peptidase    BSU02650
relation encoded by
action find
entity glycine-betaine dioxygenase subunit    PP_0315
relation encoded by
type nucleic acid sequence
{'OR': [['pyrrolidone-carboxylate peptidase    BSU02650', 'encoded by', {'concept': 'nucleic acid sequence'}], ['glycine-betaine dioxygenase subunit    PP_0315', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nucleic_acid_sequence . { { resource:glycine-betaine_dioxygenase_subunit____PP_0315 property:encoded_by ?l } UNION { resource:pyrrolidone-carboxylate_peptidase____BSU02650 property:encoded_by ?l } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1348575 Q2967539
P183
Q271669
USER
Which landforms are Chthonius minotaurus or Allancastria cretica native to ?
OR((Q2967539,P183,c(Q271669)), (Q1348575,P183,c(Q271669)))
action filter_type
action union
action find
entity Q2967539
relation P183
action find
entity Q1348575
relation P183
type Q271669
{'OR': [['Q2967539', 'P183', {'concept': 'Q271669'}], ['Q1348575', 'P183', {'concept': 'Q271669'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:P183 ?k . VALUES ( ?g ) { ( resource:Q2967539 ) ( resource:Q1348575 ) } } . ?k rdf:type ontology:Q271669 }
Allancastria cretica Chthonius minotaurus
action filter_type
action union
action find
entity Chthonius minotaurus
relation endemic to
action find
entity Allancastria cretica
relation endemic to
type landform
{'OR': [['Chthonius minotaurus', 'endemic to', {'concept': 'landform'}], ['Allancastria cretica', 'endemic to', {'concept': 'landform'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:endemic_to ?k . VALUES ( ?g ) { ( resource:Chthonius_minotaurus ) ( resource:Allancastria_cretica ) } } . ?k rdf:type ontology:landform }
[]
landform
Q34374
SYSTEM
Crete
Q34374
OR((Q2967539,P183,c(Q271669)), (Q1348575,P183,c(Q271669)))
action filter_type
action union
action find
entity Q2967539
relation P183
action find
entity Q1348575
relation P183
type Q271669
[ANSWER] is Chthonius minotaurus or Allancastria cretica native to
{'OR': [['Q2967539', 'P183', {'concept': 'Q271669'}], ['Q1348575', 'P183', {'concept': 'Q271669'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:P183 ?k . VALUES ( ?g ) { ( resource:Q2967539 ) ( resource:Q1348575 ) } } . ?k rdf:type ontology:Q271669 }
Crete
Crete is Chthonius minotaurus or Allancastria cretica native to
Crete
action filter_type
action union
action find
entity Chthonius minotaurus
relation endemic to
action find
entity Allancastria cretica
relation endemic to
type landform
{'OR': [['Chthonius minotaurus', 'endemic to', {'concept': 'landform'}], ['Allancastria cretica', 'endemic to', {'concept': 'landform'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:endemic_to ?k . VALUES ( ?g ) { ( resource:Chthonius_minotaurus ) ( resource:Allancastria_cretica ) } } . ?k rdf:type ontology:landform }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6922487
P706
Q271669 Q2221906
USER
Which geographic locations are located in approximately the same number of landforms as Mount Oglethorpe ?
(c(Q2221906),P706,c(Q271669))
action approx
action find_tuple_counts
relation P706
type Q2221906
type Q271669
action count
action filter_type
action find
entity Q6922487
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?l ) WHERE { ?p property:P706 ?f . ?p rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q271669 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q6922487 property:P706 ?t . ?t rdf:type ontology:Q2221906 } } . FILTER ( ?l = ?g ) }
Mount Oglethorpe
action approx
action find_tuple_counts
relation located on terrain feature
type geographic location
type landform
action count
action filter_type
action find
entity Mount Oglethorpe
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?l ) WHERE { ?p property:located_on_terrain_feature ?f . ?p rdf:type ontology:geographic_location . ?f rdf:type ontology:landform } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Mount_Oglethorpe property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_location } } . FILTER ( ?l = ?g ) }
[]
landform geographic location
Q51 Q151356 Q27561
SYSTEM
Antarctica, Fernsehturm Berlin, Caribbean Netherlands
Q5415940 Q7191008 Q4878573 Q1948178 Q27468 Q14714846 Q315496 Q51 Q23385389 Q27394 Q1998580 Q228608 Q3468036 Q14714685 Q151356 Q12603 Q46 Q14711841 Q27381 Q81483 Q4848366 Q1188034 Q15211098 Q14713610 Q32530 Q14713596 Q5088912 Q14705355 Q4672454 Q27561 Q16827917 Q5184293 Q22673001 Q15651275 Q19838231 Q261407 Q4412295 Q16892114 Q263686 Q4777 Q5051042 Q1411784 Q6922487 Q21491032 Q22704024 Q21007124 Q18356771 Q5559107 Q14713790 Q929147 Q2333134 Q326359 Q27353 Q5597624 Q5338781 Q3047192 Q16845327 Q14714809 Q745767 Q495241 Q14709821 Q1555247 Q6488761 Q2092983 Q5933320 Q14714818 Q3646551 Q14705259 Q7886194 Q5474347 Q1134547 Q5428 Q2387700 Q14713936 Q16899205 Q4876461 Q14874585 Q27449 Q213704 Q14713886 Q22602 Q16893544 Q14711877 Q16892238 Q21838035 Q7191014 Q7191015 Q7191011 Q14714702 Q1134643 Q5317255 Q5564047 Q14951375 Q3846790 Q15238659 Q15213747 Q1725885
(c(Q2221906),P706,c(Q271669))
action approx
action find_tuple_counts
relation P706
type Q2221906
type Q271669
action count
action filter_type
action find
entity Q6922487
relation P706
type Q2221906
[ANSWERS] are located in approximately the same number of landforms as Mount Oglethorpe
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?l ) WHERE { ?p property:P706 ?f . ?p rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q271669 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q6922487 property:P706 ?t . ?t rdf:type ontology:Q2221906 } } . FILTER ( ?l = ?g ) }
Evans Névé Pico El León Bechs Mølle Central Limburg Eastern Europe Sunbeam Peak Upper Harz Antarctica northern pole of inaccessibility Southern Africa Northern Black Forest South Limburg Pogromni Volcano Clayton Mountain Fernsehturm Berlin Pacific Northwest Europe Mount Powell (Utah) North Africa The Levant Bailey Ice Stream Pico Humboldt Cockedhat Mountain Clark Mountain (Washington) Lusatia Big Lava Bed Cheat Mountain Mount Avalon Access Slope Caribbean Netherlands American Legion Peak Creque Marine Railway Fonte River Dam Stuhlinger Ice Piedmont Nurn South Baden Northern Maramuresh Harrower Peak Southeast Europe Mount Roraima Cat Island Western Palatinate Mount Oglethorpe Lower Harz Great Cross of Hendaye Cerro Negro Selenean summit Gibney Beach Lemei Rock Río de Oro Kukenán-tepui Palatinate Anglo-America Grassy Ridge Edlin Névé Pico Piedras Blancas Bow Mountain Muddy Mountain Marie Byrd Land Gyeongju Historic Areas Bote Mountain North Palatinate Larch Mountain Southern Bukovina Hughes Basin Pinnacle Ridge Pico Bonpland Porter Peak oceanic pole of inaccessibility Foundation Ice Stream Ellsworth Land Siberia Northern Bukovina West Crater Red Crane, Portland Bear Island Custer Ridge Southern Europe Pico Bolívar Sawtooth Mountain Vorderpfalz Knife Point Mountain South Kings Peak Henderson Peak Rheasilvia central peak Pico La Concha Pico Pan de Azúcar Pico El Toro Downs Mountain Southern England Dutch Caribbean Giovinco Ice Piedmont Torrey Peak, Wyoming Maremma Grossetana Klondike Peak Desolation Peak (Wyoming) Naheland
Antarctica, Fernsehturm Berlin and Caribbean Netherlands are located in approximately the same number of landforms as Mount Oglethorpe
Antarctica Fernsehturm Berlin Caribbean Netherlands
action approx
action find_tuple_counts
relation located on terrain feature
type geographic location
type landform
action count
action filter_type
action find
entity Mount Oglethorpe
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?l ) WHERE { ?p property:located_on_terrain_feature ?f . ?p rdf:type ontology:geographic_location . ?f rdf:type ontology:landform } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Mount_Oglethorpe property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_location } } . FILTER ( ?l = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q14713610
P706
Q271669 Q2221906
USER
And what about Clark Mountain (Washington)?
(c(Q2221906),P706,c(Q271669))
action approx
action find_tuple_counts
relation P706
type Q2221906
type Q271669
action count
action filter_type
action find
entity Q14713610
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?i ) WHERE { ?f rdf:type ontology:Q2221906 . ?a rdf:type ontology:Q271669 . ?f property:P706 ?a } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q14713610 property:P706 ?z . ?z rdf:type ontology:Q2221906 } } . FILTER ( ?i = ?k ) }
Clark Mountain (Washington)
action approx
action find_tuple_counts
relation located on terrain feature
type geographic location
type landform
action count
action filter_type
action find
entity Clark Mountain (Washington)
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?i ) WHERE { ?f rdf:type ontology:geographic_location . ?a rdf:type ontology:landform . ?f property:located_on_terrain_feature ?a } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Clark_Mountain_(Washington) property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_location } } . FILTER ( ?i = ?k ) }
[]
landform geographic location
Q51 Q151356 Q27561
SYSTEM
Antarctica, Fernsehturm Berlin, Caribbean Netherlands
Q5415940 Q7191008 Q4878573 Q1948178 Q27468 Q14714846 Q315496 Q51 Q23385389 Q27394 Q1998580 Q228608 Q3468036 Q14714685 Q151356 Q12603 Q46 Q14711841 Q27381 Q81483 Q4848366 Q1188034 Q15211098 Q14713610 Q32530 Q14713596 Q5088912 Q14705355 Q4672454 Q27561 Q16827917 Q5184293 Q22673001 Q15651275 Q19838231 Q261407 Q4412295 Q16892114 Q263686 Q4777 Q5051042 Q1411784 Q6922487 Q21491032 Q22704024 Q21007124 Q18356771 Q5559107 Q14713790 Q929147 Q2333134 Q326359 Q27353 Q5597624 Q5338781 Q3047192 Q16845327 Q14714809 Q745767 Q495241 Q14709821 Q1555247 Q6488761 Q2092983 Q5933320 Q14714818 Q3646551 Q14705259 Q7886194 Q5474347 Q1134547 Q5428 Q2387700 Q14713936 Q16899205 Q4876461 Q14874585 Q27449 Q213704 Q14713886 Q22602 Q16893544 Q14711877 Q16892238 Q21838035 Q7191014 Q7191015 Q7191011 Q14714702 Q1134643 Q5317255 Q5564047 Q14951375 Q3846790 Q15238659 Q15213747 Q1725885
(c(Q2221906),P706,c(Q271669))
action approx
action find_tuple_counts
relation P706
type Q2221906
type Q271669
action count
action filter_type
action find
entity Q14713610
relation P706
type Q2221906
[ANSWERS]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?i ) WHERE { ?f rdf:type ontology:Q2221906 . ?a rdf:type ontology:Q271669 . ?f property:P706 ?a } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q14713610 property:P706 ?z . ?z rdf:type ontology:Q2221906 } } . FILTER ( ?i = ?k ) }
Evans Névé Pico El León Bechs Mølle Central Limburg Eastern Europe Sunbeam Peak Upper Harz Antarctica northern pole of inaccessibility Southern Africa Northern Black Forest South Limburg Pogromni Volcano Clayton Mountain Fernsehturm Berlin Pacific Northwest Europe Mount Powell (Utah) North Africa The Levant Bailey Ice Stream Pico Humboldt Cockedhat Mountain Clark Mountain (Washington) Lusatia Big Lava Bed Cheat Mountain Mount Avalon Access Slope Caribbean Netherlands American Legion Peak Creque Marine Railway Fonte River Dam Stuhlinger Ice Piedmont Nurn South Baden Northern Maramuresh Harrower Peak Southeast Europe Mount Roraima Cat Island Western Palatinate Mount Oglethorpe Lower Harz Great Cross of Hendaye Cerro Negro Selenean summit Gibney Beach Lemei Rock Río de Oro Kukenán-tepui Palatinate Anglo-America Grassy Ridge Edlin Névé Pico Piedras Blancas Bow Mountain Muddy Mountain Marie Byrd Land Gyeongju Historic Areas Bote Mountain North Palatinate Larch Mountain Southern Bukovina Hughes Basin Pinnacle Ridge Pico Bonpland Porter Peak oceanic pole of inaccessibility Foundation Ice Stream Ellsworth Land Siberia Northern Bukovina West Crater Red Crane, Portland Bear Island Custer Ridge Southern Europe Pico Bolívar Sawtooth Mountain Vorderpfalz Knife Point Mountain South Kings Peak Henderson Peak Rheasilvia central peak Pico La Concha Pico Pan de Azúcar Pico El Toro Downs Mountain Southern England Dutch Caribbean Giovinco Ice Piedmont Torrey Peak, Wyoming Maremma Grossetana Klondike Peak Desolation Peak (Wyoming) Naheland
Antarctica Fernsehturm Berlin Caribbean Netherlands
action approx
action find_tuple_counts
relation located on terrain feature
type geographic location
type landform
action count
action filter_type
action find
entity Clark Mountain (Washington)
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?i ) WHERE { ?f rdf:type ontology:geographic_location . ?a rdf:type ontology:landform . ?f property:located_on_terrain_feature ?a } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Clark_Mountain_(Washington) property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_location } } . FILTER ( ?i = ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q15324 Q43229 Q2221906
USER
Which geographic locations are a portion of exactly 1 bodies of water or organizations ?
(c(Q2221906),P361,c(Q15324)|c(Q43229))
action equal
action union
action find_tuple_counts
relation P361
type Q2221906
type Q15324
action find_tuple_counts
relation P361
type Q2221906
type Q43229
value 1
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q15324'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { { ?q property:P361 ?a . ?q rdf:type ontology:Q2221906 . ?a rdf:type ontology:Q15324 } UNION { ?q property:P361 ?a . ?q rdf:type ontology:Q2221906 . ?a rdf:type ontology:Q43229 } } GROUP BY ?q } . FILTER ( ?d = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type geographic location
type body of water
action find_tuple_counts
relation part of
type geographic location
type organization
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'body of water'}, {'concept': 'organization'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { { ?q property:part_of ?a . ?q rdf:type ontology:geographic_location . ?a rdf:type ontology:body_of_water } UNION { ?q property:part_of ?a . ?q rdf:type ontology:geographic_location . ?a rdf:type ontology:organization } } GROUP BY ?q } . FILTER ( ?d = 1 ) }
[]
body of water organization geographic location
Q5744091 Q5455002 Q5002651
SYSTEM
Herring Bay, Fishing Bay, Butler Street Gatehouse
Q5744091 Q5455002 Q5002651
(c(Q2221906),P361,c(Q15324)|c(Q43229))
action equal
action union
action find_tuple_counts
relation P361
type Q2221906
type Q15324
action find_tuple_counts
relation P361
type Q2221906
type Q43229
value 1
[ANSWERS] are a portion of exactly 1 bodies of water or organizations
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q15324'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { { ?q property:P361 ?a . ?q rdf:type ontology:Q2221906 . ?a rdf:type ontology:Q15324 } UNION { ?q property:P361 ?a . ?q rdf:type ontology:Q2221906 . ?a rdf:type ontology:Q43229 } } GROUP BY ?q } . FILTER ( ?d = 1 ) }
Herring Bay Fishing Bay Butler Street Gatehouse
Herring Bay, Fishing Bay and Butler Street Gatehouse are a portion of exactly 1 bodies of water or organizations
Herring Bay Fishing Bay Butler Street Gatehouse
action equal
action union
action find_tuple_counts
relation part of
type geographic location
type body of water
action find_tuple_counts
relation part of
type geographic location
type organization
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'body of water'}, {'concept': 'organization'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { { ?q property:part_of ?a . ?q rdf:type ontology:geographic_location . ?a rdf:type ontology:body_of_water } UNION { ?q property:part_of ?a . ?q rdf:type ontology:geographic_location . ?a rdf:type ontology:organization } } GROUP BY ?q } . FILTER ( ?d = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5744091
P17
Q15617994
USER
Which administrative territory is that geographic location located in ?
(Q5744091,P17,c(Q15617994))
action filter_type
action find
entity Q5744091
relation P17
type Q15617994
['Q5744091', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5744091 property:P17 ?y }
Herring Bay
action filter_type
action find
entity Herring Bay
relation country
type designation for an administrative territorial entity
['Herring Bay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Herring_Bay property:country ?y }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q5002651
SYSTEM
Did you mean Butler Street Gatehouse ?
Q5744091 Q5455002 Q5002651
(Q5744091,P17,c(Q15617994)) (Q5455002,P17,c(Q15617994)) (Q5002651,P17,c(Q15617994))
[ANSWER]
['Q5744091', 'P17', {'concept': 'Q15617994'}] ['Q5455002', 'P17', {'concept': 'Q15617994'}] ['Q5002651', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5744091 property:P17 ?y }
Herring Bay Fishing Bay Butler Street Gatehouse
Did you mean Butler Street Gatehouse ?
Butler Street Gatehouse
['Herring Bay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fishing Bay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Butler Street Gatehouse', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Herring_Bay property:country ?y }
[]
Simple Question (Coreferenced)
USER
No, I meant Herring Bay. Could you tell me the answer for that?
(Q5744091,P17,c(Q15617994))
Q5744091
['Q5744091', 'P17', {'concept': 'Q15617994'}]
['Herring Bay', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q5744091,P17,c(Q15617994))
action filter_type
action find
entity Q5744091
relation P17
type Q15617994
That geographic location is located the [ANSWER]
['Q5744091', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5744091 property:P17 ?y }
United States of America
That geographic location is located the United States of America
United States of America
action filter_type
action find
entity Herring Bay
relation country
type designation for an administrative territorial entity
['Herring Bay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Herring_Bay property:country ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3814016 Q5002651
P19 P17
Q15617994
USER
Which administrative territories are Butler Street Gatehouse situated in or were Katyna Ranieri born in ?
OR((Q5002651,P17,c(Q15617994)), (Q3814016,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q5002651
relation P17
action find
entity Q3814016
relation P19
type Q15617994
{'OR': [['Q5002651', 'P17', {'concept': 'Q15617994'}], ['Q3814016', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5002651 property:P17 ?q } UNION { resource:Q3814016 property:P19 ?q } } . ?q rdf:type ontology:Q15617994 }
Katyna Ranieri Butler Street Gatehouse
action filter_type
action union
action find
entity Butler Street Gatehouse
relation country
action find
entity Katyna Ranieri
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Butler Street Gatehouse', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Katyna Ranieri', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Butler_Street_Gatehouse property:country ?q } UNION { resource:Katyna_Ranieri property:place_of_birth ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q188587
SYSTEM
United States of America, Follonica
Q30 Q188587
OR((Q5002651,P17,c(Q15617994)), (Q3814016,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q5002651
relation P17
action find
entity Q3814016
relation P19
type Q15617994
Butler Street Gatehouse are situated born in [ANSWERS]
{'OR': [['Q5002651', 'P17', {'concept': 'Q15617994'}], ['Q3814016', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5002651 property:P17 ?q } UNION { resource:Q3814016 property:P19 ?q } } . ?q rdf:type ontology:Q15617994 }
United States of America Follonica
Butler Street Gatehouse are situated born in United States of America and Follonica
United States of America Follonica
action filter_type
action union
action find
entity Butler Street Gatehouse
relation country
action find
entity Katyna Ranieri
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Butler Street Gatehouse', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Katyna Ranieri', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Butler_Street_Gatehouse property:country ?q } UNION { resource:Katyna_Ranieri property:place_of_birth ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q337567 Q15324 Q15617994
USER
Which administrative territories are situated close to max number of still waterss or bodies of water ?
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?p WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?p } . FILTER ( ?w = ?y ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?x WHERE { { ?x property:P206 ?v . ?x rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q337567 } UNION { ?x property:P206 ?v . ?x rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15324 } } GROUP BY ?x } } }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?p WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?p } . FILTER ( ?w = ?y ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?x WHERE { { ?x property:located_next_to_body_of_water ?v . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:still_waters } UNION { ?x property:located_next_to_body_of_water ?v . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:body_of_water } } GROUP BY ?x } } }
[]
still waters body of water designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
[ANSWER] is situated close to max number of still waterss or bodies of water
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?p WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?p } . FILTER ( ?w = ?y ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?x WHERE { { ?x property:P206 ?v . ?x rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q337567 } UNION { ?x property:P206 ?v . ?x rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15324 } } GROUP BY ?x } } }
South Korea
South Korea is situated close to max number of still waterss or bodies of water
South Korea
action argmax
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?p WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?p } . FILTER ( ?w = ?y ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?x WHERE { { ?x property:located_next_to_body_of_water ?v . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:still_waters } UNION { ?x property:located_next_to_body_of_water ?v . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:body_of_water } } GROUP BY ?x } } }
[]