Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zozlak/rdfInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed May 25, 2022
2 parents 3df7bcb + 1fcd892 commit 75607f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions EasyRdfReadme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction to rdfInterface for EasyRdf users

From EasyRdf user's perspective there are few fundamental differences between the EasyRdf nad the rdfInterface ecosystem:
There are a few fundamental differences between the EasyRdf and the rdfInterface ecosystems:

* EasyRdf is a single library doing it all. It provides parsers, serializers, implementation of RDF terms (`EasyRdf\Literal` and `EasyRdf\Resource`), RDF dataset (`EasyRdf\Graph`), SPARQL client, etc.
What's convenient about it is that you install one package and you are ready to go. But it also makes it less flexible and difficult to modernize, especially in the long term.
Expand All @@ -24,7 +24,7 @@ From EasyRdf user's perspective there are few fundamental differences between th
Strict typing assures there are no such ambiguities in the rdfInterface API.
It also makes it easy to add new extensions.
* If you are used to using shortened URIs in EasyRdf you might be surprised it's not possible in RdfInterface.\
It's a well thought design decision. Rationalle is provided [here](ShortenedUris.md).
It's a well thought design decision. Rationale is provided [here](ShortenedUris.md).

## Basic tasks

Expand Down
5 changes: 2 additions & 3 deletions ShortenedUris.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

The short answer is:

* As prefixes to aliases mapping is not standardized it makes no sense to hardcode any of them in the library aimed for handling any RDF.
* Allowing user to define aliases on his own brings boilerplate code to the library
while there are equally effective (from the user perspective) ways doing it purely on the user's side.
* As prefixes to aliases mapping is not standardized it has to be chosen arbitrary and arbitrary choices don't make much sense for generic libraries.
* Allowing user to define aliases on his own makes the library more complex while there are equally effective (from the user perspective) ways of doing it purely on the user's side.

Now let's discuss it in details.

Expand Down

0 comments on commit 75607f3

Please sign in to comment.