Template:LabelContains/doc
![]() | This is a documentation subpage for Template:LabelContains. It contains usage information, categories, and other content that is not part of the original template page. |
This model is a Partial query. This means it can be used to help writing SPARQL query.
Usage
edit{{LabelContains|?item|plop|en}}
?item rdfs:label ?itemLabelEn filter (lang(?itemLabelEn) = "en"&& contains(?itemLabelEn,_"plop"))
Uses
edit{{Labelled}}
=> inherits from its variable name
See also
edit{{LabelStartsWith}}
{{Labelled}}
=> base template for this one
Partial query to search item whose labels in a language contains some string
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Item variable
| String | optional |
2 | 2 | String to search in item label | String | required |
label language | 3 | Language code of the language we want the label in to be
| String | optional |