PHP Notation3 Parser
This parser can parse a subset of n3, reporting triples to a callback function or constructing a RAP Model ( http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi )
Supported N3 features:
This parser is based on n3.py from Epp released 2nd March, 2002. by Sean B. Palmer ( http://infomesh.net/2002/eep/20020302-013802/n3.py )
This parser is released under the GNU GPL license. ( http://www.gnu.org/licenses/gpl.txt )
Located in /syntax/N3Parser.php (line 48)
Object | --N3Parser
Generate a new MemModel from an URI or file.
Gets a list of triples with same subject e.g. :Gunnar :firstname "Gunnar" ; :lastname "Grimnes.
This parses a N3 string and prints out the triples
This parses a N3 string and returns a memmodel
Sets, if BlankNode labels should be replaced by the generic label from the constants.php file
default is "false" -> the used label in n3 is parsed to the model
This parses a N3 string and calls func($subject, $predicate, $object) with each trioke
Inherited From Object
Object::toString()
Documentation generated on Fri, 1 Jun 2007 16:49:59 +0200 by phpDocumentor 1.3.2