[英]Problem with SPARQL query
我有以下查詢無法正常工作:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema%23>
PREFIX i: <http://evolizer.org/ontologies/seon/2010/09/softwaremetrics.owl%23>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns%23>
SELECT ?metric ?value
WHERE {
?metric rdf:type i:SoftwareDesignMetric .
?metric i:hasName "NOM" .
?metric i:hasValue ?value
?metric i:isMetricOf "http://130.60.156.155:8080/famixParser/projects/argouml/org.argouml.pattern.cognitive" .}
我使用了引發以下異常的查詢驗證器 :
Encountered " "?metric "" at line 9, column 1.
Was expecting one of:
"graph" ...
"optional" ...
"service" ...
"minus" ...
"filter" ...
"{" ...
"}" ...
";" ...
"," ...
"." ...
但是我不知道那是什么意思
您可能要添加一個句點.
在圖形模式?metric i:hasValue ?value
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.