sparql

    -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熱度

    2回答

    據我從SPARQL https://www.w3.org/TR/sparql11-query/#sparqlGrammar的語法閱讀它允許有文字作爲三重主題: [75] TriplesSameSubject ::= VarOrTerm PropertyListNotEmpty | TriplesNode PropertyList [106] VarOrTerm ::= Var | GraphT

    2熱度

    3回答

    我created a blazegraph RDF4J repository and connection在斯卡拉: val props = new Properties() props.put(Options.BUFFER_MODE, BufferMode.DiskRW) props.put(Options.FILE, "embedded.jnl") var sail = new Bigd

    0熱度

    1回答

    我在定式服務器設置以下數據: <http://person/Mark-John> <http://purl.org/dc/elements/1.1/name> "Mark John" ; <http://purl.org/dc/elements/1.1/nationality> "American" . <http://person/Elizabet

    0熱度

    1回答

    我有以下問題,我就舉個例子來說: 我想從三重Germany - capital - object檢索對象Berlin。 我必須使用標籤,因爲這些都是在我的程序輸入。 下面的查詢給我回propertyLabelcapital: prefix wdt: <http://www.wikidata.org/prop/direct/> prefix wikibase: <http://wikiba.se/

    0熱度

    1回答

    我正在運行Virtuoso開源服務器版本07.20.3217。我正在存儲三元組。但是,這樣做一定SPARQL查詢時,我得到了以下錯誤消息: Virtuoso 37000 Error SP030: SPARQL compiler, line 0: Parentheses are not balanced at '}' 我意識到,這是不均衡括號的問題,但它是我的查詢似乎太長,使SPARQL只讀取它

    0熱度

    1回答

    給定一個具有多個相同屬性的主體,是否可以檢索它們指向的所有對象/值,而無需事先指定它們的數量? 這個問題類似於這個one。 實例數據(以上來自鏈接所): @prefix example: <http://example.org/> . example:subject1 example:property example:object1 . example:subject1 example:pro