SPARQL Graduates to W3C Recommendation 111
KjetilK writes "The W3C just gave SPARQL the stamp of approval. SPARQL is a query language for the Semantic Web, and differs from other query languages in that is usable across different data sources. There are already 14 implementations of the spec available. Most of them are free software. There are also billions of relations out there that are query-able, thanks to the Linking Open Data project. The structured data of Wikipedia is now query-able at DBpedia. Also, have a look at Ivan Herman's presentations on this topic."
Query (Score:5, Funny)
A what for the what now?
I'd always assumed the semantic web was some meaningless and faded buzzword designed to keep the W3C away from useful stuff. Is it back again with a vengeance?
THE SEMANTIC WEB II: THIS TIME IT'S FOLKSONOMY
Eek.
Re: (Score:2, Funny)
I spent a minute trying to find out what this was all about, and came upon this from Tim Berners-Lee:
Re:Query (Score:5, Insightful)
Maybe I'm just your regular Homer, but reading that, I only make it as far as the second paragraph before my mind has already wandered off to a magical land of (Beer/Chocolate/Boobies)*.
*delete as appropriate
Re: (Score:2, Funny)
Re: (Score:1)
It is really simple (Score:5, Informative)
so
<http://www.kjetil.kjernsmo.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://www.w3.org/People/Berners-Lee/card#i>
simply says that I know timbl. I hope you're less stumped than you used to be.
If you grok this, you've grokked 90% of RDF.
Re:It is really simple (Score:5, Funny)
Stupid Question Language (SQL) does great for two dimensional sets of data.
Special Peoples' Advanced Retarded Question language (SPARQL) is meant for return results from tree-shaped lumps of textual data, and lets you use regular expressions to figure out where you are in the tree and match nodes and attributes and stuff.
I think smart money is going to continue to arrange data in sets, and in five years, your SQL knowledge will still be serving you in quite good stead.
Re: (Score:2)
Re: (Score:2)
It's easy to understand, it works well with the existing tools, and it fits our two dimensional screens. If you can't figure out how to get what you want out of a dataset with SQL, maybe you need to consider getting people with a specialized skillset. You don't get a Web developer to code in C. You don
Re: (Score:2)
Re: (Score:1)
Look up 'Nested-set model'.
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Layne
Re: (Score:2)
That and 12 appears before the more important details, such as first name and last name.
Yes, these are just anecdotal evidence, but if it walks like a duck and quacks like a duck...
Re: (Score:2)
I guess it's a bun fight over whether a column is a dimension.
Re: (Score:2)
Re: (Score:2)
This is, you understand, not as common as it should be.
What fascinates me is the people who tout the tree view as the be-all-end-all, but then don't say much when the data turn out to be a full-on graph. Whoops!
Re:It is really simple (Score:5, Funny)
Good lord, you actually have content there. Sweet Zombie Jesus, it's like if MySpace was irradiated with XML-Rays and mutated into a complete XML-based social network specification [xmlns.com], which requires everyone to write their own specifications and hand-edit XML files.
That's just ... scary.
Re: (Score:3, Interesting)
Anyway, FOAF + SIOC [sioc-project.org] + Policy Aware Web [policyawareweb.org] comprises pretty good solutions to the data portability and privacy considerations people have been screaming about lately.
Re: (Score:1)
Re: (Score:2, Informative)
Re:The Semantic Web has been a reality for years n (Score:4, Insightful)
Cutting a swathe through your charmingly misplaced snobbery for a second, the ideal thing would be for you to provide a useful example or two of this human thing called SEMANTIWEB, and explain to silly old me how it has already changed my life but I'm just too gosh darned ordinary to have noticed.
Re:The Semantic Web has been a reality for years n (Score:5, Informative)
In my submission, I gave an example query, which you can run at DBPedia with their standard prefixes:
SELECT ?name ?birth ?death ?person WHERE
{ ?person skos:subject ;
dbpedia2:birth ?birth ;
foaf:name ?name .
OPTIONAL { ?person dbpedia2:death ?death }
FILTER (?birth "1945-01-01"^^xsd:date) . }
ORDER BY ?name"
What this says is "give me the name, birth data and death date of a person that has the following properties:
It is a computer scientist, who has a birth day and a name and optionally a death date, then filter based on the date and order it by name.
There are now billions of such stuff you can query, and if you're open minded, it could indeed change your life.
Re: (Score:2)
To use your current example, what if your person was classified as a "programmer", or "software engineer" rather than a computer scientist? I understand that there are varying meanings for that word, my computer-science teach used to call first year students "computer-scientist
Re: (Score:2)
My classifications could include "league bowler" "husband" "programmer" "database programmer" "texas resident" etc.
Layne
Re: (Score:1)
In RDF, since you can relate any resource (i.e. concept) to any other, you can also relate "tags" (e.g. rdf:type properties) to each other. RDF features some simple inference-enabling vocabulary for creating taxonomies out of these, OWL offers even more and this is not the limit.
Then you can easily discover similar "tags" by analysing the number of common instances and semantic distance between them both in the taxonomy created by RDF/OWL vocabulary as well as any othe
Re: (Score:2)
Or, to generalize: (Score:1)
Or, to generalize: the problem with the "semantic web" is that Good Old-Fashioned AI [wikipedia.org] failed, and somebody seems to have failed to get the memo. The "semantic web" really is just "expert systems [wikipedia.org], now with XML! (but don't call them that!)." Somebody failed to read or understand
Re: (Score:1)
This is oft-repeated argument against the Semantic Web, but it doesn't hold up to close examination. The Semantic Web doesn't rely on human accuracy any more than computer applications in general do, and the Semantic Web also provides a platform on which one can establish distributed trust systems, etc., to address problems associated with source unreliability.
Re: (Score:2)
In my submission, I gave an example query, which you can run at DBPedia with their standard prefixes:
Maybe my own search skills are rusty, but I couldn't find actual documents anywhere in the site, just various gibberish examples. In other words, is there actual documentation - especially a list of properties - anywhere ?
What's the difference from regular SQL ? (Score:2)
SELECT name, birth, death from person
WHERE yada, yada, yada (or perhaps OUTER JOIN depending on the structure)
AND birth = '1945-01-01'
ORDER BY name
I really can't see that the query syntax will change anyone's life. I'm sure that data sets that are non-relational and 2D will be a great thing and that the query language for it won't.
Re: (Score:2)
Re: (Score:2)
As far as I can tell
Re: (Score:2)
The W3C is past its usefulness and needs a shakedown IMO.
Re: (Score:2)
RDF databases really shine when you start pulling XML from multiple data sources. All the feeds can then be dumped into a single generic three-column table, slap a SPARQL implementation on top of that, and you
Re: (Score:2)
SPARQL is a query language for RDF data. Or more specifically, a pattern matching system for graphs with named nodes and edges. Yes, lots of people who talk about it use so many buzzwords that they sound like marketing dweebs on a caffeine overdose, but when you scrape off all the buzzwords and misdirected enthusiasm, what's left is actually somewhat useful.
Though you might argue that they could just as well use a single database table and normal SQL.
Oblig. (Score:1, Funny)
Re: (Score:2)
SPARQL Motion (Score:4, Funny)
With apologies to Donnie Darko [imdb.com]
Re: (Score:2)
Now, whenever my co-workers ask me why I'm reading about this I'll just tell them that "Frank made me do it."
Semantic Web Quite Important (Score:3, Interesting)
Re: (Score:2)
Re: (Score:1)
I get pretty good results that way, because someone has probably already asked that question on some forum and been answered.
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
siggh... (Score:2)
Web development surely is a bitch.
Re: (Score:2, Troll)
W3C: Making over-engineered pieces of trash in an attempt to handle every single darn scenario in existance (instead of using the right tools for the right job) since 19...well, since ever.
Re: (Score:2)
Which means all these open standards are nothing more than data interchange formats for third-party commercial tools. In order to use the standard, you have to buy a tool. Once again, open != free.
Graph : the worst word in computer science (Score:1)
schmoo
zenny
budka
dango
chumpy
or something. anything but graph.
"dango" taken (Score:2)
SPARQL (Score:5, Funny)
Re: (Score:2)
And until now I was also in the "huh, I thought 'semantic web' was little more than a buzzword a some markup no one pays attention too. Didn't think it were possible to make any use of" camp.
Re: (Score:1)
Re: (Score:2)
Layne
actually (Score:2)
Why emphasize the semantic web? (Score:5, Informative)
My company stores the schema for our objects in RDF and use SPARQL to query against that schema. The actual data is saved to a relational database (our experiments with an all-RDF system concluded that it's just too slow for large data sets).
The RDF data stores can exist in arbitrary places (they don't need to be local), but I wonder how slow that would be to query.
Nevertheless, I encourage people to at least learn about this stuff. It's good for the same reason that learning about Ruby and Python is a good thing even if you only ever program in Java or C++. RDF and SPARQL make you start thinking about inferences and ways of storing data which allow you to derive more information from your information. When I first learned about RDF I had the same type of aha moments that I had when I first learned a dynamic language (FWIW, it was TADS3) after years of using static languages.
Re: (Score:2)
It'll work great for the Semantic Web, then, which is only supposed to organize all the data in the world...
Personally, I don't see why they don't just stick trees in relational databases. I was doing this in 1996 or thereabouts, and with the right schema it is fast and efficient.
Re: (Score:2)
Mainly because trees are very bad at describing many real world things. If you want trees, use XML and XQuery, but it won't get you very far, IMHO.
RDF is a graph model, much more powerful, and something that can truly scale.
Re: (Score:2)
I do agree that trees don't work well in relational databases though
Re: (Score:1)
You can represent XML in an a pure RDBMS, too. But you wouldn't want to, and it wouldn't be great for tree queries, and an XML-centric query tool won't be a good way to do graph queries on RDF represented in XML. And you probably don't want to think about graph queries on an RDBMS representation of an XML representation of RDF.
Re: (Score:2)
You're right that a "traditional" shredding approach to putting SGML or XML into a relational database was a performance nightmare. Times have changed.
Having said all that, claiming that grap
Re: (Score:1)
Re: (Score:2)
It is possible to make it fast - but this will not happen overnight.
Re: (Score:2)
And why, exactly is that? So that I can stuff yet one more computer language that I'm never going to use into a head that's already so full of trivial, useless information that something has to fall out (usually something occasionally useful, like French or a couple of notes in the pentatonic minor scale) for me t
Does it SPARQL?? (Score:2)
Help the dim (Score:2)
Re: (Score:2)
This article has been live for something like 10 hours and there are a total 2 posts (by my settings) that have a "5" rating. That's proof enough right there that this is a waste of everyone's time. If it was smart there would be supporting posts, if it was stupid there would be Funny or Insightful digs.
Instead what we have is obviously some garbage that no one can talk about intelligently or even gives a shit about.
Sorry for wasting your time, AC, I was hoping otherwise.
This would take off if used with RSS, etc. (Score:2)
"Soccer player with tricot number 11 from club with stadium with >40000 seats born in a country with more than 10M inhabitants [aksw.org]"
but, as far as i can see, it's just too tedious to implement. There should be something in between full-fledged semantics, and stuff like RSS which expose information in a rather un-semantic way.
I just ran in to a problem trying to unify various
Re: (Score:1)
Schweini: agreed re. the need for awareness-campaign.
And often an average web citizen may ask: "so what's in there for me?". If you can play with SPARQL queries yourself, on some data that are of interest to you, that would be another thing entirely.
As for getting interesting data to work on, you can use some of SIOC export plugins [w3.org] for WordPress and other blog/forum engines. Then collect data (that will require some crawling of data pages) and run queries over your own content. This data would be richer
What If You Build It And Nobody Comes? (Score:2, Insightful)
Anyone else feel the high glaze factor kicking in? (Score:2)
And after reading the standard, most of the articles, and looking at a couple of implementations, not only have I hit arbitrary but fairly high limits on what I will put up with before my eyes glaze over, I've also hit the 'don't give a s--- limitation as w
Performance issues (Score:2)
O
Worst acronym ever! (Score:1, Interesting)
I vote this worst acronym ever!
Re: (Score:1)
Which, I guess, is kinda hard to believe if you're not into this stuff.
Re: (Score:1)
Re: (Score:1)
I swear, it used to stand for Simple. Thanks for the heads-up.
links from Kingsley Idehen (Score:2)
http://www.openlinksw.com/index.htm [openlinksw.com]
The guy mentioned turns out to be the founder and CEO, and he keeps a personal blog space with a lot of stuff about SPARQL, but man, protect your eyeballs from the vision gouging link clutter. Has all the visual appeal of a rental car insurance application form.
http://www.openlinksw.com/blog/~kidehen/ [openlinksw.com]
Even includes a link to the Zitgist data viewer. Amazingly, that domain was st
Re: (Score:2)
Layne
Re: (Score:2)
Re: (Score:2)
SPARQL parser (Score:2)
Why Semantic Web? Why yet another thing to learn? (Score:1)
1. True, RDF stores tend to be slow. Triple/RDF stores are sometimes built on top of SQL databases, and (for example) the database has to do a million inner joins per query. Column stores, other native graph stores offer some hope to this problem.
2. True, SPARQL isn't that hard to learn, and it's simpler than exp
I can 'think OWL' easier than 'think RDF' (Score:2)
I much prefer the higher level OWL representation with descriptive logic, but the problem is that support for lower level RDF is much better. There are commercial and open source OWL+descriptive logic reasoner packages, but there is much better coverage for RDF tools. In any case, with the exception of the expensive (commercial) Lisp ba
Wonderful! (Score:2, Insightful)
Just like everything else, somehow someone is going to try to shove their advertising down it.
Re: (Score:2, Funny)
xml like xslt? (Score:2)
Re: (Score:2)
Re: (Score:1)
xquery anybody? (Score:2)
Re: (Score:2)
You would need to choose an underlying data representation (in XML or at least the XDM) that could be optimised by the database technology you were using. Probably just a "node" element and a "relation" element would do it.
The point of using SPARQL (as I see it) is so that RDF people can think in terms closer to their problems (wanting to explore inferencing and logic) and so that they don't have to u