Datasets:
Dataset Viewer
The dataset viewer is not available for this dataset.
The JWT signature verification failed. Check the signing key and the algorithm.
Error code: JWTInvalidSignature
Exception: InvalidSignatureError
Message: Signature verification failed
Traceback: Traceback (most recent call last):
File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
decoded = jwt.decode(
jwt=token,
...<2 lines>...
options=options,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
decoded = self.decode_complete(
jwt,
...<8 lines>...
leeway=leeway,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
decoded = self._jws.decode_complete(
jwt,
...<3 lines>...
detached_payload=detached_payload,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
self._verify_signature(
~~~~~~~~~~~~~~~~~~~~~~^
signing_input,
^^^^^^^^^^^^^^
...<4 lines>...
options=merged_options,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
raise InvalidSignatureError("Signature verification failed")
jwt.exceptions.InvalidSignatureError: Signature verification failedNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
WikiKG Trajectories
2M tool-calling trajectories + 366k triplets from Wikipedia knowledge graph.
Configurations
| Config | Records | Size | Description |
|---|---|---|---|
triplets (default) |
365,923 | 30 MB | Subject-relation-object triplets |
trajectories_query_relations |
1,000,000 | 5.1 GB | Tool-call conversations (query_relations style) |
trajectories_get_neighbors |
1,000,000 | 5.0 GB | Tool-call conversations (get_neighbors style) |
paths |
1,500,000 | 230 MB | Random walk paths through the graph |
Tool-Calling Styles
Each trajectory is a multi-turn conversation where an LLM calls tools to traverse the knowledge graph:
- query_relations: Calls
query_relations(subject, obj, rel_type)to filter triplets by entity/relation - get_neighbors: Calls
get_neighbors(entity, direction)for graph exploration
Example Trajectory
{
"messages": [
{"role": "user", "content": "Starting from Einstein, follow FIELD_OF forward, then STUDIED_BY backward. What's the final entity?"},
{"role": "assistant", "tool_calls": [{"function": {"name": "query_relations", "arguments": "{\"subject\": \"Einstein\", \"rel_type\": \"FIELD_OF\"}"}}]},
{"role": "tool", "content": "[{\"subject\": \"Einstein\", \"relation\": \"FIELD_OF\", \"object\": \"Physics\"}]"},
...
],
"metadata": {
"path_entities": ["Einstein", "Physics", "Feynman"],
"path_relations": ["FIELD_OF", "STUDIED_BY"],
"num_hops": 2
}
}
Example Triplet
{"subject": "GirardDesargues", "relation": "CREATOR_OF", "object": "DesarguesianPlane"}
Source
Generated from wiki-kg-dataset containing 45,416 Wikipedia articles and 180+ relation types.
Usage
from datasets import load_dataset
# Load default (triplets)
ds = load_dataset("AutomatedScientist/wikikg-trajectories")
# Load specific config
ds = load_dataset("AutomatedScientist/wikikg-trajectories", "trajectories_query_relations")
ds = load_dataset("AutomatedScientist/wikikg-trajectories", "trajectories_get_neighbors")
ds = load_dataset("AutomatedScientist/wikikg-trajectories", "paths")
- Downloads last month
- 58