rdf

Ontotext GraphDB installation on linux debian (Jessie)

核能气质少年 提交于 2019-12-25 09:45:38
问题 I'm trying to install Ontotext GraphDB free on a debian jessie server. I've downloaded graphdb-free-8-1-1.deb file but when I'm typing the command sudo deb -i graphdb-free-8-1-1.deb as suggested in the quick start guide (http://graphdb.ontotext.com/documentation/free/quick-start-guide.html), I get the following message : sudo: deb: command not found It's seems that it has something to do with the /etc/sources.list file. Do I have to insert a line in this file ? how ? Thanks for your help. 回答1

Link object to subject in RDF domain

非 Y 不嫁゛ 提交于 2019-12-25 07:33:20
问题 I have this RDF file: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:j.0="http://relation/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <rdf:Description rdf:about="soggetto"> <j.0:Nome>Vercelli</j.0:Nome> <j.0:Regione>Piemonte</j.0:Regione> </rdf:Description> <rdf:Description rdf:about="Piemonte"> <rdfs:label>Piemonte</rdfs:label> </rdf:Description> <rdf:Description rdf:about="Regione"> <rdfs:label>Regione</rdfs:label> <rdf:type rdf:resource="http://www.w3.org

Android sax with rdf

情到浓时终转凉″ 提交于 2019-12-25 04:52:03
问题 i try to parse an rdf file using android.sax and android.utils.Xml methods. My parser ouputs nothing and don't send any exception. RDF file: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss1full.xsl"?> <?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http:/

Android sax with rdf

允我心安 提交于 2019-12-25 04:51:25
问题 i try to parse an rdf file using android.sax and android.utils.Xml methods. My parser ouputs nothing and don't send any exception. RDF file: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss1full.xsl"?> <?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http:/

Retrieving Specific RDF Graph Triples Based on Predicate Nodes

六月ゝ 毕业季﹏ 提交于 2019-12-25 04:12:12
问题 I am using dotnetrdf to send a Sparql CONSTRUCT query and evaluate the resulting IGraph. For a start, I am trying to find all Uri nodes that represent individuals of a given type, say, http://www.example.com/InterestingThing So, I would like to use the GetTriplesWithPredicateObject method, passing http://www.w3.org/1999/02/22-rdf-syntax-ns#type as a predicate and http://www.example.com/InterestingThing as an object. That method expects two objects implementing the INode interface, so I am

Querying the shared nodes in a RDF graph

断了今生、忘了曾经 提交于 2019-12-25 03:22:53
问题 I have a graph of RDF data, that is the result of a SPARQL query in rdflib , but this question is valid just on any endpoint too. The graph looks like the picture below. I want to find a way to query the nodes that are shared between two clusters. Those are basically the nodes that are: Subject to two objects Object to two subjects Object to a subject, and, then subject to another object I tried with Graph.subjects() and Graph.objects() on rdflib it seems to me that they are only iterable and

Type inference using class expresions on Protege

柔情痞子 提交于 2019-12-25 02:35:29
问题 I was hoping I could defined Elective_Course in such a way that all individuals that are partOf a Knowledge_Unit and are not of type Core_Course are Elective_Course s. For Course I have this: I thought maybe something on the lines of (partOf only Knowledge_unit) and not(Core_Course) would do the trick, but it doesn't work. Maybe it is because I need and only with the inverse property of partOf , but I haven't defined that property since I didn't need it for the rest. So I could say in

How to write Jena rule to query class and get individuals for a property

久未见 提交于 2019-12-25 01:15:00
问题 How to extract all actuators that are switched off when there are no users at home. I tried to write Jena rule but am unable to get proper output. I have added desired result that I want. Need help with writing rule. [rule1: noValue(:users :hasLocation :home) -> (:actuators :hasLocation :home) (:actuators :state "OFF"^^xsd:boolean)] [rule2: noValue(:users :hasLocation :home) -> (?x rdf:type :actuators) (?x :hasLocation :home) (?x :state "OFF"^^xsd:boolean)] { rulex: [noValue(:subject1

Converting Websites in HTML/XML into RDF [closed]

空扰寡人 提交于 2019-12-24 22:17:35
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I want to convert the data on any html website to rdf. do you know any html to rdf converter? or, do you recommend for this purpose the use of XQuery or GRDDL? 回答1: In general, an automatic conversion is not possible, since HTML says what something looks like, and not what it means. If the HTML contains existing

Write rdf file without Alphabetical

十年热恋 提交于 2019-12-24 17:14:11
问题 Write RDF I have a model RDF and I want write it in a file. This would be the result: @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix legal: <http://www.linked-usdl.org/ns/usdl-legal#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix vann: <http://purl.org/vocab/vann/> . @prefix org: <http://www.w3.org/ns/org#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix price: <http://www.linked-usdl.org/ns/usdl-price#> . @prefix usdl: <http://www.linked-usdl.org/ns/usdl#