Skip to content

Commit

Permalink
Merge pull request #1 from egonw/patch/patch-venueretractions
Browse files Browse the repository at this point in the history
updates to accommodate for Finn's feedback
  • Loading branch information
fehrhart authored Mar 6, 2020
2 parents e4250d3 + 8a66407 commit ecb9271
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions scholia/app/templates/venue.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
ORDER BY DESC(?year)
LIMIT 500
`
retractionsJournalSparql = `
articlesCitingRetractionsSparql = `
SELECT DISTINCT
?retracted_work ?retracted_workLabel
?date
Expand All @@ -270,10 +270,13 @@
# Find retracted papers indicated by instance of retracted paper,
# by retraction notice property or by significant event
SELECT DISTINCT ?retracted_work WHERE {
{ ?retracted_work wdt:P31 wd:{{ q }} }
# articles marked as "retracted"
{ ?retracted_work wdt:P31 wd:Q45182324 }
UNION
# articles linked to a retraction notice
{ ?retracted_work wdt:P5824 [] }
UNION
# articles with a 'retraction' event
{ ?retracted_work wdt:P793 wd:Q45203135 }
}
} AS %retracted_works
Expand Down Expand Up @@ -303,7 +306,7 @@
sparqlToDataTable(citingVenuesSparql, "#citing-venues");
sparqlToDataTable(mostCitedWorksSparql, "#most-cited-works");
sparqlToDataTable(mostCitedAuthorsSparql, "#most-cited-authors");
sparqlToDataTable(retractionsJournalSparql, "#retractions-of-journal");
sparqlToDataTable(articlesCitingRetractionsSparql, "#articles-citing-retractions");
sparqlToDataTable(genderDistributionSparql, "#gender-distribution");
sparqlToDataTable(authorshipsGenderDistributionSparql,
"#authorships-gender-distribution");
Expand Down Expand Up @@ -394,9 +397,9 @@ <h3 id="Venues cited from">Venues cited from</h3>
<table class="table table-hover" id="citing-venues"></table>


<h2>Retracted articles</h2>
<h2>Articles citing retracted articles</h2>

<table class="table table-hover" id="retractions-of-journal"></table>
<table class="table table-hover" id="articles-citing-retractions"></table>


<h2>Gender distribution</h2>
Expand Down

0 comments on commit ecb9271

Please sign in to comment.