mdesalvo / rdfsharp Goto Github PK
View Code? Open in Web Editor NEWLightweight and friendly .NET library for realizing Semantic Web applications
License: Apache License 2.0
Lightweight and friendly .NET library for realizing Semantic Web applications
License: Apache License 2.0
Revise regexes to parse language tags, in order to eliminate typos and logical errors.
Since we have full support for SPARQL XML Query Results standard, we should be able to send the string representation of SPARQL queries to remote SPARQL endpoints and then parse the result directly in our structures. This would give RDFSharp applications the ability to connect to LinkedData sources.
Singleton instance of RDFNamespaceRegister should be public, with internal setter. At the moment it is internal, so it cannot be retrieved by consumers for iteration.
Hi, I've noticed a number of tight couplings in your library which make it harder to work with. One such coupling is that of serialization with file access. In my case, I have an ontology as text in a stream and I want to deserialize it so that I can convert it to another format, but the library only supports deserialization from a file. A better approach would be to separate deserialization using some kind of reader/writer implementation, or simply just using streams, and then the deserialization could be used in scenarios where the text comes from the database, from an HTTP call or otherwise.
An empty collection should be equivalent to rdf:Nil, so it shouldn't be reified as a standard collection having rdf:first/rdf:rest triples pointing to rdf:Nil.
Use of NumberStyles formats when parsing decimals in SPARQL IsNumeric filter may prevent many legal numeric representations from being accepted by the filter
Towards a progressive implementation of SPARQL 1.1 features, basic support for property paths should be introduced. At least ability to chain sequence and alternatives, with parenthesis to group.
Currently only Write N-Quads
Reverse lookup for uris ending with "#" cause the prefix.cc service to fail. This char can be safely trimmed.
Great work,
but I think it needs documentation or example to know who it is working
thanks
There are glitches in the generation of automatic namespaces in RDF/XML writer.
There is an exceeding ")" closed parenthesis in the ToString() representation of RDFDatatypeFilter
SQL Server ctor should be able to take a single connection string, in order to give control over the connection parameters. This would also lead to automatically gain support for SQL Azure.
What happened to this?
When there aren't common variables between an Exists/NotExists filter and the query, a boolean invariant behavior should be adopted by the filter: TRUE for Exists, FALSE for NotExists.
There is an unwanted "break" instruction which causes incorrect exit from the cycle contained in the removal routine of RDFCollection.
It should be avoided the ability to build ground property paths, since Mirella does not support evaluation of ground patterns.
A new kind of SPARQL object must be realized with the goal of grouping query results on a specified set of columns (variables) and then computing aggregations on these groups (SUM, MIN, MAX, AVG, COUNT).
Control characters (except for "\t", "\n" and "\r" which are safe) should be escaped with Unicode "\uXXXX" repreentation in order to not generate uncompliant XML
Pretty easy to implement, this common filter give added value to Mirella engine, which lacks this feature.
As someone without previous experience with RDF, this project is pretty mysterious. I came here because I have a project in mind, I came across RDF while researching its prerequisites, and I'd be happy to work in C#. However as a neophite I'm not actually 100% sure what this library does. A demo project with a small writeup describing what that demo is doing would go a long way towards illustrating what RDFSharp can do.
Thanks!
Algebra of Mirella engine would gain added value through support for NOT EXISTS filter.
It is now time to switch to a modern target platform, which has been identified in netstandard2.0
This is the most long-awaited feature of the library: we should be able to read Turtle files!
Not based on the entire ToString(), but only on the name property which is unique within a query
Character "" is not escaped as "" in Turtle, so output is not well formed.
Hi Marco, firstly thanks for all your hard work. One problem I ran in to however when attempting to load an OWL file written in XML was an exception being thrown due to the base uri for the namespace 'xml' being set to 'https://www.w3.org/XML/1998/namespace#' (from the static XML class located in RDFVocabulary.cs) instead of 'https://www.w3.org/XML/1998/namespace' without the hash symbol.
As stated in the text readable document located at that uri "The namespace whose name is http://www.w3.org/XML/1998/namespace is bound by definition to the prefix xml: according to Namespaces in XML"
It is now time to add support for modeling subqueries: we have all the capabilities at their place in the code, with the needed abstractions recently introduced.
Algebra of Mirella engine would gain added value through support for EXISTS filter.
Character "\r" is automatically replaced with "\n" by XmlReader, this is not acceptable.
Actual "FFF" mask should be expanded to "FFFFFFF" in order to accept more precise literals.
In order to shorten the string representation of queries, support for declaration of prefixes should be added.
OWL vocabulary does not contain the "AllDifferent" and "distinctMembers" terms
Just add the "InternalsVisibleTo" directive in order to support the upcoming RDFOracleStore implementation
This validation is missing.
Under some circumstances, invalid QNames are generated for abbreviation of predicates in Turtle writer.
This pattern "?S ?S http://test1/test2/ ." will make queries crash because of multiple occurrences of the same "?S" variable.
Characters "\b" and "\f" are not escaped in N-triples and N-Quads, they should be rendered with "\uXXXX" representation. The character "" is not escaped, it should be rendered as "".
Validation condition for "xsd:NormalizedString" typed literals is wrong.
Would have been nice with a sample code to demonstrate how this works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.