rdf

How do I deserialize a OWL document?

Hello, I created a bunch of classes using ROWLEX and had them serialized to RDF using RdfDocument rdfDocument = Rdfizer.Serialize(ontology); Now i would like to deserialize it (similar to how XmlSerializer.Deserialize() works) so that I could have the data in the ontology populated in my object I would like to do something like th...

Quick question about the RDF triple

Is it possible to use URI for the subject, predicate and object in RDF or should there be a keywork in atleast one of the triple for eg David http://www.someuri.com/predicate http://www.someuri.com/object Is it possible to have this kind of structure in an RDF file or should all the triples be in URI form. in that case can David be t...

Simple example of reification in RDF-XML

Could anybody be so kind to give me a simple example of reification in RDF-XML ? 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...

Rowlex: A property node cannot contain more than one entity description

Hi, when using Rowlex OwlGrinder to generate an assembly from an OWL file the above error message is shown. The offending piece of OWL/XML is for example: <DisjointClasses> <Class URI="&foaf;Document"/> <Class URI="&foaf;Organization"/> </DisjointClasses> but the same error message is also thrown in the case of multiple s...

How can I access RDF-XML from Perl (or other scripting language)?

I'm backing up my Flickr pics locally using a Perl script and the Net::Flickr::Backup module. This pulls down the original picture, a thumbnail, and the associated metadata (title, tags etc) in a RDF-XML file. I'd like to extract a subset of this metadata so I can generate a "poor man's Flickr" HTML page. This should display the thumbna...

Retrieving all the ancestors of a rdf:Class

Hi all, Imagine the following Taxonomy (acyclic & directed graph): <my:Eukaryota> <rdfs:subClassOf> <my:Organism>. <my:Mammal> <rdfs:subClassOf> <my:Eukaryota>. <my:Primate> <rdfs:subClassOf> <my:Mammal>. <my:HomoSapiens> <rdfs:subClassOf> <my:Primate>. <my:Bacteria> <rdfs:subClassOf> <my:Organism>. <my:Escherichia> <rdfs:subClassOf> <m...

Browsing/editing RDF/OWL Instances

I'm looking for a graphical browser for examining large networks of OWL/RDF instances. Protege's instance browser isn't really useful and if COE supports instance browsing, I've not discovered how. Network size is around a million nodes. I'm hoping to be able to search for an instance, expand it to show its relationships, and explore ot...

Do we have a RDF net?

We can give some information in HTML form. Then different peoples provides different HTML pages which are interconnected and in this way we get WWW. Information can also be given in the with the usage of RDF form (let say XML implementation of RDF). Different peoples can provide different RDF documents and... I expect that we can get a k...

Ontology, semantics, web mining resources

Do you know any good resources where I can read and learn about ontology, semantics and web mining? It could be a book, a website or any other resource. ...

Help with putting RDF in a web page (jsp)

When I read the documentation on Common-Tags, I thought it would be easy to put this in a jsp because the examples were cut and paste <body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged"> <span typeof="ctag:Tag" rel="ctag:means" resource="http://rdf.freebase.com/ns/en.u2" property="ctag:label" c...

Using the Jena RDF library, how do I return the property of a URI resource?

I have a Jena URI Resource (Resource reference to an object where isURIResource() returns true). An example Resource URI is this: http://d.opencalais.com/er/company/ralg-tr1r/4ee13d20-b44f-3bce-98bc-49a303e72db5 If you open that in a web browser, you'll probably be given the HTML representation of the data: http://d.opencalais....

Very basic SPARQL beginner problem (or RDF modelling problem)

Hi to you all (and thanks for this great website since there doesn't seem to exist a forum on beginner-SPARQL-questions), i hope someone can help me on this probably totally easy-to-solve problem: I want to run a SPARQL query against the following RDF (noted in N3, the RDF/XMl sits here). This is the desription of a journal article and...

JQuery/Javascript RDF plugin

Any ideas about JQuery plugins/Javascript libraries for working with RDF? ...

SPARQL Negation: All foaf:Agents which aren't foaf:Persons

Hi I am trying to write a SPARQL query which should give me all foaf:Agents which aren't foaf:Persons. I can't see a way to apply this OPTIONAL/BOUND construct to this problem, because all the properties like rdfs:subClassOf and rdf:type are transitive and reflexive. I tried this: SELECT * WHERE { ?x rdf:type foaf:Agent OPTIONAL { ...

RDF and uuid. why no urn schema ?

<rdf:Description about='uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031'> Why this about does not contain urn:uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031 instead? Isn't the uuid a urn, and therefore required to have a urn: scheme in front of it ? ...

Enterprise grade databases that can handle large RDF datasets?

Hi, all. Are there any enterprise-grade database engines (Oracle, MS SQL...etc) that can handle large RDF datasets (320 million) and SPARQL queries? I guess my question is also: is SPARQL/RDF/OWL ready for serving large real-world data warehouses for an enterprise? If not, are there efficient mechanisms for adapting SPARQL/RDF against ...

Problem with SPARQLWrapper (Python)

Howdy, I'm making a SPARQL query against the Sesame store in localhost, using SPARQLWrapper: sparql = SPARQLWrapper('http://localhost:8080/openrdf-sesame/repositories/rep/statements') sparql.setQuery(query) sparql.setReturnFormat(JSON) results = sparql.query().convert() However, I'm getting: File "build/bdist.linux-i686/egg/...

What is the difference between RDF and OWL?

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? ...

Symantic Web SPARQL CONSTRUCT Question

I am using a tool called TopQuadrant to create a Symantic Web (RDF/OWL) Ontology. This tool allows for import of data from MS Excel. My spreadsheet is basically a two-column sheet with the first column being an XPATH expression and the second column being a description of that XPATH. Once I import my spreadsheet, I would like to use SP...

Template system for RDF ?

RDF is a schema-free system to represent data. However, most of the time I find myself writing a sort of well-known graph structure, and I have to build triple by triple. In the more general case, this well known graph structure is of course not guaranteed to be complete nor fixed (e.g. something else can be added). However, if a more o...