Labs > Exemples d'utilisation de Dbpedia > Galerie de peintures
1 PREFIX p: <http://dbpedia.org/property/> PREFIX dbpedia: <http://dbpedia.org/resource/> PREFIX category: <http://dbpedia.org/resource/Category:> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX geo: <http://www.georss.org/georss/> SELECT DISTINCT ?painting ?image ?title ?artist ?artistName ?page WHERE { ?painting <http://dbpedia.org/property/wikiPageUsesTemplate> <http://dbpedia.org/resource/Template:infobox_painting>; <http://dbpedia.org/ontology/thumbnail> ?image; rdfs:label ?title; foaf:page ?page; p:artist ?artist; skos:subject ?subject.?subject rdfs:label ?label. FILTER regex(?label, "painting","i") OPTIONAL { ?painting <http://dbpedia.org/property/artist> ?artist1. ?artist1 rdfs:label ?artistName. FILTER (lang(?artistName)="en") } FILTER (lang(?title)="en") }LIMIT 10