Familypedia
Advertisement
Forums: Index > Watercooler > Concepts


Organization

I was introduced to the idea of SMW Concepts by Robin a few days ago and have read all the documentation on this site and SMW's site, too. I'm afraid I am missing something. I understand why we would want to do this. I just don't understand the how. I tried to create a user sandbox to play around with it, but is gave me an error message about it being unable to run unless it's in a "Concept:" page. So I started Concept:Sandbox and tried again. It's still not running my queries and I just don't understand why not.

Is there a place where one can go to get a step-by-step tutorial on this?

If not, can someone please give me a nudge in the right direction? Lanica 16:45, June 7, 2010 (UTC)

LATER: I realized that it's not running in 'preview' but it works when I save the page each time. *Thumps head*

How are we planning to use this? Are we trying to replace every category? Is there a framework for page creation being set up or can I just make whatever pages I want to?

For Example: If I enter 'Birth nation::Germany' 'Death nation::United States', would I call that page 'Concept:German Emigration to the United States'. Or 'Concept:United States immigrants from Germany'. It would include all years and could be broken down by dates once it becomes too large. Do we see a need for that? I think this (concepts as a whole) could become a huge project, I don't know where to begin...is there a coordinator? Am I getting way ahead of the plan? Lanica 17:37, June 7, 2010 (UTC)

Thurstan and rtol (and probably Lanica!) are more familiar with the "concept" than I am, but anyone can join in. Lanica can be interim coordinator until we have an election. I guess she has looked at Help:Concepts and at Thurstan's Category:Born in New South Wales example(s). As I think I said on Familypedia:Concepts very recently, it will be highly desirable to have concept pagenames matching category pagenames where the subject-matter is near enough to the same, e.g. Concept:Migrants from Germany to the United States, which I have just created, by moving Lanica's sandbox, and categorized and annotated. I'm working on a related sort of page at Resided_in_New_South_Wales. After we have created, linked, and categorized a few dozen, we will see how to fit them together and what directions we might turn in. — Robin Patterson (Talk) 06:56, June 8, 2010 (UTC)

Ordering names

I just added a few pages like Concept:Migrants from the United Kingdom to Australia and the names are all in order by last name, but the index letters are the first. Anyone know how to fix this quirk? Lanica 15:32, June 9, 2010 (UTC)

Excellent use of the concept.
Concepts gather pages with particular properties. "birth nation" is a property of the page rather than the person, so the listing is alphabetic on page name.
If you just want to display those born in the UK and died in Australia, use

{{#ask: [[Birth nation::United Kingdom]] [[Death nation::Australia]]|sort=surname}}

Esther Abrahams (c1767-1846), Mary Ann Adams (c1807-1875), George Edwin Adams (1823-1897), Amily Annie Ainslie (c1831-1915), Georgina Gordon Ainslie (c1845-1929), James Ainslie (1808-1860), Mary Stewart Ainslie (c1830-1925), Joseph Ainsworth (1808-1885), John Albury (1794-1868), John Albury (1823-1855), Mercy Albury (1834-1884), Margaret Ann Albury (1831-1913), Charlotte Albury (1819-1891), Mary Ann Albury (1821-1906), Frederick Alcock (1807-1869), Jonas Harold Alcock (1843-1933), Richard Alcorn (c1799-1879), John Alderton (1806-1893), William Aldridge (1772-1832), Janet Algie (c1851-1940), Andrew Allan (1798-1837), Mary Amanet (1788-1827), William Amos (1812-1895), Barbara Anderson (1820-1883), William Andrews (c1844-1928), Thomas Ainsworth Anlezark (1771-1834), George Anstey (c1838-1869), Eleanor Apps (1815-1854), William Apps (1835-1911), Moses Baker Apps (1833-1875), Reuben Apps (1837-1898), William Apps (1813-1901), William Apps (c1812-1886), William Apps (1822-1870), Thomas Arbon (1823-1872), Edward Arbon (1819-1896), Frederick Arbon (1846-1910), Phoebe Janet Arbuthnot (1881-1973), William Ernest Archer (1754-1833), Thomas Archer (1790-1850), Ann Armitage (1831-1897), William Armstrong (1831-1900), John Arndell (1772-1805), Esther Arndell (1781-1846), Thomas Arndell (1753-1821), Frederick Arnold (c1851-1925), Charlotte Sarah Arnold (c1873-1952), Charles Artlett (1838-1906), Thomas Arundell (1806-1860), Ann Jackson Arundell (1831-1919)... further results

or

{{#ask: [[Birth nation::United Kingdom]] [[Death nation::Australia]]?children-g1|sort=surname}}

 Children-g1
Esther Abrahams (c1767-1846)
Mary Ann Adams (c1807-1875)
George Edwin Adams (1823-1897)
Amily Annie Ainslie (c1831-1915)
Georgina Gordon Ainslie (c1845-1929)
James Ainslie (1808-1860)
Mary Stewart Ainslie (c1830-1925)
Joseph Ainsworth (1808-1885)
John Albury (1794-1868)
John Albury (1823-1855)
Mercy Albury (1834-1884)
Margaret Ann Albury (1831-1913)
Charlotte Albury (1819-1891)
Mary Ann Albury (1821-1906)
Frederick Alcock (1807-1869)
Jonas Harold Alcock (1843-1933)
Richard Alcorn (c1799-1879)
John Alderton (1806-1893)
William Aldridge (1772-1832)
Janet Algie (c1851-1940)
Andrew Allan (1798-1837)
Mary Amanet (1788-1827)
William Amos (1812-1895)
Barbara Anderson (1820-1883)
William Andrews (c1844-1928)
Thomas Ainsworth Anlezark (1771-1834)
George Anstey (c1838-1869)
Eleanor Apps (1815-1854)
William Apps (1835-1911)
Moses Baker Apps (1833-1875)
Reuben Apps (1837-1898)
William Apps (1813-1901)
William Apps (c1812-1886)
William Apps (1822-1870)
Thomas Arbon (1823-1872)
Edward Arbon (1819-1896)
Frederick Arbon (1846-1910)
Phoebe Janet Arbuthnot (1881-1973)
William Ernest Archer (1754-1833)
Thomas Archer (1790-1850)
Ann Armitage (1831-1897)
William Armstrong (1831-1900)
John Arndell (1772-1805)
Esther Arndell (1781-1846)
Thomas Arndell (1753-1821)
Frederick Arnold (c1851-1925)
Charlotte Sarah Arnold (c1873-1952)
Charles Artlett (1838-1906)
Thomas Arundell (1806-1860)
Ann Jackson Arundell (1831-1919)
... further results
rtol 18:12, June 9, 2010 (UTC)
Thank you, Richard. Your expertise in such matters is greatly valued. — Robin Patterson (Talk) 13:21, June 14, 2010 (UTC)
Yes, thanks from me as well. Makes perfect sense...now. ;) Lanica 13:30, June 14, 2010 (UTC)

Combining with category search

Many thousands of current articles have been manually or programmatically entered into categories related to places. Not all of them will be caught by the above birth/death coding. We want a way to combine them. The page for displaying the result, as far as I can see, is the article with the same pagename, such as Migrants from the United Kingdom to Australia. I think we can combine a category search with a facts search, and by using magic words and other templates we can get easily-remembered standard templates to apply to any such category with very little manual work, in the same way as we do with the county categories such as {{B-us}}.

So, how to combine in an article the facts search (as above) - {{#ask: [[Birth nation::United Kingdom]] [[Death nation::Australia]]?children-g1|sort=surname}} - and a category search such as:

{{#ask: 
|[[Category:{{BASEPAGENAME}}]] <!-- being, e.g., Migrants from the United Kingdom to Australia -->
| ?Birth date
| ?Birth locality
| ?Death date
| ?Death locality
| ?surname
| ?Father
| ?Mother
| ?joined with-g1
| ?joined with-g2
| ?joined with-g3
| limit=15
}}
[[Category:{{BASEPAGENAME}}| ]]

(Examples of the latter at Resided_in_New_South_Wales and Born in Lanarkshire, both of which I hope to improve by using this combination).

I presume that it needs an "OR" between the category search and the "Birth..." [implied "AND"] "Death...". But do they hang together like that?

I guess we will have to sacrifice the original "sort by surname" if we want sortable columns by various things, but we can make "surname" a separate sortable column as above.

When the result spits out hundreds of pages, it will be time to have a note on the page telling users how they can copy the code to a new page and substitute UK and Australia with smaller areas, for example, to get a more manageable focused list.

Robin Patterson (Talk) 13:21, June 14, 2010 (UTC)

{{#ask: [[Birth nation:Mars]] OR [[Category:Born on Mars]]}} should work.
It may be better, though, to run a bot to change categories to properties. rtol 15:30, June 15, 2010 (UTC)
Bots are not supposed to be able to change a category to something in another namespace, and I wouldn't want them to (for reasons that are partly explained in the first two sentences of this section). Creating a concept page with the same pagename as a category (in bulk), however, would be a good move in principle; but it would be best to give such concept pages workable content right from the start, so it needs planning and discussion. See Category:Born in 1914. — Robin Patterson (Talk) 14:58, June 16, 2010 (UTC)

Selection of columns

Why are we including all the additional columns? If the title is 'migrants from' why are we including things that are outside that parameter? I vote for keeping the page as clean as possible: page name and surname (for sorting). Lanica 13:27, June 14, 2010 (UTC)
The additional columns will help searchers who have non-standard information, e.g. don't know the surname but do know the spouse name and death locality (or a few probable localities). If all that you want shown is the page names (in surname order), we can do better with just the category, because you get three columns and therefore need less scrolling. Surname order can be arranged for groups of categories related to person pages, and we can put such pages into those categories using SMW, in the same way as we have done it for surname categories. Then for a big group of people (when we have millions in the database), such as migrants from Europe to Minnesota, we can have a concept that specifies the surname or variants, e.g. Concept:Migrants from Europe to Minnesota named Olson or Ohlson or Olsen. — Robin Patterson (Talk) 14:58, June 16, 2010 (UTC)

Draft proposal for creating thousands of concepts

Can a bot do this?

(Starting with a basic one not combining two or more facts)

START
  1. Find a page [[Category:Born in Xyz]] that has not been found previously in this bot run - but if no more of them, STOP
  2. Create page [[Concept:Born in Xyz]] - but if it already exists go back to START
  3. Put the page in [[Category:Concepts about birthplace|Xyz]] and [[Category:Xyz|*Concepts]]
  4. Add to the text {{seealso|Category:Born in Xyz}}
  5. Add the query blah blah SMW SMW blah blah = Xyz etc
  6. Publish page and return to START

-- Robin Patterson (Talk) 15:05, January 2, 2012 (UTC)

If not, can it do something similar?

Details


What improvements on the above can we think of?

(It's now 4am and I got out of bed to record this brainwave, so I haven't checked anything much yet.)

-- Robin Patterson (Talk) 15:05, January 2, 2012 (UTC)

Advertisement