%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://djpowell.net/tmp/sparql-tag/0.1/" prefix="sparql" %>
<%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %>
<%@ page import="java.net.URLDecoder" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess"%>
<% request.setAttribute("jenaOntModel", ModelAccess.on(getServletContext()).getOntModel()); %>
Linkage Information
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT (count(?author) as ?counts) WHERE {
?author rdf:type core:Authorship .
?author core:relates ?infor .
?infor rdf:type obo:IAO_0000030 .
}
- 'Person'-'InformationResource' linkages (${inforauthorship.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX foaf:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT (count(distinct ?author) as ?counts) WHERE {
?author core:relatedBy ?obj .
?author rdf:type foaf:Person .
?obj rdf:type core:Authorship .
?obj core:relates ?infor .
?infor rdf:type obo:IAO_0000030 .
}
- 'Person' entities which published 'InformationResource' entities (${inforauthor.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT (count(distinct ?infor) as ?counts) WHERE {
?subj core:relates ?infor .
?infor rdf:type obo:IAO_0000030 .
}
- 'InformationResource' entities (${infor.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(?author) as ?counts) WHERE {
?author rdf:type core:Authorship .
?author core:relates ?infor .
?infor rdf:type core:ConferencePaper .
}
- 'Person'-'ConferencePaper' linkages (${confauthorship.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX foaf:
PREFIX bibo:
PREFIX core:
SELECT (count(distinct ?author) as ?counts) WHERE {
?author core:relatedBy ?obj .
?author rdf:type foaf:Person .
?obj rdf:type core:Authorship .
?obj core:relates ?infor .
?infor rdf:type core:ConferencePaper .
}
- 'Person' entities which published 'ConferencePaper' entities (${confauthor.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(distinct ?infor) as ?counts) WHERE {
?subj core:relates ?infor .
?infor rdf:type core:ConferencePaper .
}
- 'ConferencePaper' entities (${conf.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(?author) as ?counts) WHERE {
?author rdf:type core:Authorship .
?author core:relates ?infor .
?infor rdf:type bibo:AcademicArticle .
}
- 'Person'-'AcademicArticle' linkages (${acaauthorship.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX foaf:
PREFIX bibo:
PREFIX core:
SELECT (count(distinct ?author) as ?counts) WHERE {
?author core:relatedBy ?obj .
?author rdf:type foaf:Person .
?obj rdf:type core:Authorship .
?obj core:relates ?infor .
?infor rdf:type bibo:AcademicArticle .
}
- 'Person' entities which published 'AcademicArticle' entities (${acaauthor.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(distinct ?infor) as ?counts) WHERE {
?subj core:relates ?infor .
?infor rdf:type bibo:AcademicArticle .
}
- 'AcademicArticle' entities (${aca.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(*) as ?counts) WHERE {
?grant core:relates ?pi .
?grant rdf:type core:Grant .
?pi rdf:type core:InvestigatorRole .
}
- 'Person'-'Grant' linkages (${piship.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(distinct ?pi) as ?counts) WHERE {
?grant core:relates ?pi .
?grant rdf:type core:Grant .
?pi rdf:type core:InvestigatorRole .
}
- 'Person' entities which are (co-)investigators on 'Grant' entities (${pi.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(distinct ?grant) as ?counts) WHERE {
?grant rdf:type core:Grant .
}
- 'Grant' entities (${grant.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT (count(*) as ?counts) WHERE {
?teacher obo:RO_0000053 ?obj .
?obj rdf:type core:teacherRole .
}
- 'Person'-'CourseSection' linkages (${teaching.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT (count(distinct ?teacher) as ?counts) WHERE {
?teacher core:teaching ?obj .
?teacher obo:RO_0000053 ?obj .
?obj rdf:type core:teacherRole .
}
- 'Person' entities which teach 'CourseSection' entities (${teacher.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(?course) as ?counts) WHERE {
?course rdf:type core:Course .
}
- 'Course' entities (${course.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT (count(*) as ?counts) WHERE {
?author1 rdf:type core:Authorship .
?author2 rdf:type core:Authorship .
?author1 core:relates ?infor .
?author2 core:relates ?infor .
?infor rdf:type obo:IAO_0000030 .
FILTER (str(?author1) < str(?author2))
}
- Total co-author linkages (${coauthor.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
PREFIX obo:
SELECT DISTINCT ?author1 ?author2 WHERE {
?author1 rdf:type core:Authorship .
?author2 rdf:type core:Authorship .
?author1 core:relates ?infor .
?author2 core:relates ?infor .
?infor rdf:type obo:IAO_0000030 .
FILTER (str(?author1) < str(?author2))
}
- Unique co-author linkages (${fn:length(discoauthors.rows)})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT (count(*) as ?counts) WHERE {
?grant core:relates ?pi1 .
?pi1 rdf:type core:InvestigatorRole .
?grant core:relates ?pi2 .
?pi1 rdf:type core:InvestigatorRole .
FILTER (str(?pi1) < str(?pi2))
}
- Total co-investigator linkages (${copi.counts.string})
PREFIX rdfs:
PREFIX rdf:
PREFIX akt:
PREFIX bibo:
PREFIX core:
SELECT DISTINCT ?pi1 ?pi2 WHERE {
?grant core:relates ?pi1 .
?pi1 rdf:type core:InvestigatorRole .
?grant core:relates ?pi2 .
?pi1 rdf:type core:InvestigatorRole .
FILTER (str(?pi1) < str(?pi2))
}
- Unique co-investigator linkages (${fn:length(discopis.rows)})