« HaloTestEvent » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
Inspired with: https://www.semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains | Inspired with: https://www.semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains | ||
== Example == | |||
* '''Venue (Heineken Music Hall expected):''' | * '''Venue (Heineken Music Hall expected):''' | ||
'''{{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}''' | '''{{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}''' | ||
Ligne 13 : | Ligne 14 : | ||
'''{{#ask: [[-Has page::<q>[[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]]</q>]] | ?Has text= | mainlabel=-}}''' | '''{{#ask: [[-Has page::<q>[[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]]</q>]] | ?Has text= | mainlabel=-}}''' | ||
<nowiki>{{#ask: [[-Has page::<q>[[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]]</q>]] | ?Has text= | mainlabel=-}}</nowiki> | <nowiki>{{#ask: [[-Has page::<q>[[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]]</q>]] | ?Has text= | mainlabel=-}}</nowiki> | ||
==See also== | |||
* [[HaloTestEurope]] | |||
* [[HaloTestNetherlands]] | |||
* [[HaloTestAmsterdam]] | |||
* [[HaloTestHeinekenMusicHall]] |
Version du 4 mars 2016 à 11:54
Inspired with: https://www.semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains
Example
- Venue (Heineken Music Hall expected):
Heineken Music Hall {{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}
- City (Amsterdam expected):
Amsterdam {{#ask: [[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]] | ?Has text= | mainlabel=-}}
- Country (Netherlands expected):
Netherlands {{#ask: [[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]] | ?Has text= | mainlabel=-}}
- Continent (Europe expected):
Europe {{#ask: [[-Has page::<q>[[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]]</q>]] | ?Has text= | mainlabel=-}}