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.
URLからSwishにrdfファイルをインポートすることは可能ですか?
つまり、次のようなものです。
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