def get_predicates():
"""
I'm not quite sure how to best get at all the predicates and tag them as relations with id's
"""
"""
results = GolrAssociationQuery(
rows=0,
facet_fields=['relation']
).exec()
facet_counts = results['facet_counts']
relations = facet_counts['relation']
return jsonify([{'id' : "biolink:"+c, 'name' : c, 'definition' : None} for key in relations])
"""
# Not yet implemented... don't really know how
return jsonify([])
评论列表
文章目录