rowlex

Problem cycling Enum class values

回眸只為那壹抹淺笑 提交于 2019-12-11 15:57:52
问题 I'm working on a semantic web application in which assembly of an ontology is beeing used. I used Rowlex OWLGrinder for converting OWL to assembly. In the ontology there are some classes having individuals, which are converted tp Enum classes containing some constants in .dll assemblies. For example an OWL class named Language with an individual named English, will be converted to a class named Language containing English constant. The Language.English is a string, containing the URI

Problem in selecting constants of an enum class

吃可爱长大的小学妹 提交于 2019-12-11 15:02:02
问题 I've encourted a problem recently about cycling between constants of an enum class in .net (that is created from my OWL class, by Rowlex OwlGrinder). Problem was solved by means of using .net reflection (thanks to great help from dear Mr. Jon Skeet): stackoverflow:problem-cycling-enum-class-values By solving this, I started using it. After matching a dropDownList selected value to one of the enum class instances, I had to declare the selected object(=Language) to my RDF subject(

How to define a property with same name on two different types in ROWLEX?

╄→гoц情女王★ 提交于 2019-12-11 04:22:48
问题 If I have those two classes that have two different properties but with the same name: [RdfSerializable] public class Type1 { [RdfProperty(true), Name = "title"] public string Title { get; set; } } [RdfSerializable] public class Type2 { [RdfProperty(true), Name = "title"] public string Title { get; set; } } and try to serialize them to RDF and validate them with http://www.w3.org/RDF/Validator/ service. Everything is Okay and they are correct. But after I try to generate OWL files from those

How can ROWLEX be licensed under L-GPL while it uses SemWeb which is GPL? [closed]

瘦欲@ 提交于 2019-12-10 06:31:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . According to its homepage, the SemWeb library (great library for handling RDF under .NET) is released under GPL. Since the ROWLEX tool is built on SemWeb, ROWLEX supposed to be GPL, too. Still, ROWLEX is claimed to be released under L-GPL. Is this legally correct? 回答1: Actually, your statement is not completely

Programatically generating assemblies from OWL files with ROWLEX

做~自己de王妃 提交于 2019-12-06 13:32:03
问题 I have been using the ROWLEX library to handle RDF-s. It is shipped with a designtime GUI tool called OwlGrinder.exe that can generate C# helper classes (.NET assemblies to be exact) from my OWL ontologies. I wonder if anyone knows if I could do the same programatically in runtime. 回答1: ROWLEX just became open source, so now you have the chance to actually look inside the code of OwlGrinder.exe and copy the code from there. However, here is a short example: private NC3A.SI.Rowlex

How can ROWLEX be licensed under L-GPL while it uses SemWeb which is GPL? [closed]

久未见 提交于 2019-12-05 14:38:19
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . According to its homepage, the SemWeb library (great library for handling RDF under .NET) is released under GPL. Since the ROWLEX tool is built on SemWeb, ROWLEX supposed to be GPL, too. Still, ROWLEX is claimed to be released under L-GPL. Is this legally correct? Actually, your statement is not completely accurate. SemWeb is not just GPL but dual-licensed. The source code written by Joshua Tauberer is also

Programatically generating assemblies from OWL files with ROWLEX

拜拜、爱过 提交于 2019-12-04 16:32:22
I have been using the ROWLEX library to handle RDF-s. It is shipped with a designtime GUI tool called OwlGrinder.exe that can generate C# helper classes (.NET assemblies to be exact) from my OWL ontologies. I wonder if anyone knows if I could do the same programatically in runtime. ROWLEX just became open source, so now you have the chance to actually look inside the code of OwlGrinder.exe and copy the code from there. However, here is a short example: private NC3A.SI.Rowlex.AssemblyGenerator generator; private void RunAssemblyGeneration(XmlDocument ontologyFileInRdfXml) { this.generator = new