Warning: stream_socket_client() [function.stream-socket-client]: SSL: Connection reset by peer in /home/lespetitA/www/semweblabs/easyrdf/lib/arc/ARC2_Reader.php on line 226

Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /home/lespetitA/www/semweblabs/easyrdf/lib/arc/ARC2_Reader.php on line 226

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://dbpedia.org:443 (Unknown error) in /home/lespetitA/www/semweblabs/easyrdf/lib/arc/ARC2_Reader.php on line 226

Warning: stream_socket_client() [function.stream-socket-client]: SSL: Connection reset by peer in /home/lespetitA/www/semweblabs/easyrdf/lib/arc/ARC2_Reader.php on line 226

Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /home/lespetitA/www/semweblabs/easyrdf/lib/arc/ARC2_Reader.php on line 226

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://dbpedia.org:443 (Unknown error) in /home/lespetitA/www/semweblabs/easyrdf/lib/arc/ARC2_Reader.php on line 226
Galerie de peintures

Galerie de peintures

Labs > Exemples d'utilisation de Dbpedia > Galerie de peintures

Array ( )
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
 :