1
AllegroGraphサーバーが稼働していて、リモートデータストアの照会に問題があります。ドキュメントに関する情報はほとんどありません。 AllegroGraphのWebViewの中で、私は同じクエリおよび名前空間がリポジトリにロードされ、正確に実行できますがdotnetRDFを使用したAllegroGraphの照会
using System;
using VDS.RDF;
using VDS.RDF.Storage;
namespace PoC {
class Program {
static void Main(string[] args) {
string server = "http://server";
string repo = "repo";
string username = "username";
string password = "password";
AllegroGraphConnector agraph = new AllegroGraphConnector(server, repo, username, password);
Options.HttpDebugging = true;
Options.HttpFullDebugging = true;
agraph.Query("SELECT * WHERE { emid:_PCAT_0001 ?p ?o }");
Console.ReadLine();
}
}
}
MALFORMED QUERY: Parse error: namespace mapping for "emid" not defined when expanding QName "emid:_PCAT_0001".
:ここ
はコードの私のlilの作品です。
どうすれば解決できますか?