Google’s John Mueller said technically you can use the knowledge graph ID URL for the URL in your SameAs property but it is not recommended. It is not recommended because that ID might change, so you probably want to use URLs that are less likely to change than the knowledge graph ID.