GitHub user jgrzebyta opened a pull request:
https://github.com/apache/any23/pull/45
Any23-312 simplify yaml parsing outcome
- Simplify graph
- In case if a triple is not completed (missing object) than it is not
created (previous time RDF:NIL was added as object). Still predicates
characteristic (`[] rdf:type rdf:predicate ; rdfs:label ?name`) is added to
final graph.
- Make subgraph blank nodes based.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jgrzebyta/any23 ANY23-312
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/any23/pull/45.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #45
----
commit af0a7e154e36564b315c253089900968d8df0a26
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-17T16:06:44Z
Ref ANY23-312
- update example file
- update unit test
Signed-off-by:Jacek Grzebyta <[email protected]>
commit 783434d55648990469f7bf958d687c98796adfad
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-17T16:22:53Z
Ref ANY23-312
- buildNode method returns Optional wrapper
Signed-off-by:Jacek Grzebyta <[email protected]>
commit c7dd09e22810763f75131e38fea66475f39573c2
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-18T17:50:30Z
Update RDFUtils
- remove some converters to util class
Signed-off-by:Jacek Grzebyta <[email protected]>
commit f787e42e0357949b44408645b4546cd447242862
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-20T16:41:40Z
Create ElementProcessor
- add unit test
Signed-off-by: Jacek Grzebyta <[email protected]>
commit 9f0cb636d51fee439310b1180685f48402431516
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-21T09:27:06Z
Create ElementProcessor - RDF-izer
- Add RDF-iser based on types
- add unit tests
Signed-off-by: Jacek Grzebyta <[email protected]>
commit f1b26dfdc634c7e70e762319b60c968935a5be93
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-23T11:36:04Z
Update ElementProcessor - RDF-izer
- make processor singleton
- update unit tests
Signed-off-by:Jacek Grzebyta <[email protected]>
commit 657912b3aa22b1f46918fb39f2dc1a0a459303d8
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-23T11:40:21Z
Update YamlExtractor
- update unit tests
- add test to simple text file
Signed-off-by:Jacek Grzebyta <[email protected]>
commit 246af9b3d038046579add68b23598f9d9f8be14b
Author: Jacek Grzebyta <[email protected]>
Date: 2017-10-23T13:55:55Z
Ref ANY23-312
- ElementProcessor: fix issue in map validation
returns always empty model if parsed to literal
- YamlExtractor: fix issue with yaml containing only literals
- update unit tests
Signed-off-by:Jacek Grzebyta <[email protected]>
----
---