semsol / arc2

ARC RDF Classes for PHP
Other
332 stars 89 forks source link

ARC2 and N-Quads #81

Open MindfulMonkey opened 7 years ago

MindfulMonkey commented 7 years ago

1) Does ARC2 work with N-Quads? Or only with N-Triples?

2) the only example I've found in the docs to parse data is this one which seems to be parsing XML. Is it possible with ARC2 to parse a n-quad like this

    [subject, predicate, object, graph] = $parser->parse ('<S> <P> "O" <Graph> .');
k00ni commented 6 years ago

Hi @MindfulMonkey, this might be a late response, but to my knowledge, ARC2 can't handle quads, according to this wiki page. Hope it helps.