Project:Profile types: Difference between revisions

From MaRDI portal
moved over from https://portal.mardi4nfdi.de/w/index.php?title=Project:ProfileTypes&oldid=30977149
Line 8: Line 8:


Individual items in the graph can then be annotated as to which MaRDI profile type they should be combined with, as demoed [https://portal.mardi4nfdi.de/w/index.php?title=Item%3AQ161115&diff=22687061&oldid=6288087 here].
Individual items in the graph can then be annotated as to which MaRDI profile type they should be combined with, as demoed [https://portal.mardi4nfdi.de/w/index.php?title=Item%3AQ161115&diff=22687061&oldid=6288087 here].
== Add a new profile type ==
# Create tempalte (Tim)
# Create profile item (Eloi / Daniel)
# Add [https://github.com/MaRDI4NFDI/portal-compose/blob/main/mediawiki/LocalSettings.d/mardi_namespaces.php namespace]
# Adjust config<syntaxhighlight lang="php">
$wgMathProfileQIdMap['namespace']='profileItem';
// examples
$wgMathProfileQIdMap['person']='Q5976445';
$wgMathProfileQIdMap['software']='Q5976450';
</syntaxhighlight>
# Trigger manual rerun of page creation (for now)
<syntaxhighlight lang="bash">
mardi-test-user@mardi02:~/portal-compose$ docker compose exec -T wikibase /var/www/html/maintenance/run /var/www/html/extensions/MathSearch/maintenance/ProfilePages create naemespace
</syntaxhighlight>


== To do ==
== To do ==

Revision as of 15:36, 14 March 2024

On the MaRDI portal, the property MaRDI profile type (P1460) several flavours of MaRDI profile type (Q5976451) are in use to facilitate exploration of the data contained in the underlying knowledge graph.

These types are:

Individual items in the graph can then be annotated as to which MaRDI profile type they should be combined with, as demoed here.

Add a new profile type

  1. Create tempalte (Tim)
  2. Create profile item (Eloi / Daniel)
  3. Add namespace
  4. Adjust config
    $wgMathProfileQIdMap['namespace']='profileItem';
    // examples
    $wgMathProfileQIdMap['person']='Q5976445';
    $wgMathProfileQIdMap['software']='Q5976450';
    
  5. Trigger manual rerun of page creation (for now)
mardi-test-user@mardi02:~/portal-compose$ docker compose exec -T wikibase /var/www/html/maintenance/run /var/www/html/extensions/MathSearch/maintenance/ProfilePages create naemespace

To do

  • Profile types for
    • journals
    • datasets
    • events
    • theorems
    • conjectures
    • lemmas
    • proofs
    • topics
      • perhaps separately for
        • zbMATH
        • MSC
        • arXiv
  • external knowledge graphs