| Class | Graph |
| In: |
lib/basicrdf.rb
lib/RDF4R/pastiche.rb |
| Parent: | Object |
same again re ../../lib/basicrdf.rb
Basic query method for our RDF graph. passed a (template) statement w/ nils …and returns a graph (which we can probe with subjects(), predicates() etc
Notes: this is all pretty inefficient, creating new graphs all over the shop when we needn‘t, new statements etc etc. todo: change @fp and @bp to store refs to statements not nodes
...and think about how we can return sub-graph matches
without having to go index them. maybe do indexing on demand? (see also tell()