Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

Could you please clear up the meaning of these two words for me?

I don't understand this sentence:

Attributes introduced by RDFA have names. For example, property is one such attribute.

share|improve this question
10  
This is surely a programming question, not an English language one. –  Daniel Roseman Jun 1 '11 at 9:51
    
One of my attributes is that I own some property. –  JeffSahol Jun 1 '11 at 10:25
1  
I think njd nailed it for you. Though property and attribute are synonyms, context is everything. I went to the Wikipedia entry for RDFA and I note that property is indeed the NAME of an attribute ( see: en.wikipedia.org/wiki/RDFa#Essence ) –  horatio Jun 1 '11 at 14:40
add comment

5 Answers

Generally, attribute means a particular characteristic or ability which something or someone has, like curly hair or a short temper, or the ability to make really good coffee.
So an applicant for a job might be asked in an interview what attributes they have which would make them suitable.

Property would be used similarly, but usually in discussions of more abstract concepts, like an idea, a branch of mathematics or an economic policy.

E.g. What property of certain regular polygons allows them to be faces of the Platonic Solids?

But for the phrase you mention (the phrase comes from this PDF, a technical document explaining RDF technologies), attribute has a precise technical meaning. If you wanted to express in XML the idea of a kid with a short temper, you might write something like this:

<Kid temper="short"/>

Here the attribute is named "temper", and the value of that attribute is "short".

It's unfortunate that the example you quote suggests an attribute named property, because "attribute" and "property" are used interchangeably in discussions about XML. So when the paragraph you quoted continues with:

Obviously, when we make reference to this attribute, we say attribute property.

it starts to look confusing.

All I can add to clarify it here is to point out that in the code representation (an object in some programming language) we would call "temper" a property, but the corresponding thing in the XML is referred to as an attribute).

I think any further discussion of this really belongs on Stack Overflow.

share|improve this answer
    
Thanks for a really good answer –  Mostafa Jun 1 '11 at 14:49
add comment

Both words can be synonyms in one sense. But property may refer to one's belongings, which attribute cannot; and attribute may also be a verb, which is not true of property.

share|improve this answer
add comment

Wikipedia claims attributes are ascribable, whereas properties are possessable:

http://en.wikipedia.org/wiki/Quality_(philosophy)

share|improve this answer
add comment

Look at the fact that attribute has a verb form (from which the noun derives) which would seem to indicate that a thing's attributes come about by virtue of their having been (as it were) bestowed...tending more to descriptive as opposed to strictly innate; and many if not most observed examples of the word's use, even still, bear that out.

A property (noun form only), on the other hand, is some quality which is intrinsic, so is more or less invariable--the invariability resting (for those who would pounce...) on the fact that variablity, itself, would also be a property. (Attributes can change [as if] by whim; properties only in strict accord with innate processes.)

Attribute, like many words, has, itself, the attributed quality of being in "vogue," owing to its greatly expanded "exposure," correctly or not, on the Web. Accordingly, it has grown largely to be deemed, for good or ill, an all-purpose synonym of property.

share|improve this answer
add comment

The Wikipedia article on Attribute (computing) describes attribute as a 'property of a property', which somewhat contradicts the RDFA example. At least there both terms are mentioned relative to one another. Having spelled out the above qualification though, the article goes on to describe some specific uses of the two terms in various computer languages, just to demonstrate how interchangeable they both are. My understanding is that attribute is the more formal and accepted term in the computer languages, while property is a more generalized, colloquial synonym with the same meaning.

In XML, for example, in the case of <Kid temper="short"/>, temper would be considered strictly an attribute of the <Kid> tag. If the same is expressed like this:

<Kid>
 <temper>
   short
 </temper>
</Kid>

that would be described as a property.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.