<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.suws.org.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AMany-valued_properties</id>
	<title>Help:Many-valued properties - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.suws.org.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AMany-valued_properties"/>
	<link rel="alternate" type="text/html" href="https://www.suws.org.uk/wiki/index.php?title=Help:Many-valued_properties&amp;action=history"/>
	<updated>2026-04-29T15:19:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://www.suws.org.uk/wiki/index.php?title=Help:Many-valued_properties&amp;diff=122&amp;oldid=prev</id>
		<title>DavidNewman: Added help page</title>
		<link rel="alternate" type="text/html" href="https://www.suws.org.uk/wiki/index.php?title=Help:Many-valued_properties&amp;diff=122&amp;oldid=prev"/>
		<updated>2011-09-11T19:40:59Z</updated>

		<summary type="html">&lt;p&gt;Added help page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A many-valued [[property]] maps between a subject and two or more values. This is distinct from the most common type of property, a binary property which maps between a single subject and a single value. A many-valued property cannot be split up into separate properties, because the set of values that it groups are all interconnected in some way.&lt;br /&gt;
&lt;br /&gt;
==Implementation in SMW 1.0==&lt;br /&gt;
In Semantic MediaWiki 1.0, you can specify that a property takes multiple values by listing more than one type in its [[Property:Has type]], separated by &amp;#039;&amp;#039;&amp;#039;;&amp;#039;&amp;#039;&amp;#039; (semicolons).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Semantic search ===&lt;br /&gt;
You can search on many-valued properties similarly to other properties; see [[Help:Semantic search]].&lt;br /&gt;
As with any property, you can use the &amp;#039;&amp;#039;&amp;#039;+&amp;#039;&amp;#039;&amp;#039; wildcard to select all pages with some value for a many-valued property, for example &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask: [[Employment::+]] }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
To find pages that match a particular value for any of the parts of a many-valued property, just list the values to match, separated by semicolons.&lt;br /&gt;
If you don&amp;#039;t care about the value of one of the datatypes, use &amp;#039;&amp;#039;&amp;#039;?&amp;#039;&amp;#039;&amp;#039; to match any value for it including omitted.&lt;br /&gt;
You can also use [[Help:Semantic_search#Comparators|comparators]]&lt;br /&gt;
(such as &amp;#039;&amp;#039;&amp;#039;!&amp;#039;&amp;#039;&amp;#039; for not, &amp;#039;&amp;#039;&amp;#039;&amp;lt;&amp;#039;&amp;#039;&amp;#039; for less than or equal to, etc.)&lt;br /&gt;
for each of the datatype&amp;#039;s values.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{{#ask: [[Employment:: ?; !professorship; &amp;lt;1950-12-31; ?]] }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
selects values for the property Employment with any value for the employer string, where the title string is not &amp;quot;professorship&amp;quot;, the start date is before 1951, and with any value for end date.&lt;br /&gt;
&lt;br /&gt;
=== Limitations ===&lt;br /&gt;
* You cannot use the special [[Property:Allows value|Allows value]] property to limit the values of any element of a many-valued property.&lt;br /&gt;
* You cannot use the special [[Property:Display units|Display units]] property to control how a specific element appears.&lt;br /&gt;
* You cannot set the layout of the values; they will always appear as a comma-separated list.&lt;br /&gt;
* You cannot create a timeline query of many-valued properties.&lt;/div&gt;</summary>
		<author><name>DavidNewman</name></author>
	</entry>
</feed>