Utilisateur:SMW user/Sandbox

De Semantic MediaWiki - Sandbox

Description

Setting subobjects events01 to events13 with the property Has text (in theory these subobjects would hold lots of information). Setting subobjects timer01 to timer95, which sets the properties Has date in 15 minutes steps and Has page to one of the event subobjects. Alternatively formulated, one of the thirteen events takes place every 15 minutes.

Property declaration

{{#subobject:event01 | Has text=Event 01}}
...
{{#subobject:event13 | Has text=Event 13}}

{{#subobject:timer00 | Has date=2021-05-19T00:00 UTC | Has page=Utilisateur:SMW_user/Sandbox#event05}}
...
{{#subobject:timer95 | Has date=2021-05-19T23:45 UTC | Has page=Utilisateur:SMW_user/Sandbox#event09}}

Query

{{#ask:
  [[-Has subobject::Utilisateur:SMW_user/Sandbox]]
  [[Has date::>19 May 2020 00:00]]
| ?Has page.Has text
| sort = Has date
| format = table
}}


Individual ask
{{#ask: [[Utilisateur:SMW user/Sandbox#timer09]] | ?Has page.Has text|format=table}}


Problem

The printed property chain Has page.Has text in the query above does not display all values while the individual ask in fact does.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.