Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

?position rdfs:label ?position_label .

}

Find Authors with less than 5 publications

Useful for finding good test cases, for example. This is a Vivo 1.5 example, but could be updated pretty easily.

SELECT ?person
WHERE
{
      ?person vivo:authorInAuthorship ?authorship.
}
GROUP BY ?person
HAVING (COUNT(?authorship) < 5)
LIMIT 1