My RDF xml file is something like this..
<rdf:RDF>
<rdf:Description rdf:about="........">
<j.0:property rdf:resource="....."/>
<j.0:property rdf:resource=....."/>
<j.0:property rdf:resource="........"/>
</rdf:Description>
</rdf:RDF>
Now in my XSLT stylesheet I need to retrieve the values of all the j.0:...
Hi,
i have a similar issue as espoused in http://stackoverflow.com/questions/695752/product-table-many-kinds-of-product-each-product-has-many-parameters
i am convinced to use RDF now. only because of one of the comments made by Bill Karwin in the answer to the above issue
but i already have a database in mysql and the code is in php....
is there a way to parse OpenCalais RDF in .NET as i'm using dotnetRDF and it keeps giving me errors. A sample of the Rdf generated may be found in http://viewer.opencalais.com/ , i'm honestly really lost and would really appreciate any help! please help if you use any other apis or know how to make it work with dotnetRDF as i'm honestly ...
I have a database that acts like a triple store, except that it is just a simple MySQL database.
I want to select all triples that have a common predicate and object. Info about RDF and triples
I can't seem to work out the SQL.
If I had just a single predicate and object to match I would do:
select TRIPLE from TRIPLES where PREDICATE...
I have an XML which uses the XPDL standard (which has an XML schema). What I'm trying to do now is to convert its content to RDF format (serialized in XML), in terms of a certain ontology. Clearly, there needs to be some sort of mapping here. I would like to do this using PHP. The thing is, I have no idea how to do this best. I know how ...
Hi,
I need to classify sentences as a RDF format.
In other words "John likes coke" would be automatically represented as
Subject : John
Predicate : Likes
Object : Coke
does nyone know where I should start? Are there any programs which can do this automatically or would I need to do everything from scratch?
Any help would be appreci...
I am trying to construct an ontology in protege. However, I was wondering how to represent the following in OWL XML:
A hospital consists of various departments, wards, and the central administration
Its a bit strange that I can construct the hardest of ontologies but i just can't solve this.
Any help would be greatly appreciated.
S.
...
It seemed a trivial matter at the beginning but so far I have not managed to get the unique identifier for a given resource using SPARQL. What I mean is given, e.g., rdf:Description rdf:about="http://..." and then some properties identifying this resource, what I want to do is to first find this very resource and then retrieve all the tr...
I have two queries:
query 1:
SELECT DISTINCT ?o COUNT(?o)
WHERE
{ ?s1 ?somep1 <predicate_one-uri>. ?s1 ?p ?o}
query 2:
SELECT DISTINCT ?o COUNT(?o)
WHERE
{?s2 ?somep2 <predicate_two-uri>.?s2 ?p ?o.}
Each query gives me a different result set (as expected). I need to make a union of these two sets, from what I understand the...
So here's the scenario...I have an XSD file describing all the objects that I need. I can create the objects in Java using JAXB no problem. I have an XML/RDF file that I need to parse into those objects.
What is the EASIEST way to do this?
I have been looking into Jena and have played around with it, but can't see how to easily map th...
Is RDF still used widely for content syndication? Specifically, I know only of Slashdot as a large scale website syndicating content in that format (say versus RSS).
Understandably this might seem vague to answer so more specifically:
Can anyone list any larger sites similar in scale to Amazon or CNN using it?
Any web based publishin...
I am trying to get my head around using RDF to describe custom resources. I understand there are xmlns' out there such as Dublin Core and foaf which provide predefined element sets. How do I go about creating my own?
I may be barking up the wrong tree of course and should stick to xml + xsd?
...
I am learning RDF.
What's the difference between this two approaches:
a)
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:tur="http://www.blah.com/turismo#">
<rdf:Description rdf:about="http://www.blah.com/tur...
I am trying to convert the RDF/XML format to JSON format. Is there any python (library) example that i can look into for this to do ?
...
Is ROWLEX 2.1 an OWL 2 or OWL 1 framework?
...
Hi,
I have an ontology, which I read in with Jena to help me scrape some RDFa triples from a website. I don't currently store these triples in a Jena model, but that is fairly straight forward to do, its on my to do next list.
The area I am struggling with, though, is to get Jena to output correct RDF for the ontology I have. The ontol...
Do you know of any OWL 2 tools/libraries implemented in C#? There are some in Java, but am I to rewrite them to C# or invent my own ones If I prefer .Net?
...
Seems it hasn't been updated in a while, and lacks support for things like sy:updateFrequency.
...
what's the best/simplest/easiest way to create rdf/xml with php?
ideally i would like to use simpleXML - but i believe it doesn't support namespaces?
failing that maybe simpleDOM? id rather not use DOM since it tends to confuse me a lot!
perhaps there is some other way?
thanks for your help!
:)
nb: i tried to post an example but co...
whenever i start using sql i tend to throw a couple of exploratory statements at the database in order to understand what is avaliable, and what form the data takes.
eg.
show tables
describe table
select * from table
could anyone help me understand the way to complete a similar exploration of an rdf datastore using a SPARQL endpoin...