Hi,
I am currently in the process of upgrading a Semantic Web application from
RDB to TDB. Yes it is 2014 and yes I agree that the owners of said app
should have upgraded a long time ago. With that out of the way I am asking
for some help. Currently the original developers of this application wrote
a custom assembler to create Adjudicating Graphs which would perform
statement-level security adjudication. That is all well in good but there
are multiple references to Reifier which has been removed in version
2.11.2, not to mention to follow some of the code you would have to be a
semantic guru yourself.
I researched and found that Jena Security now exist. It probably didn't
when these guys first started writing this application. So now my question,
hopefully a simple one, how do I use jena security with reification? I
haven't been able to figure it out and the examples on github aren't quite
exactly what I need. So given the following RDF (reified statement)
_:statement rdf:type rdf:Statement .
_:statement rdf:subject dbr:Ireland .
_:statement rdf:predicate dbo:capital .
_:statement rdf:object dbo:Dublin .
_:statement ex:role "ROLEA", "ROLEB", "ROLEC" .
_:statement rdf:type rdf:Statement .
_:statement rdf:subject dbr:Canada.
_:statement rdf:predicate dbo:capital .
_:statement rdf:object dbo:Ottawa.
_:statement ex:role "ROLEA" .
Case I am trying to solve :
1. User A logs in and runs query with ROLEA
2. User queries for capitals
3. Jena Security filters out the Ireland statement and only returns Ottawa
statement because the user is only in ROLEA. The roles are "ands"
I hope this help. I am a semantic web newbie and I am stuck. Thanks in
advance.
I am currently in the process of upgrading a Semantic Web application from
RDB to TDB. Yes it is 2014 and yes I agree that the owners of said app
should have upgraded a long time ago. With that out of the way I am asking
for some help. Currently the original developers of this application wrote
a custom assembler to create Adjudicating Graphs which would perform
statement-level security adjudication. That is all well in good but there
are multiple references to Reifier which has been removed in version
2.11.2, not to mention to follow some of the code you would have to be a
semantic guru yourself.
I researched and found that Jena Security now exist. It probably didn't
when these guys first started writing this application. So now my question,
hopefully a simple one, how do I use jena security with reification? I
haven't been able to figure it out and the examples on github aren't quite
exactly what I need. So given the following RDF (reified statement)
_:statement rdf:type rdf:Statement .
_:statement rdf:subject dbr:Ireland .
_:statement rdf:predicate dbo:capital .
_:statement rdf:object dbo:Dublin .
_:statement ex:role "ROLEA", "ROLEB", "ROLEC" .
_:statement rdf:type rdf:Statement .
_:statement rdf:subject dbr:Canada.
_:statement rdf:predicate dbo:capital .
_:statement rdf:object dbo:Ottawa.
_:statement ex:role "ROLEA" .
Case I am trying to solve :
1. User A logs in and runs query with ROLEA
2. User queries for capitals
3. Jena Security filters out the Ireland statement and only returns Ottawa
statement because the user is only in ROLEA. The roles are "ands"
I hope this help. I am a semantic web newbie and I am stuck. Thanks in
advance.