skills/43-wentorai-research-plugins/skills/literature/metadata/orkg-api/SKILL.md
Query the Open Research Knowledge Graph for structured research data
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research orkg-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Open Research Knowledge Graph (ORKG) transforms unstructured scholarly articles into structured, machine-readable research contributions. Unlike traditional databases that store metadata (title, authors, DOI), ORKG captures the semantic content — research problems, methods, results, and their relationships. The REST API enables querying, creating, and comparing research contributions programmatically. Free, no authentication required for read operations.
https://orkg.org/api/
# Search papers in ORKG
curl "https://orkg.org/api/papers?q=climate+change+adaptation&size=20"
# Get paper details by ID
curl "https://orkg.org/api/papers/R12345"
# Search any resource (papers, predicates, comparisons)
curl "https://orkg.org/api/resources?q=machine+learning&size=20"
# Filter by class
curl "https://orkg.org/api/resources?q=BERT&exact=false&classes=Paper"
ORKG's unique feature — structured side-by-side comparison of papers:
# List comparisons
curl "https://orkg.org/api/comparisons?size=10"
# Get a specific comparison
curl "https://orkg.org/api/comparisons/R54321"
# Search comparisons
curl "https://orkg.org/api/comparisons?q=sentiment+analysis"
# Get contributions of a paper
curl "https://orkg.org/api/papers/R12345/contributions"
# A contribution describes what a paper contributes:
# - Research problem addressed
# - Method used
# - Results achieved
# - Materials/datasets used
import requests
BASE_URL = "https://orkg.org/api"
def search_orkg_papers(query: str, size: int = 20) -> list:
"""Search papers in the Open Research Knowledge Graph."""
resp = requests.get(f"{BASE_URL}/papers", params={"q": query, "size": size})
resp.raise_for_status()
data = resp.json()
papers = []
for item in data.get("content", []):
papers.append({
"id": item.get("id"),
"title": item.get("title"),
"created": item.get("created_at"),
"contributions": item.get("contributions", [])
})
return papers
def get_paper_contributions(paper_id: str) -> dict:
"""Get structured research contributions for a paper."""
resp = requests.get(f"{BASE_URL}/papers/{paper_id}/contributions")
resp.raise_for_status()
return resp.json()
def search_comparisons(topic: str) -> list:
"""Find structured paper comparisons on a topic."""
resp = requests.get(f"{BASE_URL}/comparisons", params={"q": topic, "size": 10})
resp.raise_for_status()
return resp.json().get("content", [])
# Example usage
papers = search_orkg_papers("transfer learning NLP")
for p in papers:
print(f"[{p['id']}] {p['title']}")
comparisons = search_comparisons("named entity recognition")
for c in comparisons:
print(f"Comparison: {c.get('title')} ({len(c.get('contributions', []))} papers)")
| Concept | Description | Example | |---------|-------------|---------| | Paper | A scholarly article with metadata | "Attention Is All You Need" | | Contribution | What a paper contributes to knowledge | "Proposes self-attention mechanism" | | Research Problem | The problem a contribution addresses | "Machine translation quality" | | Predicate | A relationship type | "has_method", "has_result", "uses_dataset" | | Comparison | Side-by-side structured comparison | "Transformer variants comparison" | | Resource | Any entity in the knowledge graph | A method, dataset, metric, or concept |
| Feature | Traditional (S2, Crossref) | ORKG | |---------|---------------------------|------| | Content | Metadata (title, DOI, citations) | Semantic content (methods, results) | | Structure | Flat records | Knowledge graph with relationships | | Comparison | Manual (read each paper) | Automated structured comparisons | | Machine-readable | Bibliographic metadata only | Research contributions structured | | Coverage | Broad (200M+ papers) | Deep but narrower (~50K papers) |
tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.