Dear Frank,
very short answer as I’m getting into a meeting (but quick, so you can start playing with it :-) )
Look here:
http://vocbench.uniroma2.it/doc/user/projects.jsf#project_creation
for “URI Generation”. You will see where to activate the configuration for the URI generator at project creation.
Then, that section points you to the semantic turkey page for details about the URI generator.
If you need further help, pls do not hesitate to ask.
Kind Regards,
Armando
--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
vocbench-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/vocbench-user/debe0dfe-339b-420a-a715-fb0860ba48efn%40googlegroups.com.
- concepts (e.g. "fruit") with an URI: "http://orgX.example.net/domainY/schema#fruit"
- individuals (e.g. "apple") with an URI: " http://orgX.example.net/domainY/individual/fruit#apple"
Dear Frank,
Apologies for taking some time to reply. You will see later on in the msg why I took some time,.
Now that I have read your second email, I may realize that I didn’t get your original message. I thought that you original case with “fruit” was indeed only a generic example, while it was really the pattern you wanted.
So, you want to really do something like: I choose “fruit” as a label for a concept, and I get, say, <baseuri>/concept#fruit
And there are two points there:
Bad news first: unfortunately, this can’t be done now. The reason is that we have two applications of custom forms: custom constructors (CCs) and custom ranges (CRs). CRs (association of a form to a property) build everything from scratch, custom constructors are associated to a given class (or type of resource, as concepts, for any class from skos:Concepts to any of its children) and act in overlaying over the standard form that is provided by the application. What you need is to not use the standard form at all, so not in overlaying, but building the form from scratch, as it is in CRs.
An escamotage could be to use then custom ranges, using a fictious individual (and a property for that) as a factory for building new resources which can be assigned (even automatically, to their class). It can indeed be done, and you could use different properties for different classes. However, it seems to me not really practical, and would ask for the editor to clean these properties once in a while.
Indeed, your point touched some revision that we had already in plan for the next release. I think it might actually be a use-case for the more general revised perspective on CFs that we are building. Since, as I can see, you can still edit these URI shapes manually, but would obviously prefer some automation, I can tell you this: if everything goes well, the planned improvement should come up with the next release of VB3 scheduled for end of April (first days of May at most). Your use-case has been taken as a target proof for the improvement.
Now that I have read your second email, I may realize that I didn’t get your original message. I thought that you original case with “fruit” was indeed only a generic example, while it was really the pattern you wanted.
So, you want to really do something like: I choose “fruit” as a label for a concept, and I get, say, <baseuri>/concept#fruit
And there are two points there:
- Being able to automatize the construction of part of the baseuri
- Be able to assign a same token (e.g. fruit) to both the label and the local part of the URI
Bad news first: unfortunately, this can’t be done now. The reason is that we have two applications of custom forms: custom constructors (CCs) and custom ranges (CRs). CRs (association of a form to a property) build everything from scratch, custom constructors are associated to a given class (or type of resource, as concepts, for any class from skos:Concepts to any of its children) and act in overlaying over the standard form that is provided by the application. What you need is to not use the standard form at all, so not in overlaying, but building the form from scratch, as it is in CRs.
An escamotage could be to use then custom ranges, using a fictious individual (and a property for that) as a factory for building new resources which can be assigned (even automatically, to their class). It can indeed be done, and you could use different properties for different classes. However, it seems to me not really practical, and would ask for the editor to clean these properties once in a while.
Indeed, your point touched some revision that we had already in plan for the next release. I think it might actually be a use-case for the more general revised perspective on CFs that we are building. Since, as I can see, you can still edit these URI shapes manually, but would obviously prefer some automation, I can tell you this: if everything goes well, the planned improvement should come up with the next release of VB3 scheduled for end of April (first days of May at most). Your use-case has been taken as a target proof for the improvement.