You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
(3) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(9) |
Dec
(4) |
2011 |
Jan
(1) |
Feb
(6) |
Mar
(9) |
Apr
(9) |
May
(20) |
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
(3) |
Nov
(13) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(12) |
Mar
(5) |
Apr
(8) |
May
|
Jun
(25) |
Jul
(7) |
Aug
(4) |
Sep
(14) |
Oct
(5) |
Nov
(22) |
Dec
(6) |
2013 |
Jan
(18) |
Feb
(28) |
Mar
(11) |
Apr
(18) |
May
(4) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
(4) |
Oct
(4) |
Nov
(6) |
Dec
(7) |
2014 |
Jan
(9) |
Feb
(15) |
Mar
(14) |
Apr
(7) |
May
(5) |
Jun
(15) |
Jul
(2) |
Aug
(6) |
Sep
(5) |
Oct
(7) |
Nov
(9) |
Dec
(16) |
2015 |
Jan
(4) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
(15) |
Jul
(8) |
Aug
|
Sep
(4) |
Oct
|
Nov
(4) |
Dec
(4) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
(5) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Rob V. <rv...@do...> - 2014-08-19 22:30:53
|
Chad dotNetRDF may produce such RDF/XML but then it may not. See the email thread at http://sourceforge.net/p/dotnetrdf/mailman/message/32563380/ for some discussion around this, essentially it comes down to the fact that we prefer round trip correctness over readability so we provide limited configurability of the RDF writer. With an appropriate Graph created with the relevant triples and using the RDF/XML writer with the compression level turned up to high dotNetRDF may well produce that specific RDF/XML but it still may not. In your specific example you will need to ensure that you are using blank nodes as the intermediate nodes and ensuring that all the appropriate rdf:type triples are present RDF/XML provides multiple ways to encode the same graph and dotNetRDF will use whichever it decides is the most appropriate and most likely to round trip correctly. See https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Writing%20RDF#!adva nced-usage for how to set the compression level, note that you can also set Options.DefaultCompressionLevel if your code won't have direct access to the write (see https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Global%20Options#!w riting-options). As I stated in the email thread I linked earlier if a system relies on a specific format of RDF/XML then that is a bug in that system, a proper RDF system should only care about the underlying triples and the specific serialisation should be irrelevant. Rob From: Chad Cluff <cc...@bs...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, 19 August 2014 14:58 To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] Creating nested RDF/xml > I am trying to programmatically create a graph which will then export with > nested RDF/xml elements. > > For example, I would like my output to look something like this: > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <bf:Instance xmlns:bf="http://bibframe.org/vocab/" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > rdf:about="http://bibframe.org/resources/backstage/3389308instance24"> > <bf:publication> > <bf:Provider> > <bf:providerDate>1987</bf:providerDate> > </bf:Provider> > </bf:publication> > </bf:Instance> > </rdf:RDF> > > Is there any way to make this work with dotnetrdf? > > > Thanks, > > Chad > > -- > Chad Cluff > IT/Programming Manager > Backstage Library Works > 800-288-1265 x696 > cc...@bs... > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that matters. > http://tv.slashdot.org/_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Chad C. <cc...@bs...> - 2014-08-19 22:11:12
|
I am trying to programmatically create a graph which will then export with nested RDF/xml elements. For example, I would like my output to look something like this: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <bf:Instance xmlns:bf="http://bibframe.org/vocab/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" rdf:about="http://bibframe.org/resources/backstage/3389308instance24"> <bf:publication> <bf:Provider> <bf:providerDate>1987</bf:providerDate> </bf:Provider> </bf:publication> </bf:Instance> </rdf:RDF> Is there any way to make this work with dotnetrdf? Thanks, Chad -- Chad Cluff IT/Programming Manager Backstage Library Works 800-288-1265 x696 cc...@bs... |
From: Jason H. <JH...@bc...> - 2014-08-19 14:28:53
|
I used nuget to install dotNetRdf into an existing .net 4.5 project that reads rss feeds. It installed version 1.0.3.0. Once loaded, the app throws the following error: Could not load file or assembly 'dotNetRDF, Version=1.0.3.0, Culture=neutral, PublicKeyToken=6055ffe4c97cc780' or one of its dependencies. The system cannot find the file specified. The only thing I can find online is this: http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=298. Didn't seem entirely relevant since it's concerning older versions of everything, but I try manually installing (via nuget) the latest vds common package. Here's the output of nuget if that helps. I'll be happy to provide any other information too. PM> Install-Package vds.common 'VDS.Common 1.3.0' already installed. Adding 'VDS.Common 1.3.0' to RSSReaderServiceModule. Successfully added 'VDS.Common 1.3.0' to RSSReaderServiceModule. PM> Install-Package dotNetRDF Attempting to resolve dependency 'VDS.Common (= 1.3.0)'. Attempting to resolve dependency 'Newtonsoft.Json (≥ 6.0.3)'. Attempting to resolve dependency 'HtmlAgilityPack (≥ 1.4.6)'. 'dotNetRDF 1.0.6.3421' already installed. Adding 'Newtonsoft.Json 6.0.4' to RSSReaderServiceModule. Successfully added 'Newtonsoft.Json 6.0.4' to RSSReaderServiceModule. Adding 'HtmlAgilityPack 1.4.6' to RSSReaderServiceModule. Successfully added 'HtmlAgilityPack 1.4.6' to RSSReaderServiceModule. Adding 'dotNetRDF 1.0.6.3421' to RSSReaderServiceModule. Successfully added 'dotNetRDF 1.0.6.3421' to RSSReaderServiceModule. Thanks Jason Harris Buffalo Computer Graphics |
From: Rob V. <rv...@do...> - 2014-08-08 09:02:45
|
Hi All We're pleased to announce the release of dotNetRDF 1.0.6 (Build 1.0.6.3421) - http://www.dotnetrdf.org/blogitem.asp?blogID=83 This is a minor bug fix and stability release that includes fixes to SPARQL sub-query evaluation, SPARQL JSON results parsing and Stardog 2.2 compatibility improvements. You can get the latest release by going to Download dotNetRDF <http://www.dotnetrdf.org/content.asp?pageID=Download%20dotNetRDF> on our website or via any of the usual channels - NuGet, CodePlex, SourceForge and BitBucket Thanks as always to everyone who has contributed bug reports and patches to this release Cheers, Rob Vesse |
From: Rob V. <rv...@do...> - 2014-07-01 13:22:59
|
dotNetRDF provides minimal control over how the RDF/XML is generated, as you have noticed RDF/XML can serialise the same graph multiple ways. Getting serialisation correct is far more important to us than any concerns about readability. RDF/XML was never designed as a readable format and should not be treated as such. You can try tweaking the CompressionLevel property of the RdfXmlWriter to a higher value (10 is highest) but this will likely make little difference to the output for the graph you have shown. As you point out the triples are the same so the serialisation is irrelevant. My advice is that whatever RDF tools you are using is to ignore the serialisation and only worry about the triples. Rob From: Mehdi Abbasi <mhd...@gm...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, 1 July 2014 13:39 To: dotNetRDF User Help and Support <dot...@li...> Subject: Re: [dotNetRDF-Support] skos/rdf > Thanks for your help. I'm trying to skosify my data and use SKOS ontology. > > There is another question. I make this xml file with rdfxmlwriter: > <?xml version="1.0"?> > 2: <rdf:RDF xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > xmlns:skos="http://www.w3.org/2004/02/skos/core#" > xmlns:dc="http://purl.org/dc/terms/" > xmlns:owl="http://www.w3.org/2006/12/owl2#" > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > 3: <skos:collection rdf:about="http://example.org/vehicles/Car/"> > 4: <skos:prefLabel>All Car</skos:prefLabel> > 5: <skos:member rdf:resource="http://example.org/vehicles/Car/AudiA8/" /> > 6: </skos:collection> > 7: <skos:concept rdf:about="http://example.org/vehicles/Car/AudiA8/"> > 8: <owl:versionInfo>1</owl:versionInfo> > 9: </skos:concept>10: </rdf:RDF> > But I need to make xml in this order (red part): > <?xml version="1.0"?> > 2: <rdf:RDF xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > xmlns:skos="http://www.w3.org/2004/02/skos/core#" > xmlns:dc="http://purl.org/dc/terms/" > xmlns:owl="http://www.w3.org/2006/12/owl2#" > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > 3: <skos:collection rdf:about="http://example.org/vehicles/Car/"> > 4: <skos:prefLabel>All Car</skos:prefLabel> > 5: <skos:member> > 6: <skos:concept rdf:about="http://example.org/vehicles/Car/AudiA8/"> > 7: <owl:versionInfo>1</owl:versionInfo> > 8: </skos:concept>9: </skos:member> > 10: </skos:collection> > 11: </rdf:RDF> > I've checked both xml by rdf validator and both triples are the same. How can > I create second RDF/XML? > Thanks again for your support. > > > On Mon, Jun 30, 2014 at 12:28 PM, Rob Vesse <rv...@do...> wrote: >> Mehdi >> >> Uldis is quite correct, the SKOS reasoner only works when provided with a >> basic SKOS ontology as part of its configuration and when the data being >> reasoned over has some SKOS elements. It looks like there is no relevant >> SKOS information in your data (and you didn't show your schema) that can >> be used to reason additional triples >> >> You should instead manually convert your data via code or use a SPARQL >> update to do this >> >> Rob >> >> On 30/06/2014 10:45, "Uldis Bojars" <cap...@gm...> wrote: >> >>> >A reasoner is probably meant for reasoning over SKOS data, but your >>> >source data is in some other (ex:vehicleType, ...) ontology, not in >>> >SKOS. You need to convert the data yourself. >>> > >>> >I don't know how to code that in dotNetRDF but the conversion should >>> >be simple enough: iterate through all the resources you need to >>> >convert (http://myvehicledata.com/AudiA8, ...) and create new triples >>> >in the form needed. >>> > >>> >Uldis >>> > >>> > >>> >On 27 June 2014 11:19, Mehdi Abbasi <mhd...@gm...> wrote: >>>> >> Hi Dear, >>>> >> >>>> >> I see this RDF/xml with dotnetrdf : >>>> >> >>>> >> <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> >>>> >> </rdf:Description> >>>> >> <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> >>>> >> </rdf:Description> >>>> >> <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> >>>> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> >>>> >> </rdf:Description> >>>> >> </rdf:RDF> >>>> >> >>>> >> But I need to make a skos/rdf like this: >>>> >> <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> >>>> >> <skos:broader rdf:resource="http://example.org/vehicles/Car"/> >>>> >> <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> >>>> >> </skos:Collection> .... >>>> >> >>>> >> I try to use SkosReasoner like this: >>>> >> StaticSkosReasoner reasoner = new StaticSkosReasoner(); >>>> >> reasoner.Initialise(schema); >>>> >> reasoner.Apply(data); >>>> >> >>>> >> But it does'nt wotk. Is it possible to help me how can generate this >>>> >> skos/rdf? >>>> >> >>>> >> Thank you for your help. >>>> >> -- >>>> >> Best regards, >>>> >> Mehdi Abbasi >>>> >> >>>> >> >>>> >> >>>> >> >>>> >>------------------------------------------------------------------------- >>>> >>----- >>>> >> Open source business process management suite built on Java and Eclipse >>>> >> Turn processes into business applications with Bonita BPM Community >>>> >>Edition >>>> >> Quickly connect people, data, and systems into organized workflows >>>> >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>>> >> http://p.sf.net/sfu/Bonitasoft >>>> >> _______________________________________________ >>>> >> dotNetRDF-Support mailing list >>>> >> dot...@li... >>>> >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >>>> >> >>> > >>> >-------------------------------------------------------------------------- >>> >---- >>> >Open source business process management suite built on Java and Eclipse >>> >Turn processes into business applications with Bonita BPM Community >>> >Edition >>> >Quickly connect people, data, and systems into organized workflows >>> >Winner of BOSSIE, CODIE, OW2 and Gartner awards >>> >http://p.sf.net/sfu/Bonitasoft >>> >_______________________________________________ >>> >dotNetRDF-Support mailing list >>> >dot...@li... >>> >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >> >> >> >> >> >> ----------------------------------------------------------------------------->> - >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> dotNetRDF-Support mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > > > -- > Best regards, > Mehdi Abbasi > > Mølleåparken 6, 3K > 2800 Kongens Lyngby > Copenhagen, Denmark > > Tlf: 0045 31 45 35 01 > Skype: mhd.abbassi > http://dk.linkedin.com/pub/mehdi-abbasi/4a/551/a34 > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse Turn > processes into business applications with Bonita BPM Community Edition Quickly > connect people, data, and systems into organized workflows Winner of BOSSIE, > CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Mehdi A. <mhd...@gm...> - 2014-07-01 12:39:47
|
Thanks for your help. I'm trying to skosify my data and use SKOS ontology. There is another question. I make this xml file with rdfxmlwriter: <?xml version="1.0"?>2: <rdf:RDF xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:dc="http://purl.org/dc/terms/" xmlns:owl="http://www.w3.org/2006/12/owl2#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">3: <skos:collection rdf:about="http://example.org/vehicles/Car/">4: <skos:prefLabel>All Car</skos:prefLabel>5: <skos:member rdf:resource="http://example.org/vehicles/Car/AudiA8/" />6: </skos:collection>7: <skos:concept rdf:about="http://example.org/vehicles/Car/AudiA8/">8: <owl:versionInfo>1</owl:versionInfo>9: </skos:concept>10: </rdf:RDF> But I need to make xml in this order (red part): <?xml version="1.0"?>2: <rdf:RDF xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:dc="http://purl.org/dc/terms/" xmlns:owl="http://www.w3.org/2006/12/owl2#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">3: <skos:collection rdf:about="http://example.org/vehicles/Car/">4: <skos:prefLabel>All Car</skos:prefLabel>5: <skos:member>6: <skos:concept rdf:about="http://example.org/vehicles/Car/AudiA8/">7: <owl:versionInfo>1</owl:versionInfo>8: </skos:concept>9: </skos:member>10: </skos:collection>11: </rdf:RDF> I've checked both xml by rdf validator and both triples are the same. How can I create second RDF/XML? Thanks again for your support. On Mon, Jun 30, 2014 at 12:28 PM, Rob Vesse <rv...@do...> wrote: > Mehdi > > Uldis is quite correct, the SKOS reasoner only works when provided with a > basic SKOS ontology as part of its configuration and when the data being > reasoned over has some SKOS elements. It looks like there is no relevant > SKOS information in your data (and you didn't show your schema) that can > be used to reason additional triples > > You should instead manually convert your data via code or use a SPARQL > update to do this > > Rob > > On 30/06/2014 10:45, "Uldis Bojars" <cap...@gm...> wrote: > > >A reasoner is probably meant for reasoning over SKOS data, but your > >source data is in some other (ex:vehicleType, ...) ontology, not in > >SKOS. You need to convert the data yourself. > > > >I don't know how to code that in dotNetRDF but the conversion should > >be simple enough: iterate through all the resources you need to > >convert (http://myvehicledata.com/AudiA8, ...) and create new triples > >in the form needed. > > > >Uldis > > > > > >On 27 June 2014 11:19, Mehdi Abbasi <mhd...@gm...> wrote: > >> Hi Dear, > >> > >> I see this RDF/xml with dotnetrdf : > >> > >> <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> > >> </rdf:Description> > >> <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> > >> </rdf:Description> > >> <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> > >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> > >> </rdf:Description> > >> </rdf:RDF> > >> > >> But I need to make a skos/rdf like this: > >> <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> > >> <skos:broader rdf:resource="http://example.org/vehicles/Car"/> > >> <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> > >> </skos:Collection> .... > >> > >> I try to use SkosReasoner like this: > >> StaticSkosReasoner reasoner = new StaticSkosReasoner(); > >> reasoner.Initialise(schema); > >> reasoner.Apply(data); > >> > >> But it does'nt wotk. Is it possible to help me how can generate this > >> skos/rdf? > >> > >> Thank you for your help. > >> -- > >> Best regards, > >> Mehdi Abbasi > >> > >> > >> > >> > >>------------------------------------------------------------------------- > >>----- > >> Open source business process management suite built on Java and Eclipse > >> Turn processes into business applications with Bonita BPM Community > >>Edition > >> Quickly connect people, data, and systems into organized workflows > >> Winner of BOSSIE, CODIE, OW2 and Gartner awards > >> http://p.sf.net/sfu/Bonitasoft > >> _______________________________________________ > >> dotNetRDF-Support mailing list > >> dot...@li... > >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > >> > > > >-------------------------------------------------------------------------- > >---- > >Open source business process management suite built on Java and Eclipse > >Turn processes into business applications with Bonita BPM Community > >Edition > >Quickly connect people, data, and systems into organized workflows > >Winner of BOSSIE, CODIE, OW2 and Gartner awards > >http://p.sf.net/sfu/Bonitasoft > >_______________________________________________ > >dotNetRDF-Support mailing list > >dot...@li... > >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > -- Best regards, *Mehdi Abbasi* Mølleåparken 6, 3K 2800 Kongens Lyngby Copenhagen, Denmark *Tlf: 0045 31 45 35 01* *Skype: mhd.abbassi* *http://dk.linkedin.com/pub/mehdi-abbasi/4a/551/a34 <http://dk.linkedin.com/pub/mehdi-abbasi/4a/551/a34>* |
From: Rob V. <rv...@do...> - 2014-06-30 10:29:22
|
Mehdi Uldis is quite correct, the SKOS reasoner only works when provided with a basic SKOS ontology as part of its configuration and when the data being reasoned over has some SKOS elements. It looks like there is no relevant SKOS information in your data (and you didn't show your schema) that can be used to reason additional triples You should instead manually convert your data via code or use a SPARQL update to do this Rob On 30/06/2014 10:45, "Uldis Bojars" <cap...@gm...> wrote: >A reasoner is probably meant for reasoning over SKOS data, but your >source data is in some other (ex:vehicleType, ...) ontology, not in >SKOS. You need to convert the data yourself. > >I don't know how to code that in dotNetRDF but the conversion should >be simple enough: iterate through all the resources you need to >convert (http://myvehicledata.com/AudiA8, ...) and create new triples >in the form needed. > >Uldis > > >On 27 June 2014 11:19, Mehdi Abbasi <mhd...@gm...> wrote: >> Hi Dear, >> >> I see this RDF/xml with dotnetrdf : >> >> <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> >> </rdf:Description> >> <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> >> </rdf:Description> >> <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> >> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> >> </rdf:Description> >> </rdf:RDF> >> >> But I need to make a skos/rdf like this: >> <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> >> <skos:broader rdf:resource="http://example.org/vehicles/Car"/> >> <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> >> </skos:Collection> .... >> >> I try to use SkosReasoner like this: >> StaticSkosReasoner reasoner = new StaticSkosReasoner(); >> reasoner.Initialise(schema); >> reasoner.Apply(data); >> >> But it does'nt wotk. Is it possible to help me how can generate this >> skos/rdf? >> >> Thank you for your help. >> -- >> Best regards, >> Mehdi Abbasi >> >> >> >> >>------------------------------------------------------------------------- >>----- >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >>Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> dotNetRDF-Support mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >> > >-------------------------------------------------------------------------- >---- >Open source business process management suite built on Java and Eclipse >Turn processes into business applications with Bonita BPM Community >Edition >Quickly connect people, data, and systems into organized workflows >Winner of BOSSIE, CODIE, OW2 and Gartner awards >http://p.sf.net/sfu/Bonitasoft >_______________________________________________ >dotNetRDF-Support mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Uldis B. <cap...@gm...> - 2014-06-30 09:45:26
|
A reasoner is probably meant for reasoning over SKOS data, but your source data is in some other (ex:vehicleType, ...) ontology, not in SKOS. You need to convert the data yourself. I don't know how to code that in dotNetRDF but the conversion should be simple enough: iterate through all the resources you need to convert (http://myvehicledata.com/AudiA8, ...) and create new triples in the form needed. Uldis On 27 June 2014 11:19, Mehdi Abbasi <mhd...@gm...> wrote: > Hi Dear, > > I see this RDF/xml with dotnetrdf : > > <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> > <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> > <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> > </rdf:Description> > <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> > <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> > <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> > <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> > </rdf:Description> > <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> > <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> > <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> > </rdf:Description> > </rdf:RDF> > > But I need to make a skos/rdf like this: > <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> > <skos:broader rdf:resource="http://example.org/vehicles/Car"/> > <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> > </skos:Collection> .... > > I try to use SkosReasoner like this: > StaticSkosReasoner reasoner = new StaticSkosReasoner(); > reasoner.Initialise(schema); > reasoner.Apply(data); > > But it does'nt wotk. Is it possible to help me how can generate this > skos/rdf? > > Thank you for your help. > -- > Best regards, > Mehdi Abbasi > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > |
From: Mehdi A. <mhd...@gm...> - 2014-06-27 08:39:27
|
Hi Dear, I see this RDF/xml with dotnetrdf : <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> </rdf:RDF> But I need to make a skos/rdf like this: <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> <skos:broader rdf:resource="http://example.org/vehicles/Car"/> <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> </skos:Collection> .... I try to use SkosReasoner like this: StaticSkosReasoner reasoner = new StaticSkosReasoner(); reasoner.Initialise(schema); reasoner.Apply(data); But it does'nt wotk. Is it possible to help me how can generate this skos/rdf? Thank you for your help. -- Best regards, *Mehdi Abbasi* |
From: Mehdi A. <mhd...@gm...> - 2014-06-27 08:19:39
|
Hi Dear, I see this RDF/xml with dotnetrdf : <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> </rdf:RDF> But I need to make a skos/rdf like this: <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> <skos:broader rdf:resource="http://example.org/vehicles/Car"/> <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> </skos:Collection> .... I try to use SkosReasoner like this: StaticSkosReasoner reasoner = new StaticSkosReasoner(); reasoner.Initialise(schema); reasoner.Apply(data); But it does'nt wotk. Is it possible to help me how can generate this skos/rdf? Thank you for your help. -- Best regards, *Mehdi Abbasi* |
From: Tavi T. <tav...@it...> - 2014-06-10 10:15:48
|
Thank you! Tavi Tavi Thurmond Sr. .NET Architect/Engineer ITSourceTek 408-398-9143 On Tue, Jun 10, 2014 at 3:07 AM, Rob Vesse <rv...@do...> wrote: > Tavi > > I've added an example of using the API to do this to the wiki - > https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/HowTo/Reifiy%20Triples.wiki#!reify-triples > > Rob > > From: Rob Vesse <rv...@do...> > > Reply-To: dotNetRDF User Help and Support < > dot...@li...> > Date: Tuesday, 10 June 2014 10:45 > > To: dotNetRDF User Help and Support < > dot...@li...> > Cc: <tav...@it...> > Subject: Re: [dotNetRDF-Support] How to create Reified Statements? > > Tavi > > A reified statement is just a set of triples expressed using the > appropriate RDF terms. > > So given a graph like so in Turtle format: > > @prefix : <http://example.org> . > > :s :p :o . > > The reified form is just the following graph: > > @prefix : <http://example.org> . > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > > [] a rdf:Statement ; > rdf:subject :s ; > rdf:predicate :p ; > rdf:object :o . > > In terms of the API there is no specific support for reification you just > need to assert the appropriate triples into your graph. > > Rob > > From: Tavi Thurmond <tav...@it...> > Reply-To: dotNetRDF User Help and Support < > dot...@li...> > Date: Wednesday, 4 June 2014 03:30 > To: <dot...@li...> > Subject: [dotNetRDF-Support] How to create Reified Statements? > > Hello all - can someone provide an example of how to use the API to > generate Reified Statements? > > Thanks! > > Tavi Truman > Sr. .NET Architect/Engineer > ITSourceTek > 408-398-9143 > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is > the definitive new guide to graph databases and their applications. Written > by three acclaimed leaders in the field, this first edition is now > available. Download your free book today! > http://p.sf.net/sfu/NeoTech_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems Open Source. > Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for > Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > |
From: Tavi T. <tav...@it...> - 2014-06-10 10:14:24
|
Hello Rob and thanks for getting back to me, I know you are very busy. Yes, I figured that out that I needed to create the RDF context. We have a very large project on going where we are using the dotnetrdf api to produce RDF/RDFS and OWL productions and we store them in BrightStarDB. Great work and its very much apperciated. Tavi Tavi Thurmond Sr. .NET Architect/Engineer ITSourceTek 408-398-9143 On Tue, Jun 10, 2014 at 2:45 AM, Rob Vesse <rv...@do...> wrote: > Tavi > > A reified statement is just a set of triples expressed using the > appropriate RDF terms. > > So given a graph like so in Turtle format: > > @prefix : <http://example.org> . > > :s :p :o . > > The reified form is just the following graph: > > @prefix : <http://example.org> . > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > > [] a rdf:Statement ; > rdf:subject :s ; > rdf:predicate :p ; > rdf:object :o . > > In terms of the API there is no specific support for reification you just > need to assert the appropriate triples into your graph. > > Rob > > From: Tavi Thurmond <tav...@it...> > Reply-To: dotNetRDF User Help and Support < > dot...@li...> > Date: Wednesday, 4 June 2014 03:30 > To: <dot...@li...> > Subject: [dotNetRDF-Support] How to create Reified Statements? > > Hello all - can someone provide an example of how to use the API to > generate Reified Statements? > > Thanks! > > Tavi Truman > Sr. .NET Architect/Engineer > ITSourceTek > 408-398-9143 > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is > the definitive new guide to graph databases and their applications. Written > by three acclaimed leaders in the field, this first edition is now > available. Download your free book today! > http://p.sf.net/sfu/NeoTech_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > |
From: Rob V. <rv...@do...> - 2014-06-10 10:08:02
|
Tavi I've added an example of using the API to do this to the wiki - https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/HowTo/Reifiy%20Triples.wiki#! reify-triples Rob From: Rob Vesse <rv...@do...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, 10 June 2014 10:45 To: dotNetRDF User Help and Support <dot...@li...> Cc: <tav...@it...> Subject: Re: [dotNetRDF-Support] How to create Reified Statements? > Tavi > > A reified statement is just a set of triples expressed using the appropriate > RDF terms. > > So given a graph like so in Turtle format: > > @prefix : <http://example.org> . > > :s :p :o . > > The reified form is just the following graph: > > @prefix : <http://example.org> . > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > > [] a rdf:Statement ; > rdf:subject :s ; > rdf:predicate :p ; > rdf:object :o . > > In terms of the API there is no specific support for reification you just need > to assert the appropriate triples into your graph. > > Rob > > From: Tavi Thurmond <tav...@it...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Wednesday, 4 June 2014 03:30 > To: <dot...@li...> > Subject: [dotNetRDF-Support] How to create Reified Statements? > >> Hello all - can someone provide an example of how to use the API to generate >> Reified Statements? >> >> Thanks! >> >> Tavi Truman >> Sr. .NET Architect/Engineer >> ITSourceTek >> 408-398-9143 >> ----------------------------------------------------------------------------- >> - Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is >> the definitive new guide to graph databases and their applications. Written >> by three acclaimed leaders in the field, this first edition is now available. >> Download your free book today! >> http://p.sf.net/sfu/NeoTech_______________________________________________ >> dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find > What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. > Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast > Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-06-10 09:46:46
|
Tavi A reified statement is just a set of triples expressed using the appropriate RDF terms. So given a graph like so in Turtle format: @prefix : <http://example.org> . :s :p :o . The reified form is just the following graph: @prefix : <http://example.org> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . [] a rdf:Statement ; rdf:subject :s ; rdf:predicate :p ; rdf:object :o . In terms of the API there is no specific support for reification you just need to assert the appropriate triples into your graph. Rob From: Tavi Thurmond <tav...@it...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Wednesday, 4 June 2014 03:30 To: <dot...@li...> Subject: [dotNetRDF-Support] How to create Reified Statements? > Hello all - can someone provide an example of how to use the API to generate > Reified Statements? > > Thanks! > > Tavi Truman > Sr. .NET Architect/Engineer > ITSourceTek > 408-398-9143 > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the > definitive new guide to graph databases and their applications. Written by > three acclaimed leaders in the field, this first edition is now available. > Download your free book today! > http://p.sf.net/sfu/NeoTech_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-06-05 09:00:02
|
Ah so that makes a lot more sense now Yes GetUriNode() will be slow because it is a linear scan of the data and is not indexed in any way so yes the performance will degrade depending where in the in-memory data structures the given URI occurs. Since it looks like you are already extracting the URIs from the data somehow (you omitted the GetComponentUris() method from the code you sent) then you already know that the URI exists in the data. Therefore it is much better to simply use CreateUriNode() instead which will be a constant time operation. Eventually the GetXNode() methods will be removed from the API in part because of this performance issue and also because they only returns nodes if they exist in the subject/object position. Future releases will mark these methods as obsolete Rob From: Redouane Bali <red...@is...> Date: Wednesday, 4 June 2014 18:29 To: Rob Vesse <rv...@do...> Subject: [DotNetRdf] GetUriNode(Uri) execution time > Hi, > > My data is 'CIM' format > ( http://en.wikipedia.org/wiki/Common_Information_Model_(electricity) «The CIM > can be used to derive 'design artifacts' (e.g. XML Schema > <http://en.wikipedia.org/wiki/XML_Schema> , RDF Schema > <http://en.wikipedia.org/wiki/RDF_Schema> ) as needed for the integration of > related application software > <http://en.wikipedia.org/wiki/Application_software> .» ) > > The file I'm working on is about 4mo and my graph contains 59943 triples. > > There is in this pdf an example of a strange behavior about GetUriNode > increasing execution time. At the beginning, the graph is able to perform this > method in few ms, but in the last iterations, it takes about 80ms. > I hope you'll understand. > > Have a good day. > > PS : Effectively, the performance is about 25% better without using visual > studio. > > -- > Redouane Bali > 06.62.58.06.64 |
From: Rob V. <rv...@do...> - 2014-06-04 15:32:53
|
Hi Redouane First off it is hard to offer accurate advice with a complete example I.e. sample data and code as well as your SPARQL query. I'm assuming your data is in RDF/XML format when you say it is XML? RDF/XML is not our fastest parser so loading it into an in-memory graph can take some time, without knowing what you are counting as a bigger file it is hard to say whether 5 minutes is unreasonable or not. As for your query there does not look to be anything particularly wrong with it. I would guess that you have far more rdf:type cim:VoltageLevel statements in your data than you do cim:VoltageLevel.Substation statements however the SPARQL engine should be doing an indexed join so this shouldn't cause any performance issues. The position of the triples in the file should be entirely irrelevant to query performance. Our in-memory graphs are fully indexed so all lookups should be on the order of O(log n) so the performance variance must be caused by either the shape of your data (are results later in the loop more likely to produce more results?) or by something in your code. In general it is worth noticing that SPARQL queries use try catch heavily so running in Visual Studio under the debugger will often yield substantially slower performance than when running standalone. I would suggest trying to run your program outside Visual Studio to see how fast it runs there as we've seen dramatic performance differences in the past as a result of this. However without seeing a more complete example there is not really any other advice I can offer you Hope this helps, Rob From: Redouane Bali <red...@is...> Date: Wednesday, 4 June 2014 14:08 To: Rob Vesse <rv...@do...> Subject: Sparql Optimisation [DotNetRDF] > Hi, > > I'm a young intern at Hydro-Québec Montreal and I'm working with DotNetRDF for > few months. > My aim is to parse a xml file containing circuit (and equipments) data and > rebuild a full project on a software called EMTP. > > When I tested my code on little xml files, It was ok (about 1sec of > execution), but yesterday I tried it on a bigger file and saw that It needed > about 5 minutes to build my model and recover all informations I need. > > I make few thousands of query and I would like advice to optimize my code. > > For example, I saw that a simple query collecting a subject (with a type, a > predicate & a object known) : > "SELECT ?s WHERE {?s rdf:type cim:VoltageLevel; cim:VoltageLevel.Substation > <" + this.node.Uri + "> }"; > > took about 100ms at the beggining of my algo, then about 300ms at the end, > probabily because the triple is increasingly far in the file. > > How could I fix it ? > > Thank you ! > > > PS : sorry for my bad english, i'm French. And thank you for your library, i'm > very proud to work with it. > > > -- > Redouane Bali > 06.62.58.06.64 |
From: Rob V. <rv...@do...> - 2014-06-04 11:44:53
|
Diogo First off please do not email developers directly, if you have further questions please subscribe to the support mailing list at https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support and send questions to dot...@li... This allows all the project contributors opportunity to help (and shares the load of helping) as well as letting future users benefit from your questions. Without seeing your code/data it is hard to tell what is going on. It may be that you are trying to retrieve the wrong graph or retrieving a graph that genuinely is empty. Your Fuseki configuration file is slightly strange in that the TDB reasoning service is backed by a different TDB dataset then your non-reasoning service. Was this actually intentional? And are you sure you actually put data in the given TDB databases? It is possibly that the reasoning service returns an empty graph because the actual TDB database behind it is empty You can run Fuseki against a specific location without needing a configuration file like so: java -jar fuseki-server.jar --loc /path/to/db /ds You can then try the following query to verify whether the database actually contains any data: SELECT * WHERE { { ?s ?p ?o } UNION { GRAPH ?g { ?s ?p ?o } } } This will let you test each specified location to see if it actually has any data in it to start with. Unfortunately without further details I cannot help you any further, Best Regards, Rob On 31/05/2014 18:29, "Diogo Martinho" <dio...@gm...> wrote: >Dear Mr. Vesse >I am a student in Instituto Superior de Engenharia do Porto, Portugal, >and I am currently developing a C# web application for a school >project of that takes advantage of both Ontologies and Web Semantics. >In my project I am using a ".owl" ontology, which I have created in >Protege and I used Fuseki Server to upload the same ontology. >I needed an API that would allow me to load the information from my >ontology in my website and I found the dotnetrdf API. >I followed the tutorial and the information you have provided in your >website and I was able to load my ontolgy graph however I am only able >to do so if it is not configured with a reasoner mechanism. >I will need to use a reasoner mechanism that I have configured in my >config.ttl (sent in the attachment), and everytime I call the >LoadGraph() function, the resulting graph always returns empty for >some unknown reason. >I have no idea why this problem is happening and that is why I am >sending you this message in great hope that you will be able to help >me solve this issue. >I thank in advance for any further answers from you and I will be >looking forward for a response. >Thank you very much, >Diogo Martinho. |
From: Tavi T. <tav...@it...> - 2014-06-04 02:52:26
|
Hello all - can someone provide an example of how to use the API to generate Reified Statements? Thanks! Tavi Truman Sr. .NET Architect/Engineer ITSourceTek 408-398-9143 |
From: Rob V. <rv...@do...> - 2014-06-03 08:22:44
|
Hey All As some of you will have already noticed I put out the 1.0.5 release on Friday, see the blog post at http://www.dotnetrdf.org/blogitem.asp?blogID=82 for a brief overview of the release The major change in this release is to our dependencies, we have upgraded to the 6.x line of Json.Net releases and as part of this have revised our PCL offering to be Profile 136 and removed our standalone Silverlight 4 and Windows Phone 7 builds. The release also includes a variety of bug fixes to various bug reports around SPARQL corner cases and improving compatibility with some third part triple stores, thanks as always to everyone in the community for reporting and contributing to these improvements. Regards, Rob |
From: Tomek P. <to...@pl...> - 2014-05-22 14:27:59
|
Hi Zahra dotNetRDF supports RDF/XML and also has a basic abstraction for OWL. Please have a look at [1] for info on loading RDF into memory and [2] for documentation of OWL support. I don't know about exports from Protege, but I shouldn't expect any problems. Do you have any specific needs? Regards, Tom [1] https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Reading%20RDF [2] https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Ontology%20API On Mon, May 19, 2014 at 10:40 AM, Zahra Jabalameli < jab...@gm...> wrote: > Hello, > I am one of your site's fans! I have a question about using OWL file that > is built with RDF\XML in Protege software.I don't know how can I use this > OWL file in C#,and I want to use it in widows form in my project.If you can > help me please answer immediately > because I am in a hurry! > Thanks for your attention. > your sincerely, > Zahra Jabalameli > > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > dotNetRDF-develop mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop > > |
From: Rob V. <rv...@do...> - 2014-05-19 13:23:25
|
Those links are indeed correct If they do not work for you then you will need to talk to your network administrator to understand if (and why) access to those URLs is restricted on your network Rob From: Zahra Jabalameli <jab...@gm...> Date: Monday, 19 May 2014 14:20 To: Rob Vesse <rv...@do...> Subject: Re: question about adf and owl > Hello, > Many thanks for your immediate answer.I Think two links that you wrote in your > message is incorrect because my browser couldn't open it.please check it again > and send me if they are right? > thanks a lot, > Zahra > > > On Mon, May 19, 2014 at 2:15 PM, Rob Vesse <rv...@do...> wrote: >> Zahra >> >> dotNetRDF can open any valid RDF/XML file so provided you are storing the >> generating OWL ontology in RDF/XML format just use the standard APIs for >> reading RDF per the documentation [1] >> >> In terms of how you use it in a Windows Form application that is going to >> depend heavily on what your application does, I would suggest working through >> the Basic Tutorial (which starts at [2]) to get a feel for the capabilities >> of the library if you haven't already. >> >> Hope this helps, >> >> Rob >> >> p.s. This is a subscription based list, please subscribe at >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support if you want to >> post future messages. You've been CC'd on this response but any future >> responses to questions will only go to the list >> >> [1] https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Reading%20RDF >> [2] >> https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Library%20Overview >> >> >> From: Zahra Jabalameli <jab...@gm...> >> Date: Monday, 19 May 2014 09:40 >> To: <dot...@li...>, >> <dot...@li...>, Rob Vesse <rv...@do...> >> Subject: question about adf and owl >> >>> Hello, >>> I am one of your site's fans! I have a question about using OWL file that is >>> built with RDF\XML in Protege software.I don't know how can I use this OWL >>> file in C#,and I want to use it in widows form in my project.If you can help >>> me please answer immediately >>> because I am in a hurry! >>> Thanks for your attention. >>> your sincerely, >>> Zahra Jabalameli >>> >>> >>> > |
From: Rob V. <rv...@do...> - 2014-05-19 09:46:41
|
Zahra dotNetRDF can open any valid RDF/XML file so provided you are storing the generating OWL ontology in RDF/XML format just use the standard APIs for reading RDF per the documentation [1] In terms of how you use it in a Windows Form application that is going to depend heavily on what your application does, I would suggest working through the Basic Tutorial (which starts at [2]) to get a feel for the capabilities of the library if you haven't already. Hope this helps, Rob p.s. This is a subscription based list, please subscribe at https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support if you want to post future messages. You've been CC'd on this response but any future responses to questions will only go to the list [1] https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Reading%20RDF [2] https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Library%20Overview From: Zahra Jabalameli <jab...@gm...> Date: Monday, 19 May 2014 09:40 To: <dot...@li...>, <dot...@li...>, Rob Vesse <rv...@do...> Subject: question about adf and owl > Hello, > I am one of your site's fans! I have a question about using OWL file that is > built with RDF\XML in Protege software.I don't know how can I use this OWL > file in C#,and I want to use it in widows form in my project.If you can help > me please answer immediately > because I am in a hurry! > Thanks for your attention. > your sincerely, > Zahra Jabalameli > > > |
From: Zahra J. <jab...@gm...> - 2014-05-19 08:40:46
|
Hello, I am one of your site's fans! I have a question about using OWL file that is built with RDF\XML in Protege software.I don't know how can I use this OWL file in C#,and I want to use it in widows form in my project.If you can help me please answer immediately because I am in a hurry! Thanks for your attention. your sincerely, Zahra Jabalameli |
From: Rob V. <rv...@do...> - 2014-05-02 11:02:27
|
A basic fix for this bug has now been made, we've left the bug open because I think the fix is a little draconian right now since it removes a useful optimisation for some queries where the optimisation is valid However your query should now work with the latest builds Rob From: Rob Vesse <rv...@do...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, 8 April 2014 13:57 To: dotNetRDF User Help and Support <dot...@li...> Subject: Re: [dotNetRDF-Support] wrong result is appear after execute query > Thanks for reporting this, this is indeed a bug and has been filed as CORE-406 > (http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=406) where you can > track progress on this issue > > The bug appears to be in how we optimise query execution to do join > linearisation which causes the engine to not consider viable solutions for > later OPTIONAL clauses. We’ll let you know once we’ve succeeded in fixing > this > > Cheers, > > Rob > > From: Сергей Попов <ser...@ma...> > Reply-To: Сергей Попов <ser...@ma...>, dotNetRDF User Help and > Support <dot...@li...> > Date: Tuesday, 8 April 2014 05:03 > To: <dot...@li...> > Subject: [dotNetRDF-Support] wrong result is appear after execute query > >> Hello, >> >> Example from book “Learning SPARQL Querying and Updating with SPARQL 1.1” >> author - Bob DuCharme >> >> Data: >> >> @prefix ab: <http://learningsparql.com/ns/addressbook#> . >> @prefix d: <http://learningsparql.com/ns/data#> . >> d:i0432 ab:firstName "Richard" . >> d:i0432 ab:lastName "Mutt" . >> d:i0432 ab:homeTel "(229) 276-5135" . >> d:i0432 ab:nick "Dick" . >> d:i0432 ab:email "ric...@ho..." . >> d:i9771 ab:firstName "Cindy" . >> d:i9771 ab:lastName "Marshall" . >> d:i9771 ab:homeTel "(245) 646-5488" . >> d:i9771 ab:email "ci...@gm..." . >> d:i8301 ab:firstName "Craig" . >> d:i8301 ab:lastName "Ellis" . >> d:i8301 ab:workTel "(245) 315-5486" . >> d:i8301 ab:email "cra...@ya..." . >> d:i8301 ab:email "c....@us..." . >> >> QUERY >> >> PREFIX ab: <http://learningsparql.com/ns/addressbook#> >> SELECT ?first ?last >> WHERE >> { >> ?s ab:lastName ?last . >> OPTIONAL { ?s ab:nick ?first . } >> OPTIONAL { ?s ab:firstName ?first . } >> } >> >> Result From book >> ------------------------ >> | first | last | >> ======================== >> | "Craig" | "Ellis" | >> | "Cindy" | "Marshall" | >> | "Dick" | "Mutt" | >> ------------------------ >> >> I run this query in my application. My application usеs dotNetRDF. I get >> follow result: >> ------------------------ >> | first | last | >> ======================== >> | | "Ellis" | >> | | "Marshall" | >> | "Dick" | "Mutt" | >> ------------------------ >> >> Why does’ t work second block OPTIONAL. >> >> >> >> Thank you >> ----------------------------------------------------------------------------- >> - Put Bad Developers to Shame Dominate Development with Jenkins Continuous >> Integration Continuously Automate Build, Test & Deployment Start a new >> project now. Try Jenkins in the cloud. >> http://p.sf.net/sfu/13600_Cloudbees__________________________________________ >> _____ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > ------------------------------------------------------------------------------ > Put Bad Developers to Shame Dominate Development with Jenkins Continuous > Integration Continuously Automate Build, Test & Deployment Start a new project > now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees___________________________________________ > ____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-04-18 05:15:13
|
The query only matches a single triple which is why you only get one result "two" is not the same term as "two"^^xsd:string The recent RDF 1.1 specification says that "two" is implicitly typed such as to be equivalent to "two"^^xsd:string but this is not a specification that we yet support Rob From: Сергей Попов <ser...@ma...> Reply-To: Сергей Попов <ser...@ma...> Date: Monday, 14 April 2014 12:40 To: Rob Vesse <rv...@do...> Subject: Query > Hi > My data: > > @prefix d: <http://learningsparql.com/ns/data#>. > @prefix dm: <http://learningsparql.com/ns/demo#>. > @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. > @prefix mt: <http://learningsparql.com/ns/mytypesystem#>. > d:item1a dm:prop "3". > d:item1b dm:prop "3"^^xsd:integer. > d:item1c dm:prop 3. > d:item1d dm:prop 3.0e5. > d:item2a dm:prop "two". > d:item2b dm:prop "two"^^xsd:string. > d:item2c dm:prop "two"^^mt:potrzebies. > d:item2d dm:prop "two"@en. > > My query: > > PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> > PREFIX d: <http://learningsparql.com/ns/data#> > PREFIX dm: <http://learningsparql.com/ns/demo#> > SELECT ?s > WHERE { ?s ?p "two" . } > I get next Result: > > http://learningsparql.com/ns/data#item2a > > <http://learningsparql.com/ns/data#item2a> One result only return. Why does't > return two results d:item2a, d:item2b. > > -- > Сергей Попов |