import schemeld import wikidata import wikidata_ext def test_get_triples(): client = wikidata.client.Client() EQV_PROPERTY = client.get('P1628') schema_root = "https://schema.org/" schema_prop = "image" triples = wikidata_ext.get_triples(client, predicate = EQV_PROPERTY, "{}{}".format(schema_root, schema_prop))