कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

query-dbpedia

kidehen द्वारा

Web & Frontend Development
379clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Transform natural language questions into SPARQL queries for DBpedia and generate beautiful HTML results pages.

विवरण

यह स्किल क्या करती है

Converts natural language questions into SPARQL queries and runs them against the DBpedia knowledge graph. Returns results as JSON, Markdown tables, or styled HTML pages. DBpedia exposes structured data extracted from Wikipedia.

Querying DBpedia directly requires SPARQL expertise, but this skill lets users ask questions in plain English and get formatted results without learning the query language.

इसे कब इस्तेमाल करें

  • Find all films directed by a specific person
  • Look up population data for cities in a country
  • Retrieve biographical details about historical figures
  • List books by an author with publication dates
  • Generate an HTML report from a knowledge graph query

उदाहरण वर्कफ़्लो

इनपुट

User asks: List books written by J.K. Rowling with publication dates as an HTML page

एजेंट
  1. 1

    Parse the question to identify subject (J.K. Rowling), predicate (author), and output format (HTML)

  2. 2

    Construct a SPARQL query using dbo:author and dbr:J.K._Rowling with DISTINCT and language filter

  3. 3

    Execute the query against https://dbpedia.org/sparql via HTTP GET with JSON format

  4. 4

    Parse the JSON response and extract book titles and publication dates

  5. 5

    Generate a styled HTML page with a results table, the executed SPARQL query, and DBpedia attribution

आउटपुट

An HTML file listing 15 books with publication dates, hyperlinked DBpedia URIs, and the SPARQL query used

इंस्टॉलेशन

clawhub install kidehen/query-dbpedia

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक