User:Daniel/Sandbox: Difference between revisions

From MaRDI portal
Line 142: Line 142:
Space for test edits.
Space for test edits.


Test
Another test


== Version 1 ==
== Version 1 ==

Revision as of 10:21, 4 December 2023

This page is for test edits and unsorted notes.

NFDI interactions

To Wikidata

Properties

Existing properties
Proposed properties

Items

To Wikipedia

To Wikiversity

To other Wikibase instances

See Links for list.

Non-Wikibase knowledge graphs

Apache Fuseki Jena

Lexeme challenges

  • Numbers (5/n): mathematics (Q395), algebra (Q3968), arithmetic (Q11205), 19 (Q39850), 20 (Q40292), 30 (Q42817), 40 (Q42317)
  • Numbers (4/n): equation (Q11345), square (Q111124), square root (Q134237), 14 (Q38582), 16 (Q40254), 17 (Q40118), 18 (Q38712)
  • Numbers (3/n): multiplication (Q40276), division (Q1226939), 10 (Q23806), 11 (Q37136), 12 (Q36977), 13 (Q37141), 15 (Q38701)
  • Numbers (2/n): addition (Q32043), subtraction (Q40754), 5 (Q203), 6 (Q23488), 7 (Q23350), 8 (Q23355), 9 (Q19108)
  • Numbers (1/n): number (Q11563), numerical digit (Q82990), zero (Q204), 1 (Q199), 2 (Q200), 3 (Q201), 4 (Q202)

Math formulas

Math videos

Math & biology

  • RCC-5 classification
Merging taxonomies under RCC-5 algebraic articulations (Q114740027): "CLEANTAX uses the RCC-5 [Randell et al. 1992] topological algebra as the basis for representing articulations. This algebra describes relationships between sets, and supports the expression of incomplete knowledge when stating articulations. The RCC-5 algebra uses the same five basic relations (B5) as several biological taxonomic alignments and taxonomic reasoning systems [Berendsohn 2003; Koperski et al. 2000; Franz et al. 2007]. Given any two non-empty sets N and M, exactly one of the B5 relations holds (cf. Figure 5) between them: (i) congruence (N ≡ M), (ii) proper inclusion (N # M), (iii) proper inverse inclusion (N ! M), (iv) partial overlap (N ⊕ M), or (v) exclusion (disjointness) (N ! M)."

Math & politics

Interesting papers

Tools

Stats

Wikifarms

Wikifunctions

#365climateedits

Test queries

Stats

{{#sparql:

  1. title:Number of imported zbMATH entries

PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> SELECT (COUNT(*) as ?Triples) WHERE { ?item wdt:P225 ?zblno} }}

Items

{{#sparql:

  1. title: Female zbMATH authors, sorted by number of statements about them

PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> PREFIX wd: <https://portal.mardi4nfdi.de/entity/>

SELECT DISTINCT ?item ?itemLabel ?statements WHERE {

 ?item wdt:P676 ?zbMATH_author ;
       wdt:P592 wd:Q57505 .
 ?item wikibase:statements ?statements .
 ?item ^wdt:P16 [ wdt:P1449 [] ] .
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

} ORDER BY DESC(?statements) LIMIT 20

}}

Test edits

Space for test edits.

Another test

Version 1

{{#sparql:

PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> PREFIX wd: <https://portal.mardi4nfdi.de/entity/>

SELECT

 ?publication_date
 ?work ?workLabel 

WHERE {

  1. ?work wdt:P16 wd: .
 ?work wdt:P16 wd:Q676062  .
 OPTIONAL {
   ?work wdt:P28 ?publication_datetime .
   BIND(xsd:date(?publication_datetime) AS ?publication_date)
 }
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,da,de,es,fr,jp,nl,no,ru,sv,zh". }

} ORDER BY DESC(?publication_date) LIMIT 3 }}

Version 2

{{#sparql:

PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> PREFIX wd: <https://portal.mardi4nfdi.de/entity/>

SELECT

 ?publication_date
 ?html1

WHERE {

  1. ?work wdt:P16 wd: .
 ?work wdt:P16 wd:Q676062  .
 OPTIONAL {
   ?work wdt:P28 ?publication_datetime .
   BIND(xsd:date(?publication_datetime) AS ?publication_date)
 }
 ?work rdfs:label ?label .
 FILTER (LANG(?label) = "en")
 BIND(CONCAT('<a href=\,  xsd:string(?work),'\'>',?label,'</a>') as ?html1)
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,da,de,es,fr,jp,nl,no,ru,sv,zh". }

} ORDER BY DESC(?publication_date) LIMIT 3 }}

Version 3

{{#sparql:


PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> PREFIX wd: <https://portal.mardi4nfdi.de/entity/>

SELECT

 ?publication_date
 ?html
 ?wiki

WHERE {

 ?work wdt:P16 wd:Q676062  .
 OPTIONAL {
   ?work wdt:P28 ?publication_datetime .
   BIND(xsd:date(?publication_datetime) AS ?publication_date)
 }
 ?work rdfs:label ?label .
 FILTER (LANG(?label) = "en")
 BIND(CONCAT('<a href=\,  xsd:string(?work),'\'>',?label,'</a>') as ?html)
 BIND(CONCAT('[',  xsd:string(?work),' ',?label,']') as ?wiki)
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,da,de,es,fr,jp,nl,no,ru,sv,zh". }

} ORDER BY DESC(?publication_date) LIMIT 3 }}