SHACLC: support SPARQL
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 712
- Avg merge
- 15h 41m
- Merged PRs (30d)
- 53
Description
### Version
5.2.0
### Feature
Get https://github.com/Sveino/Inst4CIM-KG/tree/develop/source/CGMES/v3.0/SHACL/ttl (these are complex electrical CIM/CGMES shapes).
Try `shacl.bat -out=c` on two of the files and you get these messages:
- "sh:target not supported in compact syntax" (happens on `61970-301_Equipment-AP-Con-Complex-SHACL_v3-0-0.ttl`)
- "SparqlConstraint Not supported in compact syntax" (happens on `61970-302_Dynamics-AP-Con-Complex-SHACL_v3-0-0.ttl`, at end of output)
### Are you interested in contributing a solution yourself?
None
Contributor guide
Research direction
Start by reproducing `shacl.bat -out=c` with the two SHACL files named in the issue. Trace how compact syntax handles `sh:target` and `SparqlConstraint`, then verify that both files convert without the reported unsupported messages. A complete change should support these constructs in the compact output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100