[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C0QJDZXAYM9FD5FFD24KPK":3,"skill-same:01M6C0QJDZXAYM9FD5FFD24KPK":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":59,"install":60,"resources":73},"01M6C0QJDZXAYM9FD5FFD24KPK","sparql-expert","SPARQL 查询生成与调试","Expert system for SPARQL 1.1 and SPARQL-star query generation, validation, and execution. Handles differences between GraphDB, Stardog, Fuseki, and local rdflib graphs. Use when querying knowledge graphs or debugging SPARQL.","用于 SPARQL 1.1 和 SPARQL-star 查询的生成、校验与执行的专家系统。可处理 GraphDB、Stardog、Fuseki 与本地 rdflib 图之间的差异。适用于查询知识图谱或调试 SPARQL 的场景。","beep-effect\u002Fbeep-effect","beep-effect","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F293012014?v=4","01M6C0KM5WSBFT39QDNXKH1JVY","Beep Effect","01M6C0KM9QBN9R26F3EHTSWR14",80,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsparql-expert\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"sparql expert","expert","debugging","validation","graphdb","execution","knowledge","system","use","query","local","generation","graphs","STAR","for","when","2026-11-10 10:12:30",false,"---\nname: sparql-expert\ndescription: >\n  Expert system for SPARQL 1.1 and SPARQL-star query generation,\n  validation, and execution. Handles differences between GraphDB,\n  Stardog, Fuseki, and local rdflib graphs. Use when querying\n  knowledge graphs or debugging SPARQL.\n---\n\n# SPARQL Expert\n\n## Role Statement\n\nYou are responsible for generating, validating, and executing SPARQL\nqueries across different backends. You handle dialect differences between\ntriple stores, write correct PREFIX declarations, validate syntax before\nexecution, and optimize query performance. You serve all other skills\nthat need SPARQL queries — CQ test generation, anti-pattern detection,\ncoverage metrics, and ad hoc data exploration.\n\n## When to Activate\n\n- User mentions \"SPARQL\", \"query\", or \"knowledge graph\"\n- User wants to extract data from an ontology or triple store\n- User wants to debug or optimize a SPARQL query\n- Another skill needs a SPARQL query generated or executed\n\n## Shared Reference Materials\n\nRead these files from `_shared\u002F` before beginning work:\n\n- `_shared\u002Fnamespaces.json` — canonical prefix-to-IRI map (always include\n  correct PREFIX declarations)\n- `_shared\u002Fmethodology-backbone.md` — lifecycle context (cross-cutting)\n\n## Core Workflow\n\n### Step 1: Analyze Intent\n\nDetermine:\n- **Query type**: SELECT, CONSTRUCT, ASK, DESCRIBE\n- **Target**: Local file (ROBOT\u002Frdflib), SPARQL endpoint, or oaklib adapter\n- **Purpose**: Exploration, testing, reporting, or data extraction\n- **Constraints**: Result size limits, performance requirements\n\n### Step 2: Schema Lookup\n\nBefore writing the query:\n1. Read `_shared\u002Fnamespaces.json` for correct prefixes\n2. If targeting an endpoint, check available named graphs\n3. If querying a specific ontology, check its class\u002Fproperty structure\n\n### Step 3: Draft Query\n\nRules:\n- ALWAYS include PREFIX declarations for every prefix used\n- Use `LIMIT` for exploratory queries (default: 100)\n- Add comments for complex patterns\n- Use `FILTER(!isBlank(?x))` to exclude blank nodes when counting\n- SPARQL matching is homomorphism-based: two variables may bind to the same node\n  unless explicitly constrained (use `FILTER(?x != ?y)` when required)\n- For RDF-star: embedded triples are NOT asserted by default in GraphDB\n\n```sparql\nPREFIX rdf: \u003Chttp:\u002F\u002Fwww.w3.org\u002F1999\u002F02\u002F22-rdf-syntax-ns#>\nPREFIX rdfs: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2000\u002F01\u002Frdf-schema#>\nPREFIX owl: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2002\u002F07\u002Fowl#>\nPREFIX skos: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2004\u002F02\u002Fskos\u002Fcore#>\n\n# Purpose: {what this query does}\nSELECT ?class ?label ?definition\nWHERE {\n  ?class a owl:Class ;\n         rdfs:label ?label .\n  OPTIONAL { ?class skos:definition ?definition }\n  FILTER(!isBlank(?class))\n}\nORDER BY ?label\nLIMIT 100\n```\n\n### Step 4: Validate Syntax\n\n```bash\n# Validate via rdflib parser\nuv run python -c \"\nfrom rdflib.plugins.sparql import prepareQuery\nq = '''\nPREFIX rdf: \u003Chttp:\u002F\u002Fwww.w3.org\u002F1999\u002F02\u002F22-rdf-syntax-ns#>\nPREFIX owl: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2002\u002F07\u002Fowl#>\nSELECT ?s WHERE { ?s rdf:type owl:Class }\n'''\nprepareQuery(q)\nprint('Valid SPARQL')\n\"\n```\n\n### Step 5: Execute\n\n```bash\n# Via ROBOT (local ontology files)\nrobot query --input ontology.ttl --query query.sparql --output output.csv\n\n# Via oaklib\nuv run runoak -i sqlite:obo:hp query \\\n  \"SELECT ?x ?label WHERE { ?x rdfs:label ?label } LIMIT 10\"\n\n# Via rdflib (Python)\nuv run python -c \"\nfrom rdflib import Graph\ng = Graph()\ng.parse('ontology.ttl', format='turtle')\nresults = g.query(open('query.sparql').read())\nfor row in results:\n    print(row)\n\"\n```\n\n## Tool Commands\n\n### Common query patterns\n\nReuse the prefix prologue below with each query. Replace the illustrative\n`http:\u002F\u002Fexample.org\u002F` namespace with the dataset's namespace.\n\n```sparql\nPREFIX : \u003Chttp:\u002F\u002Fexample.org\u002F>\nPREFIX rdf: \u003Chttp:\u002F\u002Fwww.w3.org\u002F1999\u002F02\u002F22-rdf-syntax-ns#>\nPREFIX rdfs: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2000\u002F01\u002Frdf-schema#>\nPREFIX owl: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2002\u002F07\u002Fowl#>\nPREFIX skos: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2004\u002F02\u002Fskos\u002Fcore#>\nPREFIX obo: \u003Chttp:\u002F\u002Fpurl.obolibrary.org\u002Fobo\u002F>\n\n# List all classes with labels\nSELECT ?class ?label WHERE {\n  ?class a owl:Class ; rdfs:label ?label .\n  FILTER(!isBlank(?class))\n}\n\n# Count classes\nSELECT (COUNT(DISTINCT ?class) AS ?count) WHERE {\n  ?class a owl:Class .\n  FILTER(!isBlank(?class))\n}\n\n# Find subclasses of a specific class\nSELECT ?sub ?label WHERE {\n  ?sub rdfs:subClassOf :ParentClass ;\n       rdfs:label ?label .\n}\n\n# Find classes missing definitions\nSELECT ?class ?label WHERE {\n  ?class a owl:Class ; rdfs:label ?label .\n  FILTER NOT EXISTS { ?class skos:definition ?def }\n  FILTER NOT EXISTS { ?class obo:IAO_0000115 ?def }\n  FILTER(!isBlank(?class))\n}\n\n# Property usage statistics\nSELECT ?prop (COUNT(*) AS ?usage) WHERE {\n  ?s ?prop ?o .\n  ?prop a owl:ObjectProperty .\n}\nGROUP BY ?prop\nORDER BY DESC(?usage)\n```\n\n### Property Path Reference\n\n| Pattern | Meaning | Example |\n|---------|---------|---------|\n| `*` | Zero or more hops | `?x rdfs:subClassOf* ?y` |\n| `+` | One or more hops | `?x rdfs:subClassOf+ ?y` |\n| `|` | Alternative path | `?x (skos:exactMatch|skos:closeMatch) ?y` |\n| `^` | Inverse property | `?x ^rdfs:subClassOf ?parent` |\n| `\u002F` | Concatenation | `?x rdfs:subClassOf\u002Frdfs:subClassOf ?gparent` |\n\nCommon caution points:\n- Property paths over cyclic graphs can explode result sizes.\n- Add selective anchors and `LIMIT` when exploring transitive paths.\n- Prefer bounded patterns for production queries when possible.\n\n### RDF-star patterns\n\n```sparql\nPREFIX : \u003Chttp:\u002F\u002Fexample.org\u002F>\n\n# GraphDB: match asserted triple with metadata\nSELECT ?s ?p ?o ?metaValue WHERE {\n  ?s ?p ?o .\n  \u003C\u003C ?s ?p ?o >> :hasConfidence ?metaValue .\n}\n\n# Stardog: edge properties (if enabled)\nSELECT ?s ?p ?o ?conf WHERE {\n  ?s ?p ?o .\n  \u003C\u003C ?s ?p ?o >> :confidence ?conf .\n}\n```\n\n### Federated queries\n\n```sparql\nPREFIX : \u003Chttp:\u002F\u002Fexample.org\u002F>\nPREFIX dbo: \u003Chttp:\u002F\u002Fdbpedia.org\u002Fontology\u002F>\nPREFIX rdfs: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2000\u002F01\u002Frdf-schema#>\n\n# Query across multiple endpoints\nSELECT ?local ?external WHERE {\n  ?local a :LocalClass .\n  SERVICE \u003Chttp:\u002F\u002Fdbpedia.org\u002Fsparql> {\n    ?external a dbo:Thing ;\n              rdfs:label ?label .\n  }\n}\n```\n\n## Entailment Regime Awareness\n\nQuery results depend on whether inference is applied:\n\n- Local\u002Fraw file queries typically return only asserted triples.\n- Reasoned artifacts or reasoner-backed endpoints may return inferred triples.\n- CQ interpretation must state which entailment regime is assumed\n  (asserted-only vs inferred).\n\n## Outputs\n\nThis skill produces:\n\n| Artifact | Location | Format | Description |\n|----------|----------|--------|-------------|\n| Query files | `sparql\u002F{name}.sparql` | SPARQL | Stored, validated queries |\n| Query results | `{context-dependent}` | CSV\u002FTSV\u002FJSON | Query output |\n\n## Handoff\n\n**Receives from**: Any skill that needs SPARQL queries generated or executed\n\n**Passes to**: Requesting skill (query files and\u002For results)\n\n**Handoff checklist**:\n- [ ] Query syntax is validated\n- [ ] PREFIX declarations are complete and correct\n- [ ] Results are in the requested format\n- [ ] Query is saved to `sparql\u002F` if reusable\n\n## Performance Tips\n\n- Always use `LIMIT` for exploratory queries\n- Avoid leading wildcards in `FILTER regex` (`regex(?var, \".*pattern\")`) —\n  they prevent index usage\n- Use property paths (`rdfs:subClassOf+`) sparingly on large graphs\n- Check `OPTIONAL` patterns for Cartesian products\n- Prefer `FILTER EXISTS` \u002F `FILTER NOT EXISTS` over subqueries\n- Use `VALUES` clause for parameterized queries\n- Place most selective triple patterns first in the WHERE clause\n\n## Anti-Patterns to Avoid\n\n- **Missing PREFIXes**: Every CURIE must have a corresponding PREFIX\n  declaration. Use `_shared\u002Fnamespaces.json` as the source.\n- **No LIMIT on exploration**: Always limit exploratory queries. An\n  unbounded SELECT against a large graph can timeout or crash.\n- **SPARQL UPDATE on production**: Never execute UPDATE\u002FDELETE against\n  production endpoints. (Safety Rule #8)\n- **Assuming RDF-star assertion**: In GraphDB, `\u003C\u003C s p o >>` does NOT\n  assert the triple. You must also state `s p o .` separately.\n- **Ignoring blank nodes**: Always filter blank nodes when counting or\n  listing named entities.\n- **Assuming variable distinctness**: SPARQL can bind `?x` and `?y` to the\n  same node. Add `FILTER(?x != ?y)` when distinct entities are required.\n- **Ignoring entailment regime**: A query that works on materialized endpoint\n  results may fail on asserted-only local files.\n\n## Error Handling\n\n| Error | Likely Cause | Recovery |\n|-------|-------------|----------|\n| Parse error | Syntax error in SPARQL | Run through validator; check missing PREFIXes or braces |\n| Timeout | Query too complex or graph too large | Add LIMIT, rewrite with more selective patterns |\n| Empty results | Wrong prefix IRI or term not in graph | Verify prefix resolves correctly; check term existence |\n| 403 Forbidden | Endpoint requires authentication | Check credentials configuration |\n| RDF-star syntax error | Store doesn't support RDF-star | Check store capabilities; fall back to standard reification |\n","# SPARQL Expert\n\n## Role Statement\n\nYou are responsible for generating, validating, and executing SPARQL\nqueries across different backends. You handle dialect differences between\ntriple stores, write correct PREFIX declarations, validate syntax before\nexecution, and optimize query performance. You serve all other skills\nthat need SPARQL queries — CQ test generation, anti-pattern detection,\ncoverage metrics, and ad hoc data exploration.\n\n## When to Activate\n\n- User mentions \"SPARQL\", \"query\", or \"knowledge graph\"\n- User wants to extract data from an ontology or triple store\n- User wants to debug or optimize a SPARQL query\n- Another skill needs a SPARQL query generated or executed\n\n## Shared Reference Materials\n\nRead these files from `_shared\u002F` before beginning work:\n\n- `_shared\u002Fnamespaces.json` — canonical prefix-to-IRI map (always include\n  correct PREFIX declarations)\n- `_shared\u002Fmethodology-backbone.md` — lifecycle context (cross-cutting)\n\n## Core Workflow\n\n### Step 1: Analyze Intent\n\nDetermine:\n- **Query type**: SELECT, CONSTRUCT, ASK, DESCRIBE\n- **Target**: Local file (ROBOT\u002Frdflib), SPARQL endpoint, or oaklib adapter\n- **Purpose**: Exploration, testing, reporting, or data extraction\n- **Constraints**: Result size limits, performance requirements\n\n### Step 2: Schema Lookup\n\nBefore writing the query:\n1. Read `_shared\u002Fnamespaces.json` for correct prefixes\n2. If targeting an endpoint, check available named graphs\n3. If querying a specific ontology, check its class\u002Fproperty structure\n\n### Step 3: Draft Query\n\nRules:\n- ALWAYS include PREFIX declarations for every prefix used\n- Use `LIMIT` for exploratory queries (default: 100)\n- Add comments for complex patterns\n- Use `FILTER(!isBlank(?x))` to exclude blank nodes when counting\n- SPARQL matching is homomorphism-based: two variables may bind to the same node\n  unless explicitly constrained (use `FILTER(?x != ?y)` when required)\n- For RDF-star: embedded triples are NOT asserted by default in GraphDB\n\n```sparql\nPREFIX rdf: \u003Chttp:\u002F\u002Fwww.w3.org\u002F1999\u002F02\u002F22-rdf-syntax-ns#>\nPREFIX rdfs: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2000\u002F01\u002Frdf-schema#>\nPREFIX owl: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2002\u002F07\u002Fowl#>\nPREFIX skos: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2004\u002F02\u002Fskos\u002Fcore#>\n\n# Purpose: {what this query does}\nSELECT ?class ?label ?definition\nWHERE {\n  ?class a owl:Class ;\n         rdfs:label ?label .\n  OPTIONAL { ?class skos:definition ?definition }\n  FILTER(!isBlank(?class))\n}\nORDER BY ?label\nLIMIT 100\n```\n\n### Step 4: Validate Syntax\n\n```bash\n# Validate via rdflib parser\nuv run python -c \"\nfrom rdflib.plugins.sparql import prepareQuery\nq = '''\nPREFIX rdf: \u003Chttp:\u002F\u002Fwww.w3.org\u002F1999\u002F02\u002F22-rdf-syntax-ns#>\nPREFIX owl: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2002\u002F07\u002Fowl#>\nSELECT ?s WHERE { ?s rdf:type owl:Class }\n'''\nprepareQuery(q)\nprint('Valid SPARQL')\n\"\n```\n\n### Step 5: Execute\n\n```bash\n# Via ROBOT (local ontology files)\nrobot query --input ontology.ttl --query query.sparql --output output.csv\n\n# Via oaklib\nuv run runoak -i sqlite:obo:hp query \\\n  \"SELECT ?x ?label WHERE { ?x rdfs:label ?label } LIMIT 10\"\n\n# Via rdflib (Python)\nuv run python -c \"\nfrom rdflib import Graph\ng = Graph()\ng.parse('ontology.ttl', format='turtle')\nresults = g.query(open('query.sparql').read())\nfor row in results:\n    print(row)\n\"\n```\n\n## Tool Commands\n\n### Common query patterns\n\nReuse the prefix prologue below with each query. Replace the illustrative\n`http:\u002F\u002Fexample.org\u002F` namespace with the dataset's namespace.\n\n```sparql\nPREFIX : \u003Chttp:\u002F\u002Fexample.org\u002F>\nPREFIX rdf: \u003Chttp:\u002F\u002Fwww.w3.org\u002F1999\u002F02\u002F22-rdf-syntax-ns#>\nPREFIX rdfs: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2000\u002F01\u002Frdf-schema#>\nPREFIX owl: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2002\u002F07\u002Fowl#>\nPREFIX skos: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2004\u002F02\u002Fskos\u002Fcore#>\nPREFIX obo: \u003Chttp:\u002F\u002Fpurl.obolibrary.org\u002Fobo\u002F>\n\n# List all classes with labels\nSELECT ?class ?label WHERE {\n  ?class a owl:Class ; rdfs:label ?label .\n  FILTER(!isBlank(?class))\n}\n\n# Count classes\nSELECT (COUNT(DISTINCT ?class) AS ?count) WHERE {\n  ?class a owl:Class .\n  FILTER(!isBlank(?class))\n}\n\n# Find subclasses of a specific class\nSELECT ?sub ?label WHERE {\n  ?sub rdfs:subClassOf :ParentClass ;\n       rdfs:label ?label .\n}\n\n# Find classes missing definitions\nSELECT ?class ?label WHERE {\n  ?class a owl:Class ; rdfs:label ?label .\n  FILTER NOT EXISTS { ?class skos:definition ?def }\n  FILTER NOT EXISTS { ?class obo:IAO_0000115 ?def }\n  FILTER(!isBlank(?class))\n}\n\n# Property usage statistics\nSELECT ?prop (COUNT(*) AS ?usage) WHERE {\n  ?s ?prop ?o .\n  ?prop a owl:ObjectProperty .\n}\nGROUP BY ?prop\nORDER BY DESC(?usage)\n```\n\n### Property Path Reference\n\n| Pattern | Meaning | Example |\n|---------|---------|---------|\n| `*` | Zero or more hops | `?x rdfs:subClassOf* ?y` |\n| `+` | One or more hops | `?x rdfs:subClassOf+ ?y` |\n| `|` | Alternative path | `?x (skos:exactMatch|skos:closeMatch) ?y` |\n| `^` | Inverse property | `?x ^rdfs:subClassOf ?parent` |\n| `\u002F` | Concatenation | `?x rdfs:subClassOf\u002Frdfs:subClassOf ?gparent` |\n\nCommon caution points:\n- Property paths over cyclic graphs can explode result sizes.\n- Add selective anchors and `LIMIT` when exploring transitive paths.\n- Prefer bounded patterns for production queries when possible.\n\n### RDF-star patterns\n\n```sparql\nPREFIX : \u003Chttp:\u002F\u002Fexample.org\u002F>\n\n# GraphDB: match asserted triple with metadata\nSELECT ?s ?p ?o ?metaValue WHERE {\n  ?s ?p ?o .\n  \u003C\u003C ?s ?p ?o >> :hasConfidence ?metaValue .\n}\n\n# Stardog: edge properties (if enabled)\nSELECT ?s ?p ?o ?conf WHERE {\n  ?s ?p ?o .\n  \u003C\u003C ?s ?p ?o >> :confidence ?conf .\n}\n```\n\n### Federated queries\n\n```sparql\nPREFIX : \u003Chttp:\u002F\u002Fexample.org\u002F>\nPREFIX dbo: \u003Chttp:\u002F\u002Fdbpedia.org\u002Fontology\u002F>\nPREFIX rdfs: \u003Chttp:\u002F\u002Fwww.w3.org\u002F2000\u002F01\u002Frdf-schema#>\n\n# Query across multiple endpoints\nSELECT ?local ?external WHERE {\n  ?local a :LocalClass .\n  SERVICE \u003Chttp:\u002F\u002Fdbpedia.org\u002Fsparql> {\n    ?external a dbo:Thing ;\n              rdfs:label ?label .\n  }\n}\n```\n\n## Entailment Regime Awareness\n\nQuery results depend on whether inference is applied:\n\n- Local\u002Fraw file queries typically return only asserted triples.\n- Reasoned artifacts or reasoner-backed endpoints may return inferred triples.\n- CQ interpretation must state which entailment regime is assumed\n  (asserted-only vs inferred).\n\n## Outputs\n\nThis skill produces:\n\n| Artifact | Location | Format | Description |\n|----------|----------|--------|-------------|\n| Query files | `sparql\u002F{name}.sparql` | SPARQL | Stored, validated queries |\n| Query results | `{context-dependent}` | CSV\u002FTSV\u002FJSON | Query output |\n\n## Handoff\n\n**Receives from**: Any skill that needs SPARQL queries generated or executed\n\n**Passes to**: Requesting skill (query files and\u002For results)\n\n**Handoff checklist**:\n- [ ] Query syntax is validated\n- [ ] PREFIX declarations are complete and correct\n- [ ] Results are in the requested format\n- [ ] Query is saved to `sparql\u002F` if reusable\n\n## Performance Tips\n\n- Always use `LIMIT` for exploratory queries\n- Avoid leading wildcards in `FILTER regex` (`regex(?var, \".*pattern\")`) —\n  they prevent index usage\n- Use property paths (`rdfs:subClassOf+`) sparingly on large graphs\n- Check `OPTIONAL` patterns for Cartesian products\n- Prefer `FILTER EXISTS` \u002F `FILTER NOT EXISTS` over subqueries\n- Use `VALUES` clause for parameterized queries\n- Place most selective triple patterns first in the WHERE clause\n\n## Anti-Patterns to Avoid\n\n- **Missing PREFIXes**: Every CURIE must have a corresponding PREFIX\n  declaration. Use `_shared\u002Fnamespaces.json` as the source.\n- **No LIMIT on exploration**: Always limit exploratory queries. An\n  unbounded SELECT against a large graph can timeout or crash.\n- **SPARQL UPDATE on production**: Never execute UPDATE\u002FDELETE against\n  production endpoints. (Safety Rule #8)\n- **Assuming RDF-star assertion**: In GraphDB, `\u003C\u003C s p o >>` does NOT\n  assert the triple. You must also state `s p o .` separately.\n- **Ignoring blank nodes**: Always filter blank nodes when counting or\n  listing named entities.\n- **Assuming variable distinctness**: SPARQL can bind `?x` and `?y` to the\n  same node. Add `FILTER(?x != ?y)` when distinct entities are required.\n- **Ignoring entailment regime**: A query that works on materialized endpoint\n  results may fail on asserted-only local files.\n\n## Error Handling\n\n| Error | Likely Cause | Recovery |\n|-------|-------------|----------|\n| Parse error | Syntax error in SPARQL | Run through validator; check missing PREFIXes or braces |\n| Timeout | Query too complex or graph too large | Add LIMIT, rewrite with more selective patterns |\n| Empty results | Wrong prefix IRI or term not in graph | Verify prefix resolves correctly; check term existence |\n| 403 Forbidden | Endpoint requires authentication | Check credentials configuration |\n| RDF-star syntax error | Store doesn't support RDF-star | Check store capabilities; fall back to standard reification |\n",{"name":5,"description":7},"main","2398f391338607e713c72b1f6f0c574dfc7a5199",".claude\u002Fskills\u002Fsparql-expert",14,"https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect","https:\u002F\u002Fwww.oip.law","https:\u002F\u002Fgithub.com\u002Fbeep-effect","2026-11-15 03:19:50",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add beep-effect\u002Fbeep-effect --skill sparql-expert",{"tool":66,"command":67},"bunx","bunx skills add beep-effect\u002Fbeep-effect --skill sparql-expert",{"tool":69,"command":70},"pnpm","pnpm dlx skills add beep-effect\u002Fbeep-effect --skill sparql-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsparql-expert\u002FSKILL.md",true,[],[75,83,90,98,124,142],{"skillNo":76,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7DRT80P94P1481PREB0355D","alchemy-provider","Bring up a new Alchemy cloud provider (its own `@alchemy.run\u002F\u003Cprovider>` package under packages\u002F\u003Cprovider>) end to end — credentials, a distilled SDK, resources, bindings, live tests, and the patch loop that feeds live-test failures back into distilled — or extend an existing provider with a new service, or bring an existing provider up to the bar (gap audit, then waves). Use for \"add a \u003CX> provider\", \"create an alchemy provider for \u003CX>\", \"port \u003CX> to alchemy\", \"add \u003Cservice> to the \u003CX> provider\", \"bring the \u003CX> provider up to par\", or any work that needs a distilled SDK plus Alchemy resources tested against a live API.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Falchemy-provider\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":17,"description":86,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":82},"01M7DRT2QB0MHHK7D3YQY396PW","alchemy-domain","Build backends with @alchemy.run\u002Fdomain (domain-driven design on Effect) - turn requirements into aggregates, commands, events, rejections, views, policies, sagas, projections, streams, queries, external systems and Apis; lay them out in a monorepo (domain \u002F server \u002F web packages, kind-suffixed files); test them with stories; host them on Durable Objects (Cloudflare, Rivet or Effect Cluster) with alchemy; and drive them from a foldkit frontend. Use when designing or changing an @alchemy.run\u002Fdomain model, adding a building block, wiring hosting or a frontend, or reviewing such code.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Falchemy-domain\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":97},"01M72GGBGEZZJTXTRB3MNYPPY1","update-harnesses","Update every agent harness on every fleet host: T3 Code, Codex, Claude Code, Grok Build, Kimi Code, Junie, Cursor Agent and Muse on DankStation, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl and the grok-bot VM, plus the desktop apps (ChatGPT and Claude Desktop on DankStation and grok-bot; Cursor and Kimi Desktop on DankStation). Use on `\u002Fupdate-harnesses`, when a harness is out of date somewhere, or to audit which versions and install methods each host runs.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-harnesses\u002FSKILL.md",[],[],"2026-11-10 18:39:20",{"skillNo":99,"name":100,"nameZh":17,"description":101,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":47},"01M714DQT4JQHZ11X0RH0T8RQ7","auth-environments","Sign Claude Code in to a chosen Claude subscription on every linked T3 fleet host (grok-bot, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl). Use when a Claude account hits its weekly limit, when `bun run beep accounts` shows the fleet's account used up, or on `\u002Fauth-environments`. Opens each host's OAuth page and a masked KDE code dialog together and verifies the admitted account.","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauth-environments\u002FSKILL.md",[],[105,106,107,108,109,110,111,112,113,114,115,116,117,46,118,119,120,121,122,123],"auth environments","environments","auth","page","limit","path","python","canonical","fleet","run","active","bot","code","dialog","host","worker","up","workstation","weekly",{"skillNo":125,"name":126,"nameZh":127,"description":128,"descriptionZh":129,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":130,"categories":131,"keywords":138,"publishedAt":47},"01M6C0RK94T5QGSZ0K9TA5Q2EF","shadcn","shadcn 技能来源校验","Fixture for immutable shadcn skill provenance.","用于 shadcn 技能不可变来源（provenance）的固定装置（fixture）。","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002Fpackages\u002Ftooling\u002Ftool\u002Fcli\u002Ftest\u002Ffixtures\u002Fskills-provenance\u002Fshadcn\u002Fupstream\u002FSKILL.md",[132,135],{"categoryNo":133,"categoryName":134,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":136,"categoryName":137,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[126,45,139,140,141],"fixture","provenance","immutable",{"skillNo":143,"name":144,"nameZh":145,"description":17,"descriptionZh":146,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":155,"publishedAt":47},"01M6C0RGPWMYM5KS62ZZPNAZ0W","qa-inventory-judge","QA 库存判定","","https:\u002F\u002Fgithub.com\u002Fbeep-effect\u002Fbeep-effect\u002Fblob\u002Fmain\u002Fpackages\u002Ftooling\u002Ftool\u002Fcli\u002Fskills\u002Fqa-inventory-judge\u002FSKILL.md",[149,152],{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":153,"categoryName":154,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[156,157,158,159],"qa","inventory","judge","qa inventory judge"]