diff --git a/composer.json b/composer.json index 3874a8e05..60a80f8a1 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "components/jqueryui": "1.12.*", "components/handlebars.js": "v1.3.0", "davidstutz/bootstrap-multiselect": "v0.9.13", - "easyrdf/easyrdf": "0.9.*", + "easyrdf/easyrdf": "0.10.0-alpha.1", "twig/twig": "1.29.*", "twig/extensions": "1.4.*", "twitter/bootstrap": "3.2.*", diff --git a/controller/RestController.php b/controller/RestController.php index a536af143..0e22e6fab 100644 --- a/controller/RestController.php +++ b/controller/RestController.php @@ -283,13 +283,13 @@ public function vocabularyStatistics($request) } else if (isset($vocabStats[$groupClass])) { $ret['conceptGroups'] = array( 'class' => $groupClass, - 'label' => isset($vocabStats[$groupClass]['label']) ? $vocabStats[$groupClass]['label'] : gettext(EasyRdf_Namespace::shorten($groupClass)), + 'label' => isset($vocabStats[$groupClass]['label']) ? $vocabStats[$groupClass]['label'] : gettext(EasyRdf\RdfNamespace::shorten($groupClass)), 'count' => $vocabStats[$groupClass]['count'], ); } else if (isset($vocabStats[$arrayClass])) { $ret['arrays'] = array( 'class' => $arrayClass, - 'label' => isset($vocabStats[$arrayClass]['label']) ? $vocabStats[$arrayClass]['label'] : gettext(EasyRdf_Namespace::shorten($arrayClass)), + 'label' => isset($vocabStats[$arrayClass]['label']) ? $vocabStats[$arrayClass]['label'] : gettext(EasyRdf\RdfNamespace::shorten($arrayClass)), 'count' => $vocabStats[$arrayClass]['count'], ); } diff --git a/model/Concept.php b/model/Concept.php index f612c4994..05bd7c791 100644 --- a/model/Concept.php +++ b/model/Concept.php @@ -13,7 +13,7 @@ class Concept extends VocabularyDataObject private $foundby; /** Type of foundby match: 'alt', 'hidden' or 'lang' */ private $foundbytype; - /** the EasyRdf_Graph object of the concept */ + /** the EasyRdf\Graph object of the concept */ private $graph; private $clang; @@ -48,8 +48,8 @@ class Concept extends VocabularyDataObject * Initializing the concept object requires the following parameters. * @param Model $model * @param Vocabulary $vocab - * @param EasyRdf_Resource $resource - * @param EasyRdf_Graph $graph + * @param EasyRdf\Resource $resource + * @param EasyRdf\Graph $graph */ public function __construct($model, $vocab, $resource, $graph, $clang) { @@ -86,7 +86,7 @@ public function getType() public function isGroup() { $groupClass = $this->getVocab()->getConfig()->getGroupClassURI(); if ($groupClass) { - $groupClass = EasyRdf_Namespace::shorten($groupClass) !== null ? EasyRdf_Namespace::shorten($groupClass) : $groupClass; + $groupClass = EasyRdf\RdfNamespace::shorten($groupClass) !== null ? EasyRdf\RdfNamespace::shorten($groupClass) : $groupClass; return in_array($groupClass, $this->getType()); } return false; @@ -124,7 +124,7 @@ public function getLabel() foreach($this->resource->allLiterals('skos:prefLabel') as $label) { // the label lang code is a subtag of the UI lang eg. en-GB - create a new literal with the main language if ($label !== null && strpos($label->getLang(), $lang . '-') === 0) { - return EasyRdf_Literal::create($label, $lang); + return EasyRdf\Literal::create($label, $lang); } } @@ -228,16 +228,16 @@ public function getMappingProperties() $longUris = $this->resource->propertyUris(); foreach ($longUris as &$prop) { - if (EasyRdf_Namespace::shorten($prop) !== null) { + if (EasyRdf\RdfNamespace::shorten($prop) !== null) { // shortening property labels if possible - $prop = $sprop = EasyRdf_Namespace::shorten($prop); + $prop = $sprop = EasyRdf\RdfNamespace::shorten($prop); } else { $sprop = "<$prop>"; } // EasyRdf requires full URIs to be in angle brackets if (in_array($prop, $this->MAPPING_PROPERTIES) && !in_array($prop, $this->DELETED_PROPERTIES)) { - $propres = new EasyRdf_Resource($prop, $this->graph); + $propres = new EasyRdf\Resource($prop, $this->graph); $proplabel = $propres->label($this->getEnvLang()) ? $propres->label($this->getEnvLang()) : $propres->label(); // current language $propobj = new ConceptProperty($prop, $proplabel); if ($propobj->getLabel() !== null) { @@ -321,20 +321,20 @@ public function getProperties() } foreach ($longUris as &$prop) { - if (EasyRdf_Namespace::shorten($prop) !== null) { + if (EasyRdf\RdfNamespace::shorten($prop) !== null) { // shortening property labels if possible - $prop = $sprop = EasyRdf_Namespace::shorten($prop); + $prop = $sprop = EasyRdf\RdfNamespace::shorten($prop); } else { $sprop = "<$prop>"; } // EasyRdf requires full URIs to be in angle brackets if (!in_array($prop, $this->DELETED_PROPERTIES) || ($this->isGroup() === false && $prop === 'skos:member')) { - $propres = new EasyRdf_Resource($prop, $this->graph); + $propres = new EasyRdf\Resource($prop, $this->graph); $proplabel = $propres->label($this->getEnvLang()) ? $propres->label($this->getEnvLang()) : $propres->label(); $superprop = $propres->get('rdfs:subPropertyOf') ? $propres->get('rdfs:subPropertyOf')->getURI() : null; if ($superprop) { - $superprop = EasyRdf_Namespace::shorten($superprop) ? EasyRdf_Namespace::shorten($superprop) : $superprop; + $superprop = EasyRdf\RdfNamespace::shorten($superprop) ? EasyRdf\RdfNamespace::shorten($superprop) : $superprop; } $propobj = new ConceptProperty($prop, $proplabel, $superprop); @@ -345,7 +345,7 @@ public function getProperties() // searching for subproperties of literals too foreach ($this->graph->allResources($prop, 'rdfs:subPropertyOf') as $subi) { - $suburi = EasyRdf_Namespace::shorten($subi->getUri()) ? EasyRdf_Namespace::shorten($subi->getUri()) : $subi->getUri(); + $suburi = EasyRdf\RdfNamespace::shorten($subi->getUri()) ? EasyRdf\RdfNamespace::shorten($subi->getUri()) : $subi->getUri(); $duplicates[$suburi] = $prop; } @@ -491,7 +491,7 @@ public function getDate() /** * Gets the members of a specific collection. * @param $coll - * @param array containing all narrowers as EasyRdf_Resource + * @param array containing all narrowers as EasyRdf\Resource * @return array containing ConceptPropertyValue objects */ private function getCollectionMembers($coll, $narrowers) @@ -532,7 +532,7 @@ public function getReverseResources($includeArrays) { $reverseResources = $this->graph->resourcesMatching('skos:member', $this->resource); if (isset($reverseResources)) { $arrayClassURI = $this->vocab !== null ? $this->vocab->getConfig()->getArrayClassURI() : null; - $arrayClass = $arrayClassURI !== null ? EasyRdf_Namespace::shorten($arrayClassURI) : null; + $arrayClass = $arrayClassURI !== null ? EasyRdf\RdfNamespace::shorten($arrayClassURI) : null; $superGroups = $this->resource->all('isothes:superGroup'); $superGroupUris = array_map(function($obj) { return $obj->getUri(); }, $superGroups); foreach ($reverseResources as $reverseResource) { @@ -570,7 +570,7 @@ public function getArrayProperties() { /** * Reads the literal language code and gets a name for it from Punic or alternatively * tries to search for a gettext translation. - * @param EasyRdf_Literal $lit + * @param EasyRdf\Literal $lit * @return string e.g. 'English' */ private function literalLanguageToString($lit) { @@ -609,7 +609,7 @@ public function getAllLabels($property) { $labels = array(); // shortening property labels if possible, EasyRdf requires full URIs to be in angle brackets - $property = (EasyRdf_Namespace::shorten($property) !== null) ? EasyRdf_Namespace::shorten($property) : "<$property>"; + $property = (EasyRdf\RdfNamespace::shorten($property) !== null) ? EasyRdf\RdfNamespace::shorten($property) : "<$property>"; foreach ($this->resource->allLiterals($property) as $lit) { $labels[Punic\Language::getName($lit->getLang(), $this->getEnvLang())][] = new ConceptPropertyValueLiteral($lit, $property); } diff --git a/model/ConceptPropertyValue.php b/model/ConceptPropertyValue.php index 36423fe59..5e1e3604c 100644 --- a/model/ConceptPropertyValue.php +++ b/model/ConceptPropertyValue.php @@ -121,7 +121,7 @@ public function getReifiedPropertyValues() { $ret = array(); $props = $this->resource->propertyUris(); foreach($props as $prop) { - $prop = (EasyRdf_Namespace::shorten($prop) !== null) ? EasyRdf_Namespace::shorten($prop) : $prop; + $prop = (EasyRdf\RdfNamespace::shorten($prop) !== null) ? EasyRdf\RdfNamespace::shorten($prop) : $prop; foreach ($this->resource->allLiterals($prop) as $val) { if ($prop !== 'rdf:value' && $this->resource->get($prop)) { // shown elsewhere $ret[gettext($prop)] = new ConceptPropertyValueLiteral($this->resource->get($prop), $prop); diff --git a/model/ConceptPropertyValueLiteral.php b/model/ConceptPropertyValueLiteral.php index e1a7f4ba8..52247a730 100644 --- a/model/ConceptPropertyValueLiteral.php +++ b/model/ConceptPropertyValueLiteral.php @@ -42,7 +42,7 @@ public function getContainsHtml() { public function getLabel() { // if the property is a date object converting it to a human readable representation. - if ($this->literal instanceof EasyRdf_Literal_Date) { + if ($this->literal instanceof EasyRdf\Literal\Date) { try { $val = $this->literal->getValue(); return Punic\Calendar::formatDate($val, 'short'); diff --git a/model/DataObject.php b/model/DataObject.php index 895635bd7..121848923 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -21,11 +21,11 @@ class DataObject /** * Initializes the DataObject * @param Model $model - * @param EasyRdf_Resource $resource + * @param EasyRdf\Resource $resource */ public function __construct($model, $resource) { - if (!($model instanceof Model) || !($resource instanceof EasyRdf_Resource)) { + if (!($model instanceof Model) || !($resource instanceof EasyRdf\Resource)) { throw new Exception('Invalid constructor parameter given to DataObject.'); } @@ -40,7 +40,7 @@ public function __construct($model, $resource) * @param Vocabulary $exvoc external vocabulary to query * @param string $exuri resource URI * @param string $lang language of label to query for - * @return EasyRdf_Literal label, or null if not found in vocabulary + * @return EasyRdf\Literal label, or null if not found in vocabulary */ protected function getExternalLabel($exvoc, $exuri, $lang) { diff --git a/model/Model.php b/model/Model.php index 4e8e13eb6..90d7b0353 100644 --- a/model/Model.php +++ b/model/Model.php @@ -3,20 +3,20 @@ /** * Setting some often needed namespace prefixes */ -EasyRdf_Namespace::set('skosmos', 'http://purl.org/net/skosmos#'); -EasyRdf_Namespace::set('void', 'http://rdfs.org/ns/void#'); -EasyRdf_Namespace::set('skosext', 'http://purl.org/finnonto/schema/skosext#'); -EasyRdf_Namespace::set('isothes', 'http://purl.org/iso25964/skos-thes#'); -EasyRdf_Namespace::set('mads', 'http://www.loc.gov/mads/rdf/v1#'); +EasyRdf\RdfNamespace::set('skosmos', 'http://purl.org/net/skosmos#'); +EasyRdf\RdfNamespace::set('void', 'http://rdfs.org/ns/void#'); +EasyRdf\RdfNamespace::set('skosext', 'http://purl.org/finnonto/schema/skosext#'); +EasyRdf\RdfNamespace::set('isothes', 'http://purl.org/iso25964/skos-thes#'); +EasyRdf\RdfNamespace::set('mads', 'http://www.loc.gov/mads/rdf/v1#'); /** * Model provides access to the data. - * @property EasyRdf_Graph $graph + * @property EasyRdf\Graph $graph * @property GlobalConfig $globalConfig */ class Model { - /** EasyRdf_Graph graph instance */ + /** EasyRdf\Graph graph instance */ private $graph; /** Namespaces from vocabularies configuration file */ private $namespaces; @@ -96,7 +96,7 @@ private function initializeVocabularies() private function parseVocabularies($filename) { - $this->graph = new EasyRdf_Graph(); + $this->graph = new EasyRdf\Graph(); $parser = new SkosmosTurtleParser(); $parser->parse($this->graph, file_get_contents($filename), 'turtle', $filename); $this->namespaces = $parser->getNamespaces(); @@ -108,9 +108,9 @@ private function parseVocabularies($filename) private function initializeNamespaces() { foreach ($this->namespaces as $prefix => $fullUri) { - if ($prefix != '' && EasyRdf_Namespace::get($prefix) === null) // if not already defined + if ($prefix != '' && EasyRdf\RdfNamespace::get($prefix) === null) // if not already defined { - EasyRdf_Namespace::set($prefix, $fullUri); + EasyRdf\RdfNamespace::set($prefix, $fullUri); } } } @@ -213,7 +213,7 @@ public function getTypes($vocid = null, $lang = null) foreach ($result as $uri => $values) { if (empty($values)) { - $shorteneduri = EasyRdf_Namespace::shorten($uri); + $shorteneduri = EasyRdf\RdfNamespace::shorten($uri); if ($shorteneduri !== null) { $trans = gettext($shorteneduri); if ($trans) { @@ -257,13 +257,13 @@ public function getRDF($vocid, $uri, $format) if ($format == 'text/turtle') { $retform = 'turtle'; - $serialiser = new EasyRdf_Serialiser_Turtle(); + $serialiser = new EasyRdf\Serialiser\Turtle(); } elseif ($format == 'application/ld+json' || $format == 'application/json') { $retform = 'jsonld'; // serve JSON-LD for both JSON-LD and plain JSON requests - $serialiser = new EasyRdf_Serialiser_JsonLd(); + $serialiser = new EasyRdf\Serialiser\JsonLd(); } else { $retform = 'rdfxml'; - $serialiser = new EasyRdf_Serialiser_RdfXml(); + $serialiser = new EasyRdf\Serialiser\RdfXml(); } if ($vocid !== null) { @@ -398,7 +398,7 @@ public function searchConceptsAndInfo($params) /** * Creates dataobjects from an input array. * @param string $class the type of class eg. 'Vocabulary'. - * @param array $resarr contains the EasyRdf_Resources. + * @param array $resarr contains the EasyRdf\Resources. */ private function createDataObjects($class, $resarr) { @@ -423,9 +423,9 @@ public function getVocabularies() // register vocabulary ids as RDF namespace prefixes $prefix = preg_replace('/\W+/', '', $voc->getId()); // strip non-word characters try { - if ($prefix != '' && EasyRdf_Namespace::get($prefix) === null) // if not already defined + if ($prefix != '' && EasyRdf\RdfNamespace::get($prefix) === null) // if not already defined { - EasyRdf_Namespace::set($prefix, $voc->getUriSpace()); + EasyRdf\RdfNamespace::set($prefix, $voc->getUriSpace()); } } catch (Exception $e) { @@ -439,7 +439,7 @@ public function getVocabularies() /** * Returns the cached vocabularies from a category. - * @param EasyRdf_Resource $cat the category in question + * @param EasyRdf\Resource $cat the category in question * @return array of vocabulary dataobjects */ public function getVocabulariesInCategory($cat) @@ -563,7 +563,7 @@ public function guessVocabularyFromURI($uri) } // try to guess the URI space and look it up in the cache - $res = new EasyRdf_Resource($uri); + $res = new EasyRdf\Resource($uri); $namespace = substr($uri, 0, -strlen($res->localName())); if (array_key_exists($namespace, $this->vocabsByUriSpace)) { $vocabs = $this->vocabsByUriSpace[$namespace]; @@ -583,9 +583,9 @@ public function guessVocabularyFromURI($uri) /** * Get the label for a resource, preferring 1. the given language 2. configured languages 3. any language. - * @param EasyRdf_Resource $res resource whose label to return + * @param EasyRdf\Resource $res resource whose label to return * @param string $lang preferred language - * @return EasyRdf_Literal label as an EasyRdf_Literal object, or null if not found + * @return EasyRdf\Literal label as an EasyRdf\Literal object, or null if not found */ public function getResourceLabel($res, $lang) { @@ -604,11 +604,11 @@ private function fetchResourceFromUri($uri) { try { // change the timeout setting for external requests - $httpclient = EasyRdf_Http::getDefaultHttpClient(); + $httpclient = EasyRdf\Http::getDefaultHttpClient(); $httpclient->setConfig(array('timeout' => $this->getConfig()->getHttpTimeout())); - EasyRdf_Http::setDefaultHttpClient($httpclient); + EasyRdf\Http::setDefaultHttpClient($httpclient); - $client = EasyRdf_Graph::newAndLoad(EasyRdf_Utils::removeFragmentFromUri($uri)); + $client = EasyRdf\Graph::newAndLoad(EasyRdf\Utils::removeFragmentFromUri($uri)); return $client->resource($uri); } catch (Exception $e) { return null; @@ -619,9 +619,9 @@ public function getResourceFromUri($uri) { // prevent parsing errors for sources which return invalid JSON (see #447) // 1. Unregister the legacy RDF/JSON parser, we don't want to use it - EasyRdf_Format::unregister('json'); + EasyRdf\Format::unregister('json'); // 2. Add "application/json" as a possible MIME type for the JSON-LD format - $jsonld = EasyRdf_Format::getFormat('jsonld'); + $jsonld = EasyRdf\Format::getFormat('jsonld'); $mimetypes = $jsonld->getMimeTypes(); $mimetypes['application/json'] = 0.5; $jsonld->setMimeTypes($mimetypes); diff --git a/model/SkosmosTurtleParser.php b/model/SkosmosTurtleParser.php index 9e8cc078c..f13865b6e 100644 --- a/model/SkosmosTurtleParser.php +++ b/model/SkosmosTurtleParser.php @@ -1,6 +1,6 @@ getValue(); } else { - $format = EasyRdf_Format::guessFormat(null, $url->getURI()); + $format = EasyRdf\Format::guessFormat(null, $url->getURI()); if ($format === null) { trigger_error("Could not guess format for <$url>.", E_USER_WARNING); continue; @@ -215,9 +215,9 @@ public function getAdditionalSearchProperties() $ret = array(); foreach ($resources as $res) { $prop = $res->getURI(); - if (EasyRdf_Namespace::shorten($prop) !== null) // shortening property labels if possible + if (EasyRdf\RdfNamespace::shorten($prop) !== null) // shortening property labels if possible { - $prop = EasyRdf_Namespace::shorten($prop); + $prop = EasyRdf\RdfNamespace::shorten($prop); } $ret[] = $prop; @@ -235,9 +235,9 @@ public function hasMultiLingualProperty($property) $resources = $this->resource->allResources("skosmos:hasMultiLingualProperty"); foreach ($resources as $res) { $prop = $res->getURI(); - if (EasyRdf_Namespace::shorten($prop) !== null) // shortening property labels if possible + if (EasyRdf\RdfNamespace::shorten($prop) !== null) // shortening property labels if possible { - $prop = EasyRdf_Namespace::shorten($prop); + $prop = EasyRdf\RdfNamespace::shorten($prop); } if ($prop === $property) { @@ -378,9 +378,9 @@ public function getHierarchyProperty() $ret = array(); foreach ($resources as $res) { $prop = $res->getURI(); - if (EasyRdf_Namespace::shorten($prop) !== null) // prefixing if possible + if (EasyRdf\RdfNamespace::shorten($prop) !== null) // prefixing if possible { - $prop = EasyRdf_Namespace::shorten($prop); + $prop = EasyRdf\RdfNamespace::shorten($prop); } $ret[] = $prop; diff --git a/model/VocabularyDataObject.php b/model/VocabularyDataObject.php index 6e263edc9..7b62850a8 100644 --- a/model/VocabularyDataObject.php +++ b/model/VocabularyDataObject.php @@ -15,7 +15,7 @@ class VocabularyDataObject extends DataObject * Needs the following parameters. * @param Model $model * @param Vocabulary $vocab - * @param EasyRdf_Resource $resource + * @param EasyRdf\Resource $resource */ public function __construct($model, $vocab, $resource) { diff --git a/model/sparql/GenericSparql.php b/model/sparql/GenericSparql.php index b7334d01c..7663bc7b2 100644 --- a/model/sparql/GenericSparql.php +++ b/model/sparql/GenericSparql.php @@ -6,7 +6,7 @@ class GenericSparql { /** * A SPARQL Client eg. an EasyRDF instance. - * @property EasyRdf_Sparql_Client $client + * @property EasyRdf\Sparql\Client $client */ protected $client; /** @@ -43,7 +43,7 @@ public function __construct($endpoint, $graph, $model) { // create the EasyRDF SPARQL client instance to use $this->initializeHttpClient(); - $this->client = new EasyRdf_Sparql_Client($endpoint); + $this->client = new EasyRdf\Sparql\Client($endpoint); // set graphClause so that it can be used by all queries if ($this->isDefaultEndpoint()) // default endpoint; query any graph (and catch it in a variable) @@ -107,8 +107,8 @@ protected function generateFromClause($vocabs=null) { } protected function initializeHttpClient() { - // configure the HTTP client used by EasyRdf_Sparql_Client - $httpclient = EasyRdf_Http::getDefaultHttpClient(); + // configure the HTTP client used by EasyRdf\Sparql\Client + $httpclient = EasyRdf\Http::getDefaultHttpClient(); $httpclient->setConfig(array('timeout' => $this->model->getConfig()->getSparqlTimeout())); // if special cache control (typically no-cache) was requested by the @@ -123,7 +123,7 @@ protected function initializeHttpClient() { } // @codeCoverageIgnoreEnd - EasyRdf_Http::setDefaultHttpClient($httpclient); // actually redundant.. + EasyRdf\Http::setDefaultHttpClient($httpclient); // actually redundant.. } /** @@ -150,7 +150,7 @@ public function getGraph() { */ private function shortenUri($uri) { if (!array_key_exists($uri, $this->qnamecache)) { - $res = new EasyRdf_Resource($uri); + $res = new EasyRdf\Resource($uri); $qname = $res->shorten(); // returns null on failure $this->qnamecache[$uri] = ($qname !== null) ? $qname : $uri; } @@ -179,7 +179,7 @@ private function generateCountConceptsQuery($array, $group) { /** * Used for transforming the concept count query results. - * @param EasyRdf_Sparql_Result $result query results to be transformed + * @param EasyRdf\Sparql\Result $result query results to be transformed * @param string $lang language of labels * @return Array containing the label counts */ @@ -243,7 +243,7 @@ private function generateCountLangConceptsQuery($langs, $classes, $props) { /** * Transforms the CountLangConcepts results into an array of label counts. - * @param EasyRdf_Sparql_Result $result query results to be transformed + * @param EasyRdf\Sparql\Result $result query results to be transformed * @param array $langs Languages to query for * @param string[] $props property names */ @@ -433,11 +433,11 @@ private function generateConceptInfoQuery($uris, $arrayClass, $vocabs) { /** * Transforms ConceptInfo query results into an array of Concept objects - * @param EasyRdf_Graph $result query results to be transformed + * @param EasyRdf\Graph $result query results to be transformed * @param array $uris concept URIs * @param \Vocabulary[] $vocabs array of Vocabulary object * @param string|null $clang content language - * @return mixed query result graph (EasyRdf_Graph), or array of Concept objects + * @return mixed query result graph (EasyRdf\Graph), or array of Concept objects */ private function transformConceptInfoResults($result, $uris, $vocabs, $clang) { $conceptArray = array(); @@ -473,7 +473,7 @@ public function queryConceptInfoGraph($uris, $arrayClass = null, $vocabs = array * @param string|null $arrayClass the URI for thesaurus array class, or null if not used * @param \Vocabulary[] $vocabs vocabularies to target * @param string|null $clang content language - * @return EasyRdf_Graph + * @return EasyRdf\Graph */ public function queryConceptInfo($uris, $arrayClass = null, $vocabs = array(), $clang = null) { // if just a single URI is given, put it in an array regardless @@ -528,7 +528,7 @@ private function generateQueryTypesQuery($lang) { /** * Transforms the results into an array format. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @return array Array with URIs (string) as key and array of (label, superclassURI) as value */ private function transformQueryTypesResults($result) { @@ -619,7 +619,7 @@ private function generateQueryConceptSchemesQuery($lang) { /** * Transforms the queryConceptScheme results into an array format. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @return array */ private function transformQueryConceptSchemesResults($result) { @@ -732,7 +732,7 @@ protected function formatTypes($types) { $typePatterns = array(); if (!empty($types)) { foreach ($types as $type) { - $unprefixed = EasyRdf_Namespace::expand($type); + $unprefixed = EasyRdf\RdfNamespace::expand($type); $typePatterns[] = "{ ?s a <$unprefixed> }"; } } @@ -976,7 +976,7 @@ protected function generateConceptSearchQuery($fields, $unique, $params) { $labelpriority = ''; } $query = << a skos:Concept . OPTIONAL { @@ -1504,7 +1504,7 @@ private function generateTransitivePropertyQuery($uri, $props, $lang, $limit, $a /** * Transforms the sparql query result object into an array. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @param string $lang * @param string $fallbacklang language to use if label is not available in the preferred language * @return array of property values (key: URI, val: label), or null if concept doesn't exist @@ -1611,7 +1611,7 @@ private function generateChildQuery($uri, $lang, $fallback, $props) { /** * Transforms the sparql result object into an array. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @param string $lang * @return array array of arrays describing each child concept, or null if concept doesn't exist */ @@ -1776,7 +1776,7 @@ private function generateParentListQuery($uri, $lang, $fallback, $props) { /** * Transforms the result into an array. - * @param EasyRdf_Sparql_Result + * @param EasyRdf\Sparql\Result * @param string $lang * @return an array for the REST controller to encode. */ @@ -1877,7 +1877,7 @@ public function queryParentList($uri, $lang, $fallback, $props) { private function generateConceptGroupsQuery($groupClass, $lang) { $fcl = $this->generateFromClause(); $query = << . OPTIONAL { ?group skos:member|isothes:subGroup ?child . @@ -1896,7 +1896,7 @@ private function generateConceptGroupsQuery($groupClass, $lang) { /** * Transforms the sparql query result into an array. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @return array */ private function transformConceptGroupsResults($result) { @@ -1970,7 +1970,7 @@ private function generateConceptGroupContentsQuery($groupClass, $group, $lang) { /** * Transforms the sparql query result into an array. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @param string $lang language of labels to return * @return array */ @@ -2048,7 +2048,7 @@ private function generateChangeListQuery($lang, $offset, $prop) { /** * Transforms the sparql query result into an array. - * @param EasyRdf_Sparql_Result $result + * @param EasyRdf\Sparql\Result $result * @return array */ private function transformChangeListResults($result) { diff --git a/model/sparql/JenaTextSparql.php b/model/sparql/JenaTextSparql.php index 79e7cfb31..7d60e8db8 100644 --- a/model/sparql/JenaTextSparql.php +++ b/model/sparql/JenaTextSparql.php @@ -1,7 +1,7 @@ , 2017 +# dominik_tomaszuk , 2017 +# Łukasz Szeremeta , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Skosmos\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-16 10:26+0200\n" +"PO-Revision-Date: 2017-10-20 12:17+0000\n" +"Last-Translator: dominik_tomaszuk \n" +"Language-Team: Polish (http://www.transifex.com/national-library-of-finland/skosmos/language/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"X-Generator: Poedit 1.8.7.1\n" +"X-Poedit-Basepath: ../..\n" +"X-Poedit-SearchPath-0: view\n" +"X-Poedit-SearchPath-1: controller\n" +"X-Poedit-SearchPath-2: model\n" +"X-Poedit-SourceCharset: utf-8\n" + +#: controller/Controller.php:38 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:21 +msgid "in_this_language" +msgstr "po angielsku" + +#: controller/RestController.php:271 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:125 +msgid "skos:Concept" +msgstr "Pojęcie" + +#: controller/RestController.php:280 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:127 +msgid "skos:Collection" +msgstr "Kolekcja" + +#: model/Concept.php:455 model/Concept.php:475 +msgid "skosmos:created" +msgstr "Stworzony" + +#: model/Concept.php:460 model/Concept.php:462 model/Concept.php:471 +msgid "skosmos:modified" +msgstr "ostatnia modyfikacja" + +#: model/VocabularyCategory.php:39 +msgid "Vocabularies" +msgstr "Słownictwa" + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:26 +msgid "%search_count% results for '%term%'" +msgstr "%search_count% wyników dla '%term%'" + +#: /tmp/cache/587c83c09abaa/23/23c9862892c34daf7bea11b6d50990145b73a83c0947ae60c3d729fe591a06ec.php:48 +msgid "404 Error: The page %requested_page% cannot be found." +msgstr "Błąd 404: Strona %requested_page% nieodnaleziona." + +#: /tmp/cache/587c83c09abaa/bf/bf6437cf02d4bf892eccfe46511488719628e22df92da5026f31c555a6a1fa6f.php:62 +#: /tmp/cache/587c83c09abaa/92/926cb0fdbe92b0165a1a13c21243442890c70779003bbc2fe1230ff221742de9.php:75 +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:64 +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:274 +#: /tmp/cache/587c83c13194c/07/073354bd24405bc5c963d187d0034352a7a24a3550861ca791f826417bb9cecd.php:68 +msgid "A-Z" +msgstr "A-Z" + +#: /tmp/cache/587c83c09abaa/58/58e9c1cebb82d52daf56fab57cd7b86ed47b1d8a86a915177156746eef73248e.php:46 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:19 +msgid "About" +msgstr "O" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:35 +#, php-format +msgid "All %d results displayed" +msgstr "Wszystkie %d wyniki zostały wyświetlone" + +#: /tmp/cache/587c83c09abaa/bf/bf6437cf02d4bf892eccfe46511488719628e22df92da5026f31c555a6a1fa6f.php:64 +#: /tmp/cache/587c83c09abaa/92/926cb0fdbe92b0165a1a13c21243442890c70779003bbc2fe1230ff221742de9.php:77 +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:66 +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:276 +#: /tmp/cache/587c83c13194c/07/073354bd24405bc5c963d187d0034352a7a24a3550861ca791f826417bb9cecd.php:70 +msgid "Alpha-nav" +msgstr "Alfabetycznie" + +#: /tmp/cache/587c83c09abaa/cf/cf0b3d87d2eb48f38f5f339303d5509c7535d13d7b010ad4840ee824430f7fe6.php:34 +msgid "Alphabetical index" +msgstr "Indeks alfabetyczny" + +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:555 +msgid "By group" +msgstr "Według grupy" + +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:587 +msgid "By parent" +msgstr "Według rodzica" + +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:477 +msgid "By scheme" +msgstr "Według podsłownictwa" + +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:516 +msgid "By type" +msgstr "Według typu" + +#: /tmp/cache/587c83c09abaa/bf/bf6437cf02d4bf892eccfe46511488719628e22df92da5026f31c555a6a1fa6f.php:119 +#: /tmp/cache/587c83c09abaa/92/926cb0fdbe92b0165a1a13c21243442890c70779003bbc2fe1230ff221742de9.php:132 +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:117 +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:331 +#: /tmp/cache/587c83c13194c/07/073354bd24405bc5c963d187d0034352a7a24a3550861ca791f826417bb9cecd.php:125 +msgid "Changes-nav" +msgstr "Nowy" + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:122 +msgid "Clear limitations" +msgstr "Wyczyść ograniczenia" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:74 +msgid "Contact us!" +msgstr "Skontaktuj się z nami!" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:108 +msgid "Content and search language" +msgstr "Język zawartości i szukania" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:51 +msgid "Content language" +msgstr "Język zawartości" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:732 +msgid "Download this concept in SKOS format:" +msgstr "Pobierz te pojęcie" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:144 +msgid "E-mail:" +msgstr "E-mail:" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:220 +msgid "Enter search term" +msgstr "Wpisz szukany termin" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:148 +msgid "Enter your e-mail address" +msgstr "Wpisz swój e-mail" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:140 +msgid "Enter your name" +msgstr "Wpisz swoją nazwę" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:900 +#: /tmp/cache/587c83c13194c/5c/5c060d2297f64d66beb101ee34831f917ed8d33f97dadeca144430a1561433ec.php:69 +msgid "Error: Requested vocabulary not found!" +msgstr "Błąd: nie znaleziono żądanego słownictwa" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:890 +msgid "Error: Term \"%term%\" not found in vocabulary!" +msgstr "Błąd: Termin \"%term%\" nieodnaleziony w słownictwie!" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:34 +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:54 +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:194 +msgid "Feedback" +msgstr "Prześlij opinię" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:64 +msgid "Feedback has been sent!" +msgstr "Przesłano opinię" + +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:35 +msgid "Group index" +msgstr "Indeks grup" + +#: /tmp/cache/587c83c09abaa/bf/bf6437cf02d4bf892eccfe46511488719628e22df92da5026f31c555a6a1fa6f.php:101 +#: /tmp/cache/587c83c09abaa/92/926cb0fdbe92b0165a1a13c21243442890c70779003bbc2fe1230ff221742de9.php:114 +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:99 +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:313 +#: /tmp/cache/587c83c13194c/07/073354bd24405bc5c963d187d0034352a7a24a3550861ca791f826417bb9cecd.php:107 +msgid "Group-nav" +msgstr "Grupy" + +#: /tmp/cache/587c83c09abaa/bf/bf6437cf02d4bf892eccfe46511488719628e22df92da5026f31c555a6a1fa6f.php:85 +#: /tmp/cache/587c83c09abaa/92/926cb0fdbe92b0165a1a13c21243442890c70779003bbc2fe1230ff221742de9.php:94 +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:83 +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:297 +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:55 +#: /tmp/cache/587c83c13194c/07/073354bd24405bc5c963d187d0034352a7a24a3550861ca791f826417bb9cecd.php:91 +msgid "Hier-nav" +msgstr "Hierarchia" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:157 +msgid "Leave this field blank" +msgstr "Pozostaw to pole puste" + +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:594 +msgid "Limit search" +msgstr "Ogranicz wyszukiwanie" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:31 +msgid "Loading" +msgstr "Wczytywanie" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:27 +msgid "Loading more items" +msgstr "Załaduj więcej" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:152 +msgid "Message:" +msgstr "Wiadomość:" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:136 +msgid "Name:" +msgstr "Nazwa:" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:23 +msgid "No results" +msgstr "Brak wyników" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:103 +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:111 +msgid "Not to a specific vocabulary" +msgstr "Nie do konkretnego słownictwa" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:233 +msgid "Search" +msgstr "Szukaj" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:59 +msgid "Search from vocabulary" +msgstr "Wyszukaj ze słownictwa" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:210 +msgid "Search language: any" +msgstr "Dowolny język" + +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:340 +msgid "Search options" +msgstr "Wyszukaj opcje" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:161 +msgid "Send feedback" +msgstr "Prześlij opinię" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:51 +msgid "Show all breadcrumb paths" +msgstr "wyświetla wszystkie # ścieżki" + +#: /tmp/cache/587c83c09abaa/58/58e9c1cebb82d52daf56fab57cd7b86ed47b1d8a86a915177156746eef73248e.php:72 +msgid "Skosmos version %version%" +msgstr "Skosmos wersja %version%" + +#: /tmp/cache/587c83c09abaa/9a/9a6d69d72b35f38585477d2f25d50cacf270791aa84e4d523f237566dd428822.php:229 +msgid "Submit search" +msgstr "Prześlij wyszukiwanie" + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:68 +msgid "Thank you for your feedback" +msgstr "Dziękujemy za Twoją opinię. Postaramy się jak najszybciej odpowiedzieć na wszystkie informacje." + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:129 +msgid "The search provided no results." +msgstr "Wyszukiwanie nie zwróciło wyników." + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:48 +msgid "There is no term for this concept in this language" +msgstr "W tym języku nie ma terminów dla określonego pojęcia." + +#: /tmp/cache/587c83c09abaa/4a/4a8733799c4f4aa865ece4715881ffcbef92985ed08edc2acd445e7b0c129fab.php:173 +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:47 +msgid "Value is required and can not be empty" +msgstr "Wartość jest wymagana i nie może być pusta" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:27 +msgid "cc:attributionName" +msgstr "Nazwa twórcy" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:29 +msgid "cc:attributionUrl" +msgstr "Adres URL twórcy" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:25 +msgid "cc:license" +msgstr "Licencja" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:31 +msgid "cc:morePermissions" +msgstr "Więcej uprawnień" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:33 +msgid "cc:useGuidelines" +msgstr "warunki użytkowania" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:35 +msgid "dc:conformsTo" +msgstr "Zgodny z" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:37 +msgid "dc:contributor" +msgstr "Współpracownik" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:39 +msgid "dc:coverage" +msgstr "Zasięg" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:41 +msgid "dc:created" +msgstr "Stworzono" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:43 +msgid "dc:creator" +msgstr "Twórca" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:45 +msgid "dc:date" +msgstr "Data" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:47 +msgid "dc:description" +msgstr "Opis" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:49 +msgid "dc:format" +msgstr "Format" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:51 +msgid "dc:identifier" +msgstr "Identyfikator" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:53 +msgid "dc:isReplacedBy" +msgstr "Ma odniesienie w" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:55 +msgid "dc:isRequiredBy" +msgstr "Jest wymagany przez" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:57 +msgid "dc:issued" +msgstr "Data wydania" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:59 +msgid "dc:language" +msgstr "Język" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:61 +msgid "dc:license" +msgstr "Licencja" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:63 +msgid "dc:modified" +msgstr "Ostatnia modyfikacja" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:65 +msgid "dc:publisher" +msgstr "Wydawca" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:67 +msgid "dc:relation" +msgstr "Relacja" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:69 +msgid "dc:replaces" +msgstr "Zastępuje" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:71 +msgid "dc:rights" +msgstr "Prawa" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:73 +msgid "dc:rightsHolder" +msgstr "Posiadacz praw" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:75 +msgid "dc:source" +msgstr "Źródło" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:77 +msgid "dc:source_help" +msgstr "Źródło opisu pojęcia." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:79 +msgid "dc:spatial" +msgstr "Zasięg przestrzenny" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:81 +msgid "dc:subject" +msgstr "Temat" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:83 +msgid "dc:temporal" +msgstr "Zakres czasowy" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:85 +msgid "dc:title" +msgstr "Tytuł" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:87 +msgid "dc:type" +msgstr "Typ" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:36 +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:256 +msgid "deprecated" +msgstr "To pojęcie zostało wycofane. Nie używaj tego pojęcia w przypisach!" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:89 +msgid "foaf:homepage" +msgstr "Strona domowa" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:91 +msgid "foaf:page" +msgstr "Strona" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:658 +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:542 +msgid "foreign prefLabel help" +msgstr "Terminy pojęcia w innych językach." + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:660 +msgid "foreign prefLabels" +msgstr "W innych językach" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:39 +msgid "from all" +msgstr "dla każdego" + +#: /tmp/cache/587c83c09abaa/bf/bf6437cf02d4bf892eccfe46511488719628e22df92da5026f31c555a6a1fa6f.php:81 +#: /tmp/cache/587c83c09abaa/92/926cb0fdbe92b0165a1a13c21243442890c70779003bbc2fe1230ff221742de9.php:90 +#: /tmp/cache/587c83c09abaa/d1/d13f81e53ff33f31fff259d66f8ddbf7cfc39d25c6219ff727553feca6d87d37.php:79 +#: /tmp/cache/587c83c09abaa/c7/c7175f1dcd0b8bfa06a77b42c0566cc09ea4bf4805eb07a09448ad205bfcceea.php:293 +#: /tmp/cache/587c83c13194c/07/073354bd24405bc5c963d187d0034352a7a24a3550861ca791f826417bb9cecd.php:87 +msgid "hierarchy-disabled-help" +msgstr "Nie można wyświetlić hierarchii najwyższego poziomu w tym słownictwie." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:93 +msgid "isothes:ConceptGroup" +msgstr "Grupa pojęć" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:97 +msgid "isothes:ThesaurusArray" +msgstr "Tablica pojęć rodzeństwa" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:99 +msgid "isothes:broaderGeneric" +msgstr "Pojęcia szersze" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:101 +msgid "isothes:broaderInstantial" +msgstr "Pojęcie szersze (bezpośrednie)" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:103 +msgid "isothes:broaderPartitive" +msgstr "Pojęcie szersze (parytatywne)" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:105 +msgid "isothes:narrowerGeneric" +msgstr "Pojęcia węższe" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:107 +msgid "isothes:narrowerInstantial" +msgstr "Pojęcia węższe (bezpośrednie)" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:109 +msgid "isothes:narrowerPartitive" +msgstr "Pojęcia węższe (partytywne)" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:95 +msgid "isothes:superGroup" +msgstr "Nadgrupa" + +#: /tmp/cache/587c83c09abaa/58/58e9c1cebb82d52daf56fab57cd7b86ed47b1d8a86a915177156746eef73248e.php:66 +msgid "layout designed by Hahmo" +msgstr "wygląd zaprojektowany przez Hahmo Design" + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:74 +msgid "limited to group" +msgstr "grupa" + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:67 +msgid "limited to parent" +msgstr "rodzic" + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:81 +msgid "limited to scheme" +msgstr "ograniczone do pojęcia" + +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:29 +msgid "limited to type" +msgstr "typ" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:113 +msgid "owl:sameAs" +msgstr "Pojęcia równoważne" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:111 +msgid "owl:versionInfo" +msgstr "Wersja" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:115 +msgid "rdf:type" +msgstr "Typ" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:117 +msgid "rdf:type_help" +msgstr "Typ podmiotu" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:123 +msgid "rdfs:comment" +msgstr "Opis" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:119 +msgid "rdfs:label" +msgstr "Etykieta" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:121 +msgid "rdfs:seeAlso" +msgstr "Zobacz więcej" + +#: /tmp/cache/587c83c09abaa/f2/f29f57cf31b29541d6f810d43d1f7a07e79cfddcf23678f04612a410c0f0607b.php:43 +msgid "selected" +msgstr "Wybrane" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:143 +msgid "skos:altLabel" +msgstr "Terminy pojęciowe" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:179 +msgid "skos:altLabel_help" +msgstr "Alternatywne terminy dla pojęcia." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:133 +msgid "skos:broadMatch" +msgstr "Pasujące szersze pojęcia." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:191 +msgid "skos:broadMatch_help" +msgstr "Pasujące szersze pojęcia w innym słownictwie." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:129 +msgid "skos:broader" +msgstr "Pojęcie szersze" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:171 +msgid "skos:broader_help" +msgstr "Pojęcie szersze" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:169 +msgid "skos:changeNote" +msgstr "Zmień notatkę" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:147 +msgid "skos:closeMatch" +msgstr "Pojęcia bliskoznaczne" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:189 +msgid "skos:closeMatch_help" +msgstr "Pojęcia bliskoznaczne w innym słownictwie." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:161 +msgid "skos:definition" +msgstr "Definicja" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:185 +msgid "skos:definition_help" +msgstr "Pełne wyjaśnienie zamierzonego znaczenia pojęcia" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:167 +msgid "skos:editorialNote" +msgstr "Notka redakcyjna" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:145 +msgid "skos:exactMatch" +msgstr "Dokładnie dopasowane pojęcia" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:187 +msgid "skos:exactMatch_help" +msgstr "Dokładnie dopasowane pojęcia w innym słownictwie." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:163 +msgid "skos:example" +msgstr "Przykład" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:155 +msgid "skos:hasTopConcept" +msgstr "Ma pojęcie główne" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:165 +msgid "skos:historyNote" +msgstr "Notka historyczna" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:151 +msgid "skos:inScheme" +msgstr "Schemat pojęcia" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:149 +msgid "skos:member" +msgstr "Członek grupy" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:181 +msgid "skos:member_help" +msgstr "Członkowie grupy" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:135 +msgid "skos:narrowMatch" +msgstr "Pasujące pojęcia węższe" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:193 +msgid "skos:narrowMatch_help" +msgstr "Wąsko dopasowane pojęcia w innym słownictwie." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:131 +msgid "skos:narrower" +msgstr "Pojęcia węższe" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:173 +msgid "skos:narrower_help" +msgstr "Pojęcia węższe." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:157 +msgid "skos:note" +msgstr "Notatka" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:175 +msgid "skos:note_help" +msgstr "Notatki" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:234 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:141 +msgid "skos:prefLabel" +msgstr "Preferowany termin" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:137 +msgid "skos:related" +msgstr "Pojęcia pokrewne" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:139 +msgid "skos:relatedMatch" +msgstr "Pasujące pojęcia pokrewne" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:183 +msgid "skos:related_help" +msgstr "Pojęcia związane z tym pojęciem." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:159 +msgid "skos:scopeNote" +msgstr "Notka dotycząca zakresu" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:177 +msgid "skos:scopeNote_help" +msgstr "Uwagi dotyczące wykorzystania i zakresu pojęcia." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:153 +msgid "skos:topConceptOf" +msgstr "Należy do słownictwa." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:197 +msgid "skosext:DeprecatedConcept" +msgstr "Przestarzałe pojęcie" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:195 +msgid "skosext:partOf" +msgstr "Jest częścią" + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:199 +msgid "skosext:partOf_help" +msgstr "Całość do której należy pojęcie." + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:548 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:201 +#: /tmp/cache/587c83c09abaa/8a/8aeec9eddcf0848575d119210eda5a849c129c96ea86195b4448536a02a47817.php:449 +msgid "skosmos:memberOf" +msgstr "Należy do grupy" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:611 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:205 +msgid "skosmos:memberOfArray" +msgstr "Należy do tablicy" + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:609 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:207 +msgid "skosmos:memberOfArray_help" +msgstr "Tablica do której należy pojęcie." + +#: /tmp/cache/587c83c09abaa/3c/3c4ea3202d0add91bf2080022b707c23115e0beb434024ddb2de27749e6bbe83.php:546 +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:203 +msgid "skosmos:memberOf_help" +msgstr "Grupa do której należy pojęcie." + +#: /tmp/cache/587c83c09abaa/4e/4e05e5051b20c875609479922a558d59b8500ae386eaf79bc460e69d8781a753.php:23 +msgid "zxx-x-taxon" +msgstr "Nazwa naukowa" + +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:168 +msgid "About page" +msgstr "O" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:138 +msgid "Alternate terms" +msgstr "Alternatywne terminy" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:130 +msgid "Concept language" +msgstr "Język" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:118 +msgid "Count" +msgstr "Ilość" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:157 +msgid "Download this vocabulary as SKOS/RDF:" +msgstr "Pobierz te słownictwo jako SKOS/RDF:" + +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:205 +msgid "Help" +msgstr "Pomoc" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:142 +msgid "Hidden terms" +msgstr "Ukryte terminy" + +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:58 +msgid "Interface language" +msgstr "Język interfejsu" + +#: /tmp/cache/587c83c13194c/f9/f9c816822168f230ef0bfed735f5923aab99d389ce8b2c6b2f5fcd5d400bc275.php:26 +msgid "No vocabularies on the server!" +msgstr "Brak słownictw na serwerze!" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:134 +msgid "Preferred terms" +msgstr "Preferowany termin" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:111 +msgid "Resource counts by type" +msgstr "Liczba zasobów według typów" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:124 +msgid "Term counts by language" +msgstr "Terminy wg języka" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:116 +msgid "Type" +msgstr "Typ" + +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:146 +msgid "Vocabularies-nav" +msgstr "Słownictwa" + +#: /tmp/cache/587c83c13194c/ab/abd3710fda280028e428e4bc415383b12c9a30cc34eadffd21ff4130ae796b99.php:24 +msgid "Vocabulary information" +msgstr "Informacja o słownictwie" + +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:199 +msgid "helper_help" +msgstr "Najedź kursorem na tekst z wykropkowanym podkreśleniem, aby zobaczyć instrukcje dotyczące tej właściwości." + +#: /tmp/cache/587c83c13194c/0b/0bbfc29e05e244fa07889ce1678840902f16e5f76560e00137de0cc3bb084b8b.php:201 +msgid "search_example_text" +msgstr "Aby wyszukać fragmenty, użyj symbolu * np *animal lub *patent*. W przypadku zakończenia szukanych słów wyszukiwanie zostanie automatycznie obcięte, nawet jeśli nie zostanie wprowadzony symbol odcięcia, dzięki czemu cat da te same wyniki, co cat*." + +#~ msgid "dc11:contributor" +#~ msgstr "Contributor" + +#~ msgid "dc11:creator" +#~ msgstr "Creator" + +#~ msgid "dc11:description" +#~ msgstr "Description" + +#~ msgid "dc11:license" +#~ msgstr "License" + +#~ msgid "dc11:publisher" +#~ msgstr "Publisher" + +#~ msgid "dc11:relation" +#~ msgstr "Relation" + +#~ msgid "dc11:rights" +#~ msgstr "Rights" + +#~ msgid "dc11:source" +#~ msgstr "Source" + +#~ msgid "dc11:title" +#~ msgstr "Title" + +#~ msgid "Error: the vocabulary does not contain terms beginning with" +#~ msgstr "The vocabulary does not contain terms beginning with" + +#~ msgid "Vocabularies on the server" +#~ msgstr "Available vocabularies and ontologies" + +#~ msgid "Modified concepts" +#~ msgstr "Modified concepts" + +#~ msgid "New concepts" +#~ msgstr "New concepts" + +#~ msgid "All" +#~ msgstr "All" + +#~ msgid "results" +#~ msgstr "results:" + +#~ msgid "results for" +#~ msgstr "results for" + +#~ msgid "Language literal" +#~ msgstr "In English" diff --git a/tests/ConceptMappingPropertyValueTest.php b/tests/ConceptMappingPropertyValueTest.php index e4ba0737b..b0e843b45 100644 --- a/tests/ConceptMappingPropertyValueTest.php +++ b/tests/ConceptMappingPropertyValueTest.php @@ -26,7 +26,7 @@ protected function setUp() { * @covers ConceptMappingPropertyValue::__construct */ public function testConstructor() { - $resourcestub = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $resourcestub = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $mapping = new ConceptMappingPropertyValue($this->model, $this->vocab, $resourcestub, 'skos:exactMatch'); $this->assertEquals('skos:exactMatch', $mapping->getType()); } @@ -46,7 +46,7 @@ public function testGetLabelFromExternalVocabulary() { * @covers ConceptMappingPropertyValue::queryLabel */ public function testGetLabelResortsToUri() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $labelmap = array( array('en', null), array(null, null) @@ -67,7 +67,7 @@ public function testGetLabelResortsToUri() { * @covers ConceptMappingPropertyValue::queryLabel */ public function testGetLabelWithAndWithoutLang() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $labelmap = array( array('en', 'english'), array(null, 'default') @@ -84,7 +84,7 @@ public function testGetLabelWithAndWithoutLang() { * @covers ConceptMappingPropertyValue::queryLabel */ public function testGetLabelWithLiteralAndLang() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $labelmap = array( array('en', null), array(null, null) @@ -105,8 +105,8 @@ public function testGetLabelWithLiteralAndLang() { * @covers ConceptMappingPropertyValue::getNotation */ public function testGetNotation() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); - $mocklit = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); + $mocklit = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $mocklit->method('getValue')->will($this->returnValue('666')); $map = array( array('skos:notation', null, null, $mocklit), diff --git a/tests/ConceptPropertyValueLiteralTest.php b/tests/ConceptPropertyValueLiteralTest.php index 834632409..5591a9dc1 100644 --- a/tests/ConceptPropertyValueLiteralTest.php +++ b/tests/ConceptPropertyValueLiteralTest.php @@ -24,7 +24,7 @@ protected function setUp() { * @covers ConceptPropertyValueLiteral::__construct */ public function testConstructor() { - $litmock = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $litmock = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $prop = new ConceptPropertyValueLiteral($litmock, 'skosmos:someProperty'); $this->assertEquals(null, $prop->__toString()); } @@ -100,7 +100,7 @@ public function testToString() { * @covers ConceptPropertyValueLiteral::__toString */ public function testToStringEmpty() { - $litmock = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $litmock = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $lit = new ConceptPropertyValueLiteral($litmock, 'skosmos:testType'); $this->assertEquals('', $lit); } @@ -109,7 +109,7 @@ public function testToStringEmpty() { * @covers ConceptPropertyValueLiteral::getNotation */ public function testGetNotation() { - $litmock = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $litmock = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $lit = new ConceptPropertyValueLiteral($litmock, 'skosmos:testType'); $this->assertEquals(null, $lit->getNotation()); } @@ -118,7 +118,7 @@ public function testGetNotation() { * @covers ConceptPropertyValueLiteral::getContainsHtml */ public function testGetContainsHtmlWhenThereIsNone() { - $litmock = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $litmock = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $litmock->method('getValue')->will($this->returnValue('a regular literal')); $lit = new ConceptPropertyValueLiteral($litmock, 'skosmos:testType'); $this->assertFalse($lit->getContainsHtml()); @@ -128,7 +128,7 @@ public function testGetContainsHtmlWhenThereIsNone() { * @covers ConceptPropertyValueLiteral::getContainsHtml */ public function testGetContainsHtmlWhenThereIsOnlyAOpeningTag() { - $litmock = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $litmock = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $litmock->method('getValue')->will($this->returnValue('a literal with broken html')); $lit = new ConceptPropertyValueLiteral($litmock, 'skosmos:testType'); $this->assertFalse($lit->getContainsHtml()); @@ -138,7 +138,7 @@ public function testGetContainsHtmlWhenThereIsOnlyAOpeningTag() { * @covers ConceptPropertyValueLiteral::getContainsHtml */ public function testGetContainsHtml() { - $litmock = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $litmock = $this->getMockBuilder('EasyRdf\Literal')->disableOriginalConstructor()->getMock(); $litmock->method('getValue')->will($this->returnValue('a literal with valid html')); $lit = new ConceptPropertyValueLiteral($litmock, 'skosmos:testType'); $this->assertTrue($lit->getContainsHtml()); diff --git a/tests/ConceptPropertyValueTest.php b/tests/ConceptPropertyValueTest.php index c72e984d5..5ed0177ab 100644 --- a/tests/ConceptPropertyValueTest.php +++ b/tests/ConceptPropertyValueTest.php @@ -23,7 +23,7 @@ protected function setUp() { * @covers ConceptPropertyValue::__construct */ public function testConstructor() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\\Resource')->disableOriginalConstructor()->getMock(); $propval = new ConceptPropertyValue($this->model, $this->vocab, $mockres, 'skosmos:testProp', 'en'); $this->assertInstanceOf('ConceptPropertyValue', $propval); } @@ -41,7 +41,7 @@ public function testGetLabel() { * @covers ConceptPropertyValue::getLabel */ public function testGetLabelLiteral() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\\Resource')->disableOriginalConstructor()->getMock(); $labelmap = array( array('en', null), array(null, null) @@ -110,7 +110,7 @@ public function testGetNotation() { * @covers ConceptPropertyValue::getNotation */ public function testGetNotationWhenThereIsNone() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\\Resource')->disableOriginalConstructor()->getMock(); $propval = new ConceptPropertyValue($this->model, $this->vocab, $mockres, 'en'); $this->assertEquals(null, $propval->getNotation()); } @@ -130,10 +130,10 @@ public function testToStringWhenSortByNotationNotSet() { * @covers ConceptPropertyValue::__toString */ public function testToStringWithNotation() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\\Resource')->disableOriginalConstructor()->getMock(); $mockvoc = $this->getMockBuilder('Vocabulary')->disableOriginalConstructor()->getMock(); $mockconf = $this->getMockBuilder('VocabularyConfig')->disableOriginalConstructor()->getMock(); - $mocklit = $this->getMockBuilder('EasyRDF_literal')->disableOriginalConstructor()->getMock(); + $mocklit = $this->getMockBuilder('EasyRdf\\Literal')->disableOriginalConstructor()->getMock(); $mocklit->method('getValue')->will($this->returnValue('T3ST')); $mockconf->method('sortByNotation')->will($this->returnValue(true)); $mockconf->method('showNotation')->will($this->returnValue(true)); @@ -149,10 +149,10 @@ public function testToStringWithNotation() { * @covers ConceptPropertyValue::__toString */ public function testToStringWhenNotationExistsButIsConfiguredOff() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\\Resource')->disableOriginalConstructor()->getMock(); $mockvoc = $this->getMockBuilder('Vocabulary')->disableOriginalConstructor()->getMock(); $mockconf = $this->getMockBuilder('VocabularyConfig')->disableOriginalConstructor()->getMock(); - $mocklit = $this->getMockBuilder('EasyRDF_literal')->disableOriginalConstructor()->getMock(); + $mocklit = $this->getMockBuilder('EasyRdf\\Literal')->disableOriginalConstructor()->getMock(); $mocklit->method('getValue')->will($this->returnValue('T3ST')); $mockconf->method('sortByNotation')->will($this->returnValue(true)); $mockconf->method('showNotation')->will($this->returnValue(false)); @@ -176,15 +176,15 @@ public function testSubmemberSorting() { $propvals = $props['skos:broader']->getValues(); $prop = reset($propvals); $val1 = $this->getMockBuilder('ConceptPropertyValue')->disableOriginalConstructor()->getMock(); - $lit1 = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $lit1 = $this->getMockBuilder('EasyRdf\\Literal')->disableOriginalConstructor()->getMock(); $lit1->method('getValue')->will($this->returnValue('elephant')); $val1->method('getLabel')->will($this->returnValue($lit1)); $val2 = $this->getMockBuilder('ConceptPropertyValue')->disableOriginalConstructor()->getMock(); - $lit2 = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $lit2 = $this->getMockBuilder('EasyRdf\\Literal')->disableOriginalConstructor()->getMock(); $lit2->method('getValue')->will($this->returnValue('cat')); $val2->method('getLabel')->will($this->returnValue($lit2)); $val3 = $this->getMockBuilder('ConceptPropertyValue')->disableOriginalConstructor()->getMock(); - $lit3 = $this->getMockBuilder('EasyRdf_Literal')->disableOriginalConstructor()->getMock(); + $lit3 = $this->getMockBuilder('EasyRdf\\Literal')->disableOriginalConstructor()->getMock(); $lit3->method('getValue')->will($this->returnValue('cheetah')); $val3->method('getLabel')->will($this->returnValue($lit3)); $prop->addSubMember($val1); @@ -197,7 +197,7 @@ public function testSubmemberSorting() { * @covers ConceptPropertyValue::getSubMembers */ public function testGetSubMembersEmpty() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\\Resource')->disableOriginalConstructor()->getMock(); $propval = new ConceptPropertyValue($this->model, $this->vocab, $mockres, 'en'); $this->assertEquals(null, $propval->getSubMembers()); } diff --git a/tests/ConceptTest.php b/tests/ConceptTest.php index 0021471e5..9f55157c4 100644 --- a/tests/ConceptTest.php +++ b/tests/ConceptTest.php @@ -23,7 +23,7 @@ protected function setUp() { */ public function testConstructor() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $concept = new Concept($this->model, $this->vocab, $mockres, 'http://skosmos.skos/test', 'en'); $this->assertInstanceOf('Concept', $concept); $this->assertEquals('Test ontology', $concept->getVocabTitle()); diff --git a/tests/GenericSparqlTest.php b/tests/GenericSparqlTest.php index d3f4eae0a..a9f7503f5 100644 --- a/tests/GenericSparqlTest.php +++ b/tests/GenericSparqlTest.php @@ -333,7 +333,7 @@ public function testQueryTypes() public function testQueryConceptScheme() { $actual = $this->sparql->queryConceptScheme('http://www.skosmos.skos/test/conceptscheme'); - $this->assertInstanceOf('EasyRdf_Graph', $actual); + $this->assertInstanceOf('EasyRdf\Graph', $actual); $this->assertEquals('http://localhost:3030/ds/sparql', $actual->getUri()); } diff --git a/tests/ModelTest.php b/tests/ModelTest.php index 1320eecf4..5c8a6e201 100644 --- a/tests/ModelTest.php +++ b/tests/ModelTest.php @@ -293,7 +293,7 @@ public function testGetRdfCustomPrefix() { */ public function testGetRDFWithVocidAndURIasTurtle() { $result = $this->model->getRDF('test', 'http://www.skosmos.skos/test/ta116', 'text/turtle'); - $resultGraph = new EasyRdf_Graph(); + $resultGraph = new EasyRdf\Graph(); $resultGraph->parse($result, "turtle"); $expected = '@prefix skos: . @@ -324,9 +324,9 @@ public function testGetRDFWithVocidAndURIasTurtle() { a owl:Class . '; - $expectedGraph = new EasyRdf_Graph(); + $expectedGraph = new EasyRdf\Graph(); $expectedGraph->parse($expected, "turtle"); - $this->assertTrue(EasyRdf_Isomorphic::isomorphic($resultGraph, $expectedGraph)); + $this->assertTrue(EasyRdf\Isomorphic::isomorphic($resultGraph, $expectedGraph)); } /** @@ -334,7 +334,7 @@ public function testGetRDFWithVocidAndURIasTurtle() { */ public function testGetRDFWithURIasTurtle() { $result = $this->model->getRDF(null, 'http://www.skosmos.skos/test/ta116', 'text/turtle'); - $resultGraph = new EasyRdf_Graph(); + $resultGraph = new EasyRdf\Graph(); $resultGraph->parse($result, "turtle"); $expected = '@prefix skos: . @prefix rdfs: . @@ -365,9 +365,9 @@ public function testGetRDFWithURIasTurtle() { '; - $expectedGraph = new EasyRdf_Graph(); + $expectedGraph = new EasyRdf\Graph(); $expectedGraph->parse($expected, "turtle"); - $this->assertTrue(EasyRdf_Isomorphic::isomorphic($resultGraph, $expectedGraph)); + $this->assertTrue(EasyRdf\Isomorphic::isomorphic($resultGraph, $expectedGraph)); } /** @@ -376,12 +376,12 @@ public function testGetRDFWithURIasTurtle() { public function testGetRDFWithVocidAndURIasJSON() { $result = $this->model->getRDF('test', 'http://www.skosmos.skos/test/ta116', 'application/json'); - $resultGraph = new EasyRdf_Graph(); + $resultGraph = new EasyRdf\Graph(); $resultGraph->parse($result, "jsonld"); $expected = '[{"@id":"http://www.skosmos.skos/test-meta/TestClass","http://www.w3.org/2000/01/rdf-schema#label":[{"@value":"Test class","@language":"en"}],"@type":["http://www.w3.org/2002/07/owl#Class"]},{"@id":"http://www.skosmos.skos/test/conceptscheme","http://www.w3.org/2000/01/rdf-schema#label":[{"@value":"Test conceptscheme","@language":"en"}],"@type":["http://www.w3.org/2004/02/skos/core#ConceptScheme"]},{"@id":"http://www.skosmos.skos/test/ta1","http://www.w3.org/2004/02/skos/core#prefLabel":[{"@value":"Fish","@language":"en"}],"@type":["http://www.skosmos.skos/test-meta/TestClass","http://www.w3.org/2004/02/skos/core#Concept"],"http://www.w3.org/2004/02/skos/core#narrower":[{"@id":"http://www.skosmos.skos/test/ta116"}]},{"@id":"http://www.skosmos.skos/test/ta116","http://www.w3.org/2004/02/skos/core#inScheme":[{"@id":"http://www.skosmos.skos/test/conceptscheme"}],"http://www.w3.org/2004/02/skos/core#broader":[{"@id":"http://www.skosmos.skos/test/ta1"}],"http://www.w3.org/2004/02/skos/core#prefLabel":[{"@value":"Bass","@language":"en"}],"@type":["http://www.skosmos.skos/test-meta/TestClass","http://www.w3.org/2004/02/skos/core#Concept"]},{"@id":"http://www.skosmos.skos/test/ta122","http://www.w3.org/2004/02/skos/core#broader":[{"@id":"http://www.skosmos.skos/test/ta116"}]},{"@id":"http://www.w3.org/2002/07/owl#Class"},{"@id":"http://www.w3.org/2004/02/skos/core#Concept"},{"@id":"http://www.w3.org/2004/02/skos/core#ConceptScheme"},{"@id":"http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#label":[{"@value":"has broader","@language":"en"}]},{"@id":"http://www.w3.org/2004/02/skos/core#prefLabel","http://www.w3.org/2000/01/rdf-schema#label":[{"@value":"preferred label","@language":"en"}]}]'; - $expectedGraph = new EasyRdf_Graph(); + $expectedGraph = new EasyRdf\Graph(); $expectedGraph->parse($expected, "jsonld"); - $this->assertTrue(EasyRdf_Isomorphic::isomorphic($resultGraph, $expectedGraph)); + $this->assertTrue(EasyRdf\Isomorphic::isomorphic($resultGraph, $expectedGraph)); } /** @@ -389,7 +389,7 @@ public function testGetRDFWithVocidAndURIasJSON() { */ public function testGetRDFWithVocidAndURIasRDFXML() { $result = $this->model->getRDF('test', 'http://www.skosmos.skos/test/ta116', 'application/rdf+xml'); - $resultGraph = new EasyRdf_Graph(); + $resultGraph = new EasyRdf\Graph(); $resultGraph->parse($result, "rdfxml"); $expected = ' '; - $expectedGraph = new EasyRdf_Graph(); + $expectedGraph = new EasyRdf\Graph(); $expectedGraph->parse($expected, "rdfxml"); - $this->assertTrue(EasyRdf_Isomorphic::isomorphic($resultGraph, $expectedGraph)); + $this->assertTrue(EasyRdf\Isomorphic::isomorphic($resultGraph, $expectedGraph)); } /** @@ -444,7 +444,7 @@ public function testGetRDFWithVocidAndURIasRDFXML() { */ public function testGetRDFShouldIncludeLists() { $result = $this->model->getRDF('test', 'http://www.skosmos.skos/test/ta124', 'text/turtle'); - $resultGraph = new EasyRdf_Graph(); + $resultGraph = new EasyRdf\Graph(); $resultGraph->parse($result, "turtle"); $expected = '@prefix test: . @@ -469,9 +469,9 @@ public function testGetRDFShouldIncludeLists() { '; - $expectedGraph = new EasyRdf_Graph(); + $expectedGraph = new EasyRdf\Graph(); $expectedGraph->parse($expected, "turtle"); - $this->assertTrue(EasyRdf_Isomorphic::isomorphic($resultGraph, $expectedGraph)); + $this->assertTrue(EasyRdf\Isomorphic::isomorphic($resultGraph, $expectedGraph)); } /** @@ -482,7 +482,7 @@ public function testGetRDFShouldIncludeLists() { public function testGetRDFShouldNotIncludeExtraBlankNodesFromLists() { $model = new Model(new GlobalConfig('/../tests/testconfig.inc')); $result = $model->getRDF('test', 'http://www.skosmos.skos/test/ta125', 'text/turtle'); - $resultGraph = new EasyRdf_Graph(); + $resultGraph = new EasyRdf\Graph(); $resultGraph->parse($result, "turtle"); $expected = '@prefix test: . @@ -497,9 +497,9 @@ public function testGetRDFShouldNotIncludeExtraBlankNodesFromLists() { skos:prefLabel "Vadefugler"@nb . '; - $expectedGraph = new EasyRdf_Graph(); + $expectedGraph = new EasyRdf\Graph(); $expectedGraph->parse($expected, "turtle"); - $this->assertTrue(EasyRdf_Isomorphic::isomorphic($resultGraph, $expectedGraph)); + $this->assertTrue(EasyRdf\Isomorphic::isomorphic($resultGraph, $expectedGraph)); } /** @@ -518,7 +518,7 @@ public function testGetLanguages() { */ public function testGetResourceFromUri() { $resource = $this->model->getResourceFromUri('http://www.yso.fi/onto/yso/p19378'); - $this->assertInstanceOf('EasyRdf_Resource', $resource); + $this->assertInstanceOf('EasyRdf\Resource', $resource); $this->assertEquals('http://www.yso.fi/onto/yso/p19378', $resource->getURI()); } @@ -526,7 +526,7 @@ public function testGetResourceFromUri() { * @covers Model::getResourceLabel */ public function testGetResourceLabelAcceptAnyLanguageWhenDesiredNotFound() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $labelmap = array( array('en', null), array(null, 'test value') @@ -539,7 +539,7 @@ public function testGetResourceLabelAcceptAnyLanguageWhenDesiredNotFound() { * @covers Model::getResourceLabel */ public function testGetResourceLabelCorrectLanguage() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $labelmap = array( array('en', 'test value'), array('fi', 'testiarvo') diff --git a/tests/VocabularyCategoryTest.php b/tests/VocabularyCategoryTest.php index 5cb2c8670..0275ff1d8 100644 --- a/tests/VocabularyCategoryTest.php +++ b/tests/VocabularyCategoryTest.php @@ -10,7 +10,7 @@ protected function setUp() { putenv("LC_ALL=en_GB.utf8"); setlocale(LC_ALL, 'en_GB.utf8'); $this->model = new Model(new GlobalConfig('/../tests/testconfig.inc')); - $this->mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $this->mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $this->mockres->method('localName')->will($this->returnValue('local name')); } diff --git a/tests/VocabularyConfigTest.php b/tests/VocabularyConfigTest.php index 00a9eb913..6ff94dd64 100644 --- a/tests/VocabularyConfigTest.php +++ b/tests/VocabularyConfigTest.php @@ -317,7 +317,7 @@ public function testShowStatisticsDefaultValue() { * @covers VocabularyConfig::getId */ public function testGetIdWithSlashNamespace() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $mockres->method('getUri')->will($this->returnValue('http://www.skosmos.skos/onto/test')); $conf = new VocabularyConfig($mockres); $this->assertEquals('test', $conf->getId()); diff --git a/tests/VocabularyDataObjectTest.php b/tests/VocabularyDataObjectTest.php index 12c1ed17f..33fb9a14d 100644 --- a/tests/VocabularyDataObjectTest.php +++ b/tests/VocabularyDataObjectTest.php @@ -11,7 +11,7 @@ public function testConstructorNoArguments() { $mockmod = $this->getMockBuilder('Model')->disableOriginalConstructor()->getMock(); $mockvoc = $this->getMockBuilder('Vocabulary')->disableOriginalConstructor()->getMock(); - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $vocdao = new VocabularyDataObject($mockmod, $mockvoc, $mockres); $this->assertInstanceOf('VocabularyDataObject', $vocdao); } diff --git a/tests/VocabularyTest.php b/tests/VocabularyTest.php index 49f4e0e64..9c98303df 100644 --- a/tests/VocabularyTest.php +++ b/tests/VocabularyTest.php @@ -277,7 +277,7 @@ public function testSearchConceptsAlphabeticalEverything() { */ public function testGetBreadCrumbs() { $model = new Model(new GlobalConfig('/../tests/testconfig.inc')); - $resource = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $resource = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $vocabstub = $this->getMock('Vocabulary', array('getConceptTransitiveBroaders'), array($model, $resource)); $vocabstub->method('getConceptTransitiveBroaders')->willReturn(array ( 'http://www.yso.fi/onto/yso/p4762' => array ( 'label' => 'objects', ), 'http://www.yso.fi/onto/yso/p1674' => array ( 'label' => 'physical whole', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p4762', ), ), 'http://www.yso.fi/onto/yso/p14606' => array ( 'label' => 'layers', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p1674', ), ), )); $result = $vocabstub->getBreadCrumbs('en', 'http://www.yso.fi/onto/yso/p14606'); @@ -292,7 +292,7 @@ public function testGetBreadCrumbs() { */ public function testGetBreadCrumbsShortening() { $model = new Model(new GlobalConfig('/../tests/testconfig.inc')); - $resource = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $resource = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $vocabstub = $this->getMock('Vocabulary', array('getConceptTransitiveBroaders'), array($model, $resource)); $vocabstub->method('getConceptTransitiveBroaders')->willReturn(array ( 'http://www.yso.fi/onto/yso/p4762' => array ( 'label' => 'objects', ), 'http://www.yso.fi/onto/yso/p13871' => array ( 'label' => 'thai language', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p10834', ), ), 'http://www.yso.fi/onto/yso/p556' => array ( 'label' => 'languages', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p2881', ), ), 'http://www.yso.fi/onto/yso/p8965' => array ( 'label' => 'Sino-Tibetan languages', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p556', ), ), 'http://www.yso.fi/onto/yso/p3358' => array ( 'label' => 'systems', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p4762', ), ), 'http://www.yso.fi/onto/yso/p10834' => array ( 'label' => 'Tai languages', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p8965', ), ), 'http://www.yso.fi/onto/yso/p2881' => array ( 'label' => 'cultural systems', 'direct' => array ( 0 => 'http://www.yso.fi/onto/yso/p3358', ), ), ) ); $result = $vocabstub->getBreadCrumbs('en', 'http://www.yso.fi/onto/yso/p13871'); @@ -370,7 +370,7 @@ public function testGetConfig() { * @covers Vocabulary::listConceptGroups */ public function testListConceptGroupsNoGroupsDefined() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $mockres->method('getLiteral')->will($this->returnValue(null)); $vocab = new Vocabulary($this->model, $mockres); $this->assertEquals(array(), $vocab->listConceptGroups()); @@ -380,7 +380,7 @@ public function testListConceptGroupsNoGroupsDefined() { * @covers Vocabulary::listConceptGroupContents */ public function testListConceptGroupContentsNoGroupFound() { - $mockres = $this->getMockBuilder('EasyRdf_Resource')->disableOriginalConstructor()->getMock(); + $mockres = $this->getMockBuilder('EasyRdf\Resource')->disableOriginalConstructor()->getMock(); $mockres->method('getLiteral')->will($this->returnValue(null)); $vocab = new Vocabulary($this->model, $mockres); $this->assertEquals(array(), $vocab->listConceptGroups());