Project:Profile types

From MaRDI portal

On the MaRDI portal, the property MaRDI profile type (P1460) and 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:

Full list available at: [MaRDI profiles]
Profile type Template Example
MaRDI person profile (Q5976445) Template:Person Michael Joswig
MaRDI publication profile (Q5976449) Template:Publication Real Tropical Hyperfaces by Patchworking in polymake
MaRDI software profile (Q5976450) Template:Software coffee
MaRDI formula profile (Q5981696) Template:Formula Definition: Binomial Coefficients
MaRDI dataset profile (Q5984635) Template:Dataset Precipitation dataset
MaRDI community profile (Q6205095) Template:Community Math+ Community
MaRDI algorithm profile (Q6503323) Template:Algorithm Peter-Clark algorithm
MaRDI service profile (Q6503324) Template:Service MaRDI Portal
MaRDI theorem profile (Q6534201) Template:Theorem Metric spaces are paracompact
MaRDI workflow profile (Q6534216) Template:Workflow Logical Data Analysis for Egyptian Objects
MaRDI research field profile (Q6534268) Template:Research_Field -
MaRDI research problem profile (Q6534269) Template:Research_Problem -
MaRDI model profile (Q6534270) Template:Model -
MaRDI quantity profile (Q6534271) Template:Quantity -
MaRDI task profile (Q6534272) Template:Task -


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 template (Tim)
  2. Create profile item (Eloi / Daniel)
  3. Add namespace
  4. Adjust config in LocalSettings
    $wgMathProfileQIdMap['namespace']='profileItem';
    // examples
    $wgMathProfileQIdMap['person']='Q5976445';
    $wgMathProfileQIdMap['software']='Q5976450';
    
  5. Add SPARQL query if necessary, also in LocalSettings
    $wgMathProfileQueries['namespace']='query';
    // example
    $wgMathProfileQueries['dataset']='?item wdt:P1460 wd:Q5984635';
    
  6. 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 <namespace>
    

To do

Create new profile types

Modify existing profile types

  • dataset
    • Add a URL pointing to the dataset

Improve documentation

This refers to the profile-specific templates and modules as well as to help pages.

  • All profile types