This is 's Typepad Profile.
Join Typepad and start following 's activity
Interests: cognitive science, mathematics, social science, teaching, game theory, semantic web, ai, domain modeling, knowledge aquisition, folk dancing, group leadership
Recent Activity
Dean Allemang is now following Jill Allemang
Feb 21, 2012
I tried to include a screenshot in that reply, but typepad didn't seem to like it. Here is the link to the image
http://dallemang.typepad.com/.a/6a00d8347f455f69e2015433aa5b5f970c-pi
Graphical "more like this" Query Building
I promised in an earlier blog post to talk about how to create queries over OWL in RDF. So here it is. As Ivan alluded in his comment, there are some syntax issues with talking about OWL restrictions in RDF. What is he referring to? Well, let's take the same example in the last blog post, a...
This is indeed a bit tricky, because of how owl:intersectionOf is handled in RDF. Here is an image of your example; at the bottom, it stops where the image in the main blog entry begins.
You can still use the same method as described here (just expand both of those restrictions at the bottom out the same way I did in the original blog). But there is a trick here - because you don't know which order they will come in, you don't know how many times to use rdf:rest in the list that comes after intersectionOf.
The trick here is to use property paths in SPARQL. So where this generates something like
?x rdf:rest ?b .
You need to change that to
?x rdf:rest* ?b .
You need to do this even for the one where there isn't any rdf:rest, to make them both the same.
I don't have time to work out the whole solution right now - see if this helps, and I'll do some more later on if needed.
Graphical "more like this" Query Building
I promised in an earlier blog post to talk about how to create queries over OWL in RDF. So here it is. As Ivan alluded in his comment, there are some syntax issues with talking about OWL restrictions in RDF. What is he referring to? Well, let's take the same example in the last blog post, a...
Yes, but I don't know the schedule. Converting to Kindle version is something the publisher organizes.
Semantic Web for the Working Ontologist - second edition
I got my advance copy of the second edition in the mail last week. This includes a whole new chapter on SPARQL, lots of new examples (ODP, Good Relations, QUDT, and an improved treatment of OBO), and now SKOS gets its own chapter. It appears to be available on Amazon now.
Yes, there is an error of that sort - we caught it in the second printing (and in the second edition)
Touché.
Data.gov shutdown is my fault
About a year ago, Kingsley and I conjectured in a Twitter chat that history would remember the Obama administration for its advanced in government transparency. Kingsley proposed this position; my response was that I hoped he was right. Now that Congress has decided to fix the nation's budget ...
This example has also been replaced. Which just means that i now have a whole new set of figures that can have this sort of error in them :)
This whole example is being replaced with a better one (also from OBO) for the second edition.
Good catch! Fixed in second edition.
Thanks! Changed in second edition
the rules about skos:Collection outlined in this example have been deprecated in SKOS 2, so this example won't appear in the second edition.
That's funny, I know I had this example around when I put the examples on the website - I don't know why it didn't get in.
For the second edition, I have to prepare more RDF files for the website, so I'll include this on as well.
Good eye! Thanks.
How did I get this wrong? In any case, fixed now.
Thanks! Changed in second edition.
Thanks - changed in second edition
Thanks - fixed in second edition
Thanks! Changed in second editon.
thanks! Changed in second edition.
Thanks for taking the time to write all these down. I caught them for the second edition (some were already fixed - maybe I caught them myself in some intermediate draft).
Challenge 1 is on page 46 of the first printing - I need to have a look at the second printing (I don't have one on hand right now) to see if it was somehow removed.
Things like "MilkBySourceAnimal" were deprecated in SKOS 2, so that example is gone.
In the second edition, I have replaced the Milk/Dairy example with Sheep/Livestock, which I hope is less confusing (and relies less on a familiarity with details of words in English, and grocery customs).
You are both right - this was incorrect in the first printing. Fixed in the second (where the whole thing looks different, since I now use SPARQL to specify these inferences)
Good catch! I didn't think of this when doing the first example. I've extended it (just a little) for the second edition.
Got it. Thanks.
minor but annoying. Fixed in second editon.
More...
Subscribe to ’s Recent Activity