Time |
S |
Nick |
Message |
10:21 |
|
pdurbin |
hmm, http://stackoverflow.com/questions/17315289/code-reuse-in-methods-class-vs-strategy-pattern-and-dependency-injection |
11:33 |
|
pdurbin |
sivoais: I mentioned Linked Data at http://indiewebcamp.com/irc/2013-06-27 but it's not very popular with that crowd |
12:10 |
|
|
aditsu joined #sourcefu |
12:54 |
|
|
onder`_ joined #sourcefu |
15:32 |
|
|
astorer joined #sourcefu |
17:04 |
|
sivoais |
pdurbin: oh, yeah, that sentiment is common among developers. Linked Data at the RDF model level can seem Byzantine because all the work on ontologies. It has a quite steep learning curve. |
17:08 |
|
sivoais |
Putting on my practical hat, I would say one problem is that with Linked Data, everything isn't returned in one neat data structure unless you request it. You essentially have a graph and those are not exactly fun to deal with. The current way with JSON and microformats purposefully map well to the data structures in our programming languages. |
17:08 |
|
sivoais |
Which is great! Easy to work with for manipulation, searching, serialisation, etc. |
17:13 |
|
sivoais |
Now, compared to what we have the semantic web seems incredibly academic with references to analytic philosophy and predicate logic. And I can understand a reaction to avoid getting a world where devs have to deal with that. |
17:19 |
|
sivoais |
But I come to it with another perspective (and I may be aiming high, but that is personality) |
17:21 |
|
sivoais |
RDF is *not* a single file format. It is mainly (to simplify) the notion that all the concepts you refer to have a URI. And you should be able to use that URI to get more information about that concept. |
17:23 |
|
sivoais |
The collection of of these concepts and all their relations (called triples) form an RDF graph. |
17:24 |
|
sivoais |
These can be serialised to a number of formats including Turtle and JSON-LD. |
17:28 |
|
sivoais |
But what problem does having this graph solve? Well, for me, I think of it as an ultimate level of machine readability. |
17:32 |
|
sivoais |
Now, I can pull in data and be able to have a framework that can understand relationships and types between the different pieces of data without having written code for it specifically. |
17:34 |
|
sivoais |
Say, I get back some data and it contains a reference to at latitude and longitude that uses <http://www.w3.org/2003/01/geo/>. I can't display it like that: I need a name like "London, United Kingdom". |
17:38 |
|
sivoais |
Instead of having to find a reverse geocoding service to retrieve that, I can request more information and look for a relationship that can give me a city name, but I don't have to mix APIs and change the data representation to interface with this other service. |
17:40 |
|
sivoais |
In addition, I don't have to stick with just English names, as RDF has a way to tag languages. |
17:41 |
|
sivoais |
So, the pie-in-the-sky idea is to reduce the burden on the programmer and let the computer find the data we want in a more declarative manner. |
17:43 |
|
sivoais |
But it is hard work to both understand and implement, so it gets dismissed as vapourware. |
17:48 |
|
sivoais |
The full scope of Linked Data might seem like more work than it is worth and there are issues to deal with like trust and bad metadata. |
17:50 |
|
sivoais |
But at a basic level, I think it is good idea to have richer types in my data than just strings that I keep on having to parse and join. |
18:04 |
|
pdurbin |
just recommended to me: http://apigee.com/about/content/web-api-design |
18:07 |
|
sivoais |
I think being able to answer questions like what bands are from Leeds (to give a fun example) easily is something worth doing. <http://bit.ly/dbpedia-bands-from-leeds>, <https://gist.github.com/zmughal/5886742> |
18:56 |
|
pdurbin |
sivoais: good stuff. I'll have to catch up on it later |
18:57 |
|
pdurbin |
busy hacking: started Data Deposit API (SWORDv2) branch: #3108 · 4838565 · IQSS/dvn - https://github.com/IQSS/dvn/commit/4838565 :) |
19:27 |
|
|
astorer joined #sourcefu |
19:53 |
|
pdurbin |
hmm, bash-completion for git... especially handy for checking out branches: https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion |
19:53 |
|
pdurbin |
great stuff |
20:31 |
|
pdurbin |
I was trying to type a :) and a thumbs up popped up. I kept it: https://github.com/swordapp/JavaServer2.0/pull/2#issuecomment-20212627 |
20:55 |
|
|
sivoais joined #sourcefu |
21:00 |
|
|
sivoais_ joined #sourcefu |