n3

delete a node or triple using dotenetrdf librery?

試著忘記壹切 提交于 2020-01-07 02:03:53
问题 I have an n3 file formate and i want to delete a node or triple from it how can i do it? should i use sparql query?please help me i want to have an n3 file and want to delete a node from it. i pass a graph that use in my parent form to this delete form and want to work with this graph that i create from an n3 file i mean i read this n3 file and convert it to a graph and send it to this form. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using

Ensure that multiple subjects point to same list of blank nodes

自作多情 提交于 2019-12-23 12:19:35
问题 Consider the following instance of SomeClass : instances:some_thing1 a semapi:SomeClass ; semapi:hasChainTo ( [ ... ] [ ... ] [ ... ] ) . I need every instance ( some_thing2 , some_thing3 , etc.) to have its hasChainTo property point at the same list of blank nodes (as in there is only one copy of it). I need to maintain the list of blank nodes syntax because the chains get very deep and this syntax is very fluid for writing out each chain (for SomeClass2 , SomeClass3 , etc.). If I simply

Extract date/time based predicates from DBPedia

佐手、 提交于 2019-12-02 20:48:01
问题 I want to extract all statements from DBPedia's dump file. Is it possible to write a sparql query to extract the list of predicates which contains the date values (like releaseDate, deathDate, birthDate,...)? 回答1: You can write a SPARQL query (you tagged with SPARQL, so presumably that's how you want to query for these things) that finds these kind of properties. All you need to do is query for things which are owl:DatatypeProperties (since dates should be literals), and then filter based on