(relations)
| 28 | |
| 29 | |
| 30 | def replace_relation_prefix(relations): |
| 31 | return [relation['relation']['value'].replace("http://rdf.freebase.com/ns/","") for relation in relations] |
| 32 | |
| 33 | def replace_entities_prefix(entities): |
| 34 | return [entity['tailEntity']['value'].replace("http://rdf.freebase.com/ns/","") for entity in entities] |
no outgoing calls
no test coverage detected