Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将 rdf 文件从 URL 导入 Swish?
即类似的东西:
myload:- load_rdf('www.myrdf.com').
然后我可以查询?-rdf(A,B,C)
?-rdf(A,B,C)
使用该Semweb软件包并在本地使用 Swi-Prolog,这很容易:
Semweb
use_module(library(semweb/rdf11)). use_module(library(semweb/rdf_http_plugin)). rdf_load('http://dbpedia.org/resource/Amsterdam'). % Parsed "http://dbpedia.org/resource/Amsterdam" in 0.13 sec; 5,120 triples