This discussion is quite detailed, -need someone knowledgeable to see if we need to implement it.
------- Original Message --------
Subject: [ wsmo4j-Feature Requests-1693482 ] parsing chunks
Date: Tue, 03 Apr 2007 02:37:48 -0700
From: SourceForge.net <noreply@so...>
To: noreply@so...
Feature Requests item #1693482, was opened at 2007-04-03 02:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=665349&aid=1693482&group_id=113501
Please note that this message will contain a full copy of the comment
thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extension
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Marin Dimitrov (marin_dimitrov)
Summary: parsing chunks
Initial Comment:
It would be very helpful to have the possibility to parse chunks instead
of a whole ontology. For example it would be possibile to define
entities in different files, according to the entity.
I'm trying to use WSMO and WSMO4J in the middleware I'm developing for
ARGUGRID (www.argugrid.eu), but this limitation is a little to strong.
What I'm doing actually is solving the problem putting everything in xml
and parsing back to WSML, but it is not very elegant.
Stefano Bromuri.
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Carlos Pedrinaci <c.pedrinaci@op...> - 2007-04-03 10:12
Hi,
I second this request as we will need this for SUPER relatively soon.
Cheers,
Carlos
Marin Dimitrov wrote:
> -------- Original Message --------
> Subject: [ wsmo4j-Feature Requests-1693482 ] parsing chunks
> Date: Tue, 03 Apr 2007 02:37:48 -0700
> From: SourceForge.net <noreply@so...>
> To: noreply@so...
>
> Feature Requests item #1693482, was opened at 2007-04-03 02:37
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=665349&aid=1693482&group_id=113501
>
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: extension
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Nobody/Anonymous (nobody)
> Assigned to: Marin Dimitrov (marin_dimitrov)
> Summary: parsing chunks
>
> Initial Comment:
> It would be very helpful to have the possibility to parse chunks instead
> of a whole ontology. For example it would be possibile to define
> entities in different files, according to the entity.
>
> I'm trying to use WSMO and WSMO4J in the middleware I'm developing for
> ARGUGRID (www.argugrid.eu), but this limitation is a little to strong.
> What I'm doing actually is solving the problem putting everything in xml
> and parsing back to WSML, but it is not very elegant.
>
> Stefano Bromuri.
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> wsmo4j-discuss mailing list
> wsmo4j-discuss@li...
> https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
>
>
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Marin Dimitrov <marin.dimitrov@on...> - 2007-04-03 10:19
Carlos Pedrinaci wrote:
> Hi,
> I second this request as we will need this for SUPER relatively soon.
>
but what is a "chunk" exactly?
best,
Marin
----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Carlos Pedrinaci <c.pedrinaci@op...> - 2007-04-03 10:39
In our case it's mainly going to be necessary for parsing the WSML
serialzation as a string of values for some slots.
The reason for this is that we need to store the values for inputs and
outputs of processes, goals and services invocations within instances of
the events ontology for monitoring.
Since every process can have its own definition, and since we need to
keep track of every single intermediate value, serializing the actual
value as a string within an event instance is the only solution we came
up with. It is pretty dirty but as of now I have no other idea about how
to deal with it otherwise (suggestions are more than welcome).
More specifically, we have this for storing values:
concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
The problems are (1) that what the value is depends on the user process,
goal or service, and (2) that we need to store each an every
intermediate value.
So the idea is to put in the EVO#hasValue attribute the WSML
serialization. Something like:
_string("Example")
_dateTime(2007,12,12,0,0,0)
or even
instance someInstance memberOf someInputConcept
someAttr hasValue ...
someOtherAttr hasValue...
In order to do this we need to be able to generate this partial
serialization, i.e., without encapsulating the whole thing within an
(anonymous?) ontology, etc (actually for primitive types I don't see how
we could do it). And the same way we need to be able to parse this back
for analysis.
Hope this clarifies what I understand by chunk.
Cheers,
Carlos
PS: I had some problems creating an anonymous ontology some time ago. Is
this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
Marin Dimitrov wrote:
> Carlos Pedrinaci wrote:
>> Hi,
>> I second this request as we will need this for SUPER relatively soon.
>>
>
> but what is a "chunk" exactly?
>
> best,
>
> Marin
>
> ----
> "...what you brought from your past, is of no use in your present. When
> you must choose a new path, do not bring old experiences with you.
> Those who strike out afresh, but who attempt to retain a little of the
> old life, end up torn apart by their own memories. "
>
>
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Mick Kerrigan <michael.kerrigan@de...> - 2007-04-03 10:40
Yes I agree with Marin's question, are we talking about creating a new
syntax? How do we know which top entity the chunk gets attached to? How
do we know the wsml variant, namespaces, imported ontologies, used
mediators etc...
Whats wrong with automatically wrapping your chunk in a top entity?
~Mick
Marin Dimitrov wrote:
> Carlos Pedrinaci wrote:
>> Hi,
>> I second this request as we will need this for SUPER relatively soon.
>>
>
> but what is a "chunk" exactly?
>
> best,
>
> Marin
>
> ----
> "...what you brought from your past, is of no use in your present. When
> you must choose a new path, do not bring old experiences with you.
> Those who strike out afresh, but who attempt to retain a little of the
> old life, end up torn apart by their own memories. "
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> wsmo4j-discuss mailing list
> wsmo4j-discuss@li...
> https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
>
>
--
Mick Kerrigan
Researcher (SEE Cluster)
Digital Enterprise Research Institute (DERI)
Leopold-Franzens Universität Innsbruck, Austria
-----------------------------------------------
E-Mail: mick.kerrigan@de...
Web: http://see.deri.org/mick/
-----------------------------------------------
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Holger Lausen <holger.lausen@de...> - 2007-04-04 08:47
Hi,
> concept DataValue
> hasParameter ofType (1 1) _iri
> EVO#hasValue ofType (1 1) _string
If we take above as example without at least the namespace context it is
pretty useless. I am not quite sure, but I would guess that using
LogicalExpressionFacotry.createLogicalExpression(String expression,
TopEntity NamespaceContext) could solve your problem. Only thing is that
you would not use the conceptual syntax but rather the LE one:
"DateValue[hasParameter ofType _iri, VO#hasValue ofType _string]"
Creating anonymous Ontologies is not supported in WSMO4J at present, you
would need to write an own helper that takes care of generating unique
URIs for that purpose.
best
Holger
Carlos Pedrinaci wrote:
> In our case it's mainly going to be necessary for parsing the WSML
> serialzation as a string of values for some slots.
> The reason for this is that we need to store the values for inputs and
> outputs of processes, goals and services invocations within instances of
> the events ontology for monitoring.
> Since every process can have its own definition, and since we need to
> keep track of every single intermediate value, serializing the actual
> value as a string within an event instance is the only solution we came
> up with. It is pretty dirty but as of now I have no other idea about how
> to deal with it otherwise (suggestions are more than welcome).
>
> More specifically, we have this for storing values:
>
> concept DataValue
> hasParameter ofType (1 1) _iri
> EVO#hasValue ofType (1 1) _string
>
> The problems are (1) that what the value is depends on the user process,
> goal or service, and (2) that we need to store each an every
> intermediate value.
> So the idea is to put in the EVO#hasValue attribute the WSML
> serialization. Something like:
> _string("Example")
> _dateTime(2007,12,12,0,0,0)
>
> or even
>
> instance someInstance memberOf someInputConcept
> someAttr hasValue ...
> someOtherAttr hasValue...
>
>
> In order to do this we need to be able to generate this partial
> serialization, i.e., without encapsulating the whole thing within an
> (anonymous?) ontology, etc (actually for primitive types I don't see how
> we could do it). And the same way we need to be able to parse this back
> for analysis.
>
> Hope this clarifies what I understand by chunk.
> Cheers,
> Carlos
>
> PS: I had some problems creating an anonymous ontology some time ago. Is
> this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
>
> Marin Dimitrov wrote:
>> Carlos Pedrinaci wrote:
>>> Hi,
>>> I second this request as we will need this for SUPER relatively soon.
>>>
>> but what is a "chunk" exactly?
>>
>> best,
>>
>> Marin
>>
>> ----
>> "...what you brought from your past, is of no use in your present. When
>> you must choose a new path, do not bring old experiences with you.
>> Those who strike out afresh, but who attempt to retain a little of the
>> old life, end up torn apart by their own memories. "
>>
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> wsmo4j-discuss mailing list
> wsmo4j-discuss@li...
> https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
>
--
Holger Lausen
Digital Enterprise Research Institute (DERI)
http://www.deri.org/
Tel: +43 512 5076464
Mail: holger.lausen@de...
WWW: http://holgerlausen.net
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Carlos Pedrinaci <c.pedrinaci@op...> - 2007-04-16 11:20
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Holger,<br>
Thanks for your reply but I'm not sure I understand you correctly.<br>
I'm not concerned about the definition of the concept, this is, in my
case, pretty standard. Just using the conceptual syntax would do it.
What I don't know is how to define _values_ for instances so that they
can be parsed by chunks, see EVO#hasValue below.<br>
<br>
Can we apply the same approach you mention more or less like this?<br>
<br>
someDataValue memberOf DataValue<br>
hasParameter hasValue _<a class="moz-txt-link-rfc2396E" href="http://someIRI">"http://someIRI"</a><br>
EVO#hasValue hasValue "_#1[ONTO#attr1 hasValue _string("some
value"), ONTO#attr1 hasValue _integer(10)] memberOf someConcept"<br>
<br>
Cheers,<br>
Carlos<br>
<br>
<br>
<br>
Holger Lausen wrote:
<blockquote cite="mid46136604.4030503@de..." type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
</pre>
</blockquote>
<pre wrap=""><!---->
If we take above as example without at least the namespace context it is
pretty useless. I am not quite sure, but I would guess that using
LogicalExpressionFacotry.createLogicalExpression(String expression,
TopEntity NamespaceContext) could solve your problem. Only thing is that
you would not use the conceptual syntax but rather the LE one:
"DateValue[hasParameter ofType _iri, VO#hasValue ofType _string]"
</pre>
</blockquote>
<br>
<br>
<blockquote cite="mid46136604.4030503@de..." type="cite">
<pre wrap="">
Creating anonymous Ontologies is not supported in WSMO4J at present, you
would need to write an own helper that takes care of generating unique
URIs for that purpose.
best
Holger
Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">In our case it's mainly going to be necessary for parsing the WSML
serialzation as a string of values for some slots.
The reason for this is that we need to store the values for inputs and
outputs of processes, goals and services invocations within instances of
the events ontology for monitoring.
Since every process can have its own definition, and since we need to
keep track of every single intermediate value, serializing the actual
value as a string within an event instance is the only solution we came
up with. It is pretty dirty but as of now I have no other idea about how
to deal with it otherwise (suggestions are more than welcome).
More specifically, we have this for storing values:
concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
The problems are (1) that what the value is depends on the user process,
goal or service, and (2) that we need to store each an every
intermediate value.
So the idea is to put in the EVO#hasValue attribute the WSML
serialization. Something like:
_string("Example")
_dateTime(2007,12,12,0,0,0)
or even
instance someInstance memberOf someInputConcept
someAttr hasValue ...
someOtherAttr hasValue...
In order to do this we need to be able to generate this partial
serialization, i.e., without encapsulating the whole thing within an
(anonymous?) ontology, etc (actually for primitive types I don't see how
we could do it). And the same way we need to be able to parse this back
for analysis.
Hope this clarifies what I understand by chunk.
Cheers,
Carlos
PS: I had some problems creating an anonymous ontology some time ago. Is
this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
Marin Dimitrov wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I second this request as we will need this for SUPER relatively soon.
</pre>
</blockquote>
<pre wrap="">but what is a "chunk" exactly?
best,
Marin
----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "
</pre>
</blockquote>
<pre wrap="">-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a>
_______________________________________________
wsmo4j-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wsmo4j-discuss@li...">wsmo4j-discuss@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss">https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Jacek Kopecky <jacek.kopecky@de...> - 2007-04-16 13:51
Hi Carlos, it seems to me that the value of EVO#hasValue should be
modeled directly, not as a re-parsed literal, don't you think? Seems to
me that you need what in RDF would be a bnode, which a number of RDF
syntaxes can describe inline, is that right?
Or do you really need to represent it as a literal for later parsing?
Best regards,
Jacek
On Mon, 2007-04-16 at 12:19 +0100, Carlos Pedrinaci wrote:
> Hi Holger,
> Thanks for your reply but I'm not sure I understand you correctly.
> I'm not concerned about the definition of the concept, this is, in my
> case, pretty standard. Just using the conceptual syntax would do it.
> What I don't know is how to define _values_ for instances so that they
> can be parsed by chunks, see EVO#hasValue below.
>
> Can we apply the same approach you mention more or less like this?
>
> someDataValue memberOf DataValue
> hasParameter hasValue _"http://someIRI"
> EVO#hasValue hasValue "_#1[ONTO#attr1 hasValue _string("some
> value"), ONTO#attr1 hasValue _integer(10)] memberOf someConcept"
>
> Cheers,
> Carlos
>
>
>
> Holger Lausen wrote:
> > Hi,
> >
> >
> > > concept DataValue
> > > hasParameter ofType (1 1) _iri
> > > EVO#hasValue ofType (1 1) _string
> > >
> >
> > If we take above as example without at least the namespace context it is
> > pretty useless. I am not quite sure, but I would guess that using
> > LogicalExpressionFacotry.createLogicalExpression(String expression,
> > TopEntity NamespaceContext) could solve your problem. Only thing is that
> > you would not use the conceptual syntax but rather the LE one:
> >
> > "DateValue[hasParameter ofType _iri, VO#hasValue ofType _string]"
> >
>
>
> > Creating anonymous Ontologies is not supported in WSMO4J at present, you
> > would need to write an own helper that takes care of generating unique
> > URIs for that purpose.
> >
> > best
> > Holger
> >
> >
> >
> >
> > Carlos Pedrinaci wrote:
> >
> > > In our case it's mainly going to be necessary for parsing the WSML
> > > serialzation as a string of values for some slots.
> > > The reason for this is that we need to store the values for inputs and
> > > outputs of processes, goals and services invocations within instances of
> > > the events ontology for monitoring.
> > > Since every process can have its own definition, and since we need to
> > > keep track of every single intermediate value, serializing the actual
> > > value as a string within an event instance is the only solution we came
> > > up with. It is pretty dirty but as of now I have no other idea about how
> > > to deal with it otherwise (suggestions are more than welcome).
> > >
> > > More specifically, we have this for storing values:
> > >
> > > concept DataValue
> > > hasParameter ofType (1 1) _iri
> > > EVO#hasValue ofType (1 1) _string
> > >
> > > The problems are (1) that what the value is depends on the user process,
> > > goal or service, and (2) that we need to store each an every
> > > intermediate value.
> > > So the idea is to put in the EVO#hasValue attribute the WSML
> > > serialization. Something like:
> > > _string("Example")
> > > _dateTime(2007,12,12,0,0,0)
> > >
> > > or even
> > >
> > > instance someInstance memberOf someInputConcept
> > > someAttr hasValue ...
> > > someOtherAttr hasValue...
> > >
> > >
> > > In order to do this we need to be able to generate this partial
> > > serialization, i.e., without encapsulating the whole thing within an
> > > (anonymous?) ontology, etc (actually for primitive types I don't see how
> > > we could do it). And the same way we need to be able to parse this back
> > > for analysis.
> > >
> > > Hope this clarifies what I understand by chunk.
> > > Cheers,
> > > Carlos
> > >
> > > PS: I had some problems creating an anonymous ontology some time ago. Is
> > > this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
> > >
> > > Marin Dimitrov wrote:
> > >
> > > > Carlos Pedrinaci wrote:
> > > >
> > > > > Hi,
> > > > > I second this request as we will need this for SUPER relatively soon.
> > > > >
> > > > >
> > > > but what is a "chunk" exactly?
> > > >
> > > > best,
> > > >
> > > > Marin
> > > >
> > > > ----
> > > > "...what you brought from your past, is of no use in your present. When
> > > > you must choose a new path, do not bring old experiences with you.
> > > > Those who strike out afresh, but who attempt to retain a little of the
> > > > old life, end up torn apart by their own memories. "
> > > >
> > > >
> > > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > wsmo4j-discuss mailing list
> > > wsmo4j-discuss@li...
> > > https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________ wsmo4j-discuss mailing list wsmo4j-discuss@li... https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Carlos Pedrinaci <c.pedrinaci@op...> - 2007-04-16 14:16
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
To some extent yes. This raises however side-effects like the fact that
the instances would not be self contained, which is quite desirable in
my case, unless we can include inline definitions in WSML, can we? <br>
Probably this wouldn't be such a big issue anyway since you can't
serialize instances without wrapping them with some ontology (one of
the reasons why having anonymousIDs for ontologies would be quite
handy).<br>
<br>
What would the definition of the concept DataValue look like in this
case?<br>
<br>
Cheers,<br>
Carlos<br>
<br>
Jacek Kopecky wrote:
<blockquote cite="mid1176731466.11093.22.camel@localhost" type="cite">
<pre wrap="">Hi Carlos, it seems to me that the value of EVO#hasValue should be
modeled directly, not as a re-parsed literal, don't you think? Seems to
me that you need what in RDF would be a bnode, which a number of RDF
syntaxes can describe inline, is that right?
Or do you really need to represent it as a literal for later parsing?
Best regards,
Jacek
On Mon, 2007-04-16 at 12:19 +0100, Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Holger,
Thanks for your reply but I'm not sure I understand you correctly.
I'm not concerned about the definition of the concept, this is, in my
case, pretty standard. Just using the conceptual syntax would do it.
What I don't know is how to define _values_ for instances so that they
can be parsed by chunks, see EVO#hasValue below.
Can we apply the same approach you mention more or less like this?
someDataValue memberOf DataValue
hasParameter hasValue _<a class="moz-txt-link-rfc2396E" href="http://someIRI">"http://someIRI"</a>
EVO#hasValue hasValue "_#1[ONTO#attr1 hasValue _string("some
value"), ONTO#attr1 hasValue _integer(10)] memberOf someConcept"
Cheers,
Carlos
Holger Lausen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
</pre>
</blockquote>
<pre wrap="">If we take above as example without at least the namespace context it is
pretty useless. I am not quite sure, but I would guess that using
LogicalExpressionFacotry.createLogicalExpression(String expression,
TopEntity NamespaceContext) could solve your problem. Only thing is that
you would not use the conceptual syntax but rather the LE one:
"DateValue[hasParameter ofType _iri, VO#hasValue ofType _string]"
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Creating anonymous Ontologies is not supported in WSMO4J at present, you
would need to write an own helper that takes care of generating unique
URIs for that purpose.
best
Holger
Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">In our case it's mainly going to be necessary for parsing the WSML
serialzation as a string of values for some slots.
The reason for this is that we need to store the values for inputs and
outputs of processes, goals and services invocations within instances of
the events ontology for monitoring.
Since every process can have its own definition, and since we need to
keep track of every single intermediate value, serializing the actual
value as a string within an event instance is the only solution we came
up with. It is pretty dirty but as of now I have no other idea about how
to deal with it otherwise (suggestions are more than welcome).
More specifically, we have this for storing values:
concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
The problems are (1) that what the value is depends on the user process,
goal or service, and (2) that we need to store each an every
intermediate value.
So the idea is to put in the EVO#hasValue attribute the WSML
serialization. Something like:
_string("Example")
_dateTime(2007,12,12,0,0,0)
or even
instance someInstance memberOf someInputConcept
someAttr hasValue ...
someOtherAttr hasValue...
In order to do this we need to be able to generate this partial
serialization, i.e., without encapsulating the whole thing within an
(anonymous?) ontology, etc (actually for primitive types I don't see how
we could do it). And the same way we need to be able to parse this back
for analysis.
Hope this clarifies what I understand by chunk.
Cheers,
Carlos
PS: I had some problems creating an anonymous ontology some time ago. Is
this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
Marin Dimitrov wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I second this request as we will need this for SUPER relatively soon.
</pre>
</blockquote>
<pre wrap="">but what is a "chunk" exactly?
best,
Marin
----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "
</pre>
</blockquote>
<pre wrap="">-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a>
_______________________________________________
wsmo4j-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wsmo4j-discuss@li...">wsmo4j-discuss@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss">https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a>
_______________________________________________ wsmo4j-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:wsmo4j-discuss@li...">wsmo4j-discuss@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss">https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Jacek Kopecky <jacek.kopecky@de...> - 2007-04-16 14:37
Ah, is the problem with the variability of the attribute type? Because
you don't have to declare attributes if you don't want to put
constraints on them, so the following is legal (as long as the use of
numbered IDs is legal, which I'm not quite sure about right now, but you
can generate unique IDs instead):
concept DataValue
hasParameter ofType _iri
// and EVO#hasValue without restrictions
instance someDataValue memberOf DataValue
hasParameter hasValue _"http://someIRI"
EVO#hasValue hasValue _#1
instance _#1 memberOf someConcept
ONTO#attr1 hasValue _string("some value")
ONTO#attr1 hasValue _integer(10)
For generating unique IDs, you can use UUID or, in case your app runs in
one place, something like http://oneplace.example/genid/1 and
increasing.
Hope I'm not misunderstanding something,
Jacek
On Mon, 2007-04-16 at 15:15 +0100, Carlos Pedrinaci wrote:
> To some extent yes. This raises however side-effects like the fact
> that the instances would not be self contained, which is quite
> desirable in my case, unless we can include inline definitions in
> WSML, can we?
> Probably this wouldn't be such a big issue anyway since you can't
> serialize instances without wrapping them with some ontology (one of
> the reasons why having anonymousIDs for ontologies would be quite
> handy).
>
> What would the definition of the concept DataValue look like in this
> case?
>
> Cheers,
> Carlos
>
> Jacek Kopecky wrote:
> > Hi Carlos, it seems to me that the value of EVO#hasValue should be
> > modeled directly, not as a re-parsed literal, don't you think? Seems to
> > me that you need what in RDF would be a bnode, which a number of RDF
> > syntaxes can describe inline, is that right?
> >
> > Or do you really need to represent it as a literal for later parsing?
> >
> > Best regards,
> > Jacek
> >
> > On Mon, 2007-04-16 at 12:19 +0100, Carlos Pedrinaci wrote:
> >
> > > Hi Holger,
> > > Thanks for your reply but I'm not sure I understand you correctly.
> > > I'm not concerned about the definition of the concept, this is, in my
> > > case, pretty standard. Just using the conceptual syntax would do it.
> > > What I don't know is how to define _values_ for instances so that they
> > > can be parsed by chunks, see EVO#hasValue below.
> > >
> > > Can we apply the same approach you mention more or less like this?
> > >
> > > someDataValue memberOf DataValue
> > > hasParameter hasValue _"http://someIRI"
> > > EVO#hasValue hasValue "_#1[ONTO#attr1 hasValue _string("some
> > > value"), ONTO#attr1 hasValue _integer(10)] memberOf someConcept"
> > >
> > > Cheers,
> > > Carlos
> > >
> > >
> > >
> > > Holger Lausen wrote:
> > >
> > > > Hi,
> > > >
> > > >
> > > >
> > > > > concept DataValue
> > > > > hasParameter ofType (1 1) _iri
> > > > > EVO#hasValue ofType (1 1) _string
> > > > >
> > > > >
> > > > If we take above as example without at least the namespace context it is
> > > > pretty useless. I am not quite sure, but I would guess that using
> > > > LogicalExpressionFacotry.createLogicalExpression(String expression,
> > > > TopEntity NamespaceContext) could solve your problem. Only thing is that
> > > > you would not use the conceptual syntax but rather the LE one:
> > > >
> > > > "DateValue[hasParameter ofType _iri, VO#hasValue ofType _string]"
> > > >
> > > >
> > >
> > > > Creating anonymous Ontologies is not supported in WSMO4J at present, you
> > > > would need to write an own helper that takes care of generating unique
> > > > URIs for that purpose.
> > > >
> > > > best
> > > > Holger
> > > >
> > > >
> > > >
> > > >
> > > > Carlos Pedrinaci wrote:
> > > >
> > > >
> > > > > In our case it's mainly going to be necessary for parsing the WSML
> > > > > serialzation as a string of values for some slots.
> > > > > The reason for this is that we need to store the values for inputs and
> > > > > outputs of processes, goals and services invocations within instances of
> > > > > the events ontology for monitoring.
> > > > > Since every process can have its own definition, and since we need to
> > > > > keep track of every single intermediate value, serializing the actual
> > > > > value as a string within an event instance is the only solution we came
> > > > > up with. It is pretty dirty but as of now I have no other idea about how
> > > > > to deal with it otherwise (suggestions are more than welcome).
> > > > >
> > > > > More specifically, we have this for storing values:
> > > > >
> > > > > concept DataValue
> > > > > hasParameter ofType (1 1) _iri
> > > > > EVO#hasValue ofType (1 1) _string
> > > > >
> > > > > The problems are (1) that what the value is depends on the user process,
> > > > > goal or service, and (2) that we need to store each an every
> > > > > intermediate value.
> > > > > So the idea is to put in the EVO#hasValue attribute the WSML
> > > > > serialization. Something like:
> > > > > _string("Example")
> > > > > _dateTime(2007,12,12,0,0,0)
> > > > >
> > > > > or even
> > > > >
> > > > > instance someInstance memberOf someInputConcept
> > > > > someAttr hasValue ...
> > > > > someOtherAttr hasValue...
> > > > >
> > > > >
> > > > > In order to do this we need to be able to generate this partial
> > > > > serialization, i.e., without encapsulating the whole thing within an
> > > > > (anonymous?) ontology, etc (actually for primitive types I don't see how
> > > > > we could do it). And the same way we need to be able to parse this back
> > > > > for analysis.
> > > > >
> > > > > Hope this clarifies what I understand by chunk.
> > > > > Cheers,
> > > > > Carlos
> > > > >
> > > > > PS: I had some problems creating an anonymous ontology some time ago. Is
> > > > > this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
> > > > >
> > > > > Marin Dimitrov wrote:
> > > > >
> > > > >
> > > > > > Carlos Pedrinaci wrote:
> > > > > >
> > > > > >
> > > > > > > Hi,
> > > > > > > I second this request as we will need this for SUPER relatively soon.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > but what is a "chunk" exactly?
> > > > > >
> > > > > > best,
> > > > > >
> > > > > > Marin
> > > > > >
> > > > > > ----
> > > > > > "...what you brought from your past, is of no use in your present. When
> > > > > > you must choose a new path, do not bring old experiences with you.
> > > > > > Those who strike out afresh, but who attempt to retain a little of the
> > > > > > old life, end up torn apart by their own memories. "
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > -------------------------------------------------------------------------
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > > > > opinions on IT & business topics through brief surveys-and earn cash
> > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > _______________________________________________
> > > > > wsmo4j-discuss mailing list
> > > > > wsmo4j-discuss@li...
> > > > > https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
> > > > >
> > > > >
> > > > >
> > > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________ wsmo4j-discuss mailing list wsmo4j-discuss@li... https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
> > >
> >
> >
> >
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________ wsmo4j-discuss mailing list wsmo4j-discuss@li... https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss
Re: [wsmo4j-discuss] [Fwd: [ wsmo4j-Feature Requests-1693482 ] parsing chunks]
Delete
From: Carlos Pedrinaci <c.pedrinaci@op...> - 2007-04-16 16:09
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, that's the main problem. I didn't know about the possibility to do
that...<br>
I'll drop the "inline definition" idea (I need an ontology anyway so..)
and your solution would hopefully do the job.<br>
I'm not sure about the _#1 neither and I have the feeling that it would
not work but again there are workarounds for this.<br>
<br>
Many thanks,<br>
Carlos<br>
<br>
Jacek Kopecky wrote:
<blockquote cite="mid1176734242.11093.30.camel@localhost" type="cite">
<pre wrap="">Ah, is the problem with the variability of the attribute type? Because
you don't have to declare attributes if you don't want to put
constraints on them, so the following is legal (as long as the use of
numbered IDs is legal, which I'm not quite sure about right now, but you
can generate unique IDs instead):
concept DataValue
hasParameter ofType _iri
// and EVO#hasValue without restrictions
instance someDataValue memberOf DataValue
hasParameter hasValue _<a class="moz-txt-link-rfc2396E" href="http://someIRI">"http://someIRI"</a>
EVO#hasValue hasValue _#1
instance _#1 memberOf someConcept
ONTO#attr1 hasValue _string("some value")
ONTO#attr1 hasValue _integer(10)
For generating unique IDs, you can use UUID or, in case your app runs in
one place, something like <a class="moz-txt-link-freetext" href="http://oneplace.example/genid/1">http://oneplace.example/genid/1</a> and
increasing.
Hope I'm not misunderstanding something,
Jacek
On Mon, 2007-04-16 at 15:15 +0100, Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">To some extent yes. This raises however side-effects like the fact
that the instances would not be self contained, which is quite
desirable in my case, unless we can include inline definitions in
WSML, can we?
Probably this wouldn't be such a big issue anyway since you can't
serialize instances without wrapping them with some ontology (one of
the reasons why having anonymousIDs for ontologies would be quite
handy).
What would the definition of the concept DataValue look like in this
case?
Cheers,
Carlos
Jacek Kopecky wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Carlos, it seems to me that the value of EVO#hasValue should be
modeled directly, not as a re-parsed literal, don't you think? Seems to
me that you need what in RDF would be a bnode, which a number of RDF
syntaxes can describe inline, is that right?
Or do you really need to represent it as a literal for later parsing?
Best regards,
Jacek
On Mon, 2007-04-16 at 12:19 +0100, Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Holger,
Thanks for your reply but I'm not sure I understand you correctly.
I'm not concerned about the definition of the concept, this is, in my
case, pretty standard. Just using the conceptual syntax would do it.
What I don't know is how to define _values_ for instances so that they
can be parsed by chunks, see EVO#hasValue below.
Can we apply the same approach you mention more or less like this?
someDataValue memberOf DataValue
hasParameter hasValue _<a class="moz-txt-link-rfc2396E" href="http://someIRI">"http://someIRI"</a>
EVO#hasValue hasValue "_#1[ONTO#attr1 hasValue _string("some
value"), ONTO#attr1 hasValue _integer(10)] memberOf someConcept"
Cheers,
Carlos
Holger Lausen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
</pre>
</blockquote>
<pre wrap="">If we take above as example without at least the namespace context it is
pretty useless. I am not quite sure, but I would guess that using
LogicalExpressionFacotry.createLogicalExpression(String expression,
TopEntity NamespaceContext) could solve your problem. Only thing is that
you would not use the conceptual syntax but rather the LE one:
"DateValue[hasParameter ofType _iri, VO#hasValue ofType _string]"
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Creating anonymous Ontologies is not supported in WSMO4J at present, you
would need to write an own helper that takes care of generating unique
URIs for that purpose.
best
Holger
Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">In our case it's mainly going to be necessary for parsing the WSML
serialzation as a string of values for some slots.
The reason for this is that we need to store the values for inputs and
outputs of processes, goals and services invocations within instances of
the events ontology for monitoring.
Since every process can have its own definition, and since we need to
keep track of every single intermediate value, serializing the actual
value as a string within an event instance is the only solution we came
up with. It is pretty dirty but as of now I have no other idea about how
to deal with it otherwise (suggestions are more than welcome).
More specifically, we have this for storing values:
concept DataValue
hasParameter ofType (1 1) _iri
EVO#hasValue ofType (1 1) _string
The problems are (1) that what the value is depends on the user process,
goal or service, and (2) that we need to store each an every
intermediate value.
So the idea is to put in the EVO#hasValue attribute the WSML
serialization. Something like:
_string("Example")
_dateTime(2007,12,12,0,0,0)
or even
instance someInstance memberOf someInputConcept
someAttr hasValue ...
someOtherAttr hasValue...
In order to do this we need to be able to generate this partial
serialization, i.e., without encapsulating the whole thing within an
(anonymous?) ontology, etc (actually for primitive types I don't see how
we could do it). And the same way we need to be able to parse this back
for analysis.
Hope this clarifies what I understand by chunk.
Cheers,
Carlos
PS: I had some problems creating an anonymous ontology some time ago. Is
this just semantically wrong in WSMO/L or is this an issue in WSMO4J?
Marin Dimitrov wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Carlos Pedrinaci wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I second this request as we will need this for SUPER relatively soon.
</pre>
</blockquote>
<pre wrap="">but what is a "chunk" exactly?
best,
Marin
----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "
</pre>
</blockquote>
<pre wrap="">-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a>
_______________________________________________
wsmo4j-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wsmo4j-discuss@li...">wsmo4j-discuss@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss">https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a>
_______________________________________________ wsmo4j-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:wsmo4j-discuss@li...">wsmo4j-discuss@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss">https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a>
_______________________________________________ wsmo4j-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:wsmo4j-discuss@li...">wsmo4j-discuss@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss">https://lists.sourceforge.net/lists/listinfo/wsmo4j-discuss</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>