(relation)
| 15 | return any(s.endswith(word) for word in words) |
| 16 | |
| 17 | def abandon_rels(relation): |
| 18 | if relation == "type.object.type" or relation == "type.object.name" or relation.startswith("common.") or relation.startswith("freebase.") or "sameAs" in relation: |
| 19 | return True |
| 20 | |
| 21 | |
| 22 | def execurte_sparql(sparql_query): |
no outgoing calls
no test coverage detected