Some questions about SMW
Ok thanks. Is there any way then to create more than one property of category at the same time from scratch?
For example in Special:createproperty
"Knows Text
Autor Page
"
In createForm
"
{{Plant 1 |Knows= |Autor= }}
{{Plant 2 |Knows= |Autor= }}
"
So that i do not have to enter it all hand by hand each time. Perhaps this peace of code you put helps:
{
"description": "Rdf output for imported foaf annotated vocabulary (requires import before property declaration)",
"properties": [],
"subjects": [
{
"name": "Smw import foaf",
"namespace": "NS_MEDIAWIKI",
"contents": "http://xmlns.com/foaf/0.1/%7CFriend Of A Friend\n name|Type:Text\n homepage|Type:URL\n mbox|Type:Email\n mbox_sha1sum|Type:Text\n depiction|Type:URL\n phone|Type:Text\n Person|Category\n Organization|Category\n knows|Type:Page\n member|Type:Page\n"
},
{
"name": "Foaf:homepage",
"namespace": "SMW_NS_PROPERTY",
"contents": "foaf:homepage"
},
{
"name": "Foaf:mbox",
"namespace": "SMW_NS_PROPERTY",
"contents": "Text foaf:mbox"
},
{
"name": "Foaf:name",
"namespace": "SMW_NS_PROPERTY",
"contents": "Text foaf:name"
},
{
"name": "Foaf:knows",
"namespace": "SMW_NS_PROPERTY",
"contents": "Page foaf:knows"
},
], }
But i would like to do something similar for forms and templates.
(This could solve my problem, more or less).
Is there any way to indicate some category is subcategory of other one without entering in the page of him?
Something like
Category1 Category2
Category2
Having this i could create my Category hierarchy manually all in the same page, which is not an import, but would make me able to advance quite much.