Questions tagged [semweb]

SemWeb is a Semantic Web/RDF library written in C# for Mono or Microsoft's .NET. The library can be used for reading and writing RDF (XML, N3), keeping RDF in persistent storage (memory, MySQL, etc.), querying persistent storage via simple graph matching and SPARQL, and making SPARQL queries to remote endpoints. Limited RDFS and general-purpose inferencing is also possible. SemWeb's API is straight-forward and flexible.

11 questions
4
votes
2 answers

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

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…
user256890
  • 3,396
  • 5
  • 28
  • 45
3
votes
1 answer

Annotate HTML IMG with semantic meaning

I have a HTML5 website with some pictures and some data about the pictures. I would like to enhance their description so machines would be able to read them as well. Say, there is a picture of Mona Lisa by Leonardo da Vinci, completed around 1503 -…
Ecir Hana
  • 10,864
  • 13
  • 67
  • 117
2
votes
1 answer

Using RdfProperty of array to custom class

I have defined: [RdfSerializable] public class SomeItem { // Unique identificator of the resource [ResourceUri] public string ID { get; set; } [RdfProperty( true )] public string SomeData { get; set; } } and in some other class:…
The_Ghost
  • 2,070
  • 15
  • 26
2
votes
2 answers

Could ROWLEX be used as .DLL files in commercial projects (because of some non-LGPL components)?

As people asked in How can ROWLEX be licensed under L-GPL while it uses SemWeb which is GPL? there is no definition if ROWLEX could be used as a library freely in commercial projects. How free is to use it in such projects? Is it possible to…
The_Ghost
  • 2,070
  • 15
  • 26
2
votes
3 answers

How can I do offline reasoning with Pellet?

I have an OWL ontology and I am using Pellet to do reasoning over it. Like most ontologies it starts by including various standard ontologies:
Seb Rose
  • 3,628
  • 18
  • 29
1
vote
1 answer

SWI-prolog semweb library processing of URI

Being new to prolog I am reading existing code (as well as trying to write some code). Having some prior background in semweb I started to play with it and see something that is confusing me. Example assertion: ?- rdf_assert(ex:bob, rdf:type,…
stan_plogic
  • 113
  • 8
1
vote
2 answers

SemWeb - How to get my query result in xml?

I'm trying to use SemWeb library to make my SPARQL queries on an remote SPARQL endpoint. this is what i'm using fort testing, since this is an example that came with Semweb SparqlHttpSource source = new…
Elias
  • 51
  • 4
0
votes
0 answers

List sparql result into asp.net component

I want to list sparql query result into textbox(multi line) or Grid view or list But the code shown below returns only one result! Please any help? IGraph g = new Graph(); g.LoadFromFile("example.owl"); try { SparqlQueryParser par = new…
0
votes
0 answers

Exception happens during parsing N3 file

I'm trying to parse N3 DBpedia dump file using SemWeb. Here is my simple code: Imports SemWeb … Dim store As New MemoryStore Dim sr As New System.IO.StreamReader(chunkFile) store.Import(New N3Reader(sr)) When I'm parsing the chunk file (which…
Amir Pournasserian
  • 1,600
  • 5
  • 22
  • 46
0
votes
3 answers

SemWeb - Convert C# object into RDF triples

All i want is to convert a C# class instance into rdf triples using semweb, in order to fill my ontology with data. My class consists of both primitive properties and other classes and i have constructed an ontology with the same…
sstauross
  • 2,602
  • 2
  • 30
  • 50
0
votes
1 answer

How to combine Data Properties in OWL?

Say I have: Property1 is optional Property2 that is always defined I want to define TrueProperty that is equal to: Property1 if Property1 is present Property2 otherwise Property2 otherwise Can I do that? Can I do that in OWL? Thank you
Alex J.
  • 187
  • 6