2099

From Semantic MediaWiki - Sandbox

Without #20991 this page would require 5 different queries while the computational effort would be the same for two of them. After the merge we should effectively see 3 queries with two sharing the same signature even though the query string is different.

 Query string"Query string" is a predefined property that describes the conditions of the query as a string and is provided by Semantic MediaWiki.
Issue/2099#_QUERY1ccb4ff1a75ef9f2e3171578400f6f1b
<q>[[Has page::+]] [[Has text::+]] OR  <q>[[Has number::1111]]</q> </q>

<q> <q>[[Has number::1111]]</q>  OR [[Has text::+]] [[Has page::+]]</q>
Issue/2099#_QUERY387bb3c8a451dd20188457a71ada27e8
[[-Has query::Issue/2099]]
Issue/2099#_QUERYb54928c3e0ce8ac8c6ee0fa8fd4d3f2c
<q>[[Has page::+]] [[Has text::+]] OR  <q>[[Has number::1111]]</q> </q>

<q> <q>[[Has number::1111]]</q>  OR [[Has text::+]] [[Has page::+]]</q>

Examples

{{#ask: [[Has page::+]] [[Has text::+]] OR [[Has number::1111]]
 |?Has page
 |?Has text
 |?Has number
 |limit=3
}}
 Has pageUsed for properties whose value is a page in the wiki. These display as a link and may not be longer than 255 characters.Has textUsed to store strings of arbitrary length.Has numberUsed for property values that contain any kind of number, integer, decimal, and floating point numbers.
20201117-setWorld1
World2
World3
Hello1
Hello2
Hello3
20201117-subobjectWorld2Hello2
20201117-subobjectWorld3Hello3
... further results
{{#ask: [[Has page::+]] [[Has text::+]] OR [[Has number::1111]]
 |?Has page
 |?Has text
 |?Has number
 |limit=2
}}
 Has pageUsed for properties whose value is a page in the wiki. These display as a link and may not be longer than 255 characters.Has textUsed to store strings of arbitrary length.Has numberUsed for property values that contain any kind of number, integer, decimal, and floating point numbers.
20201117-setWorld1
World2
World3
Hello1
Hello2
Hello3
20201117-subobjectWorld2Hello2
... further results

Same signature

{{#ask: [[Has number::1111]] OR [[Has text::+]] [[Has page::+]]
 |?Has page
 |?Has text
 |?Has number
 |limit=3
}}
 Has pageUsed for properties whose value is a page in the wiki. These display as a link and may not be longer than 255 characters.Has textUsed to store strings of arbitrary length.Has numberUsed for property values that contain any kind of number, integer, decimal, and floating point numbers.
20201117-setWorld1
World2
World3
Hello1
Hello2
Hello3
20201117-subobjectWorld2Hello2
20201117-subobjectWorld3Hello3
... further results
{{#ask: [[Has number::1111]] OR [[Has text::+]] [[Has page::+]] 
 |?Has page
 |?Has text
 |?Has number
 |limit=2
}}
 Has pageUsed for properties whose value is a page in the wiki. These display as a link and may not be longer than 255 characters.Has textUsed to store strings of arbitrary length.Has numberUsed for property values that contain any kind of number, integer, decimal, and floating point numbers.
20201117-setWorld1
World2
World3
Hello1
Hello2
Hello3
20201117-subobjectWorld2Hello2
... further results

Cookies help us deliver our services. By using our services, you agree to our use of cookies.