This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/docs/md/raptor.md

24 lines
635 B
Markdown
Raw Normal View History

2016-11-24 04:35:39 +00:00
WWW Reader/Writers for YAP. {#YAPRaptor}
=========================
2015-10-13 08:17:51 +01:00
This provides YAP a rdf reader using
[raptor](http://librdf.org/raptor/). The library is available for
Windows, Linux/Unix and MacOS machines.
###
###Example Usage
~~~~{.prolog}
?- use_module(rdf).
?- rdf_load('example.rdf',user,example).
../example.rdf : 3 triples
?- example(Subject,Predicate,Object).
Object = 'http://www.example.org/tv_show',
Predicate = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type',
Subject = 'http://www.example.org/law_and_order_ci' ?
~~~~{.prolog}
2016-11-16 23:17:33 +00:00
The code also includes a library under developent to connect Yap and libXML2.