Hi
Please do not harass us to answer your questions, we work on this project in
our spare time and have many work and personal commitments besides this
project. Also we are very often in a different timezone to you so there may
often be a substantial delay between when you send your email and when we
are actually able to answer.
Also unless your question contains confidential data that you cannot make
public please send questions to the support list rather than to developers
directly so that all users can benefit from the questions and answers.
Thanks for your understanding,
Rob Vesse
From: Nagabhushan bhushan <bhu...@gm...>
Date: Thursday, August 9, 2012 9:38 PM
To: Cray Employee <rv...@do...>
Subject: Re: DotNetRDF support
> Hi Rob,
>
> Could you please reply to my email earlier ? I need to make some progress
> using this library.
>
> Best Regards
> bhushan
>
> On Thu, Aug 9, 2012 at 1:59 PM, Nagabhushan bhushan
> <bhu...@gm...> wrote:
>> Hi Rob,
>>
>>
>> Can you please send me some example for using the RDF list. I searched your
>> site and could not locate any example.
>> Also, I require couple of clarification here
>>
>> code snippet :-
>>
>> Graph trsgraph = new Graph();
>>
>> trsgraph.NamespaceMap.AddNamespace("ts", new
>> Uri("http://abc.net//ts#"));
>>
>> IUriNode trdf = trsgraph.CreateUriNode(UriFactory.Create(sPath));
>> IUriNode baseuri =
>> trsgraph.CreateUriNode(UriFactory.Create(sbaseuri));
>> IUriNode changeurinode = trsgraph.CreateUriNode("rdf:nil");
>> IUriNode basenode= trsgraph.CreateUriNode("ts:base111");
>> IUriNode changenode= trsgraph.CreateUriNode("ts:change");
>> IUriNode rdftype1= trsgraph.CreateUriNode("rdf:type");
>> IUriNode resourceset= trsgraph.CreateUriNode("ts:ResourceSet");
>>
>>
>> trsgraph.Assert(new Triple(trdf , basenode, baseuri));
>> trsgraph.Assert(new Triple(trdf , changenode, changeurinode));
>> trsgraph.Assert(new Triple(trdf , rdftype1, resourceset));
>>
>> 1) Is there any other way to add tripe to graph other than using Assert
>> statement. I thought Assert will display a message box if some failure
>> happen.
>> If so, then we need not have this behaviour since the service which returns
>> rdf runs as service
>>
>> 2) I am not able to see the rdftype1 triple in the generated rdf. It is
>> changing the namespace of the earlier node rather than having separate node
>> entry for this ?
>> The output is as shown below
>>
>> <rdf:RDF>
>> <ts:ResourceSetrdf:about="http://localhost:8889/aaa/bbb/ccc">
>> <ts:base111 rdf:resource="http://localhost:8889/aaa/bbb/ccc/1"/>
>> <ts:change rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
>> </ts:ResourceSet>
>> </rdf:RDF>
>>
>>
>> I want the output as given below. I want the output for <rdf:type
>> rdf:resource="http://abc.net//ts#"/> to come in rdf but it is not coming as
>> shown above
>> Do, I need to some code change for this to happen ?
>>
>> <rdf:RDF>
>> <rdf:Description rdf:about="http://localhost:8889/aaa/bbb/ccc">
>> <ts:base111 rdf:resource="http://localhost:8889/aaa/bbb/ccc/1"/>
>> <ts:change rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
>> <rdf:type rdf:resource="http://abc.net//ts#"/>
>> </rdf:Description>
>> </rdf:RDF>
>>
>> Best Regards
>> Bhushan
>>
>>
>> On Mon, Aug 6, 2012 at 10:14 PM, Rob Vesse <rv...@do...> wrote:
>>> Hi Bhushan
>>>
>>> Yes the library does have support for RDF lists see some of the methods in
>>> the Extensions [1] class for this
>>>
>>> I've added a page to the website giving an overview of this [2]
>>>
>>> Regards,
>>>
>>> Rob
>>>
>>> [1] http://www.dotnetrdf.org/api/index.asp?Topic=VDS.RDF.Extensions
>>> [2] http://www.dotnetrdf.org/content.asp?pageID=Typed%20Values%20and%20Lists
>>>
>>> From: Nagabhushan bhushan <bhu...@gm...>
>>> Date: Monday, August 6, 2012 5:21 AM
>>> To: Cray Employee <rv...@do...>
>>> Subject: DotNetRDF support
>>>
>>>> Hi,
>>>>
>>>> I wanted to check with you whether do you have support for RDF lists in
>>>> your library ?
>>>>
>>>> Best Regards
>>>> Bhushan
>>
>
|