sparql-university

Writes and verifies SPARQL queries for university RDF datasets.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill sparql-university-zurybr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sparql-university
Source: https://github.com/Zurybr/lefarma-skills/tree/main/letta/benchmarks/trajectory-only/sparql-university
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill sparql-university-zurybr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured methodology for writing, verifying, and interpreting SPARQL queries, specifically tailored for complex university and academic RDF datasets.

Core Features & Use Cases

  • Ontology Analysis: Understand the structure of academic RDF schemas (classes, predicates).
  • Query Construction: Build complex SPARQL queries incrementally, handling entity identification, relationship filtering, and aggregations.
  • Verification Strategies: Ensure query accuracy through syntax checks, result validation, and common pitfall avoidance.
  • Use Case: Querying for all professors in the Computer Science department who have published more than 5 papers in the last 3 years, against a university's RDF knowledge graph.

Quick Start

Use the sparql-university skill to write a SPARQL query to find all students enrolled in courses offered by the 'Computer Science' department.

Frequently Asked Questions about sparql-university

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a SPARQL query for academic RDF datasets?

To write a SPARQL query for academic RDF datasets, you must first analyze the university ontology structure, then incrementally construct graph patterns to identify entities and filter relationships. This approach handles complex academic data retrieval effectively.

What are common pitfalls when querying university ontologies with SPARQL?

Common pitfalls when querying university ontologies with SPARQL include mismatched predicates and incorrect entity identification. Verification strategies like syntax checks and result validation help avoid these errors when performing complex graph pattern matching.

How do I verify SPARQL query accuracy against RDF knowledge graphs?

You verify SPARQL query accuracy against RDF data by applying verification strategies that include syntax checks and result validation. Ensuring correct ontology analysis and entity relationship filtering prevents common query construction errors.

Can I query for specific academic relationships like professors and publications using SPARQL?

Yes, you can query specific academic relationships using SPARQL by building complex queries incrementally. You can handle entity identification and aggregations to find professors with specific publication counts in RDF datasets.

Do I need to analyze the ontology structure before constructing SPARQL queries?

Yes, ontology analysis is required before constructing SPARQL queries. Understanding the structure of academic RDF schemas, including classes and predicates, allows you to accurately identify entities and filter relationships in university datasets.