« ReferenceAndRecord » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 6 : | Ligne 6 : | ||
== Annotate == | == Annotate == | ||
<code>;</code> is used as separator for values which means in order to isolate the record from the reference specific fields one has to encode the values (by using | <code>;</code> is used as separator for values which means in order to isolate the record from the reference specific fields one has to encode the values (by using <code>\;</code>) that belong to the record property. | ||
<pre> | <pre> |
Version du 7 mars 2020 à 15:28
- Property:Visitor count (Reference)
- Property:Total visitor count (Record)
Annotate
;
is used as separator for values which means in order to isolate the record from the reference specific fields one has to encode the values (by using \;
) that belong to the record property.
[[Visitor count::1000\;500\;500;1 Jan 2000;https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki]]
1 000 (500, 500)
Query
{{#ask: [[Visitor count::?;1 Jan 2000;?]] |?Visitor count }}
Visitor count | |
---|---|
ReferenceAndRecord | 1 000 (500, 500) |
{{#ask: [[Visitor count::?;1 Jan 2000;?]] |?Visitor count.Total visitor count |?Visitor count.Total visitor count.Total count |?Visitor count.Total visitor count.Male count |?Visitor count.Total visitor count.Female count }}
Total visitor count⠉ | Total count⠉ | Male count⠉ | Female count⠉ | |
---|---|---|---|---|
ReferenceAndRecord | 1 000 (500, 500) | 1 000 | 500 | 500 |