First of all, thank you for this wonderful framework, it's a really great and useful project !
I'm working on visualization for ontology design pattern (link below for a reference) and i'm thinking on the way to get isnide ld-r framework.
I provide an example trying to be more clear:
scenario: I'm navigating using ld-r through a dataset with a list of resources. I click on a resource to examine it (it's route would than be handled as defined in routes.js by ResourceReactor, it calls loadResource with the query defined in services/resource.js and i can define a custom view component for this resource )
my problem: this resource is for example a Situation. I would like that it would be treated as a pattern: it may have a TimeInterval and Participants and participants may have Names and Location and location may have Coordinates.
For that, i would need to create a custom component to visualize as a unity multi resource data.
This VIEW coding won't be that difficult i think,
but here arise two problems:
- how to retrieve multi resource pattern specific data (custom query)
- how to correctly trigger the MultiResourceReactor that should handle these data (linked to a MultiResource store) etc
If i'm not wrong the ResourceReactor can handle the visualization of a resource and related nodes with a depth of 1.
( The service invoked by the loadResource action generates a query that gets a resource and all its properties (with depth 1).
Again, if i'm correct or is something escapes me ?)
My problem is that i need a more specific query to collect all the data composing the pattern.
And in the context of fluxible i would need also a new Store for the state and maybe a new Reactor etc.
Probably i got confused as you may read and there's a simpler solution :)
What i'm thinking right now would be:
- create a MultiResourceReactor general enough to treat any kind of MultiResourcePattern
- create a MultiResourceStore to keep the state of these ontology design patterns
- create a multiresource route
- create an action and a service to retrieve this data (accepting more specific queries)
- find a way to detect at Dataset level if it should trigger the MultiResourceReactor pattern instead of the Resource one and encapsulates those resources to be treat like that with a < NavLink routes="multiresource" ... >
I opened this issues to asks for suggestion to you on how to implement this (do you think to simpler ways to do?) and maybe to propose an enhancement if it may be useful.
thank you very much !
Christian
Gangemi, Aldo. "Ontology design patterns for semantic web content." International semantic web conference. Springer, Berlin, Heidelberg, 2005.
First of all, thank you for this wonderful framework, it's a really great and useful project !
I'm working on visualization for ontology design pattern (link below for a reference) and i'm thinking on the way to get isnide ld-r framework.
I provide an example trying to be more clear:
scenario: I'm navigating using ld-r through a dataset with a list of resources. I click on a resource to examine it (it's route would than be handled as defined in routes.js by ResourceReactor, it calls loadResource with the query defined in services/resource.js and i can define a custom view component for this resource )
my problem: this resource is for example a Situation. I would like that it would be treated as a pattern: it may have a TimeInterval and Participants and participants may have Names and Location and location may have Coordinates.
For that, i would need to create a custom component to visualize as a unity multi resource data.
This VIEW coding won't be that difficult i think,
but here arise two problems:
If i'm not wrong the ResourceReactor can handle the visualization of a resource and related nodes with a depth of 1.
( The service invoked by the loadResource action generates a query that gets a resource and all its properties (with depth 1).
Again, if i'm correct or is something escapes me ?)
My problem is that i need a more specific query to collect all the data composing the pattern.
And in the context of fluxible i would need also a new Store for the state and maybe a new Reactor etc.
Probably i got confused as you may read and there's a simpler solution :)
What i'm thinking right now would be:
I opened this issues to asks for suggestion to you on how to implement this (do you think to simpler ways to do?) and maybe to propose an enhancement if it may be useful.
thank you very much !
Christian
Gangemi, Aldo. "Ontology design patterns for semantic web content." International semantic web conference. Springer, Berlin, Heidelberg, 2005.