尝试在端点中使用查询。该查询是在SPARQL中创建的。错误如
Encountered " "<" "< "" at line 1, column 15.
Was expecting:
<IRIref> ...
查询:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?Class ?Title ?Definition
WHERE {
?Value rdfs:label ?Class
FILTER regex(?Class, "Motion") .
?def rdfs:domain ?Value .
?def rdfs:label ?Title .
?def rdfs:comment ?Definition}
网址
http://localhost:3030/skosmos/query?query=
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?Class ?Title ?Definition
WHERE {
?Value rdfs:label ?Class
FILTER regex(?Class, "Motion") .
?def rdfs:domain ?Value .
?def rdfs:label ?Title .
?def rdfs:comment ?Definition
}
答案 0 :(得分:-2)
我接受了您的原始查询,并用one of many services and tools you might use, randomly selected from a web search对其进行了网址编码,然后将其附加到您所拥有的“ URL”的开头http://localhost:3030/skosmos/query?query=
...,然后您验证了该查询是否有效-