summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/data
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
committerYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
commitfc7369835258467bf97eb64f184b93691f9a9fd5 (patch)
treedaabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/extensions/SemanticMediaWiki/data
first commit
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/data')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/elastic/default-profile.json52
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-icu.json283
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-standard.json274
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-lookup.json17
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/default.json78
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.homepage.txt4
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.knows.txt4
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.name.txt4
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/properties/owl.differentFrom.txt4
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/foaf.txt13
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/owl.txt48
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/skos.txt35
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/schema/link-format-schema.v1.json119
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/data/schema/search-form-schema.v1.json34
14 files changed, 969 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/elastic/default-profile.json b/www/wiki/extensions/SemanticMediaWiki/data/elastic/default-profile.json
new file mode 100644
index 00000000..113ce05b
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/elastic/default-profile.json
@@ -0,0 +1,52 @@
+{
+ "connection": {
+ "retries": 2,
+ "timeout": 30,
+ "connect_timeout": 30,
+ "quick_ping": true,
+ "retries": 2
+ },
+ "settings": {
+ "data": {
+ "index.mapping.total_fields.limit": 9000,
+ "index.max_result_window": 50000
+ }
+ },
+ "indexer": {
+ "raw.text": false,
+ "experimental.file.ingest": false,
+ "throw.exception.on.illegal.argument.error": true,
+ "job.recovery.retries": 5,
+ "job.file.ingest.retries": 3
+ },
+ "query": {
+ "fallback.no.connection": false,
+ "profiling": false,
+ "debug.explain": true,
+ "debug.description.log": true,
+ "must_not.property.exists": true,
+ "sort.property.must.exists": true,
+ "score.sortfield": "elastic.score",
+ "query_string.boolean.operators": true,
+ "compat.mode": true,
+ "subquery.size":10000,
+ "subquery.constant.score": false,
+ "subquery.terms.lookup.result.size.index.write.threshold": 100,
+ "subquery.terms.lookup.cache.lifetime": 3600,
+ "concept.terms.lookup": true,
+ "concept.terms.lookup.result.size.index.write.threshold": 10,
+ "concept.terms.lookup.cache.lifetime": 3600,
+ "wide.proximity.as.match_phrase": true,
+ "wide.proximity.fields": [
+ "subject.title^8",
+ "text_copy^5",
+ "text_raw",
+ "attachment.title^3"
+ "attachment.content"
+ ],
+ "uri.field.case.insensitive": false,
+ "text.field.case.insensitive.eq.match": false,
+ "page.field.case.insensitive.proximity.match": true,
+ "highlight.fragment.type": false
+ }
+} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-icu.json b/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-icu.json
new file mode 100644
index 00000000..a2bb335d
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-icu.json
@@ -0,0 +1,283 @@
+{
+ "settings": {
+ "number_of_shards": 2,
+ "number_of_replicas": 2,
+ "refresh_interval" : "1s",
+ "index.mapping.total_fields.limit": "9000",
+ "index.max_result_window": "50000",
+ "analysis": {
+ "filter": {
+ "uri_stopwords_filter": {
+ "type": "stop",
+ "stopwords": [ "http", "https", "ftp", "www" ]
+ }
+ },
+ "char_filter": {
+ "nfd_normalizer": {
+ "type": "icu_normalizer",
+ "name": "nfc",
+ "mode": "decompose"
+ },
+ "nfkc_normalizer": {
+ "type": "icu_normalizer",
+ "name": "nfkc",
+ "mode": "decompose"
+ },
+ "wiki_char_filter": {
+ "type": "mapping",
+ "mappings": [
+ "[ => ",
+ "] => ",
+ "/ => "
+ ]
+ }
+ },
+ "analyzer": {
+ "uri_lowercase_with_stopwords": {
+ "type": "custom",
+ "tokenizer": "lowercase",
+ "filter": [ "uri_stopwords_filter" ]
+ },
+ "nfkc_cf_normalized": {
+ "tokenizer": "icu_tokenizer",
+ "char_filter": [
+ "icu_normalizer"
+ ]
+ },
+ "nfkc_cf_normalized_lowercase": {
+ "tokenizer": "icu_tokenizer",
+ "char_filter": [
+ "icu_normalizer"
+ ],
+ "filter": [ "lowercase" ]
+ },
+ "nfd_normalized": {
+ "tokenizer": "icu_tokenizer",
+ "char_filter": [
+ "nfd_normalizer"
+ ]
+ },
+ "nfkc_normalized": {
+ "tokenizer": "icu_tokenizer",
+ "char_filter": [
+ "nfkc_normalizer"
+ ]
+ }
+ }
+ }
+ },
+ "mappings": {
+ "data": {
+ "dynamic_templates": [
+ {
+ "text_fields": {
+ "path_match": "P:*.txtField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "analyzer": "nfkc_cf_normalized",
+ "fields": {
+ "sort": {
+ "type": "icu_collation_keyword",
+ "index": false,
+ "ignore_above": 256
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 2000
+ }
+ }
+ }
+ }
+ },
+ {
+ "uri_fields": {
+ "path_match": "P:*.uriField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "fields": {
+ "sort": {
+ "type": "icu_collation_keyword",
+ "index": false,
+ "ignore_above": 256
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 2000
+ },
+ "lowercase": {
+ "type": "text",
+ "analyzer": "uri_lowercase_with_stopwords"
+ }
+ }
+ }
+ }
+ },
+ {
+ "page_fields_text": {
+ "path_match": "P:*.wpgField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "analyzer": "nfkc_cf_normalized",
+ "fields": {
+ "sort": {
+ "type": "icu_collation_keyword",
+ "index": false,
+ "ignore_above": 256
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 500
+ },
+ "lowercase": {
+ "type": "keyword",
+ "analyzer": "nfkc_cf_normalized_lowercase"
+ }
+ }
+ }
+ }
+ },
+ {
+ "page_fields_identifier": {
+ "path_match": "P:*.wpgID",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "long"
+ }
+ }
+ },
+ {
+ "numeric_fields": {
+ "path_match": "P:*.numField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "double",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ }
+ }
+ },
+ {
+ "date_fields": {
+ "path_match": "P:*.datField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "double",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ }
+ }
+ },
+ {
+ "date_fields_raw": {
+ "path_match": "P:*.dat_raw",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "keyword"
+ }
+ }
+ },
+ {
+ "geo_fields": {
+ "path_match": "P:*.geoField",
+ "match_mapping_type": "string",
+ "mapping": {
+ "type": "text",
+ "fields": {
+ "point": {
+ "type": "geo_point"
+ }
+ }
+ }
+ }
+ },
+ {
+ "boolean_fields": {
+ "path_match": "P:*.booField",
+ "match_mapping_type": "boolean",
+ "mapping": {
+ "type": "boolean"
+ }
+ }
+ }
+ ],
+ "properties": {
+ "noop": {
+ "type": "integer"
+ },
+ "text_copy": {
+ "type": "text",
+ "analyzer": "nfkc_cf_normalized",
+ "doc_values": false
+ },
+ "text_raw": {
+ "type": "text",
+ "analyzer": "nfkc_cf_normalized",
+ "doc_values": false
+ },
+ "subject.title": {
+ "type": "text",
+ "fields": {
+ "sort": {
+ "type": "icu_collation_keyword",
+ "index": false
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ },
+ "subject.interwiki": {
+ "type": "text",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ },
+ "subject.subobject": {
+ "type": "text",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ },
+ "subject.sortkey": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "fields": {
+ "sort": {
+ "type": "icu_collation_keyword",
+ "index": false
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ },
+ "lowercase": {
+ "type": "keyword",
+ "analyzer": "nfkc_cf_normalized_lowercase"
+ }
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-standard.json b/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-standard.json
new file mode 100644
index 00000000..cda448ff
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-data-standard.json
@@ -0,0 +1,274 @@
+{
+ "settings": {
+ "number_of_shards": 2,
+ "number_of_replicas": 2,
+ "refresh_interval" : "1s",
+ "index.mapping.total_fields.limit": "9000",
+ "index.max_result_window": "50000",
+ "analysis": {
+ "filter": {
+ "uri_stopwords_filter": {
+ "type": "stop",
+ "stopwords": [ "http", "https", "ftp", "www" ]
+ }
+ },
+ "char_filter": {
+ "wiki_char_filter": {
+ "type": "mapping",
+ "mappings": [
+ "[ => ",
+ "] => ",
+ "/ => "
+ ]
+ }
+ },
+ "analyzer": {
+ "uri_lowercase_with_stopwords": {
+ "type": "custom",
+ "tokenizer": "lowercase",
+ "filter": [ "uri_stopwords_filter" ]
+ },
+ "exact_text_lowercase": {
+ "type": "custom",
+ "tokenizer": "keyword",
+ "filter": [ "lowercase", "asciifolding" ]
+ }
+ },
+ "normalizer": {
+ "standard_sort_normalizer": {
+ "type": "custom",
+ "char_filter": [ "wiki_char_filter" ]
+ },
+ "char_normalizer": {
+ "type": "custom",
+ "char_filter": [ "wiki_char_filter" ]
+ },
+ "lowercase_normalizer": {
+ "type": "custom",
+ "char_filter": [],
+ "filter": [ "lowercase" ]
+ },
+ "case_insensitive_sort_normalizer": {
+ "type": "custom",
+ "char_filter": [ "wiki_char_filter" ],
+ "filter": [ "lowercase", "asciifolding" ]
+ }
+ }
+ }
+ },
+ "mappings": {
+ "data": {
+ "dynamic_templates": [
+ {
+ "text_fields": {
+ "path_match": "P:*.txtField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "fields": {
+ "sort": {
+ "type": "keyword",
+ "normalizer": "standard_sort_normalizer",
+ "index": false,
+ "ignore_above": 256
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 2000
+ }
+ }
+ }
+ }
+ },
+ {
+ "uri_fields": {
+ "path_match": "P:*.uriField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "fields": {
+ "sort": {
+ "type": "keyword",
+ "normalizer": "standard_sort_normalizer",
+ "index": false,
+ "ignore_above": 256
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 2000
+ },
+ "lowercase": {
+ "type": "text",
+ "analyzer": "uri_lowercase_with_stopwords"
+ }
+ }
+ }
+ }
+ },
+ {
+ "page_fields_text": {
+ "path_match": "P:*.wpgField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "fields": {
+ "sort": {
+ "type": "keyword",
+ "normalizer": "standard_sort_normalizer",
+ "index": false,
+ "ignore_above": 256
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 500
+ },
+ "lowercase": {
+ "type": "keyword",
+ "normalizer": "lowercase_normalizer"
+ }
+ }
+ }
+ }
+ },
+ {
+ "page_fields_identifier": {
+ "path_match": "P:*.wpgID",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "long"
+ }
+ }
+ },
+ {
+ "numeric_fields": {
+ "path_match": "P:*.numField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "double",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ }
+ }
+ },
+ {
+ "date_fields": {
+ "path_match": "P:*.datField",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "double",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ }
+ }
+ },
+ {
+ "date_fields_raw": {
+ "path_match": "P:*.dat_raw",
+ "match_mapping_type": "*",
+ "mapping": {
+ "type": "keyword"
+ }
+ }
+ },
+ {
+ "geo_fields": {
+ "path_match": "P:*.geoField",
+ "match_mapping_type": "string",
+ "mapping": {
+ "type": "text",
+ "fields": {
+ "point": {
+ "type": "geo_point"
+ }
+ }
+ }
+ }
+ },
+ {
+ "boolean_fields": {
+ "path_match": "P:*.booField",
+ "match_mapping_type": "boolean",
+ "mapping": {
+ "type": "boolean"
+ }
+ }
+ }
+ ],
+ "properties": {
+ "noop": {
+ "type": "integer"
+ },
+ "text_copy": {
+ "type": "text",
+ "doc_values": false
+ },
+ "text_raw": {
+ "type": "text",
+ "doc_values": false
+ },
+ "subject.title": {
+ "type": "text",
+ "fields": {
+ "sort": {
+ "type": "keyword",
+ "normalizer": "standard_sort_normalizer",
+ "index": false
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ },
+ "subject.interwiki": {
+ "type": "text",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ },
+ "subject.subobject": {
+ "type": "text",
+ "fields": {
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ }
+ }
+ },
+ "subject.sortkey": {
+ "type": "text",
+ "copy_to": "text_copy",
+ "fields": {
+ "sort": {
+ "type": "keyword",
+ "normalizer": "standard_sort_normalizer",
+ "index": false
+ },
+ "keyword": {
+ "type": "keyword",
+ "ignore_above": 256
+ },
+ "lowercase": {
+ "type": "keyword",
+ "normalizer": "lowercase_normalizer"
+ }
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-lookup.json b/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-lookup.json
new file mode 100644
index 00000000..b8a227af
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/elastic/smw-lookup.json
@@ -0,0 +1,17 @@
+{
+ "settings": {
+ "number_of_shards": 1,
+ "refresh_interval" : "1s",
+ "index.mapping.total_fields.limit": "3000",
+ "index.max_result_window": "50000"
+ },
+ "mappings": {
+ "lookup": {
+ "properties": {
+ "id": {
+ "type": "long"
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/default.json b/www/wiki/extensions/SemanticMediaWiki/data/import/default.json
new file mode 100644
index 00000000..7e874df9
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/default.json
@@ -0,0 +1,78 @@
+{
+ "description": "Semantic MediaWiki default vocabulary import",
+ "import": [
+ {
+ "page": "Smw import skos",
+ "namespace": "NS_MEDIAWIKI",
+ "contents": {
+ "importFrom": "/vocabularies/skos.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ },
+ {
+ "page": "Smw import foaf",
+ "namespace": "NS_MEDIAWIKI",
+ "contents": {
+ "importFrom": "/vocabularies/foaf.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ },
+ {
+ "page": "Smw import owl",
+ "namespace": "NS_MEDIAWIKI",
+ "contents": {
+ "importFrom": "/vocabularies/owl.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ },
+ {
+ "page": "Foaf:knows",
+ "namespace": "SMW_NS_PROPERTY",
+ "contents": {
+ "importFrom": "/properties/foaf.knows.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ },
+ {
+ "page": "Foaf:name",
+ "namespace": "SMW_NS_PROPERTY",
+ "contents": {
+ "importFrom": "/properties/foaf.name.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ },
+ {
+ "page": "Foaf:homepage",
+ "namespace": "SMW_NS_PROPERTY",
+ "contents": {
+ "importFrom": "/properties/foaf.homepage.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ },
+ {
+ "page": "Owl:differentFrom",
+ "namespace": "SMW_NS_PROPERTY",
+ "contents": {
+ "importFrom": "/properties/owl.differentFrom.txt"
+ },
+ "options": {
+ "canReplace": false
+ }
+ }
+ ],
+ "meta": {
+ "version": "1"
+ }
+} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.homepage.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.homepage.txt
new file mode 100644
index 00000000..95a2b322
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.homepage.txt
@@ -0,0 +1,4 @@
+* [[Imported from::foaf:homepage]]
+* [[Property description::URL of the homepage of something, which is a general web resource.@en]]
+
+[[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:homepage}} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.knows.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.knows.txt
new file mode 100644
index 00000000..997db97c
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.knows.txt
@@ -0,0 +1,4 @@
+* [[Imported from::foaf:knows]]
+* [[Property description::A person known by this person (indicating some level of reciprocated interaction between the parties).@en]]
+
+[[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:knows}} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.name.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.name.txt
new file mode 100644
index 00000000..2baf7a00
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/foaf.name.txt
@@ -0,0 +1,4 @@
+* [[Imported from::foaf:name]]
+* [[Property description::A name for some thing or agent.@en]]
+
+[[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:name}} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/properties/owl.differentFrom.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/owl.differentFrom.txt
new file mode 100644
index 00000000..35db6030
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/properties/owl.differentFrom.txt
@@ -0,0 +1,4 @@
+* [[Imported from::owl:differentFrom]]
+* [[Property description::The property that determines that two given individuals are different.@en]]
+
+[[Category:Imported vocabulary]] {{DISPLAYTITLE:owl:differentFrom}} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/foaf.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/foaf.txt
new file mode 100644
index 00000000..15106fc0
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/foaf.txt
@@ -0,0 +1,13 @@
+http://xmlns.com/foaf/0.1/|[http://www.foaf-project.org/ Friend Of A Friend]
+ name|Type:Text
+ homepage|Type:URL
+ mbox|Type:Email
+ mbox_sha1sum|Type:Text
+ depiction|Type:URL
+ phone|Type:Text
+ Person|Category
+ Organization|Category
+ knows|Type:Page
+ member|Type:Page
+
+[[Category:Imported vocabulary]] \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/owl.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/owl.txt
new file mode 100644
index 00000000..72bf262d
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/owl.txt
@@ -0,0 +1,48 @@
+http://www.w3.org/2002/07/owl#|[http://www.w3.org/2002/07/owl Web Ontology Language (OWL)]
+ AllDifferent|Category
+ allValuesFrom|Type:Page
+ AnnotationProperty|Category
+ backwardCompatibleWith|Type:Page
+ cardinality|Type:Number
+ Class|Category
+ comment|Type:Page
+ complementOf|Type:Page
+ DataRange|Category
+ DatatypeProperty|Category
+ DeprecatedClass|Category
+ DeprecatedProperty|Category
+ differentFrom|Type:Page
+ disjointWith|Type:Page
+ distinctMembers|Type:Page
+ equivalentClass|Type:Page
+ equivalentProperty|Type:Page
+ FunctionalProperty|Category
+ hasValue|Type:Page
+ imports|Type:Page
+ incompatibleWith|Type:Page
+ intersectionOf|Type:Page
+ InverseFunctionalProperty|Category
+ inverseOf|Type:Page
+ isDefinedBy|Type:Page
+ label|Type:Page
+ maxCardinality|Type:Number
+ minCardinality|Type:Number
+ Nothing|Category
+ ObjectProperty|Category
+ oneOf|Type:Page
+ onProperty|Type:Page
+ Ontology|Category
+ OntologyProperty|Category
+ owl|Type:Page
+ priorVersion|Type:Page
+ Restriction|Category
+ sameAs|Type:Page
+ seeAlso|Type:Page
+ someValuesFrom|Type:Page
+ SymmetricProperty|Category
+ Thing|Category
+ TransitiveProperty|Category
+ unionOf|Type:Page
+ versionInfo|Type:Page
+
+[[Category:Imported vocabulary]] \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/skos.txt b/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/skos.txt
new file mode 100644
index 00000000..a0973831
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/import/vocabularies/skos.txt
@@ -0,0 +1,35 @@
+http://www.w3.org/2004/02/skos/core#|[http://www.w3.org/TR/skos-reference/skos.rdf Simple Knowledge Organization System (SKOS)]
+ altLabel|Type:Monolingual text
+ broader|Type:Annotation URI
+ broaderTransitive|Type:Annotation URI
+ broadMatch|Type:Annotation URI
+ changeNote|Type:Text
+ closeMatch|Type:Annotation URI
+ Collection|Class
+ Concept|Class
+ ConceptScheme|Class
+ definition|Type:Text
+ editorialNote|Type:Text
+ exactMatch|Type:Annotation URI
+ example|Type:Text
+ hasTopConcept|Type:Page
+ hiddenLabel|Type:String
+ historyNote|Type:Text
+ inScheme|Type:Page
+ mappingRelation|Type:Page
+ member|Type:Page
+ memberList|Type:Page
+ narrower|Type:Annotation URI
+ narrowerTransitive|Type:Annotation URI
+ narrowMatch|Type:Annotation URI
+ notation|Type:Text
+ note|Type:Text
+ OrderedCollection|Class
+ prefLabel|Type:String
+ related|Type:Annotation URI
+ relatedMatch|Type:Annotation URI
+ scopeNote|Type:Text
+ semanticRelation|Type:Page
+ topConceptOf|Type:Page
+
+[[Category:Imported vocabulary]] \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/schema/link-format-schema.v1.json b/www/wiki/extensions/SemanticMediaWiki/data/schema/link-format-schema.v1.json
new file mode 100644
index 00000000..60681829
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/schema/link-format-schema.v1.json
@@ -0,0 +1,119 @@
+{
+ "$id": "http://example.com/example.json",
+ "type": "object",
+ "properties": {
+ "description": {
+ "$id": "/properties/description",
+ "type": "string",
+ "title": "The Description Schema",
+ "default": "",
+ "examples": [
+ "Define ..."
+ ]
+ },
+ "type": {
+ "$id": "/properties/type",
+ "type": "string",
+ "title": "The Type Schema",
+ "default": "",
+ "examples": [
+ "LINK_FORMAT_SCHEMA"
+ ],
+ "enum": [
+ "LINK_FORMAT_SCHEMA"
+ ]
+ },
+ "rule": {
+ "$id": "/properties/rule",
+ "type": "object",
+ "minProperties": 1,
+ "properties": {
+ "link_to": {
+ "$id": "/properties/rule/properties/link_to",
+ "type": "string",
+ "title": "The link_to Schema",
+ "default": "",
+ "examples": [
+ "SPECIAL_ASK"
+ ],
+ "minLength": 1,
+ "enum": [
+ "SPECIAL_ASK",
+ "SPECIAL_SEARCH_BY_PROPERTY"
+ ]
+ },
+ "parameters": {
+ "$id": "/properties/rule/properties/parameters",
+ "type": "object",
+ "properties": {
+ "format": {
+ "$id": "/properties/rule/properties/parameters/properties/format",
+ "type": "string",
+ "title": "The Format Schema",
+ "default": "",
+ "examples": [
+ "category"
+ ],
+ "enum": [
+ "category",
+ "broadtable",
+ "table",
+ "list"
+ ]
+ },
+ "printouts": {
+ "$id": "/properties/rule/properties/parameters/properties/printouts",
+ "type": "array",
+ "items": {
+ "$id": "/properties/rule/properties/parameters/properties/printouts/items",
+ "type": "string",
+ "title": "The 0 Schema",
+ "default": "",
+ "examples": [
+ "Has description"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "link_to"
+ ],
+ "anyOf": [{
+ "properties": {
+ "link_to": {
+ "enum": ["SPECIAL_ASK"]
+ }
+ },
+ "required": [ "parameters" ]
+ },
+ {
+ "properties": {
+ "link_to": {
+ "enum": ["SPECIAL_SEARCH_BY_PROPERTY" ]
+ }
+ },
+ "additionalProperties": false
+ }
+ ]
+ },
+ "tags": {
+ "$id": "/properties/tags",
+ "type": "array",
+ "items": {
+ "$id": "/properties/tags/items",
+ "type": "string",
+ "title": "The 0 Schema",
+ "default": "",
+ "examples": [
+ "formatter"
+ ]
+ }
+ }
+ },
+ "required": [
+ "type",
+ "rule"
+ ]
+} \ No newline at end of file
diff --git a/www/wiki/extensions/SemanticMediaWiki/data/schema/search-form-schema.v1.json b/www/wiki/extensions/SemanticMediaWiki/data/schema/search-form-schema.v1.json
new file mode 100644
index 00000000..27b80b7e
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/data/schema/search-form-schema.v1.json
@@ -0,0 +1,34 @@
+{
+ "$id": "https://www.semantic-mediawiki.org/search-profile-form.json",
+ "type": "object",
+ "properties": {
+ "type": {
+ "$id": "/properties/type",
+ "type": "string",
+ "title": "The Type Schema",
+ "default": "",
+ "examples": [
+ "SEARCH_FORM_SCHEMA"
+ ],
+ "enum": [
+ "SEARCH_FORM_SCHEMA"
+ ]
+ },
+ "forms": {
+ "$id": "/properties/forms",
+ "type": "object"
+ },
+ "namespaces": {
+ "$id": "/properties/namespaces",
+ "type": "object"
+ },
+ "descriptions": {
+ "$id": "/properties/descriptions",
+ "type": "object"
+ }
+ },
+ "required": [
+ "type",
+ "forms"
+ ]
+} \ No newline at end of file