Git Product home page Git Product logo

tft's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tft's Issues

Unable to launch tft-testsuite

That's my the first and the only attempt to use the thing:

TFT$ ./tft-testsuite -a -t fuseki -q http://localhost:8820/sparql -u http://localhost:8820/sparql
PHP Fatal error: Call to undefined function curl_init() in lib/sparql/Curl.php on line 41

The commits in use are as follows:

$ git clone --recursive https://github.com/BorderCloud/TFT.git
Cloning into 'TFT'...
remote: Counting objects: 348, done.
remote: Total 348 (delta 0), reused 0 (delta 0), pack-reused 348
Receiving objects: 100% (348/348), 94.72 KiB | 137.00 KiB/s, done.
Resolving deltas: 100% (216/216), done.
Checking connectivity... done.
Submodule 'lib/sparql' (https://github.com/BorderCloud/SPARQL.git) registered for path 'lib/sparql'
Submodule 'tests/TFT-tests' (https://github.com/BorderCloud/TFT-tests.git) registered for path 'tests/TFT-tests'
Cloning into 'lib/sparql'...
remote: Counting objects: 203, done.
remote: Total 203 (delta 0), reused 0 (delta 0), pack-reused 203
Receiving objects: 100% (203/203), 55.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (121/121), done.
Checking connectivity... done.
Submodule path 'lib/sparql': checked out '9c7fd5caef0c77ede9ce265ec32fa6fcda24688c'
Cloning into 'tests/TFT-tests'...
remote: Counting objects: 1178, done.
remote: Total 1178 (delta 0), reused 0 (delta 0), pack-reused 1177
Receiving objects: 100% (1178/1178), 184.82 KiB | 108.00 KiB/s, done.
Resolving deltas: 100% (433/433), done.
Checking connectivity... done.
Submodule path 'tests/TFT-tests': checked out 'b2ef414a16af11420b91f8623f1d99bd7fc702ea'

(tried 2016-Dec-18)

I've never dealt with php so I don't know what should I try next. Any instructions are welcome.

SPARQL Protocol : Status Code 400 for error should be honoured

As Sebastian Schaffert said:

SPARQL Syntax Tests: Status Code 400 for error should be honoured
For several of the SPARQL 1.1 syntax tests, the SPARQL testsuite simply contains a dummy result with a variable named "error", indicating that parsing is expected to fail. According to the SPARQL protocol, parse errors should return an HTTP result with status code 400 (Bad Request):
http://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#query-failure
The SPARQLScore tests need to be changed accordingly.

Good remark. For the moment, I didn't test seriously the protocol. I wrote your "enhancement" in my todo list.

Test.php (TODO : catch the status code)
NegativeSyntaxTest.php (TODO : test the status code 400)
NegativeUpdateSyntaxTest.php (TODO : test the status code 400)

Relax `10 Substract date` test

Stardog is returning a xsd:dayTimeDuration instead of xsd:duration as the type for the value PT55M. Now, I couldn't find the reference to the standard describing the expected the datatype for a datetime difference, but since xsd:dayTimeDuration is a subclass of xsd:duration, I think that the result should be considered valid.

Also note that the expected result provides more digits, e.g., PT55M0.000S, but I don't know is this would be a problem as well.

http://sparqlscore.com/ajax_testResultNode.php?graph=https%3A%2F%2Ftravis-ci.org%2FBorderCloud%2Ftft-stardog%2Fbuilds%2F334647645&node=http%3A%2F%2Fbordercloud.github.io%2FTFT-tests%2FGO3%2FERT-ART%2Fmanifest.ttl%23test_1%2FResponse

Some ASK queries are being incorrectly interpreted as failing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.