Replies: 2 comments 1 reply
-
|
Could you confirm this is for version 3? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
You want something like this: <https://w3id.org/profile/myCustomProfile>
a prof:Profile , prez:VocPrezProfile ;
dcterms:description "Custome Profile to only render specified properties of a SKOS Concept." ;
dcterms:identifier "custprof"^^xsd:token ;
dcterms:title "Custom Profile" ;
altr-ext:constrainsClass
skos:Concept ;
altr-ext:hasDefaultResourceFormat "text/anot+turtle" ;
altr-ext:hasResourceFormat
"application/ld+json" ,
"application/rdf+xml" ,
"text/anot+turtle" ,
"text/turtle" ;
altr-ext:hasNodeShape [
a sh:NodeShape ;
sh:targetClass skos:Concept ;
altr-ext:focusToParent skos:inScheme ;
sh:path your:pred1 , your:pred2 , your:pred3 ;
] ;
.Then when you render a concept you want to request that profile e.g. via the query string |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @recalcitrantsupplant, I tried this method and renamed the profile as http://www.w3.org/ns/dx/prof/Profile (if I understand that readme-dev file correctly) and imported to my triplestore. However, it still doesn't work as expected. Anything I missed?
File attached. (can't upload ttl file, has to rename it to txt)
customised_profile.ttl.txt
Beta Was this translation helpful? Give feedback.
All reactions