Manybubbles added a comment.

I just found the code in BlazeGraph that supports converting RDF reification 
into RDR.  StatementBuffer.java:1425-1490.  Its looking for this syntax:

  _:sid rdf:type Statement .
  _:sid rdf:subject <S> .
  _:sid rdf:predicate <P> .
  _:sid rdf:object <O> .

And it transforms it into the S P O triple, dropping the provided triples.  
This is consistent with the view that RDR is a storage level thing so long as 
the query parser does this backwards.

There is some commented out code (lines 440 to 705) that looks to try to handle 
the case for other non-/rdf:(subject|predicate|object)/ predicates but I'm 
reasonably sure it isn't complete and doesn't look like its compatible with the 
implementation in lines 1425-1490.  And I'm pretty sure it won't work on full 
dumps without some more work around flush handling.

@Thompsonbry.systap's point absolutely stands - we'll need to experiment.  We 
knew we'd have to schedule RDF representation first on the list any way but 
this just makes it important that we're able to experiment with full sized data.


TASK DETAIL
  https://phabricator.wikimedia.org/T90952

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Manybubbles
Cc: Haasepeter, Thompsonbry.systap, Beebs.systap, Manybubbles, Aklapper, 
Smalyshev, jkroll, Wikidata-bugs, Jdouglas, aude, GWicke, daniel, JanZerebecki



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to