code:That's pretty much it. We're talking maybe 20 lines of code once you include boilerplate (closing connections, using the correct uri's -- several of the words in the triples above are actually URIs, but that wouldn't add any LOC, that sort of thing).imdb = connect(imdb-rdf-query-url)
titlesquery = triples(--result--:titlesof:books, books:madeinto:movies, movies:cameoutin:2003)
titles = imdb.query(titlesquery)
amazon = connect(amazon-rdf-query-url)
authorsquery = triples(--result--:authorsof:books, books:havetitles:*titles*)
authors = amazon.query(authorsquery)
print tripleresults(--result--:namesof:*authors*)
code:Or possibly link to it on the page itself.<link title="Dog Pedigrees" type="application/rdf+xml" rel="alternate" href="pedigrees.rdf" />