<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://neowiki.ijs.si/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NeoWiki</id>
	<title>NeoWiki Demo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://neowiki.ijs.si/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NeoWiki"/>
	<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/wiki/Special:Contributions/NeoWiki"/>
	<updated>2026-11-25T12:30:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=MediaWiki:Sidebar&amp;diff=122</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=MediaWiki:Sidebar&amp;diff=122"/>
		<updated>2026-11-24T15:53:34Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Demo tour&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** Museum collection|Museum collection&lt;br /&gt;
** ACME Inc|ACME Inc&lt;br /&gt;
** Research catalog|Research catalog&lt;br /&gt;
** People and life events|People and life events&lt;br /&gt;
* Features&lt;br /&gt;
** {{fullurl:Rijksmuseum|action=subjects}}|Subjects on a page&lt;br /&gt;
** Special:Schemas|Schemas&lt;br /&gt;
** Subject views|Subject views&lt;br /&gt;
** Validation Demo|Validation&lt;br /&gt;
** RDF and ontology mappings|RDF and ontology mappings&lt;br /&gt;
** {{#ifexist:SPARQL queries|SPARQL queries{{!}}SPARQL queries|}}&lt;br /&gt;
** Developers|Developers hub&lt;br /&gt;
* About NeoWiki&lt;br /&gt;
** https://neowiki.ai|NeoWiki website&lt;br /&gt;
** https://github.com/ProfessionalWiki/NeoWiki/issues|Issue tracker&lt;br /&gt;
* This wiki&lt;br /&gt;
** recentchanges-url|recentchanges&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=MediaWiki:Vector-2022.css&amp;diff=121</id>
		<title>MediaWiki:Vector-2022.css</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=MediaWiki:Vector-2022.css&amp;diff=121"/>
		<updated>2026-11-24T15:53:34Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* Vector 2022 gives every logged-in user a &amp;quot;Switch to old look&amp;quot; link and renders it between the&lt;br /&gt;
   first main menu section and the rest, so it reads as the last entry of the demo tour. */&lt;br /&gt;
.vector-main-menu-action-opt-out {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Module:Card&amp;diff=120</id>
		<title>Module:Card</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Module:Card&amp;diff=120"/>
		<updated>2026-11-24T15:53:33Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Codex tokens read live via CSS custom properties so cards adapt to dark mode&lt;br /&gt;
-- where Codex CSS is loaded. Hex/px fallbacks reproduce the light-mode values&lt;br /&gt;
-- on pages that don&#039;t load Codex (and for tokens not yet exposed by Vector,&lt;br /&gt;
-- e.g. --spacing-* and --border-radius-*).&lt;br /&gt;
local C = {&lt;br /&gt;
	background = &#039;var(--background-color-base, #ffffff)&#039;,&lt;br /&gt;
	border = &#039;var(--border-color-base, #a2a9b1)&#039;,&lt;br /&gt;
	borderRadius = &#039;var(--border-radius-base, 2px)&#039;,&lt;br /&gt;
	paddingLg = &#039;var(--spacing-100, 16px)&#039;,&lt;br /&gt;
	titleColor = &#039;var(--color-base, #202122)&#039;,&lt;br /&gt;
	descColor = &#039;var(--color-subtle, #54595d)&#039;,&lt;br /&gt;
	titleSize = &#039;1.125rem&#039;,&lt;br /&gt;
	descSize = &#039;0.875rem&#039;,&lt;br /&gt;
	gap = &#039;var(--spacing-75, 12px)&#039;,&lt;br /&gt;
	flexBasis = &#039;240px&#039;,&lt;br /&gt;
	minWidth = &#039;200px&#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Inline-level spans (with display:block) let MediaWiki&#039;s wikitext link&lt;br /&gt;
-- syntax wrap the whole card body in a single sanitizer-approved &amp;lt;a&amp;gt;.&lt;br /&gt;
local function cardBody( title, description )&lt;br /&gt;
	local bodyStyle = table.concat( {&lt;br /&gt;
		&#039;display:block&#039;,&lt;br /&gt;
		&#039;background:&#039; .. C.background,&lt;br /&gt;
		&#039;border:1px solid &#039; .. C.border,&lt;br /&gt;
		&#039;border-radius:&#039; .. C.borderRadius,&lt;br /&gt;
		&#039;padding:&#039; .. C.paddingLg,&lt;br /&gt;
		&#039;color:inherit&#039;,&lt;br /&gt;
		&#039;text-decoration:none&#039;,&lt;br /&gt;
		&#039;height:100%&#039;,&lt;br /&gt;
		&#039;box-sizing:border-box&#039;,&lt;br /&gt;
	}, &#039;;&#039; )&lt;br /&gt;
&lt;br /&gt;
	local titleStyle = table.concat( {&lt;br /&gt;
		&#039;display:block&#039;,&lt;br /&gt;
		&#039;font-size:&#039; .. C.titleSize,&lt;br /&gt;
		&#039;font-weight:600&#039;,&lt;br /&gt;
		&#039;color:&#039; .. C.titleColor,&lt;br /&gt;
		&#039;margin-bottom:4px&#039;,&lt;br /&gt;
	}, &#039;;&#039; )&lt;br /&gt;
&lt;br /&gt;
	local descStyle = table.concat( {&lt;br /&gt;
		&#039;display:block&#039;,&lt;br /&gt;
		&#039;font-size:&#039; .. C.descSize,&lt;br /&gt;
		&#039;color:&#039; .. C.descColor,&lt;br /&gt;
		&#039;line-height:1.4&#039;,&lt;br /&gt;
	}, &#039;;&#039; )&lt;br /&gt;
&lt;br /&gt;
	return string.format(&lt;br /&gt;
		&#039;&amp;lt;span style=&amp;quot;%s&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;%s&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;%s&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&#039;,&lt;br /&gt;
		bodyStyle,&lt;br /&gt;
		titleStyle,&lt;br /&gt;
		mw.text.encode( title ),&lt;br /&gt;
		descStyle,&lt;br /&gt;
		mw.text.encode( description )&lt;br /&gt;
	)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function cardHtml( args )&lt;br /&gt;
	local title = args.title or &#039;&#039;&lt;br /&gt;
	local description = args.description or &#039;&#039;&lt;br /&gt;
	local link = args.link or &#039;&#039;&lt;br /&gt;
	local body = cardBody( title, description )&lt;br /&gt;
&lt;br /&gt;
	-- Flex sizing lives on an outer wrapper so it applies to the link itself,&lt;br /&gt;
	-- not to a child of the link (since wikitext link syntax forbids attributes&lt;br /&gt;
	-- on the produced &amp;lt;a&amp;gt;).&lt;br /&gt;
	local wrapperStyle = table.concat( {&lt;br /&gt;
		&#039;display:block&#039;,&lt;br /&gt;
		&#039;flex:1 1 &#039; .. C.flexBasis,&lt;br /&gt;
		&#039;min-width:&#039; .. C.minWidth,&lt;br /&gt;
	}, &#039;;&#039; )&lt;br /&gt;
&lt;br /&gt;
	if link == &#039;&#039; then&lt;br /&gt;
		return string.format( &#039;&amp;lt;span style=&amp;quot;%s&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;&#039;, wrapperStyle, body )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return string.format( &#039;&amp;lt;span style=&amp;quot;%s&amp;quot;&amp;gt;[[%s|%s]]&amp;lt;/span&amp;gt;&#039;, wrapperStyle, link, body )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.card( frame )&lt;br /&gt;
	return cardHtml( frame.args )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.cards( frame )&lt;br /&gt;
	-- Reads card1_title, card1_description, card1_link, card2_*, card3_*. Up to 9.&lt;br /&gt;
	local out = { &#039;&amp;lt;div style=&amp;quot;display:flex;gap:&#039; .. C.gap .. &#039;;flex-wrap:wrap;margin:1em 0&amp;quot;&amp;gt;&#039; }&lt;br /&gt;
&lt;br /&gt;
	for i = 1, 9 do&lt;br /&gt;
		local title = frame.args[&#039;card&#039; .. i .. &#039;_title&#039;]&lt;br /&gt;
		if title then&lt;br /&gt;
			out[#out + 1] = cardHtml( {&lt;br /&gt;
				title = title,&lt;br /&gt;
				description = frame.args[&#039;card&#039; .. i .. &#039;_description&#039;],&lt;br /&gt;
				link = frame.args[&#039;card&#039; .. i .. &#039;_link&#039;],&lt;br /&gt;
			} )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	out[#out + 1] = &#039;&amp;lt;/div&amp;gt;&#039;&lt;br /&gt;
	return table.concat( out )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Module:NeoWikiDemo&amp;diff=119</id>
		<title>Module:NeoWikiDemo</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Module:NeoWikiDemo&amp;diff=119"/>
		<updated>2026-11-24T15:53:33Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local p = {}&lt;br /&gt;
local nw = require( &#039;mw.neowiki&#039; )&lt;br /&gt;
&lt;br /&gt;
function p.value( frame )&lt;br /&gt;
	local property = frame.args[1]&lt;br /&gt;
	local page = frame.args[&#039;page&#039;]&lt;br /&gt;
&lt;br /&gt;
	local options = nil&lt;br /&gt;
	if page then&lt;br /&gt;
		options = { page = page }&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local v = nw.getValue( property, options )&lt;br /&gt;
&lt;br /&gt;
	return tostring( v or &#039;&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.values( frame )&lt;br /&gt;
	local property = frame.args[1]&lt;br /&gt;
	local page = frame.args[&#039;page&#039;]&lt;br /&gt;
	local separator = frame.args[&#039;separator&#039;] or &#039;, &#039;&lt;br /&gt;
&lt;br /&gt;
	local options = nil&lt;br /&gt;
	if page then&lt;br /&gt;
		options = { page = page }&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local all = nw.getAll( property, options )&lt;br /&gt;
&lt;br /&gt;
	if not all then&lt;br /&gt;
		return &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local parts = {}&lt;br /&gt;
	for _, item in ipairs( all ) do&lt;br /&gt;
		parts[#parts + 1] = tostring( item )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat( parts, separator )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.subject( frame )&lt;br /&gt;
	local page = frame.args[1]&lt;br /&gt;
	local s = nw.getMainSubject( page )&lt;br /&gt;
&lt;br /&gt;
	if not s then&lt;br /&gt;
		return &#039;No subject found&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local rows = {}&lt;br /&gt;
	rows[#rows + 1] = &#039;{| class=&amp;quot;wikitable&amp;quot;&#039;&lt;br /&gt;
	rows[#rows + 1] = &#039;! Property !! Type !! Value(s)&#039;&lt;br /&gt;
&lt;br /&gt;
	for name, stmt in pairs( s.statements ) do&lt;br /&gt;
		local vals = {}&lt;br /&gt;
		for _, v in ipairs( stmt.values ) do&lt;br /&gt;
			if type( v ) == &#039;table&#039; then&lt;br /&gt;
				vals[#vals + 1] = v.label or v.target or tostring( v )&lt;br /&gt;
			else&lt;br /&gt;
				vals[#vals + 1] = tostring( v )&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		rows[#rows + 1] = &#039;|-&#039;&lt;br /&gt;
		rows[#rows + 1] = &#039;| &#039; .. name .. &#039; || &#039; .. stmt.propertyType .. &#039; || &#039; .. table.concat( vals, &#039;, &#039; )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	rows[#rows + 1] = &#039;|}&#039;&lt;br /&gt;
	return table.concat( rows, &#039;\n&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.subjects( frame )&lt;br /&gt;
	local subjects = nw.getSubjects( frame.args[1] )&lt;br /&gt;
&lt;br /&gt;
	if #subjects == 0 then&lt;br /&gt;
		return &#039;No Subjects&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local parts = {}&lt;br /&gt;
	for _, subject in ipairs( subjects ) do&lt;br /&gt;
		local name = &amp;quot;&#039;&#039;&#039;&amp;quot; .. subject.label .. &amp;quot;&#039;&#039;&#039; (&amp;quot; .. subject.schema .. &amp;quot;)&amp;quot;&lt;br /&gt;
		if subject.isMainSubject then&lt;br /&gt;
			name = name .. &#039; — main&#039;&lt;br /&gt;
		end&lt;br /&gt;
		parts[#parts + 1] = name&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat( parts, &#039;, &#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderRowsAsTable( rows, columns, linkColumns )&lt;br /&gt;
	if #rows == 0 then&lt;br /&gt;
		return &#039;No results&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not columns then&lt;br /&gt;
		columns = {}&lt;br /&gt;
		for k in pairs( rows[1] ) do&lt;br /&gt;
			columns[#columns + 1] = k&lt;br /&gt;
		end&lt;br /&gt;
		table.sort( columns )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local linkSet = {}&lt;br /&gt;
	if linkColumns then&lt;br /&gt;
		for _, col in ipairs( linkColumns ) do&lt;br /&gt;
			linkSet[col] = true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local out = { &#039;{| class=&amp;quot;wikitable&amp;quot;&#039;, &#039;! &#039; .. table.concat( columns, &#039; !! &#039; ) }&lt;br /&gt;
&lt;br /&gt;
	for _, row in ipairs( rows ) do&lt;br /&gt;
		local cells = {}&lt;br /&gt;
		for _, col in ipairs( columns ) do&lt;br /&gt;
			local v = row[col]&lt;br /&gt;
			local cell = v == nil and &#039;&#039; or tostring( v )&lt;br /&gt;
			if linkSet[col] and cell ~= &#039;&#039; then&lt;br /&gt;
				cell = &#039;[[&#039; .. cell .. &#039;]]&#039;&lt;br /&gt;
			end&lt;br /&gt;
			cells[#cells + 1] = cell&lt;br /&gt;
		end&lt;br /&gt;
		out[#out + 1] = &#039;|-&#039;&lt;br /&gt;
		out[#out + 1] = &#039;| &#039; .. table.concat( cells, &#039; || &#039; )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	out[#out + 1] = &#039;|}&#039;&lt;br /&gt;
	return table.concat( out, &#039;\n&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- The prefixes of NeoWiki&#039;s native RDF vocabulary, under this wiki&#039;s IRIs.&lt;br /&gt;
local function sparqlPrefixes()&lt;br /&gt;
	local base = mw.site.server&lt;br /&gt;
	return &#039;PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; &#039; ..&lt;br /&gt;
		&#039;PREFIX neo-subj: &amp;lt;&#039; .. base .. &#039;/entity/&amp;gt; &#039; ..&lt;br /&gt;
		&#039;PREFIX neo-prop: &amp;lt;&#039; .. base .. &#039;/prop/&amp;gt; &#039; ..&lt;br /&gt;
		&#039;PREFIX neo-schema: &amp;lt;&#039; .. base .. &#039;/schema/&amp;gt; &#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- SPARQL variables and NeoWiki&#039;s property IRIs write a space as an underscore.&lt;br /&gt;
local function withSpaces( name )&lt;br /&gt;
	return ( name:gsub( &#039;_&#039;, &#039; &#039; ) )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Renders a SPARQL query&#039;s results as a wikitable, one column per selected variable, in the order&lt;br /&gt;
-- the query selects them, with an underscore in a variable&#039;s name shown as a space. The query may use&lt;br /&gt;
-- the rdfs:, neo-subj:, neo-prop: and neo-schema: prefixes without declaring them.&lt;br /&gt;
-- Args: 1 = the query&lt;br /&gt;
--       linkColumns=Col1, Col2 (optional, wraps those columns&#039; cells in [[...]])&lt;br /&gt;
function p.query( frame )&lt;br /&gt;
	if not nw.sparqlQuery then&lt;br /&gt;
		return &amp;quot;&#039;&#039;This table needs a SPARQL store.&#039;&#039;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local linkColumns = nil&lt;br /&gt;
	if frame.args.linkColumns then&lt;br /&gt;
		linkColumns = mw.text.split( frame.args.linkColumns, &#039;,%s*&#039; )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local result = nw.sparqlQuery( sparqlPrefixes() .. frame.args[1] )&lt;br /&gt;
&lt;br /&gt;
	local columns = {}&lt;br /&gt;
	for _, variable in ipairs( result.head.vars ) do&lt;br /&gt;
		columns[#columns + 1] = withSpaces( variable )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local rows = {}&lt;br /&gt;
	for _, binding in ipairs( result.results.bindings ) do&lt;br /&gt;
		local row = {}&lt;br /&gt;
		for variable, term in pairs( binding ) do&lt;br /&gt;
			row[withSpaces( variable )] = term.value&lt;br /&gt;
		end&lt;br /&gt;
		rows[#rows + 1] = row&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return renderRowsAsTable( rows, columns, linkColumns )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function statementValue( stmt )&lt;br /&gt;
	if not stmt or not stmt.values or stmt.values[1] == nil then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local v = stmt.values[1]&lt;br /&gt;
	if type( v ) == &#039;table&#039; then&lt;br /&gt;
		return v.label or v.target&lt;br /&gt;
	end&lt;br /&gt;
	return v&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Renders a wikitable from the current page&#039;s Subjects.&lt;br /&gt;
-- Args: columns=Col1, Col2 (required, in order)&lt;br /&gt;
--       schema=SchemaName (optional, filters the Subjects to one schema)&lt;br /&gt;
--       sortBy=ColName (optional)&lt;br /&gt;
--       sortDir=asc|desc (optional, default desc)&lt;br /&gt;
--       numberColumns=Col1, Col2 (optional, formatted with thousand separators)&lt;br /&gt;
function p.subjectTable( frame )&lt;br /&gt;
	local columns = mw.text.split( frame.args.columns or &#039;&#039;, &#039;,%s*&#039; )&lt;br /&gt;
	local schemaFilter = frame.args.schema&lt;br /&gt;
	local sortBy = frame.args.sortBy&lt;br /&gt;
	local sortDir = frame.args.sortDir or &#039;desc&#039;&lt;br /&gt;
&lt;br /&gt;
	local numberSet = {}&lt;br /&gt;
	if frame.args.numberColumns then&lt;br /&gt;
		for _, col in ipairs( mw.text.split( frame.args.numberColumns, &#039;,%s*&#039; ) ) do&lt;br /&gt;
			numberSet[col] = true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local lang = mw.getContentLanguage()&lt;br /&gt;
	local rows = {}&lt;br /&gt;
&lt;br /&gt;
	for _, subject in ipairs( nw.getSubjects() ) do&lt;br /&gt;
		if not schemaFilter or subject.schema == schemaFilter then&lt;br /&gt;
			local row = {}&lt;br /&gt;
			for _, col in ipairs( columns ) do&lt;br /&gt;
				local v = statementValue( subject.statements[col] )&lt;br /&gt;
				if v == nil then&lt;br /&gt;
					row[col] = &#039;&#039;&lt;br /&gt;
				elseif numberSet[col] and tonumber( v ) then&lt;br /&gt;
					row[col] = lang:formatNum( tonumber( v ) )&lt;br /&gt;
				else&lt;br /&gt;
					row[col] = tostring( v )&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			-- Stash the raw sort value so number columns sort numerically&lt;br /&gt;
			-- even after thousand-separator formatting has stringified them.&lt;br /&gt;
			if sortBy then&lt;br /&gt;
				row.__sortValue = statementValue( subject.statements[sortBy] )&lt;br /&gt;
			end&lt;br /&gt;
			rows[#rows + 1] = row&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if sortBy then&lt;br /&gt;
		table.sort( rows, function( a, b )&lt;br /&gt;
			local av, bv = a.__sortValue, b.__sortValue&lt;br /&gt;
			local an, bn = tonumber( av ), tonumber( bv )&lt;br /&gt;
			if an and bn then&lt;br /&gt;
				if sortDir == &#039;asc&#039; then return an &amp;lt; bn end&lt;br /&gt;
				return an &amp;gt; bn&lt;br /&gt;
			end&lt;br /&gt;
			if sortDir == &#039;asc&#039; then return tostring( av ) &amp;lt; tostring( bv ) end&lt;br /&gt;
			return tostring( av ) &amp;gt; tostring( bv )&lt;br /&gt;
		end )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return renderRowsAsTable( rows, columns, nil )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- A Schema of this wiki arrives as its name, one from another Source as a { source, name } table.&lt;br /&gt;
local function schemaReferenceText( reference )&lt;br /&gt;
	if type( reference ) == &#039;table&#039; then&lt;br /&gt;
		return reference.source .. &#039;:&#039; .. reference.name&lt;br /&gt;
	end&lt;br /&gt;
	return reference&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function propertyDetails( prop )&lt;br /&gt;
	local details = {}&lt;br /&gt;
&lt;br /&gt;
	if prop.type == &#039;select&#039; then&lt;br /&gt;
		local labels = {}&lt;br /&gt;
		for _, option in ipairs( prop.options ) do&lt;br /&gt;
			labels[#labels + 1] = option.label&lt;br /&gt;
		end&lt;br /&gt;
		details[#details + 1] = &#039;options: &#039; .. table.concat( labels, &#039;, &#039; )&lt;br /&gt;
	elseif prop.type == &#039;number&#039; then&lt;br /&gt;
		if prop.minimum ~= nil then&lt;br /&gt;
			details[#details + 1] = &#039;min: &#039; .. tostring( prop.minimum )&lt;br /&gt;
		end&lt;br /&gt;
		if prop.maximum ~= nil then&lt;br /&gt;
			details[#details + 1] = &#039;max: &#039; .. tostring( prop.maximum )&lt;br /&gt;
		end&lt;br /&gt;
		if prop.precision ~= nil then&lt;br /&gt;
			details[#details + 1] = &#039;precision: &#039; .. tostring( prop.precision )&lt;br /&gt;
		end&lt;br /&gt;
	elseif prop.type == &#039;relation&#039; then&lt;br /&gt;
		local targetSchemas = {}&lt;br /&gt;
		for _, reference in ipairs( prop.targetSchemas ) do&lt;br /&gt;
			targetSchemas[#targetSchemas + 1] = schemaReferenceText( reference )&lt;br /&gt;
		end&lt;br /&gt;
		details[#details + 1] = &#039;targetSchemas: &#039; .. table.concat( targetSchemas, &#039;, &#039; )&lt;br /&gt;
	elseif prop.type == &#039;text&#039; or prop.type == &#039;url&#039; then&lt;br /&gt;
		if prop.multiple then&lt;br /&gt;
			details[#details + 1] = &#039;multiple: true&#039;&lt;br /&gt;
		end&lt;br /&gt;
		if prop.uniqueItems then&lt;br /&gt;
			details[#details + 1] = &#039;uniqueItems: true&#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat( details, &#039;, &#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.schema( frame )&lt;br /&gt;
	local schema = nw.getSchema( frame.args[1] )&lt;br /&gt;
&lt;br /&gt;
	if not schema then&lt;br /&gt;
		return &#039;Schema not found&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local rows = {}&lt;br /&gt;
	for _, prop in ipairs( schema.properties ) do&lt;br /&gt;
		rows[#rows + 1] = {&lt;br /&gt;
			Name = prop.name,&lt;br /&gt;
			Type = prop.type,&lt;br /&gt;
			Required = prop.required and &#039;Yes&#039; or &#039;No&#039;,&lt;br /&gt;
			Details = propertyDetails( prop ),&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return renderRowsAsTable( rows, { &#039;Name&#039;, &#039;Type&#039;, &#039;Required&#039;, &#039;Details&#039; } )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local PERSON_EVENTS_MONTHS = {&lt;br /&gt;
	&#039;January&#039;, &#039;February&#039;, &#039;March&#039;, &#039;April&#039;, &#039;May&#039;, &#039;June&#039;,&lt;br /&gt;
	&#039;July&#039;, &#039;August&#039;, &#039;September&#039;, &#039;October&#039;, &#039;November&#039;, &#039;December&#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Formats an ISO yyyy-mm-dd string as &amp;quot;21 March 1685&amp;quot; without relying on&lt;br /&gt;
-- MediaWiki&#039;s date parsing, which is unreliable for pre-modern years.&lt;br /&gt;
local function personEventsFormatDate( iso )&lt;br /&gt;
	local y, m, d = string.match( iso or &#039;&#039;, &#039;^(%d+)-(%d+)-(%d+)$&#039; )&lt;br /&gt;
	if not y then&lt;br /&gt;
		return iso or &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return tonumber( d ) .. &#039; &#039; .. ( PERSON_EVENTS_MONTHS[tonumber( m )] or m ) .. &#039; &#039; .. y&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local PERSON_EVENTS_ROLES = {&lt;br /&gt;
	[&#039;Brought into life&#039;] = &#039;Born&#039;,&lt;br /&gt;
	[&#039;By mother&#039;] = &#039;Mother&#039;,&lt;br /&gt;
	[&#039;From father&#039;] = &#039;Father&#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Renders the current Person page&#039;s life events as a table by reverse-querying&lt;br /&gt;
-- the graph: the canonical relations run Birth -&amp;gt; Person, so a person&#039;s role in&lt;br /&gt;
-- each event (&amp;quot;was born&amp;quot; / CIDOC P98i, mother, father) is derived here rather&lt;br /&gt;
-- than stored as an inverse relation. Dates come back as xsd:date, Y-m-d.&lt;br /&gt;
function p.personEvents( frame )&lt;br /&gt;
	local person = nw.getMainSubject()&lt;br /&gt;
&lt;br /&gt;
	if not person or not nw.sparqlQuery then&lt;br /&gt;
		return &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local result = nw.sparqlQuery( sparqlPrefixes() ..&lt;br /&gt;
		&#039;SELECT DISTINCT ?role ?event ?date ?place WHERE { &#039; ..&lt;br /&gt;
		&#039;?b a neo-schema:Birth ; ?role neo-subj:&#039; .. person.id .. &#039; ; rdfs:label ?event . &#039; ..&lt;br /&gt;
		&#039;OPTIONAL { ?b neo-prop:Date ?date } &#039; ..&lt;br /&gt;
		&#039;OPTIONAL { ?b neo-prop:Took_place_at ?pl . ?pl rdfs:label ?place } &#039; ..&lt;br /&gt;
		&#039;} ORDER BY ?date&#039;&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	local events = result.results.bindings&lt;br /&gt;
&lt;br /&gt;
	if #events == 0 then&lt;br /&gt;
		return &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local rows = {}&lt;br /&gt;
	for _, e in ipairs( events ) do&lt;br /&gt;
		local property = withSpaces( e.role.value:match( &#039;/prop/(.+)$&#039; ) )&lt;br /&gt;
		rows[#rows + 1] = {&lt;br /&gt;
			Role = PERSON_EVENTS_ROLES[property] or property,&lt;br /&gt;
			Event = e.event.value,&lt;br /&gt;
			Date = e.date and personEventsFormatDate( e.date.value ) or &#039;&#039;,&lt;br /&gt;
			Place = e.place and e.place.value or &#039;&#039;,&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return &amp;quot;&#039;&#039;&#039;Life events&#039;&#039;&#039;\n&amp;quot; .. renderRowsAsTable( rows, { &#039;Role&#039;, &#039;Event&#039;, &#039;Date&#039;, &#039;Place&#039; }, { &#039;Event&#039;, &#039;Place&#039; } )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Module:SubjectRow&amp;diff=118</id>
		<title>Module:SubjectRow</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Module:SubjectRow&amp;diff=118"/>
		<updated>2026-11-24T15:53:32Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Inline styles use Codex CSS custom properties so the row picks up the&lt;br /&gt;
-- current theme (light / dark) where Codex CSS is loaded; hex fallbacks&lt;br /&gt;
-- reproduce the light-mode values otherwise.&lt;br /&gt;
local style = table.concat( {&lt;br /&gt;
	&#039;display:flex&#039;,&lt;br /&gt;
	&#039;gap:8px&#039;,&lt;br /&gt;
	&#039;padding:16px&#039;,&lt;br /&gt;
	&#039;justify-content:safe center&#039;,&lt;br /&gt;
	&#039;overflow-x:auto&#039;,&lt;br /&gt;
	&#039;align-items:flex-start&#039;,&lt;br /&gt;
	&#039;background:var(--background-color-interactive-subtle, #eaecf0)&#039;,&lt;br /&gt;
	&#039;border:1px solid var(--border-color-subtle, #c8ccd1)&#039;,&lt;br /&gt;
	&#039;border-radius:2px&#039;,&lt;br /&gt;
	&#039;margin-block:1em&#039;,&lt;br /&gt;
}, &#039;;&#039; )&lt;br /&gt;
&lt;br /&gt;
-- Each positional argument is a subject ID, optionally followed by @LayoutName&lt;br /&gt;
-- for a per-view layout override. The named layout= argument is the row&#039;s&lt;br /&gt;
-- default layout when no override is present.&lt;br /&gt;
function p.render( frame )&lt;br /&gt;
	local rowLayout = frame.args.layout&lt;br /&gt;
	local out = { &#039;&amp;lt;div style=&amp;quot;&#039; .. style .. &#039;&amp;quot;&amp;gt;&#039; }&lt;br /&gt;
&lt;br /&gt;
	for _, arg in ipairs( frame.args ) do&lt;br /&gt;
		local id, viewLayout = arg, rowLayout&lt;br /&gt;
		local at = string.find( arg, &#039;@&#039;, 1, true )&lt;br /&gt;
		if at then&lt;br /&gt;
			id = string.sub( arg, 1, at - 1 )&lt;br /&gt;
			viewLayout = string.sub( arg, at + 1 )&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local view&lt;br /&gt;
		if viewLayout and viewLayout ~= &#039;&#039; then&lt;br /&gt;
			view = frame:preprocess( &#039;{{#view:&#039; .. id .. &#039;|layout=&#039; .. viewLayout .. &#039;}}&#039; )&lt;br /&gt;
		else&lt;br /&gt;
			view = frame:preprocess( &#039;{{#view:&#039; .. id .. &#039;}}&#039; )&lt;br /&gt;
		end&lt;br /&gt;
		-- flex-shrink:0 keeps each infobox at its natural width so the row&lt;br /&gt;
		-- scrolls horizontally on narrow viewports instead of squishing.&lt;br /&gt;
		out[#out + 1] = &#039;&amp;lt;div style=&amp;quot;flex-shrink:0&amp;quot;&amp;gt;&#039; .. view .. &#039;&amp;lt;/div&amp;gt;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	out[#out + 1] = &#039;&amp;lt;/div&amp;gt;&#039;&lt;br /&gt;
	return table.concat( out )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Module:LuaExample&amp;diff=117</id>
		<title>Module:LuaExample</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Module:LuaExample&amp;diff=117"/>
		<updated>2026-11-24T15:53:32Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local p = {}&lt;br /&gt;
local nw = require( &#039;mw.neowiki&#039; )&lt;br /&gt;
&lt;br /&gt;
function p.foundedYear( frame )&lt;br /&gt;
	local year = nw.getValue( &#039;Founded&#039;, { page = frame.args[1] } )&lt;br /&gt;
	return tostring( year or &#039;&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.largestMuseums( frame )&lt;br /&gt;
	if not nw.sparqlQuery then&lt;br /&gt;
		return &amp;quot;&#039;&#039;This list needs a SPARQL store.&#039;&#039;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local base = mw.site.server&lt;br /&gt;
	local result = nw.sparqlQuery(&lt;br /&gt;
		&#039;SELECT ?label ?visitors WHERE { &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;&#039; .. base .. &#039;/schema/Museum&amp;gt; . &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?label . &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;&#039; .. base .. &#039;/prop/Annual_visitors&amp;gt; ?visitors &#039; ..&lt;br /&gt;
		&#039;} ORDER BY DESC(?visitors) LIMIT 3&#039;&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	local list = {}&lt;br /&gt;
	for _, binding in ipairs( result.results.bindings ) do&lt;br /&gt;
		list[#list + 1] = &#039;* &#039; .. binding.label.value .. &#039; (&#039; .. binding.visitors.value .. &#039; visitors)&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat( list, &#039;\n&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=EDM_queries&amp;diff=116</id>
		<title>EDM queries</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=EDM_queries&amp;diff=116"/>
		<updated>2026-11-24T15:53:29Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki&#039;s SPARQL store holds two [[RDF and ontology mappings|projections]] of its pages: the &#039;&#039;&#039;native&#039;&#039;&#039; one, in NeoWiki&#039;s own vocabulary, and the &#039;&#039;&#039;EDM&#039;&#039;&#039; one defined by [[Mapping:EDM]], which targets the [https://pro.europeana.eu/page/edm-documentation Europeana Data Model]. A query can be written in EDM terms, in native terms, or in both at once.&lt;br /&gt;
&lt;br /&gt;
Every example below uses the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#sparql_raw}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function and returns raw [https://www.w3.org/TR/sparql11-results-json/ SPARQL JSON]. The Lua and REST surfaces answer the same queries — see [[SPARQL queries]].&lt;br /&gt;
&lt;br /&gt;
== Query in EDM terms ==&lt;br /&gt;
&lt;br /&gt;
The Person and Artist Schemas both map to &amp;lt;code&amp;gt;edm:Agent&amp;lt;/code&amp;gt;, so a query in EDM terms spans them without knowing either Schema. The birth date sits in its own &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; block because it does not always live with the agent: where a birth is modelled as its own Subject, [[Mapping:EDM]] contributes &amp;lt;code&amp;gt;rdaGr2:dateOfBirth&amp;lt;/code&amp;gt; from the Birth page&#039;s graph instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#sparql_raw:PREFIX edm: &amp;lt;http://www.europeana.eu/schemas/edm/&amp;gt; PREFIX rdaGr2: &amp;lt;http://rdvocab.info/ElementsGr2/&amp;gt; PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; SELECT ?agent ?dateOfBirth WHERE { GRAPH ?agentGraph { ?a a edm:Agent ; rdfs:label ?agent } GRAPH ?birthGraph { ?a rdaGr2:dateOfBirth ?dateOfBirth } } ORDER BY ?agent}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#sparql_raw:PREFIX edm: &amp;lt;http://www.europeana.eu/schemas/edm/&amp;gt; PREFIX rdaGr2: &amp;lt;http://rdvocab.info/ElementsGr2/&amp;gt; PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; SELECT ?agent ?dateOfBirth WHERE { GRAPH ?agentGraph { ?a a edm:Agent ; rdfs:label ?agent } GRAPH ?birthGraph { ?a rdaGr2:dateOfBirth ?dateOfBirth } } ORDER BY ?agent}}&lt;br /&gt;
&lt;br /&gt;
A relation projects as a direct triple between two entity IRIs, so a query follows it the way it would in any EDM dataset. The artwork and its creator live on separate wiki pages, hence in separate named graphs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#sparql_raw:PREFIX edm: &amp;lt;http://www.europeana.eu/schemas/edm/&amp;gt; PREFIX dc: &amp;lt;http://purl.org/dc/elements/1.1/&amp;gt; PREFIX dcterms: &amp;lt;http://purl.org/dc/terms/&amp;gt; PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; SELECT ?work ?created ?creator WHERE { GRAPH ?workGraph { ?w a edm:ProvidedCHO ; rdfs:label ?work ; dcterms:created ?created ; dc:creator ?c } GRAPH ?creatorGraph { ?c a edm:Agent ; rdfs:label ?creator } } ORDER BY ?created}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#sparql_raw:PREFIX edm: &amp;lt;http://www.europeana.eu/schemas/edm/&amp;gt; PREFIX dc: &amp;lt;http://purl.org/dc/elements/1.1/&amp;gt; PREFIX dcterms: &amp;lt;http://purl.org/dc/terms/&amp;gt; PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; SELECT ?work ?created ?creator WHERE { GRAPH ?workGraph { ?w a edm:ProvidedCHO ; rdfs:label ?work ; dcterms:created ?created ; dc:creator ?c } GRAPH ?creatorGraph { ?c a edm:Agent ; rdfs:label ?creator } } ORDER BY ?created}}&lt;br /&gt;
&lt;br /&gt;
== Query across both projections ==&lt;br /&gt;
&lt;br /&gt;
[[Mapping:EDM]] maps no predicate for the Person Schema&#039;s &amp;lt;code&amp;gt;Source&amp;lt;/code&amp;gt; property, so it is absent from the EDM projection — the native projection still has it as &amp;lt;code&amp;gt;neo-prop:Source&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Both projections mint the same entity IRIs, so one query can take the birth date from EDM and the source from the native projection:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#sparql_raw:PREFIX edm: &amp;lt;http://www.europeana.eu/schemas/edm/&amp;gt; PREFIX rdaGr2: &amp;lt;http://rdvocab.info/ElementsGr2/&amp;gt; PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; PREFIX neo-prop: &amp;lt;{{SERVER}}/prop/&amp;gt; SELECT ?agent ?dateOfBirth ?source ?edmGraph ?nativeGraph WHERE { GRAPH ?edmGraph { ?a a edm:Agent ; rdaGr2:dateOfBirth ?dateOfBirth } GRAPH ?nativeGraph { ?a rdfs:label ?agent ; neo-prop:Source ?source } } ORDER BY ?agent}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#sparql_raw:PREFIX edm: &amp;lt;http://www.europeana.eu/schemas/edm/&amp;gt; PREFIX rdaGr2: &amp;lt;http://rdvocab.info/ElementsGr2/&amp;gt; PREFIX rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; PREFIX neo-prop: &amp;lt;{{SERVER}}/prop/&amp;gt; SELECT ?agent ?dateOfBirth ?source ?edmGraph ?nativeGraph WHERE { GRAPH ?edmGraph { ?a a edm:Agent ; rdaGr2:dateOfBirth ?dateOfBirth } GRAPH ?nativeGraph { ?a rdfs:label ?agent ; neo-prop:Source ?source } } ORDER BY ?agent}}&lt;br /&gt;
&lt;br /&gt;
== Set this up ==&lt;br /&gt;
&lt;br /&gt;
Each store entry names one projection, and several entries may point at one endpoint — see [https://neowiki.ai/docs/operations/installation#several-projections-in-one-store Several projections in one store]. The [https://github.com/ProfessionalWiki/NeoWiki/blob/master/Docker/SettingsTemplate.php NeoWiki development stack] points a &amp;lt;code&amp;gt;native&amp;lt;/code&amp;gt; and an &amp;lt;code&amp;gt;EDM&amp;lt;/code&amp;gt; entry at one QLever, which is why these queries reach both.&lt;br /&gt;
&lt;br /&gt;
== Learn more ==&lt;br /&gt;
&lt;br /&gt;
* [https://neowiki.ai/docs/authoring/mapping-format Mapping format reference]&lt;br /&gt;
* [https://neowiki.ai/docs/guide/person-to-edm Person-to-EDM worked example]&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=SPARQL_queries&amp;diff=115</id>
		<title>SPARQL queries</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=SPARQL_queries&amp;diff=115"/>
		<updated>2026-11-24T15:53:26Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NeoWiki keeps a [https://neowiki.ai/docs/operations/installation#optional-sparql-graph-stores SPARQL 1.1 graph store] such as [https://qlever.dev/ QLever] in sync with the wiki&#039;s structured data on every edit, so it can be queried live. This page shows the three ways to query it, using the native vocabulary. {{#ifexist:EDM queries|The store also holds the EDM projection: see [[EDM queries]] to query it, or to join across both.}}&lt;br /&gt;
&lt;br /&gt;
== Query with a parser function ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#sparql_raw}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function runs a read-only SPARQL query and returns the raw [https://www.w3.org/TR/sparql11-results-json/ SPARQL JSON results]. IRIs are minted under the wiki&#039;s own URL, which the examples write as &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SERVER}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; so they work on any wiki.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#sparql_raw:SELECT ?museum ?visitors WHERE { ?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;{{SERVER}}/schema/Museum&amp;gt; . ?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?museum . ?m &amp;lt;{{SERVER}}/prop/Annual_visitors&amp;gt; ?visitors } ORDER BY DESC(?visitors) LIMIT 5}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#sparql_raw:SELECT ?museum ?visitors WHERE { ?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;{{SERVER}}/schema/Museum&amp;gt; . ?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?museum . ?m &amp;lt;{{SERVER}}/prop/Annual_visitors&amp;gt; ?visitors } ORDER BY DESC(?visitors) LIMIT 5}}&lt;br /&gt;
&lt;br /&gt;
Each page&#039;s triples live in their own named graph, &amp;lt;code&amp;gt;{{SERVER}}/graph/native/page/&amp;amp;lt;pageid&amp;amp;gt;&amp;lt;/code&amp;gt;, so a result can show which page it came from:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#sparql_raw:SELECT ?graph ?person WHERE { GRAPH ?graph { ?p &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;{{SERVER}}/schema/Person&amp;gt; . ?p &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?person } } ORDER BY ?person LIMIT 5}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#sparql_raw:SELECT ?graph ?person WHERE { GRAPH ?graph { ?p &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;{{SERVER}}/schema/Person&amp;gt; . ?p &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?person } } ORDER BY ?person LIMIT 5}}&lt;br /&gt;
&lt;br /&gt;
== Query from Lua ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;nw.sparqlQuery&amp;lt;/code&amp;gt; returns the same results as a Lua table, so a Scribunto module can format them. From [[Module:LuaExample]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function p.largestMuseums( frame )&lt;br /&gt;
	if not nw.sparqlQuery then&lt;br /&gt;
		return &amp;quot;&#039;&#039;This list needs a SPARQL store.&#039;&#039;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local base = mw.site.server&lt;br /&gt;
	local result = nw.sparqlQuery(&lt;br /&gt;
		&#039;SELECT ?label ?visitors WHERE { &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;&#039; .. base .. &#039;/schema/Museum&amp;gt; . &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?label . &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;&#039; .. base .. &#039;/prop/Annual_visitors&amp;gt; ?visitors &#039; ..&lt;br /&gt;
		&#039;} ORDER BY DESC(?visitors) LIMIT 3&#039;&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	local list = {}&lt;br /&gt;
	for _, binding in ipairs( result.results.bindings ) do&lt;br /&gt;
		list[#list + 1] = &#039;* &#039; .. binding.label.value .. &#039; (&#039; .. binding.visitors.value .. &#039; visitors)&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat( list, &#039;\n&#039; )&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoke it from wikitext:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#invoke:LuaExample|largestMuseums}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#invoke:LuaExample|largestMuseums}}&lt;br /&gt;
&lt;br /&gt;
== Query over REST ==&lt;br /&gt;
&lt;br /&gt;
The same queries work over the REST API, which returns the results as JSON:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;POST {{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/query/sparql&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{ &amp;quot;query&amp;quot;: &amp;quot;SELECT ?label WHERE { ?s &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?label } LIMIT 5&amp;quot; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Learn more ==&lt;br /&gt;
&lt;br /&gt;
* [https://neowiki.ai/docs/api/query-api Query API reference]&lt;br /&gt;
* [https://neowiki.ai/docs/authoring/parser-functions Parser function reference]&lt;br /&gt;
* [https://neowiki.ai/docs/authoring/lua-api Lua API reference]&lt;br /&gt;
* [[Developers]], with the same query in Cypher for a wiki with a Neo4j backend&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Main_Page&amp;diff=114</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Main_Page&amp;diff=114"/>
		<updated>2026-11-24T15:53:26Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding:24px 16px;background:var(--background-color-interactive-subtle, #eaecf0);border:1px solid var(--border-color-subtle, #c8ccd1);border-radius:2px;margin-block:1em&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:1.5rem;font-weight:600;line-height:1.25;color:var(--color-base, #202122);max-width:800px&amp;quot;&amp;gt;NeoWiki turns wiki pages into queryable structured data&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:var(--color-subtle, #54595d);max-width:560px;margin-top:4px&amp;quot;&amp;gt;Schemas, infoboxes, relations, and SPARQL, native to MediaWiki.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a public demo of [https://neowiki.ai NeoWiki]. Explore the examples below, or [[Special:CreateAccount|create an account]] and edit anything you like: it is a sandbox that resets periodically, so you cannot break it. Tell us what works and what is missing via the [https://github.com/ProfessionalWiki/NeoWiki/issues issue tracker] or by [https://professional.wiki/en/contact contacting Professional Wiki].&lt;br /&gt;
&lt;br /&gt;
== Start here ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Just exploring&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Structured data, queried in a page: [[Museum collection]] runs live graph queries over linked museums, artworks, and exhibitions.&lt;br /&gt;
* One Subject and what references it: [[Special:Subject/sEpfwJLnxyQy6vR|the Rijksmuseum on Special:Subject]] lists the artwork and exhibition that point at it.&lt;br /&gt;
* Several Subjects on one page: [{{fullurl:Rijksmuseum|action=subjects}} the Rijksmuseum&#039;s Data tab] holds the museum and its attendance records as separate Subjects.&lt;br /&gt;
* Every Subject is shaped by a [[Special:Schemas|Schema]], and [[Special:Layouts|Layouts]] control how Subjects are displayed.&lt;br /&gt;
* Every Subject&#039;s data as RDF: [[RDF and ontology mappings]] shows native, EDM and CIDOC-CRM projections of the demo content, the ontology ones defined by [[Special:Mappings|Mappings]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trying it hands-on&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Special:UserLogin|Log in]], then create a Subject from [[Special:NeoWiki|Overview]] or from the buttons on each use-case page below.&lt;br /&gt;
* Edit through a form and watch it update live: [[Subject views]] shows one Subject in three layouts at once, with edits propagating between them.&lt;br /&gt;
* See how a Schema constrains data: [[Validation Demo]].&lt;br /&gt;
* The [https://neowiki.ai/docs/guide/getting-started Getting started guide] builds your own Schema, Subject, View, and query.&lt;br /&gt;
&lt;br /&gt;
== Explore by use case ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:Card|cards|&lt;br /&gt;
card1_title=Museum collection&lt;br /&gt;
|card1_description=Connect institutions, artists, artworks, and exhibitions.&lt;br /&gt;
|card1_link=Museum collection&lt;br /&gt;
&lt;br /&gt;
|card2_title=ACME Inc&lt;br /&gt;
|card2_description=Document a company&#039;s departments, products, and offices.&lt;br /&gt;
|card2_link=ACME Inc&lt;br /&gt;
&lt;br /&gt;
|card3_title=Research catalog&lt;br /&gt;
|card3_description=Track publications, authors, institutions, and projects.&lt;br /&gt;
|card3_link=Research catalog&lt;br /&gt;
&lt;br /&gt;
|card4_title=People and life events&lt;br /&gt;
|card4_description=Model births as their own Subjects, in CIDOC CRM style.&lt;br /&gt;
|card4_link=People and life events&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Build on it ==&lt;br /&gt;
&lt;br /&gt;
* [[Developers|Developers hub]]: SPARQL, parser functions, the mw.neowiki Lua library, and the REST API, each with source shown alongside the rendered result.&lt;br /&gt;
* [https://github.com/ProfessionalWiki/NeoWiki Source on GitHub]&lt;br /&gt;
* [https://neowiki.ai/docs/ Technical documentation]&lt;br /&gt;
* [https://github.com/ProfessionalWiki/NeoWiki/issues Issue tracker]&lt;br /&gt;
&lt;br /&gt;
== About this wiki ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NeoWiki&#039;&#039;&#039; is a MediaWiki extension for queryable structured data. See [https://neowiki.ai neowiki.ai] for downloads, documentation, and updates.&lt;br /&gt;
&lt;br /&gt;
NeoWiki is under active development: public interfaces and structure will continue to change, and this demo may be reset periodically.&lt;br /&gt;
&lt;br /&gt;
* [https://professional.wiki/en/contact Contact Professional Wiki], the team behind NeoWiki&lt;br /&gt;
* Follow NeoWiki: [https://mastodon.social/@NeoWiki Mastodon] · [https://bsky.app/profile/neowiki.bsky.social Bluesky] · [https://x.com/NeoWikiAI X]&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Research_catalog&amp;diff=113</id>
		<title>Research catalog</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Research_catalog&amp;diff=113"/>
		<updated>2026-11-24T15:53:26Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A fictional research-output catalog showing NeoWiki&#039;s relations across institutions, authors, projects, and publications. The dataset is invented for the demo and reflects the kind of structured bibliographic content found in the European Literary Bibliography case study.&lt;br /&gt;
&lt;br /&gt;
== Featured publications ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:SubjectRow|render|layout=PublicationOverview|s1demo8aaaaaaP1|s1demo8aaaaaaP5}}&lt;br /&gt;
&lt;br /&gt;
== Publications per project ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT ?Project (COUNT(DISTINCT ?p) AS ?Publications) WHERE { ?p a neo-schema:Publication ; neo-prop:Project ?pr . ?pr rdfs:label ?Project } GROUP BY ?Project ORDER BY DESC(?Publications) ?Project|linkColumns=Project}}&lt;br /&gt;
&lt;br /&gt;
== Browse ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Title ?Year ?Venue WHERE { ?p a neo-schema:Publication ; rdfs:label ?Title . OPTIONAL { ?p neo-prop:Year ?Year } OPTIONAL { ?p neo-prop:Venue ?Venue } } ORDER BY DESC(?Year) ?Title|linkColumns=Title}}&lt;br /&gt;
&lt;br /&gt;
== Add your own ==&lt;br /&gt;
&lt;br /&gt;
{{#create_subject: schema=Publication | page=new}}&lt;br /&gt;
&lt;br /&gt;
== How this is built ==&lt;br /&gt;
&lt;br /&gt;
* Schemas: [[Schema:Publication]], [[Schema:Author]], [[Schema:Institution]], [[Schema:Project]]&lt;br /&gt;
* Layout: [[Layout:PublicationOverview]]&lt;br /&gt;
* See the source of one publication: [{{fullurl:Linked Bibliography Mappings for European Archives|action=edit}} Edit Linked Bibliography Mappings for European Archives]&lt;br /&gt;
* The featured infoboxes use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#view}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The tables come from SPARQL queries via [[Module:NeoWikiDemo]].&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=People_and_life_events&amp;diff=112</id>
		<title>People and life events</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=People_and_life_events&amp;diff=112"/>
		<updated>2026-11-24T15:53:26Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A demo dataset that models people and their births as separate Subjects, in the event-centric style of CIDOC CRM (the cultural-heritage reference model that Arches is built on). It uses three generations of the Bach family, scoped deliberately rather than exhaustively. The data is curated for demonstration and is not authoritative.&lt;br /&gt;
&lt;br /&gt;
== Featured ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:SubjectRow|render|s1bachaaaaaaab2|s1bachaaaaaaaa3}}&lt;br /&gt;
&lt;br /&gt;
== Who was born where, and when? ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Person ?Place ?Date WHERE { ?b a neo-schema:Birth ; neo-prop:Brought_into_life ?p . ?p rdfs:label ?Person . OPTIONAL { ?b neo-prop:Took_place_at ?pl . ?pl rdfs:label ?Place } OPTIONAL { ?b neo-prop:Date ?Date } } ORDER BY ?Date|linkColumns=Person, Place}}&lt;br /&gt;
&lt;br /&gt;
== Browse ==&lt;br /&gt;
&lt;br /&gt;
Each birth is its own Subject linking a child, mother, father, place, and date. Johann Sebastian Bach appears in four births, once as a child and three times as a father, which a person-centric model could not express cleanly.&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Child ?Mother ?Father ?Place ?Date WHERE { ?b a neo-schema:Birth ; neo-prop:Brought_into_life ?c . ?c rdfs:label ?Child . OPTIONAL { ?b neo-prop:By_mother ?m . ?m rdfs:label ?Mother } OPTIONAL { ?b neo-prop:From_father ?f . ?f rdfs:label ?Father } OPTIONAL { ?b neo-prop:Took_place_at ?pl . ?pl rdfs:label ?Place } OPTIONAL { ?b neo-prop:Date ?Date } } ORDER BY ?Date|linkColumns=Child, Mother, Father, Place}}&lt;br /&gt;
&lt;br /&gt;
== Add your own ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;gap:8px;flex-wrap:wrap&amp;quot;&amp;gt;&lt;br /&gt;
{{#create_subject: schema=Person | page=new}}&lt;br /&gt;
{{#create_subject: schema=Birth | page=new}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A birth&#039;s fields offer the existing people and places. When you edit a birth, the Subjects it points at are listed beside its form and open in the same dialog, where you can create a missing person or place too.&lt;br /&gt;
&lt;br /&gt;
== Mapping to CIDOC CRM ==&lt;br /&gt;
&lt;br /&gt;
This dataset partially maps to [http://www.cidoc-crm.org/ CIDOC CRM], via [[Mapping:CIDOC-CRM]]; [[RDF and ontology mappings]] has the export links. The canonical statements run from the event to the person (E67 Birth, P98 brought into life, E21 Person); the reverse &amp;quot;was born&amp;quot; (P98i) is not stored as a separate edge but derived by [[Module:NeoWikiDemo]] reverse-querying the graph, which is how CIDOC inverse properties work.&lt;br /&gt;
&lt;br /&gt;
A person who carries the flat Birth date and Birth place fields instead of a Birth Subject still gets a birth event in the projection: the Mapping synthesizes the E67 Birth and the E52 Time-Span the CIDOC path runs through.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! NeoWiki !! CIDOC CRM !! URI&lt;br /&gt;
|-&lt;br /&gt;
| Schema Person || E21 Person || http://www.cidoc-crm.org/cidoc-crm/E21_Person&lt;br /&gt;
|-&lt;br /&gt;
| Schema Birth || E67 Birth || http://www.cidoc-crm.org/cidoc-crm/E67_Birth&lt;br /&gt;
|-&lt;br /&gt;
| Schema Place || E53 Place || http://www.cidoc-crm.org/cidoc-crm/E53_Place&lt;br /&gt;
|-&lt;br /&gt;
| Birth: Brought into life || P98 brought into life (inverse P98i was born) || http://www.cidoc-crm.org/cidoc-crm/P98_brought_into_life&lt;br /&gt;
|-&lt;br /&gt;
| Birth: By mother || P96 by mother || http://www.cidoc-crm.org/cidoc-crm/P96_by_mother&lt;br /&gt;
|-&lt;br /&gt;
| Birth: From father || P97 from father || http://www.cidoc-crm.org/cidoc-crm/P97_from_father&lt;br /&gt;
|-&lt;br /&gt;
| Birth: Took place at || P7 took place at || http://www.cidoc-crm.org/cidoc-crm/P7_took_place_at&lt;br /&gt;
|-&lt;br /&gt;
| Birth: Date || P4 has time-span (E52 Time-Span; the date is the time-span&#039;s P82 value, collapsed to one date) || http://www.cidoc-crm.org/cidoc-crm/P4_has_time-span&lt;br /&gt;
|-&lt;br /&gt;
| Person: Also known as || P1 is identified by, to one synthesized E41 Appellation per name, carrying P190 has symbolic content || http://www.cidoc-crm.org/cidoc-crm/P1_is_identified_by&lt;br /&gt;
|-&lt;br /&gt;
| Person: Birth date || P98i was born, to a synthesized E67 Birth, then P4 has time-span (E52 Time-Span) and P82 at some time within || http://www.cidoc-crm.org/cidoc-crm/P82_at_some_time_within&lt;br /&gt;
|-&lt;br /&gt;
| Person: Birth place || P98i was born, to that same synthesized E67 Birth, then P7 took place at || http://www.cidoc-crm.org/cidoc-crm/P7_took_place_at&lt;br /&gt;
|-&lt;br /&gt;
| Person / Place: Description || P3 has note (E62 String) || http://www.cidoc-crm.org/cidoc-crm/P3_has_note&lt;br /&gt;
|-&lt;br /&gt;
| Place: Coordinates || P168 place is defined by (E94 Space Primitive). Not projected: the stored value is a lat/long display label, not the WKT/GML geometry literal P168 expects || http://www.cidoc-crm.org/cidoc-crm/P168_place_is_defined_by&lt;br /&gt;
|-&lt;br /&gt;
| Place: Country || Not projected: no direct CIDOC property for a denormalised country-name label (a faithful model would use P89 falls within a containing E53 Place) || http://www.cidoc-crm.org/cidoc-crm/P89_falls_within&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How this is built ==&lt;br /&gt;
&lt;br /&gt;
* Schemas: [[Schema:Person]], [[Schema:Birth]], [[Schema:Place]]&lt;br /&gt;
* Under Referenced by, [[Special:Subject/s1bachaaaaaaaa3|Johann Sebastian Bach on Special:Subject]] lists the four births that reference him, as child and as father.&lt;br /&gt;
* The &amp;quot;was born&amp;quot; line on each person page is computed by [[Module:NeoWikiDemo]] (the &amp;lt;code&amp;gt;personEvents&amp;lt;/code&amp;gt; function), which reverse-queries the graph rather than storing an inverse edge. This Lua reverse-query is the display approach available today; using the view system for first-class display is an open task.&lt;br /&gt;
* The tables above come from SPARQL queries via [[Module:NeoWikiDemo]].&lt;br /&gt;
* See the source of one subject: [{{fullurl:Birth of Johann Sebastian Bach|action=edit}} Edit Birth of Johann Sebastian Bach]&lt;br /&gt;
* [{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Developers&amp;diff=111</id>
		<title>Developers</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Developers&amp;diff=111"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NeoWiki exposes a programmable surface: a graph database, parser functions, a Lua library, special pages, and a REST API. This page demonstrates each, showing the wikitext source alongside the rendered result.&lt;br /&gt;
&lt;br /&gt;
== Browse ==&lt;br /&gt;
&lt;br /&gt;
* [[Special:NeoWiki]]: the newest Subjects and links to the other NeoWiki pages&lt;br /&gt;
* [[Special:Schemas]]: all schemas&lt;br /&gt;
* [[Special:Layouts]]: all layouts&lt;br /&gt;
* [[Special:Mappings]]: all ontology mappings&lt;br /&gt;
* [[Special:Subject/sEpfwJLnxyQy6vR|Special:Subject/&amp;amp;lt;subject id&amp;amp;gt;]]: one Subject, the Subjects it references, and the ones that reference it; the id is in the ID line of the Subject&#039;s Data tab row&lt;br /&gt;
&lt;br /&gt;
== Query the graph ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#sparql_raw}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function runs a SPARQL query and returns the raw JSON.&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#sparql_raw:SELECT ?museum ?visitors WHERE { ?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;{{SERVER}}/schema/Museum&amp;gt; . ?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?museum . ?m &amp;lt;{{SERVER}}/prop/Annual_visitors&amp;gt; ?visitors } ORDER BY DESC(?visitors) LIMIT 5}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#sparql_raw:SELECT ?museum ?visitors WHERE { ?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;{{SERVER}}/schema/Museum&amp;gt; . ?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?museum . ?m &amp;lt;{{SERVER}}/prop/Annual_visitors&amp;gt; ?visitors } ORDER BY DESC(?visitors) LIMIT 5}}&lt;br /&gt;
&lt;br /&gt;
{{#ifexist:SPARQL queries|[[SPARQL queries]] has more examples, from Lua and over REST too.}}&lt;br /&gt;
&lt;br /&gt;
Cypher queries need a Neo4j backend. On a wiki with one, the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#cypher_raw}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function runs the same query in Cypher:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#cypher_raw:MATCH (m:Museum) RETURN m.name AS name, m.`Annual visitors` AS visitors ORDER BY visitors DESC LIMIT 5}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Read values in wikitext ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#neowiki_value}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function reads a single property from a subject on a page.&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#neowiki_value:Annual visitors|page=Rijksmuseum}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{#neowiki_value:Annual visitors|page=Rijksmuseum}}&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#neowiki_value:Founded at|page=ACME Inc}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{#neowiki_value:Founded at|page=ACME Inc}}&lt;br /&gt;
&lt;br /&gt;
== Create subjects from wikitext ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#create_subject}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function renders a button that opens the Subject creator, optionally fixed to a Schema and a target page.&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#create_subject: schema=City | page=new | text=Add a city}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#create_subject: schema=City | page=new | text=Add a city}}&lt;br /&gt;
&lt;br /&gt;
== Read values in Lua ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;mw.neowiki&amp;lt;/code&amp;gt; Lua library exposes structured data to your Scribunto modules. The example below reads a single property and runs a SPARQL query.&lt;br /&gt;
&lt;br /&gt;
[[Module:LuaExample]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local p = {}&lt;br /&gt;
local nw = require( &#039;mw.neowiki&#039; )&lt;br /&gt;
&lt;br /&gt;
function p.foundedYear( frame )&lt;br /&gt;
	local year = nw.getValue( &#039;Founded&#039;, { page = frame.args[1] } )&lt;br /&gt;
	return tostring( year or &#039;&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.largestMuseums( frame )&lt;br /&gt;
	if not nw.sparqlQuery then&lt;br /&gt;
		return &amp;quot;&#039;&#039;This list needs a SPARQL store.&#039;&#039;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local base = mw.site.server&lt;br /&gt;
	local result = nw.sparqlQuery(&lt;br /&gt;
		&#039;SELECT ?label ?visitors WHERE { &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt; &amp;lt;&#039; .. base .. &#039;/schema/Museum&amp;gt; . &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;http://www.w3.org/2000/01/rdf-schema#label&amp;gt; ?label . &#039; ..&lt;br /&gt;
		&#039;?m &amp;lt;&#039; .. base .. &#039;/prop/Annual_visitors&amp;gt; ?visitors &#039; ..&lt;br /&gt;
		&#039;} ORDER BY DESC(?visitors) LIMIT 3&#039;&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	local list = {}&lt;br /&gt;
	for _, binding in ipairs( result.results.bindings ) do&lt;br /&gt;
		list[#list + 1] = &#039;* &#039; .. binding.label.value .. &#039; (&#039; .. binding.visitors.value .. &#039; visitors)&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat( list, &#039;\n&#039; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoke it from wikitext:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{#invoke:LuaExample|foundedYear|Rijksmuseum}}&lt;br /&gt;
&lt;br /&gt;
{{#invoke:LuaExample|largestMuseums}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
Rijksmuseum was founded in {{#invoke:LuaExample|foundedYear|Rijksmuseum}}.&lt;br /&gt;
&lt;br /&gt;
Museums with the most visitors in this demo:&lt;br /&gt;
&lt;br /&gt;
{{#invoke:LuaExample|largestMuseums}}&lt;br /&gt;
&lt;br /&gt;
For the full library reference, see the [https://neowiki.ai/docs/authoring/lua-api Lua API documentation].&lt;br /&gt;
&lt;br /&gt;
== Reactive UI ==&lt;br /&gt;
&lt;br /&gt;
NeoWiki components embed in pages as reactive UIs that update without a page reload. See [[Subject views]] for the same Sandbox subject in three layouts, with edits propagating between them.&lt;br /&gt;
&lt;br /&gt;
== REST API ==&lt;br /&gt;
&lt;br /&gt;
NeoWiki exposes a REST API for reading and writing structured data. The OpenAPI 3.0 spec is auto-generated:&lt;br /&gt;
&lt;br /&gt;
* OpenAPI spec: &amp;lt;code&amp;gt;[{{SERVER}}{{SCRIPTPATH}}/rest.php/specs/v0/module/- /rest.php/specs/v0/module/-]&amp;lt;/code&amp;gt;&lt;br /&gt;
* Module discovery: &amp;lt;code&amp;gt;[{{SERVER}}{{SCRIPTPATH}}/rest.php/specs/v0/discovery /rest.php/specs/v0/discovery]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Representative read endpoints:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;GET /neowiki/v0/subject/{subjectId}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;GET /neowiki/v0/schema/{schemaName}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;GET /neowiki/v0/schema/{schemaName}/json-schema&amp;lt;/code&amp;gt;: a Schema&#039;s Subjects as a [https://neowiki.ai/docs/api/json-schema JSON Schema] document, for validating data before upload; try [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/schema/Person/json-schema Person]&lt;br /&gt;
&lt;br /&gt;
For full endpoint documentation, see the OpenAPI spec above.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Subject_views&amp;diff=110</id>
		<title>Subject views</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Subject_views&amp;diff=110"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A Subject&#039;s data can be presented through multiple Layouts, each tailored to a different context. Below, the [[Sandbox Subject]] is rendered in three views: the default schema view, plus the [[Layout:SandboxCompact|SandboxCompact]] and [[Layout:SandboxDetail|SandboxDetail]] layouts.&lt;br /&gt;
&lt;br /&gt;
Edits in any view also propagate to the others without a page reload.&lt;br /&gt;
&lt;br /&gt;
Sandbox Subject uses a dedicated [[Schema:Sandbox|Sandbox]] schema, so editing it here won&#039;t affect any other Subject in the demo wiki.&lt;br /&gt;
&lt;br /&gt;
{{#invoke:SubjectRow|render|s1demo9aaaaaaa1|s1demo9aaaaaaa1@SandboxCompact|s1demo9aaaaaaa1@SandboxDetail}}&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=RDF_and_ontology_mappings&amp;diff=109</id>
		<title>RDF and ontology mappings</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=RDF_and_ontology_mappings&amp;diff=109"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Every NeoWiki page&#039;s Subjects are available as &#039;&#039;&#039;RDF&#039;&#039;&#039;. The same data is offered in two ways:&lt;br /&gt;
&lt;br /&gt;
* A &#039;&#039;&#039;native projection&#039;&#039;&#039; in NeoWiki&#039;s own vocabulary. Lossless, always available, no setup.&lt;br /&gt;
* &#039;&#039;&#039;Ontology projections&#039;&#039;&#039; that re-express the data in an established vocabulary such as the [https://pro.europeana.eu/page/edm-documentation Europeana Data Model] (EDM). Each one is defined by a &#039;&#039;&#039;Mapping&#039;&#039;&#039; page.&lt;br /&gt;
&lt;br /&gt;
Each export is produced on demand from the page&#039;s current data and downloads as a Turtle or TriG file. A projection can also be kept in a SPARQL store and queried live. {{#ifexist:SPARQL queries|This wiki has such a store: see [[SPARQL queries]].}} {{#ifexist:EDM queries|The store holds the native and the EDM projection side by side, so a query can join across both — see [[EDM queries]].}}&lt;br /&gt;
&lt;br /&gt;
== The Mapping page ==&lt;br /&gt;
&lt;br /&gt;
Each Mapping page targets one ontology, named by the page title, and holds an entry for every mapped Schema. [[Special:Mappings]] lists them all; this wiki ships two:&lt;br /&gt;
&lt;br /&gt;
* [[Mapping:EDM]]: the Person, City, Place, Artwork and Artist Schemas mapped to EDM; the Birth Schema, deliberately given no EDM class, instead contributes flat triples to the people it points at&lt;br /&gt;
* [[Mapping:CIDOC-CRM]]: the same Schemas mapped to [http://www.cidoc-crm.org/ CIDOC CRM], which routes birth and production through event nodes that NeoWiki&#039;s data does not hold and the Mapping synthesizes&lt;br /&gt;
&lt;br /&gt;
== Explore the projections ==&lt;br /&gt;
&lt;br /&gt;
Follow these in order; each link downloads the projection so you can read it.&lt;br /&gt;
&lt;br /&gt;
You don&#039;t need these links to reach an export: on any subject page, the Data tab offers per-projection downloads (Turtle or TriG) and a copy-IRI control, and the sidebar has a View RDF link.&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Pablo Picasso&#039;&#039;&#039;, [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Pablo Picasso}}/rdf native] vs [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Pablo Picasso}}/rdf?projection=EDM EDM]: the native file has everything, including the two-layer &amp;lt;code&amp;gt;Birth place&amp;lt;/code&amp;gt; relation and the page metadata; the EDM file is an &amp;lt;code&amp;gt;edm:Agent&amp;lt;/code&amp;gt; carrying only the mapped vocabulary, with the unmapped &amp;lt;code&amp;gt;Source&amp;lt;/code&amp;gt; absent.&lt;br /&gt;
# &#039;&#039;&#039;Málaga&#039;&#039;&#039;, [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Málaga}}/rdf?projection=EDM EDM]: an &amp;lt;code&amp;gt;edm:Place&amp;lt;/code&amp;gt; with the very same entity IRI that Picasso&#039;s &amp;lt;code&amp;gt;rdaGr2:placeOfBirth&amp;lt;/code&amp;gt; points at, because sibling projections share entity IRIs.&lt;br /&gt;
# &#039;&#039;&#039;The Milkmaid&#039;&#039;&#039;, [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:The Milkmaid}}/rdf?projection=EDM EDM]: an &amp;lt;code&amp;gt;edm:ProvidedCHO&amp;lt;/code&amp;gt; whose &amp;lt;code&amp;gt;dc:creator&amp;lt;/code&amp;gt; is the IRI of [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Johannes Vermeer}}/rdf?projection=EDM Vermeer] (an &amp;lt;code&amp;gt;edm:Agent&amp;lt;/code&amp;gt;) and whose &amp;lt;code&amp;gt;edm:currentLocation&amp;lt;/code&amp;gt; is the Rijksmuseum.&lt;br /&gt;
# &#039;&#039;&#039;Johann Sebastian Bach&#039;&#039;&#039;, [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Johann Sebastian Bach}}/rdf?projection=EDM EDM]: Bach&#039;s birth is modelled as its own [[Birth of Johann Sebastian Bach|Birth Subject]] instead of flat fields. The EDM Mapping collapses it back to flat &amp;lt;code&amp;gt;rdaGr2:dateOfBirth&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;rdaGr2:placeOfBirth&amp;lt;/code&amp;gt;, but the [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Birth of Johann Sebastian Bach}}/rdf?projection=EDM Birth page] emits those triples, so this page&#039;s export does not show them — a store or bulk dump holding both graphs does.&lt;br /&gt;
# &#039;&#039;&#039;Pablo Picasso&#039;&#039;&#039;, [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:Pablo Picasso}}/rdf?projection=CIDOC-CRM CIDOC CRM]: the same flat birth fields go the other way. CIDOC routes birth through an &amp;lt;code&amp;gt;E67_Birth&amp;lt;/code&amp;gt; event and an &amp;lt;code&amp;gt;E52_Time-Span&amp;lt;/code&amp;gt;, neither of which exists in the data, so the Mapping synthesizes both and hangs the date and the place off them.&lt;br /&gt;
# &#039;&#039;&#039;ACME Inc&#039;&#039;&#039;, [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/page/{{PAGEID:ACME Inc}}/rdf?projection=EDM EDM]: its Company Schema has no EDM Mapping, so the EDM projection comes back empty. An unmapped Schema is simply left out, so the projection stays conformant.&lt;br /&gt;
&lt;br /&gt;
== Learn more ==&lt;br /&gt;
&lt;br /&gt;
* [https://neowiki.ai/docs/guide/author-an-ontology-mapping How to author an ontology mapping]: write your own Mapping page, step by step&lt;br /&gt;
* [[Special:Mappings]]: every ontology Mapping on this wiki&lt;br /&gt;
* [https://neowiki.ai/docs/api/rdf-export RDF export reference]&lt;br /&gt;
* [https://neowiki.ai/docs/authoring/mapping-format Mapping format reference]&lt;br /&gt;
* [https://neowiki.ai/docs/guide/person-to-edm Person-to-EDM worked example]&lt;br /&gt;
* Tell us what you need from RDF and ontology mapping: [https://github.com/ProfessionalWiki/NeoWiki/discussions/996 join the discussion].&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Museum_collection&amp;diff=108</id>
		<title>Museum collection</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Museum_collection&amp;diff=108"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A demo dataset of European museums, artists, artworks, and exhibitions. This hub shows how NeoWiki connects&lt;br /&gt;
entities across schemas, mirroring the cultural-heritage scenarios ECHOLOT and GLAM partners work with. The&lt;br /&gt;
data is curated for demonstration and is not authoritative.&lt;br /&gt;
&lt;br /&gt;
== Featured museums ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:SubjectRow|render|sEpfwJLnxyQy6vR|sEpfwJLnx3Kze3t}}&lt;br /&gt;
&lt;br /&gt;
== Which museums have the most visitors? ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Museum ?Annual_visitors WHERE { ?m a neo-schema:Museum ; rdfs:label ?Museum ; neo-prop:Annual_visitors ?Annual_visitors } ORDER BY DESC(?Annual_visitors)|linkColumns=Museum}}&lt;br /&gt;
&lt;br /&gt;
== Browse ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Museum ?City ?Founded ?Annual_visitors WHERE { ?m a neo-schema:Museum ; rdfs:label ?Museum ; neo-prop:City ?c . ?c rdfs:label ?City . OPTIONAL { ?m neo-prop:Founded ?Founded } OPTIONAL { ?m neo-prop:Annual_visitors ?Annual_visitors } } ORDER BY ?Museum|linkColumns=Museum, City}}&lt;br /&gt;
&lt;br /&gt;
== Add your own ==&lt;br /&gt;
&lt;br /&gt;
{{#create_subject: schema=Artwork | page=new}}&lt;br /&gt;
&lt;br /&gt;
An artwork&#039;s Creator and Located at fields offer the existing artists and museums as you type.&lt;br /&gt;
&lt;br /&gt;
== How this is built ==&lt;br /&gt;
&lt;br /&gt;
* Schemas: [[Schema:Museum]], [[Schema:Artist]], [[Schema:Artwork]], [[Schema:Exhibition]], [[Schema:Annual attendance]], [[Schema:City]]&lt;br /&gt;
* [[Special:Subject/sEpfwJLnxyQy6vR|The Rijksmuseum on Special:Subject]] shows its attendance figures inside it, and lists the artwork and exhibition held there under Referenced by.&lt;br /&gt;
* See the source of one subject: [{{fullurl:Rijksmuseum|action=edit}} Edit Rijksmuseum]&lt;br /&gt;
* The featured museums are embedded with the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#view}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function. The tables come from SPARQL queries via [[Module:NeoWikiDemo]].&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Validation_Demo&amp;diff=107</id>
		<title>Validation Demo</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Validation_Demo&amp;diff=107"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Every Subject is checked against its Schema as you edit it. Each constraint carries a severity: warnings inform, errors block saving on wikis that enforce validation. This wiki does not, so invalid values are stored, and the editor shows their violations again when reopened.&lt;br /&gt;
&lt;br /&gt;
== Try it ==&lt;br /&gt;
&lt;br /&gt;
Open the Data tab of [[Validation Clean]], choose &#039;&#039;&#039;Edit&#039;&#039;&#039;, and break a value: clear the Title, set the Score to 150, or change a Tags entry to &amp;lt;code&amp;gt;ftp://example.com&amp;lt;/code&amp;gt;. Each violation appears at its field with its severity.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Property !! Constraint !! Severity&lt;br /&gt;
|-&lt;br /&gt;
| Title || required || error&lt;br /&gt;
|-&lt;br /&gt;
| Summary || 10 to 100 characters || warning&lt;br /&gt;
|-&lt;br /&gt;
| Aliases || no duplicate entries || warning&lt;br /&gt;
|-&lt;br /&gt;
| Homepage || required, a valid URL || error&lt;br /&gt;
|-&lt;br /&gt;
| Tags || valid URLs || error, fixed&lt;br /&gt;
|-&lt;br /&gt;
| Score || 0 to 100 || error&lt;br /&gt;
|-&lt;br /&gt;
| Status || required, one of three options || warning&lt;br /&gt;
|-&lt;br /&gt;
| Release date || 2020 to 2030 || warning&lt;br /&gt;
|-&lt;br /&gt;
| Last reviewed || 2020 to 2030, with time || warning&lt;br /&gt;
|-&lt;br /&gt;
| Related product || must point at a Product || error, fixed&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How this is built ==&lt;br /&gt;
&lt;br /&gt;
* [[Schema:Validation Demo]]; the Schema editor sets the severity per constraint.&lt;br /&gt;
* [https://neowiki.ai/docs/api/schema-format#constraint-severity Constraint severity] and [https://neowiki.ai/docs/api/validation-codes Validation codes] in the documentation.&lt;br /&gt;
* [{{SERVER}}{{SCRIPTPATH}}/rest.php/neowiki/v0/schema/Validation_Demo/json-schema This Schema as a JSON Schema document], stating every constraint whatever its severity; [https://neowiki.ai/docs/api/json-schema JSON Schema] in the documentation.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Antwerp&amp;diff=106</id>
		<title>Antwerp</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Antwerp&amp;diff=106"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Antwerp&#039;&#039;&#039; is the largest city in the Flemish Region of Belgium and a major port on the river Scheldt. A leading centre of trade and the arts since the 16th century, its historic centre and harbour have long shaped the city&#039;s wealth and culture.&lt;br /&gt;
&lt;br /&gt;
Antwerp is strongly associated with the painter Peter Paul Rubens, whose house and studio survive as a museum, and holds major collections at the Royal Museum of Fine Arts and the Museum aan de Stroom.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Multilingual_Named_Entity_Recognition_for_Historical_Texts&amp;diff=105</id>
		<title>Multilingual Named Entity Recognition for Historical Texts</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Multilingual_Named_Entity_Recognition_for_Historical_Texts&amp;diff=105"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;&#039;&#039;&#039;Multilingual Named Entity Recognition for Historical Texts&#039;&#039;&#039;&amp;quot; proposes a training and evaluation methodology for NER models that must cope with the spelling variation, code-switching, and non-standard orthography typical of pre-modern European sources. The paper benchmarks several transformer-based architectures against a curated set of historical corpora.&lt;br /&gt;
&lt;br /&gt;
The work underpins the [[Multilingual NER Toolkit]] project, which packages the methodology as reusable models and evaluation harnesses for downstream digital humanities use.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Birth_of_Johann_Ambrosius_Bach&amp;diff=104</id>
		<title>Birth of Johann Ambrosius Bach</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Birth_of_Johann_Ambrosius_Bach&amp;diff=104"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Lessons_from_a_Year_of_MARC_to_RDF_Migration&amp;diff=103</id>
		<title>Lessons from a Year of MARC to RDF Migration</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Lessons_from_a_Year_of_MARC_to_RDF_Migration&amp;diff=103"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;&#039;&#039;&#039;Lessons from a Year of MARC to RDF Migration&#039;&#039;&#039;&amp;quot; reports on a twelve-month programme converting a sizeable MARC21 catalogue into RDF. The paper documents recurring data-quality issues, the trade-offs between faithful preservation and cleanup, and the workflow choices that proved durable.&lt;br /&gt;
&lt;br /&gt;
The findings inform the [[European Literary Bibliography]] project by setting out reusable patterns for migrating legacy bibliographic records into linked open data.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Johannes_Vermeer&amp;diff=102</id>
		<title>Johannes Vermeer</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Johannes_Vermeer&amp;diff=102"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Johannes Vermeer&#039;&#039;&#039; was a Dutch Baroque painter who specialized in domestic interior scenes of middle-class life. A moderately successful provincial genre painter in his lifetime, he produced relatively few paintings and was not wealthy, leaving his wife and children in debt at his death.&lt;br /&gt;
&lt;br /&gt;
Vermeer worked slowly and carefully, often with expensive pigments. He is renowned for his masterly use of light, evident in canvases such as &amp;quot;Girl with a Pearl Earring&amp;quot; and &amp;quot;[[The Milkmaid]]&amp;quot;.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Paris&amp;diff=101</id>
		<title>Paris</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Paris&amp;diff=101"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Paris&#039;&#039;&#039; is the capital and largest city of France, on the river Seine in the country&#039;s north. It has been a major European centre of finance, diplomacy, fashion, and the arts for centuries.&lt;br /&gt;
&lt;br /&gt;
The city is celebrated for landmarks such as the Eiffel Tower, Notre-Dame, and the Louvre, and hosts world-leading art collections at the [[Musée d&#039;Orsay]], the Centre Pompidou, and other institutions.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Kunsthistorisches_Museum&amp;diff=100</id>
		<title>Kunsthistorisches Museum</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Kunsthistorisches_Museum&amp;diff=100"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Kunsthistorisches Museum&#039;&#039;&#039; is an art museum in [[Vienna]], Austria, housed in a grand Ringstrasse palace opened in 1891 to display the imperial Habsburg collections. Its facade and domed interior rank among the major examples of late nineteenth-century historicist architecture.&lt;br /&gt;
&lt;br /&gt;
Its holdings span Egyptian and Near Eastern antiquities, Greek and Roman art, and an exceptional picture gallery with works by Bruegel, [[Johannes Vermeer|Vermeer]], [[Diego Velázquez|Velázquez]], Titian, and Raphael, including the world&#039;s largest Bruegel collection.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Validation_Clean&amp;diff=99</id>
		<title>Validation Clean</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Validation_Clean&amp;diff=99"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A demo Subject with every property of the [[Schema:Validation Demo|Validation Demo]] schema filled in correctly. The starting point for the recipes on the [[Validation Demo]] hub page.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Impressionist_Masters&amp;diff=98</id>
		<title>Impressionist Masters</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Impressionist_Masters&amp;diff=98"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Impressionist Masters&#039;&#039;&#039; is a special exhibition at the [[Musée d&#039;Orsay]] tracing the development of light and colour in French Impressionism. Drawing on the museum&#039;s deep holdings of late 19th-century painting, it charts the movement&#039;s break with academic conventions.&lt;br /&gt;
&lt;br /&gt;
Featured artists include [[Claude Monet]] and [[Vincent van Gogh]], shown alongside their contemporaries to track how Impressionist techniques were absorbed and reinterpreted in the decades that followed.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Weimar&amp;diff=97</id>
		<title>Weimar</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Weimar&amp;diff=97"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=CSIC_Madrid&amp;diff=96</id>
		<title>CSIC Madrid</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=CSIC_Madrid&amp;diff=96"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Spanish National Research Council, known by its Spanish acronym CSIC, is the largest public research institution in Spain. Founded in 1939 and headquartered in [[Madrid]], it spans the natural sciences, social sciences, and humanities across a network of institutes.&lt;br /&gt;
&lt;br /&gt;
In the demo&#039;s research graph, &#039;&#039;&#039;CSIC Madrid&#039;&#039;&#039; hosts work on entity reconciliation and named-entity recognition. Affiliated authors contribute to projects on cultural heritage linked data.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Wilhelm_Friedemann_Bach&amp;diff=95</id>
		<title>Wilhelm Friedemann Bach</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Wilhelm_Friedemann_Bach&amp;diff=95"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Wilhelm Friedemann Bach&#039;&#039;&#039; was a German composer and organist, the eldest surviving son of [[Johann Sebastian Bach]] and [[Maria Barbara Bach]]. He was born in [[Weimar]] in 1710.&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|personEvents}}&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Maria_Barbara_Bach&amp;diff=94</id>
		<title>Maria Barbara Bach</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Maria_Barbara_Bach&amp;diff=94"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#invoke:NeoWikiDemo|personEvents}}&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Acme_Anvil&amp;diff=93</id>
		<title>Acme Anvil</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Acme_Anvil&amp;diff=93"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Acme Anvil&#039;&#039;&#039; is the company&#039;s flagship product and the original entry in the [[ACME Inc|ACME]] catalogue. Available since 2006, it set the design standards that later product lines built on.&lt;br /&gt;
&lt;br /&gt;
The Anvil remains the highest-volume item in ACME&#039;s range. The [[ACME Engineering|engineering team]] at the [[ACME Amsterdam HQ|Amsterdam headquarters]] develops and supports it.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=OEAW_Vienna&amp;diff=92</id>
		<title>OEAW Vienna</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=OEAW_Vienna&amp;diff=92"/>
		<updated>2026-11-24T15:53:20Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Austrian Academy of Sciences, known by its German acronym OEAW, is the largest non-university research institution in Austria. Founded in 1847 and based in [[Vienna]], it covers the humanities, social sciences, natural sciences, and technical sciences.&lt;br /&gt;
&lt;br /&gt;
In the demo&#039;s research graph, &#039;&#039;&#039;OEAW Vienna&#039;&#039;&#039; leads the [[Heritage Linked Data]] programme and is the affiliation of authors working on provenance modelling, federated graph queries, and GLAM knowledge graphs.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Acme_Rocket&amp;diff=91</id>
		<title>Acme Rocket</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Acme_Rocket&amp;diff=91"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Acme Rocket&#039;&#039;&#039; is [[ACME Inc|ACME]]&#039;s mid-catalogue product, launched in 2010 as the company&#039;s first move beyond the [[Acme Anvil|Anvil]] line. Its release prompted the opening of the [[ACME Vienna Office|Vienna office]] to support central European customers.&lt;br /&gt;
&lt;br /&gt;
The Rocket is a more dynamic counterpart to the Anvil and is maintained by the same [[ACME Engineering|engineering team]] in [[Amsterdam]].&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Sandbox_Subject&amp;diff=90</id>
		<title>Sandbox Subject</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Sandbox_Subject&amp;diff=90"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Sandbox Subject&#039;&#039;&#039; is a Subject used by the [[Subject views]] page. It uses the dedicated [[Schema:Sandbox|Sandbox]] schema, so edits made here don&#039;t affect any other Subject in the demo wiki.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Vienna&amp;diff=89</id>
		<title>Vienna</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Vienna&amp;diff=89"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Vienna&#039;&#039;&#039; is the capital and largest city of Austria, on the Danube in the country&#039;s east. As the long-time seat of the Habsburg court, it shaped centuries of European politics, music, and architecture.&lt;br /&gt;
&lt;br /&gt;
The city remains a leading centre for classical music and the visual arts, with major institutions including the [[Kunsthistorisches Museum]], the Belvedere, the Albertina, and the Austrian Academy of Sciences.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Birth_of_Carl_Philipp_Emanuel_Bach&amp;diff=88</id>
		<title>Birth of Carl Philipp Emanuel Bach</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Birth_of_Carl_Philipp_Emanuel_Bach&amp;diff=88"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Claude_Monet&amp;diff=87</id>
		<title>Claude Monet</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Claude_Monet&amp;diff=87"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claude Monet&#039;&#039;&#039; was a French painter and founder of Impressionist painting. He is seen as a key precursor to Modernism, especially in his later series of [[Water Lilies|water lilies]], haystacks, and Rouen Cathedral.&lt;br /&gt;
&lt;br /&gt;
Monet&#039;s ambition to document the French countryside led him to paint the same scene many times to capture shifts in light and season.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Linked_Bibliography_Mappings_for_European_Archives&amp;diff=86</id>
		<title>Linked Bibliography Mappings for European Archives</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Linked_Bibliography_Mappings_for_European_Archives&amp;diff=86"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;&#039;&#039;&#039;Linked Bibliography Mappings for European Archives&#039;&#039;&#039;&amp;quot; presents a CIDOC CRM mapping framework for archival bibliographic records, drawing on case studies from three European national archives. The paper documents the property-level transformations needed to align MARC21 source data with a CRM-compliant graph projection.&lt;br /&gt;
&lt;br /&gt;
The work informs the [[European Literary Bibliography]] project by providing a reusable mapping methodology for migrating heterogeneous bibliographic descriptions into linked open data.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=European_Literary_Bibliography&amp;diff=85</id>
		<title>European Literary Bibliography</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=European_Literary_Bibliography&amp;diff=85"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;European Literary Bibliography&#039;&#039;&#039; harmonises MARC21 bibliographic records across European literary archives into linked open data. Started in 2021, it builds shared mappings that let records held in different national archives be queried and cross-referenced as a single graph.&lt;br /&gt;
&lt;br /&gt;
The project is led by [[KNAW Amsterdam]] and brings together collaborators working on bibliographic ontologies, multilingual cataloguing, and migration tooling for legacy library formats.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=ACME_Inc&amp;diff=84</id>
		<title>ACME Inc</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=ACME_Inc&amp;diff=84"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A fictional company that demonstrates NeoWiki&#039;s structured-data features in a corporate knowledge-base scenario: departments, offices, products, and the relations between them. &#039;&#039;&#039;ACME Inc&#039;&#039;&#039; is the Main Subject of this page. Each related entity has its own page, linked through the relations shown in the infobox above.&lt;br /&gt;
&lt;br /&gt;
== Which departments are largest by headcount? ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Department ?Headcount WHERE { ?d a neo-schema:Department ; rdfs:label ?Department . OPTIONAL { ?d neo-prop:Headcount ?Headcount } } ORDER BY DESC(?Headcount)|linkColumns=Department}}&lt;br /&gt;
&lt;br /&gt;
== Browse ==&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|query|SELECT DISTINCT ?Subject ?Type WHERE { VALUES ( ?schema ?Type ) { ( neo-schema:Department &amp;quot;Department&amp;quot; ) ( neo-schema:Office &amp;quot;Office&amp;quot; ) ( neo-schema:Product &amp;quot;Product&amp;quot; ) } ?s a ?schema ; rdfs:label ?Subject } ORDER BY ?Type ?Subject|linkColumns=Subject}}&lt;br /&gt;
&lt;br /&gt;
== Add your own ==&lt;br /&gt;
&lt;br /&gt;
{{#create_subject: schema=Product | page=new}}&lt;br /&gt;
&lt;br /&gt;
== How this is built ==&lt;br /&gt;
&lt;br /&gt;
* Schemas: [[Schema:Company]], [[Schema:Department]], [[Schema:Office]], [[Schema:Product]], [[Schema:Employee]]&lt;br /&gt;
* Layout: [[Layout:CompanyOverview]]&lt;br /&gt;
* See the source of this page: [{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]&lt;br /&gt;
* The infobox renders automatically from the Main Subject. The tables come from SPARQL queries via [[Module:NeoWikiDemo]].&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Alcal%C3%A1_de_Henares&amp;diff=83</id>
		<title>Alcalá de Henares</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Alcal%C3%A1_de_Henares&amp;diff=83"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Alcalá de Henares&#039;&#039;&#039; is a historic city in the Community of Madrid, Spain, on the river Henares. Its university and historic precinct were inscribed as a UNESCO World Heritage Site in 1998, recognised as one of the world&#039;s first planned university cities.&lt;br /&gt;
&lt;br /&gt;
The city is the birthplace of Miguel de Cervantes, author of Don Quixote, and preserves a strong literary and academic heritage centred on the historic University of Alcalá.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Pablo_Picasso&amp;diff=82</id>
		<title>Pablo Picasso</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Pablo_Picasso&amp;diff=82"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Pablo Picasso&#039;&#039;&#039; (1881–1973) was a Spanish painter, sculptor, and printmaker who co-founded the Cubist movement. He was born in [[Málaga]] and spent most of his working life in France.&lt;br /&gt;
&lt;br /&gt;
NeoWiki exports this page&#039;s structured data through the [[Mapping:EDM|EDM]] and [[Mapping:CIDOC-CRM|CIDOC CRM]] mappings. In EDM, his birth date and place stay properties of the agent. The CIDOC CRM mapping creates an E67 Birth in Málaga, with the date on an E52 Time-Span. You can download both exports from the [[RDF and ontology mappings]] page.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Bilbao&amp;diff=81</id>
		<title>Bilbao</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Bilbao&amp;diff=81"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Bilbao&#039;&#039;&#039; is the largest city of the Basque Country in northern Spain, set on the estuary of the river Nervión. Once an industrial and shipbuilding hub, it has reinvented itself as a centre for culture, services, and tourism.&lt;br /&gt;
&lt;br /&gt;
The city is best known for the Guggenheim Museum Bilbao, whose 1997 opening sparked the urban renewal often called the &amp;quot;Bilbao effect&amp;quot;, alongside the long-established Bilbao Fine Arts Museum.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Eva_Lindqvist&amp;diff=80</id>
		<title>Eva Lindqvist</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Eva_Lindqvist&amp;diff=80"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Eva Lindqvist&#039;&#039;&#039; is a computational philologist focused on multilingual literary corpora. Her work combines digital text analysis with traditional philological methods to study cross-language patterns in European literature.&lt;br /&gt;
&lt;br /&gt;
She is affiliated with [[KNAW Amsterdam]] and contributes to the [[European Literary Bibliography]] project, where she has worked on migrating MARC21 records into linked open data.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Marcus_Rendl&amp;diff=79</id>
		<title>Marcus Rendl</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Marcus_Rendl&amp;diff=79"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Marcus Rendl&#039;&#039;&#039; is a historian specialising in linked open data for cultural heritage collections. His research examines how RDF-based knowledge graphs can preserve scholarly nuance while making collection data interoperable across institutions.&lt;br /&gt;
&lt;br /&gt;
He is based at [[OEAW Vienna]] and has contributed to publications on [[Wikibase Backends for GLAM Knowledge Graphs|Wikibase backends]] and on [[Reconciling Author Identifiers Across Cultural Heritage Datasets|author identifier reconciliation]] in the [[Heritage Linked Data]] programme.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Museo_del_Prado&amp;diff=78</id>
		<title>Museo del Prado</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Museo_del_Prado&amp;diff=78"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Museo del Prado&#039;&#039;&#039; is the main Spanish national art museum, in central [[Madrid]]. Opened to the public in 1819, it grew out of the Spanish royal collections and now holds one of the world&#039;s finest gatherings of European art from the twelfth to the early twentieth century.&lt;br /&gt;
&lt;br /&gt;
The collection is particularly strong in Spanish painting, with definitive holdings of [[Diego Velázquez|Velázquez]], Goya, and El Greco, alongside major works by Bosch, Titian, Rubens, and Dürer from centuries of Habsburg and Bourbon patronage.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Anna_Magdalena_Bach&amp;diff=77</id>
		<title>Anna Magdalena Bach</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Anna_Magdalena_Bach&amp;diff=77"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#invoke:NeoWikiDemo|personEvents}}&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Heritage_Linked_Data&amp;diff=76</id>
		<title>Heritage Linked Data</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Heritage_Linked_Data&amp;diff=76"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Heritage Linked Data&#039;&#039;&#039; is a research programme connecting European cultural heritage datasets through CIDOC CRM mappings. Started in 2019, it focuses on practical strategies for aligning heterogeneous collection records around a shared semantic backbone.&lt;br /&gt;
&lt;br /&gt;
Led by [[OEAW Vienna]], the programme produces methodological guidance and technical tooling, including work on provenance modelling, identifier reconciliation, and Wikibase-based knowledge graphs.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Birth_of_Wilhelm_Friedemann_Bach&amp;diff=75</id>
		<title>Birth of Wilhelm Friedemann Bach</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Birth_of_Wilhelm_Friedemann_Bach&amp;diff=75"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Rijksmuseum&amp;diff=74</id>
		<title>Rijksmuseum</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Rijksmuseum&amp;diff=74"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Rijksmuseum&#039;&#039;&#039; is the Dutch national museum of arts and history, in [[Amsterdam]]. Founded in 1800 in The Hague and moved to Amsterdam in 1808, it has occupied its Pierre Cuypers-designed building since 1885.&lt;br /&gt;
&lt;br /&gt;
The museum holds around one million objects from 1200 to 2000, including masterpieces by Rembrandt, [[Johannes Vermeer|Vermeer]], and Frans Hals. It is best known for &amp;quot;The Night Watch&amp;quot; and a comprehensive survey of Dutch Golden Age painting.&lt;br /&gt;
&lt;br /&gt;
== Annual attendance ==&lt;br /&gt;
&lt;br /&gt;
Yearly attendance, stored on this page as [[Schema:Annual attendance|Annual attendance]] Subjects. They are [https://neowiki.ai/docs/glossary#dependent-subject Dependent Subjects] of the museum: they show inside it on its [{{fullurl:{{FULLPAGENAME}}|action=subjects}} Data tab] and on [[Special:Subject/sEpfwJLnxyQy6vR|Special:Subject]], and you edit them with the museum.&lt;br /&gt;
&lt;br /&gt;
{{#invoke:NeoWikiDemo|subjectTable|schema=Annual attendance|columns=Year, Visitors|sortBy=Year|numberColumns=Visitors}}&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.ijs.si/w/index.php?title=Gustav_Klimt&amp;diff=73</id>
		<title>Gustav Klimt</title>
		<link rel="alternate" type="text/html" href="https://neowiki.ijs.si/w/index.php?title=Gustav_Klimt&amp;diff=73"/>
		<updated>2026-11-24T15:53:19Z</updated>

		<summary type="html">&lt;p&gt;NeoWiki: Importing NeoWiki demo data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Gustav Klimt&#039;&#039;&#039; was an Austrian Symbolist painter and one of the most prominent members of the [[Vienna]] Secession movement. His primary subject was the female body, and his work is marked by frank eroticism and an ornamental, often gilded surface treatment drawn from Byzantine mosaics.&lt;br /&gt;
&lt;br /&gt;
His &amp;quot;Golden Phase&amp;quot; produced his most celebrated works, including &amp;quot;[[The Kiss]]&amp;quot; and &amp;quot;Portrait of Adele Bloch-Bauer I&amp;quot;. Both combine richly patterned decoration with naturalistic figures and have become enduring icons of early twentieth-century art.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
</feed>