Isabel
Isabel

Reputation: 1

Get all properties and related ID of an item using SPARQL query

I want to retrieve all properties and their ID of one item from Wikidata by using SPARQL. I have two queries.

This query only can retrieve properties without their IDs:

The result of it is shown like this:

result

This query only can retrieve two-level properties with ID:

And this is the result:

result

Is there any way to mix them to show all properties with their IDs?

Upvotes: 0

Views: 198

Answers (0)

Related Questions