DelSolar

From solab
Jump to navigation Jump to search

Error query  : PREFIX dct: <http://purl.org/dc/terms/>

PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbr: <http://dbpedia.org/resource/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT 
     #?id 
            #concat("", ?name, "") as ?Name
             ?name
             ?h
            # concat("", ?h, "") as ?Homepage
            #concat("", ?c, "") as ?City
           ?c
     ?thumbnail
     #       concat("[", ?thumbnail, "]") as ?Thumbnail
            (group_concat(distinct concat("",?p,""",?p,"" is not in the list (mobility, E-mobility, Crystalline modules, PV, ST, Absorbers, Law, Certification, Standards, Institution, ...) of allowed values for the "Product" property.");separator=",\n") as ?Product)
      #   (group_concat(distinct concat("",?ob,"");separator=",\n") as ?Subjects)
      (group_concat(distinct concat("",?ob,"");separator=",\n") as ?Subjects)
            #?ob
            #?s
       WHERE {
VALUES ?s {dbr:DelSolar}
      OPTIONAL { ?s dbo:wikiPageID ?id}
       OPTIONAL {?s dct:subject ?sob.
                 ?sob rdfs:label ?ob .
                 FILTER (lang(?ob) = 'en')
                } 
OPTIONAL { ?s dbo:abstract ?label}
OPTIONAL { ?s dbp:name ?name }
OPTIONAL { ?s dbp:commonName ?name }
OPTIONAL { ?s foaf:name ?name }
OPTIONAL { ?s rdfs:label ?name }
OPTIONAL { ?s foaf:homepage ?h }
OPTIONAL { ?s dbo:locationCity ?sc .
                  ?sc rdfs:label ?c .
                }
       OPTIONAL { ?s dbp:hqLocationCity ?sc .
                  ?sc rdfs:label ?c .
                 FILTER (lang(?c) = 'en')
                }
OPTIONAL { ?s dbo:thumbnail ?thumbnail }
OPTIONAL { ?s dbo:product ?sp . 
                  ?sp rdfs:label ?p .
                 FILTER (lang(?p) = 'en')
                  }
FILTER (lang(?label) = 'en')
FILTER (lang(?c) = 'en')
}
group by ?id ?c ?name ?h ?thumbnail  #?ob #?s
#group by  ?c ?name ?h ?thumbnail #?s

Error endpoint: http://dbpedia.org/sparql Error http_response_code: 502 Error message: <html>

   <head>

<title>Web Site Under Maintenance</title>

   </head>
   <body>
<img src="data:image/gif;base64,R0lGODlhMgAyAOYAAO/v7+7u7u3t7f//AOzs7Ovr6+rq6unp6ejo6Ofn5+bm5uXl5eTk5ODg4N/f397e3t3d3dzc3Nvb29ra2tnZ2djY2NfX19PT09LS0tHR0dDQ0M/Pz87OzszMzMvLy8rKysnJycjIyMbGxsXFxcTExMPDw8LCwsHBwby8vLu7u7e3t7a2trW1tbS0tLOzs7KysqysrKqqqqioqKampqWlpaSkpKGhoZ2dnZycnJqampmZmZiYmJWVlZSUlJKSko6OjoyMjIuLi4qKioaGhoWFhYSEhIGBgYCAgH9/f319fXl5eXh4eHd3d3Z2dnJycm5ubm1tbWlpaWdnZ2VlZWNjY2JiYgAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHAFcALAAAAAAyADIAAAf/gFeCg4SFhoeIiYqLjI2Oj5CRkVaUVpKXiJWVCQkIBgKYkpQDpAOUEhENDAYAoY6jpaSUGxcUDQqgroqwsbJWJB4XEQwEuplWvb2UKCIaEgwFxoW8yaWUKiUbE9DSgtSmlcpWLCYc29HG35rqVi0n5tyu3+CayZQu7+eh8/Th9lb44KGbhKzauoL/AuqDNOpgQ3/VwCmM1wgWwn4RDQLMR3EXwo/rMibkOPBYLGQHTYkcCa+YyZP9Cl7EqLGFiQ0SFuSaNjPmR3EQxbEooSFCglY8/zlcWu+fDBUiLjQwYIjaQ4gzQ2q8ASPFBwoMdnrr6TNiU40+bLwwgcEB1aRA/89mZHdESI4YKTpISGAoATuUQTWetHJEyRAeM1SAoLAA6aAEEqxa5Cfr3xEoTIr0oLEihAUGjgUhgLCBl7/AFlX6OjLliWHEihmHvlKgwQUSk2VKNr2aShQnSezi1cu3UIAFFDyguOprsFxKR6pIebKESNq1bd8WMmBbhIqHvnSnBBddCpQmRn5w9QpW7CAACSJoKMGiYfjwIaFLP38ESI6nUU2ViAALSLCBCS1QZhZh+zWBRBA6zDBUUUcpQgADE3BwggsKilPeeQ/uMINNOOnESAEYasghWR42GOIME7l0YoobdqifeQ4GIeJEJc2YYY0s3giijjCSJAmKP65oGcQVOL7IIyZIqigZa1E80cQRRD4ZSpRAanLZE04sYQQQEWrpCpcJVlIYE0okQcQPEbojUDdRmsCCDDj4IMQQRQwhhA84yEDOnN3QhuEGJagAgw068NADDzrYAAM22nREJwMSaDBCCi/EMEMNM8TwQgojOGNpoRdGcMEHJqSgwgoqpGDCB8IQU+ghAijgQAUZdABCCCB0kEEFDuByKyIAHMDAAxJUYEEFEjzAwAGzHVuIAAYowMC2CnxibSMABCButd+WK0ggADs=" style="float:left;"/>

The web-site you are currently trying to access is under maintenance at this time.

We are sorry for any inconvenience this has caused.
   </body>

</html>

Error number: 0 Error message:

Error data: Array (

   [query] => PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbr: <http://dbpedia.org/resource/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT 
     #?id 
            #concat("", ?name, "") as ?Name
             ?name
             ?h
            # concat("", ?h, "") as ?Homepage
            #concat("", ?c, "") as ?City
           ?c
     ?thumbnail
     #       concat("[", ?thumbnail, "]") as ?Thumbnail
            (group_concat(distinct concat("",?p,""",?p,"" is not in the list (mobility, E-mobility, Crystalline modules, PV, ST, Absorbers, Law, Certification, Standards, Institution, ...) of allowed values for the "Product" property.");separator=",\n") as ?Product)
      #   (group_concat(distinct concat("",?ob,"");separator=",\n") as ?Subjects)
      (group_concat(distinct concat("",?ob,"");separator=",\n") as ?Subjects)
            #?ob
            #?s
       WHERE {
VALUES ?s {dbr:DelSolar}
      OPTIONAL { ?s dbo:wikiPageID ?id}
       OPTIONAL {?s dct:subject ?sob.
                 ?sob rdfs:label ?ob .
                 FILTER (lang(?ob) = 'en')
                } 
OPTIONAL { ?s dbo:abstract ?label}
OPTIONAL { ?s dbp:name ?name }
OPTIONAL { ?s dbp:commonName ?name }
OPTIONAL { ?s foaf:name ?name }
OPTIONAL { ?s rdfs:label ?name }
OPTIONAL { ?s foaf:homepage ?h }
OPTIONAL { ?s dbo:locationCity ?sc .
                  ?sc rdfs:label ?c .
                }
       OPTIONAL { ?s dbp:hqLocationCity ?sc .
                  ?sc rdfs:label ?c .
                 FILTER (lang(?c) = 'en')
                }
OPTIONAL { ?s dbo:thumbnail ?thumbnail }
OPTIONAL { ?s dbo:product ?sp . 
                  ?sp rdfs:label ?p .
                 FILTER (lang(?p) = 'en')
                  }
FILTER (lang(?label) = 'en')
FILTER (lang(?c) = 'en')
}
group by ?id ?c ?name ?h ?thumbnail  #?ob #?s
#group by  ?c ?name ?h ?thumbnail #?s
   [output] => xml
   [Accept] => application/sparql-results+xml

)