Wikidata

tool

SPARQL Wikidata queries

mikegong
@mikegong
·
2 years ago
407
0
1.1K
Created Sep 11, 2024
wikidata.py
Python · 40 lines
import requests
from typing import Dict, List, Any


class Tools:
    def __init__(self):
        pass

    # Add your custom tools using pure Python code here, make sure to add type hints
    # Use Sphinx-style docstrings to document your tools, they will be used for generating tools specifications
    # Please refer to function_calling_filter_pipeline.py file from pipelines project for an example

SPARQL Wikidata queries


0