Différences entre les versions de « ERE person1 »
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
m Balise : Éditeur de wikicode 2017 |
||
Ligne 1 : | Ligne 1 : | ||
This page lists data encoded on [[ERE shift1]], [[ERE shift2]] via [[Template:ERE_encode]] using queries. | This page lists data encoded on [[ERE shift1]], [[ERE shift2]] via [[Template:ERE_encode]] using queries. | ||
− | == data | + | == Subobject == |
+ | === queried as table === | ||
+ | {{#ask: | ||
+ | [[-Has subobject::ERE shift1]] | ||
+ | |?property1 | ||
+ | |?ERE SO Day | ||
+ | |?ERE SO Name | ||
+ | |?ERE SO Shift | ||
+ | }} | ||
+ | |||
+ | |||
+ | == Record data type == | ||
+ | === queried as table === | ||
{| class="wikitable mw-collapsible mw-collapsed" | {| class="wikitable mw-collapsible mw-collapsed" | ||
| This is kind of tall so expand to see | | This is kind of tall so expand to see | ||
Ligne 17 : | Ligne 29 : | ||
|} | |} | ||
− | == | + | === queried as eventcalendar === |
− | {{#ask: | + | This doesn't actually work. As per email from kgh the eventcalendar might only take in subobjects. |
+ | <nowiki>{{#ask: | ||
[[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | [[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] | ||
|mainlabel=event | |mainlabel=event | ||
Ligne 29 : | Ligne 42 : | ||
|limit=1000 | |limit=1000 | ||
|start=2019-01-01 | |start=2019-01-01 | ||
− | }} | + | }}</nowiki> |
[[Category: Example for dataype record and results format eventcalendar]] | [[Category: Example for dataype record and results format eventcalendar]] |
Version du 1 février 2019 à 01:10
This page lists data encoded on ERE shift1, ERE shift2 via Template:ERE_encode using queries.
Subobject
queried as table
Record data type
queried as table
This is kind of tall so expand to see | |||||||||
|
queried as eventcalendar
This doesn't actually work. As per email from kgh the eventcalendar might only take in subobjects. {{#ask: [[ERE_ScheduleEvent.ERE_Name::{{PAGENAME}}]] |mainlabel=event |?ERE_ScheduleEvent.ERE_Day=start date |?ERE_ScheduleEvent.ERE_Day=end date |?ERE_ScheduleEvent.ERE_Name=title |format=eventcalendar |default=No scheduled shifts found. |links=all |limit=1000 |start=2019-01-01 }}