Vastaus 1

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ks: <http://www.yso.fi/onto/kaunokki#>
SELECT DISTINCT ?genrennimi
WHERE {
   ?kirja ks:genre ?genreid .
   ?genreid skos:prefLabel ?genrennimi .
   FILTER (lang(?genrennimi) = 'fi')
} LIMIT 20

Vastaus 2

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ks: <http://www.yso.fi/onto/kaunokki#>

SELECT ?romaani ?p ?o
WHERE {
   ?romaani a ks:romaani .
  ?romaani skos:prefLabel ?nimi .
  FILTER (regex(?nimi, 'seitsemän veljestä', 'i'))
  ?romaani ?p ?o .
}

Vastaus 3

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ks: <http://www.yso.fi/onto/kaunokki#>
PREFIX ling: <http://www.lingvoj.org/lang/>

SELECT DISTINCT ?nimi (count(?teos) as ?count)
WHERE {
  ?teos a ks:romaani .
  ?teos ks:tekija ?henkilo .
  ?henkilo skos:prefLabel ?nimi .
  ?henkilo ks:aidinkieli ling:fi .
}
GROUP BY ?nimi
ORDER BY DESC( ?count )
LIMIT 10

  • No labels

1 Comment

  1. Anonymous

    Amateurs of the poker game can start playing it free and slowly push for real money with a stack of cards. It is no wonder now that there are well over 500 websites offering a virtual opportunity to play poker games for real money. It is one of the most popular online games in the world and can be played for fun and wealth. Moreover, now there are various types of poker games, which can be played online like Texas holdem and more instantly!

    Itudomino.com Judi Domino Agen Domino Agen Judi Domino Online Indonesia Terpercaya
    Poker757.com Agen Judi Poker Online Terpercaya Indonesia
    Senangpoker.com Agen Judi Poker Online Terpercaya Indonesia
    Ligadaun.com Agen Taruhan Bola Piala Dunia 2014 Casino Tangkas Poker Online Terbaik Terbesar Dan Terpercaya
    Sarana99.com Agen Texas Poker Dan Domino Online Indonesia Terpercaya
    Itupoker.com Judi Poker, Agen Poker, Agen Situs Taruhan Bandar Judi Poker Online Indonesia Terpercaya
    Sayapoker.com Agen Judi Poker dan Domino Online Terpercaya Indonesia