sparql

    0熱度

    2回答

    我有SPARQL問題。我想從類別中選擇一些東西。例如科目。我在http://dbpedia.org/snorql中提出這樣的查詢。 SELECT ?category ?subject WHERE { ?category a skos:Concept . ?category skos:Concept: American_punk_rock_guitarists.

    1熱度

    2回答

    我有以下三元: <?xml version="1.0" encoding="UTF-8"?> <sem:triples xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>item1</sem:subject> <sem:predicate>hasQty</sem:predica

    0熱度

    1回答

    我擁有如下所示的RDF三元組集合。 id#7289587 ex:getInfectedBy id#7748320 id#7694711 ex:getInfectedBy id#7748320 id#7748322 ex:getInfectedBy id#7748320 id#7748887 ex:getInfectedBy id#7748320 id#7746679 ex:getInfe

    0熱度

    1回答

    我正在使用ontobee執行一個查詢以獲取人類疾病本體「DOID」中「基本高血壓」的所有兄弟,查詢返回5個三元組。 prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix owl: <http://www.w3.org/2002/07/owl#> SELECT ?xChild Str(?xChildLa) from <

    -1熱度

    1回答

    我已經找到這個查詢,但我不知道它做了什麼。 我不知道「^ a」是什麼意思,特別是。 select distinct ?type where { dbpedia:Stephen_King a ?type . filter not exists { ?subtype ^a dbpedia:Stephen_King ; rdfs:subClassOf ?typ

    -1熱度

    2回答

    這個SPARQL查詢中星號的含義是什麼? SELECT ?uri ?type WHERE{ ?uri a ?type. ?type rdfs:subClassOf* example:Device. } 這是否意味着「子類的子類」? 我可以與其他謂詞一起使用嗎?

    0熱度

    1回答

    public class Main { public static void main(String args[]){ //read an ontology String filename = "IOTOntology.owl"; Model model = ModelFactory.createDefaultModel(); OntModel

    0熱度

    1回答

    我正在運行Virtuoso開源服務器版本07.20.3217。我正在存儲三元組。但是,這樣做一定SPARQL查詢時,我得到了以下錯誤消息: Virtuoso 42000 Error The estimated execution time 0 (sec) exceeds the limit of 3000 (sec). 這不是第一次發生在我身上。通常我會嘗試重新編寫查詢並解決問題。但是,這次估

    0熱度

    1回答

    我正在使用我的Nodejs應用程序在我的Ontology模型上運行(發送HTTP Post)Sparql更新。現在我的代碼中有一個變量「秒」,它存儲一個整數值。現在如何將該變量包含到我的查詢中。 var request = require('request'); var querystring = require('querystring'); var seconds = ROB

    1熱度

    1回答

    我在OpenData中非常新,並嘗試在SPARQL中編寫查詢。 我的目標是讓數據以下的標準集: - 類別:Home_automation - 選擇類型的所有項目「事」 - 在至少一個進場「的產品」 - 有圖片與德國的描述 -url我試過如下: PREFIX cat: <http://dbpedia.org/resource/Category:> PREFIX skos: <http://www.