Closed k00ni closed 3 years ago
What do you think @zozlak?
You are right, just it's an outdated version of the test.
The up to date one is in https://github.com/sweetrdf/rdfInterfaceTests/blob/master/src/rdfInterface/tests/TermsTest.php#L136
(to solve some problems with dependencies being set to sweetrdf/rdf-interface: dev-{branch}
I moved tests to a separate repo and separate composer library)
OK.
Important note - while there was a lot of development and changes in the rdfInterface (and libraries around it) in the last two weeks, my work caught me up and I need to focus on something else in the upcoming weeks. RdfInterface 0.8.1 and corresponding quickRdf 0.6.1 and simpleRdf 0.5.1 should stay as they are for at least month.
My next focus will be to write an NQuadsStar parser and serializer, so I can check how/if rdfInterface (and quickRdf/simpleRdf) deals with RDFstar. Which should also keep me occupied for even longer and will prevent me from introducing changes to the rdfInterface :-)
A test is not in line with https://github.com/sweetrdf/rdfInterface/issues/12#issuecomment-802059207:
The test expects
$l[1]->getDatatype()
to returnxsd:string
but has to expect
rdf:langString
:Based on:
Source: https://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal