properties_of

Pack: wikidata-sparql · Endpoint: https://gateway.pipeworx.io/wikidata-sparql/mcp

Convenience: all statements (property → value) about an entity.

Parameters

NameTypeRequiredDescription
entity_idstringyesItem id (e.g. “Q42” = Douglas Adams)
langstringno
limitnumberno

Example call

Arguments

{
  "entity_id": "Q42"
}

curl

curl -X POST https://gateway.pipeworx.io/wikidata-sparql/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"properties_of","arguments":{"entity_id":"Q42"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('properties_of', {
  "entity_id": "Q42"
});

More examples

{
  "entity_id": "Q1223",
  "lang": "en",
  "limit": 100
}

Response shape

FieldTypeDescription
headobject
resultsobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "head": {
      "type": "object",
      "properties": {
        "vars": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "results": {
      "type": "object",
      "properties": {
        "bindings": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "prop": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string",
                    "description": "Property URI"
                  }
                }
              },
              "propLabel": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string",
                    "description": "Property label"
                  }
                }
              },
              "value": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string",
                    "description": "Property value"
                  }
                }
              },
              "valueLabel": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string",
                    "description": "Value label"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "wikidata-sparql": {
      "url": "https://gateway.pipeworx.io/wikidata-sparql/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026