|
@@ -429,7 +429,7 @@ discard block |
|
|
block discarded – undo |
|
429
|
429
|
* Returns information (as a graph) for one or more concept URIs |
|
430
|
430
|
* @param mixed $uris concept URI (string) or array of URIs |
|
431
|
431
|
* @param string|null $arrayClass the URI for thesaurus array class, or null if not used |
|
432
|
|
- * @param \Vocabulary[]|null $vocabs vocabularies to target |
|
|
432
|
+ * @param Vocabulary[] $vocabs vocabularies to target |
|
433
|
433
|
* @return \Concept[] |
|
434
|
434
|
*/ |
|
435
|
435
|
public function queryConceptInfoGraph($uris, $arrayClass = null, $vocabs = array()) { |
|
@@ -649,7 +649,7 @@ discard block |
|
|
block discarded – undo |
|
649
|
649
|
|
|
650
|
650
|
/** |
|
651
|
651
|
* Generate a VALUES clause for limiting the targeted graphs. |
|
652
|
|
- * @param Vocabulary[]|null $vocabs array of Vocabulary objects to target |
|
|
652
|
+ * @param Vocabulary[] $vocabs array of Vocabulary objects to target |
|
653
|
653
|
* @return string VALUES clause, or "" if not necessary to limit |
|
654
|
654
|
*/ |
|
655
|
655
|
protected function formatValuesGraph($vocabs) { |
|
@@ -829,6 +829,7 @@ discard block |
|
|
block discarded – undo |
|
829
|
829
|
* @param string $searchLang language code used for matching labels (null means any language) |
|
830
|
830
|
* @param string[] $props properties to target e.g. array('skos:prefLabel','skos:altLabel') |
|
831
|
831
|
* @param boolean $unique restrict results to unique concepts (default: false) |
|
|
832
|
+ * @param string $filterGraph |
|
832
|
833
|
* @return string sparql query |
|
833
|
834
|
*/ |
|
834
|
835
|
protected function generateConceptSearchQueryInner($term, $lang, $searchLang, $props, $unique, $filterGraph) |
|
@@ -1094,6 +1095,7 @@ discard block |
|
|
block discarded – undo |
|
1094
|
1095
|
/** |
|
1095
|
1096
|
* Generates sparql query clauses used for creating the alphabetical index. |
|
1096
|
1097
|
* @param string $letter the letter (or special class) to search for |
|
|
1098
|
+ * @param string $lang |
|
1097
|
1099
|
* @return array of sparql query clause strings |
|
1098
|
1100
|
*/ |
|
1099
|
1101
|
private function formatFilterConditions($letter, $lang) { |
|
@@ -1406,7 +1408,7 @@ discard block |
|
|
block discarded – undo |
|
1406
|
1408
|
/** |
|
1407
|
1409
|
* Query a single transitive property of a concept. |
|
1408
|
1410
|
* @param string $uri |
|
1409
|
|
- * @param string $prop the name of the property eg. 'skos:broader'. |
|
|
1411
|
+ * @param string $props the name of the property eg. 'skos:broader'. |
|
1410
|
1412
|
* @param string $lang |
|
1411
|
1413
|
* @param integer $limit |
|
1412
|
1414
|
* @param boolean $anylang if you want a label even when it isn't available in the language you requested. |