We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
<?php require_once('ARC2.php'); // Init parser $parser = ARC2::getTurtleParser(); $turtle = <<<EOD @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cd: <http://www.recshop.fake/cd#> . @prefix countries: <http://www.countries.org/onto/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . <http://www.recshop.fake/cd/Empire Burlesque> cd:artist "Bob Dylan" ; cd:country countries:USA ; cd:company "Columbia" ; cd:price "10.90" ; cd:year "1985" . <http://www.recshop.fake/cd/Hide your heart> cd:artist "Bonnie Tyler" ; cd:country "UK" ; cd:company "CBS Records" ; cd:price "9.90" ; cd:year "1988" . countries:USA rdfs:label "USA" . countries:Albums rdfs:subClassOf countries:MediaCollections . EOD; $parser->parse( $turtle ); // Print out the name spaces array print_r( $parser->nsp );
php test.php
Expected result:
Array ( [http://www.w3.org/1999/02/22-rdf-syntax-ns#] => rdf [http://www.recshop.fake/cd#] => cd [http://www.countries.org/onto/] => countries [http://www.w3.org/2000/01/rdf-schema#] => rdfs )
Actual result:
Array ( [http://www.w3.org/XML/1998/namespace] => xml [http://www.w3.org/1999/02/22-rdf-syntax-ns#] => rdf [http://www.w3.org/2001/XMLSchema#] => xsd )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce:
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: