linkedpipes / discovery-legacy

The LinkedPipes Discovery implementation here is deprecated and replaced by a new one.
1 stars 3 forks source link

Show output data sample broken #22

Closed jakubklimek closed 6 years ago

jakubklimek commented 6 years ago

Show output data sample always shows a SPARQL endpoint description like this:

<http://localhost:8080/discovery/c5b0d929-7594-4d88-ac42-7987aac0c1bf/ccdcb407-436c-43a2-9486-b70251ee3cf3/service>
        a       <http://www.w3.org/ns/sparql-service-description#Service> ;
        <http://www.w3.org/ns/sparql-service-description#defaultDataset>
                [ a       <http://www.w3.org/ns/sparql-service-description#Dataset> ;
                  <http://www.w3.org/ns/sparql-service-description#namedGraph>
                          [ a       <http://www.w3.org/ns/sparql-service-description#NamedGraph> ;
                            <http://www.w3.org/ns/sparql-service-description#name>
                                    <urn:c5b0d929-7594-4d88-ac42-7987aac0c1bf/ccdcb407-436c-43a2-9486-b70251ee3cf3>
                          ]
                ] ;
        <http://www.w3.org/ns/sparql-service-description#endpoint>
                <https://discovery.visualization.linkedpipes.com/sparql> ;
        <http://www.w3.org/ns/sparql-service-description#resultFormat>
                <http://www.w3.org/ns/formats/Turtle> , <http://www.w3.org/ns/formats/RDF_XML> ;
        <http://www.w3.org/ns/sparql-service-description#supportedLanguage>
                <http://www.w3.org/ns/sparql-service-description#SPARQL11Query> .
jirihelmich commented 6 years ago

I see, I removed the ODS from the results JSON response and instead of implementing a new API call for it, I mixed it with the SD. Will fix.