rdf

What is the semantic web? [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-17 21:40:07
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . I've heard a lot about the semantic web but I'm still not exactly sure what it is. How will it be different to the web we know now? 回答1: How will it be different to the web we know now? Right now the HTML+CSS is centered more on structure and presentation. Semantics is about the

Querying a Graph path in SPARQL

依然范特西╮ 提交于 2019-12-17 20:41:24
问题 I am trying to write a SPARQL query to return a path from a source to a destination. Below is the Turtle file representing the data set. @prefix node: <http://prism.uvsq.fr/>. @prefix edge: <http://prism.uvsq.fr#>. node:a edge:p node:b. node:a edge:q node:f. node:a edge:p node:g. node:b edge:p node:c. node:c edge:q node:h. node:c edge:p node:i. node:c edge:p node:d. node:d edge:p node:e. node:f edge:p node:g. node:f edge:q node:l. node:f edge:p node:k. node:g edge:p node:c. node:g edge:p node

Is there a way to convert the data format of an RDF vocabulary to SKOS

假装没事ソ 提交于 2019-12-17 19:29:58
问题 The rdfs file I'm want to use is cv.rdfs, I want to convert it to SKOS, so I can use it in Maui Indexer I am a complete noob in the subject. Please help. 回答1: SKOS is for organizing concepts, and doesn't deal with properties, it seems, so there's a lot of information in the CV RDFS that doesn't really have a SKOS version. However, it's easy enough to define a mapping for the RDFS classes and generate some data using SPARQL. Here's a possible mapping: rdfs:Class maps to skos:Concept. rdfs

Simple example of reification in RDF

↘锁芯ラ 提交于 2019-12-17 17:44:40
问题 Could anybody be so kind to give me a simple example of reification in RDF? I want to see if I understood it correctly. For example, I propose the following case Tolkien -> wrote -> Lord of the rings /|\ | Wikipedia said that How would you write it with and without reification (i.e. as a simple RDF statement with no need for reification)? 回答1: "Tolkien wrote Lord of the Rings" can be expressed as a simple statement (subject, predicate, object) like this: :Tolkien :wrote :LordOfTheRings . By

Once I've written a builtin, what do I need to do to make the reasoners aware of it?

五迷三道 提交于 2019-12-17 17:05:57
问题 I have written a custom builtin to use in my Project but I do not really know how I can use it. I have written two classes. In one of them there is the builtin I have made (using BaseBuiltin ) and in the other one I have registered the new builtin (using BuiltinRegistry ). I have already tried to use default builtins, writing rules that use them in a text file readable from Eclipse using Java. In this case I do not have any problems. How can I use the builtin I have built? Should I import (or

How to find similar content using SPARQL

喜你入骨 提交于 2019-12-17 16:38:00
问题 I'm playing with the idea of using SPARQL to identify conceptual overlap between things. Take movies for example (LinkedMDB data), if I have a movie, "The Matrix" and my goal is to list movies that are similar to that movie, I would probably start by doing the following: The Matrix get genre get actors get director get location etc And then using the things I identified in the matrix, I would query for things with those properties (pseudo-query) SELECT movie, genre, director, location, actors

SPARQL Query: How I get only a literal or string as result?

两盒软妹~` 提交于 2019-12-17 14:49:46
问题 Data: <untitled-ontology-5:OperationName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"> Adhesive Curing </untitled-ontology-5:OperationName> SPARQL Query: PREFIX rdf:<http://wwww.semanticweb.org/ontologies/2012/7/9/untitled-ontology-5#> SELECT ?object WHERE { ?subject rdf:OperationName ?object . } Result: Adhesive Curing^^http://www.w3.org/2001/XMLSchema#string My Question: The result of the SPARQL Query is not the result what I wanted. The right result should contain only the

SPARQL Query: How I get only a literal or string as result?

☆樱花仙子☆ 提交于 2019-12-17 14:46:47
问题 Data: <untitled-ontology-5:OperationName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"> Adhesive Curing </untitled-ontology-5:OperationName> SPARQL Query: PREFIX rdf:<http://wwww.semanticweb.org/ontologies/2012/7/9/untitled-ontology-5#> SELECT ?object WHERE { ?subject rdf:OperationName ?object . } Result: Adhesive Curing^^http://www.w3.org/2001/XMLSchema#string My Question: The result of the SPARQL Query is not the result what I wanted. The right result should contain only the

SPARQL property path queries with arbitrary properties

▼魔方 西西 提交于 2019-12-17 10:55:11
问题 SPARQL property path queries of arbitrary length require using specific properties. I want to query and find any path starting from a resource and ending in another resource. For example: SELECT ?p WHERE { :startNode ?p* :endNode } where ?p* specifies a path. Is there a way of doing this? 回答1: You're right that you can't use variables in property path expressions. There are a few things that you can do, though, that might help you. A wildcard to check whether a path exists You can use a

What is the difference between RDF and OWL?

孤者浪人 提交于 2019-12-17 10:07:19
问题 I am trying to grasp the concept of Semantic Web. I am finding it hard to understand what exactly is the difference between RDF and OWL. Is OWL an extension of RDF or these two are totally different technologies? 回答1: The semantic web comes in layers. This is a quick summary of the ones I think you're interested in. Update : Please note that RDFS is used to define the structure of the data, not OWL. OWL describes semantic relationships which normal programming, such as a C struct, isn't