Renewable energy

From solab
Jump to navigation Jump to search

Renewable energy corporation


{{#gu_gen: sparql | http://dbpedia.org/sparql |root |

PREFIX dbpedia: <http://dbpedia.org/property/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/> 
SELECT ?lab ?label_en ?label_de ?label_it ?page
WHERE {
{
  <http://dbpedia.org/resource/Category:Renewable_energy> rdfs:label ?lab  .
?subject skos:subject <http://dbpedia.org/resource/Category:Renewable_energy> .
 OPTIONAL {?subject foaf:page ?page .}. 
}
UNION
{  
 <http://dbpedia.org/resource/Category:Low_cost_solar_power> rdfs:label ?lab  .
?subject skos:subject <http://dbpedia.org/resource/Category:Low_cost_solar_power> .
 OPTIONAL {?subject foaf:page ?page .}. }
    OPTIONAL {
        ?subject rdfs:label  ?label_en .
        FILTER (LANG(?label_en) = 'en') .
    }
    OPTIONAL {
    ?subject rdfs:label  ?label_it .
        FILTER (LANG(?label_it) = 'it') .
    }
   OPTIONAL {
    ?subject rdfs:label  ?label_de .
        FILTER (LANG(?label_de) = 'de') .
    }

} |no }}