ReferenceAndRecord

De Semantic MediaWiki - Sandbox

Révision datée du 7 mars 2020 à 21:41 par Kghbln (discussion | contributions) (+ cat)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Refs https://www.semantic-mediawiki.org/wiki/Help_talk:Type_Reference#value_property_of_type_record.3F_2819

Annotate[modifier | modifier le wikicode]

; 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[modifier | modifier le wikicode]

{{#ask: [[Visitor count::?;1 Jan 2000;?]]
 |?Visitor count
}}
 Visitor count
ReferenceAndRecord1 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 countTotal countMale countFemale count
ReferenceAndRecord1 000 (500, 500)1 000500500
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.