Semantic Cite

From artserver wiki


Semantic properties

See the Bibliographic Ontology Usecase Examples examples and organized the semantic properties accordingly

The Bibliographic Ontology uses properties from

Property Mapping

Which (relevant) citation parameters are to be mapped to semantic properties is define in MediaWiki:Sci-property-definition.

Search External Metdata Records

Special:FindCitableMetadata can be used to find external publication metadata records based on unique identifiers like DOI.

And it also allows to store that record into the wiki with create function.


template definitions

The page "MediaWiki:Sci-template-definition describes and maps citation resource types to specific templates with a template containing the rules of how identifiers are expected to be formatted and positioned to generate a citation text." [1]

Metadata record

Metadata records can be displayed in page which holds it with parameter |@show=true as in

CR:DOI:76507926d42a1bd9ecfffb7af1f697d5#_SCITEf77db0d74dec94414787f477f346fc8a


Harvard referencing style templates

Semantic Search Citation Resources

via ask

By using the Property:Citation_key we can create a full list of Citation Resources on the wiki

{{#ask: [[Citation_key::+]]
 |?Date
 |?Title
 |?Author
 |?Publisher
 |?Citation text
 |format=broadtable
 |limit=5
 |offset=0
 |link=subject
 |sort=Title
 |order=asc
 |headers=show
 |searchlabel=... further results
 |class=sortable wikitable smwtable
}}


via SPARQL

Query:

PREFIX wiki: <http://oooooooooo.io/index.php/Special:URIResolver/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX swivt: <http://semantic-mediawiki.org/swivt/1.0#>
PREFIX property: <http://oooooooooo.io/index.php/Special:URIResolver/Property-3A>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
SELECT DISTINCT *
WHERE {
		SERVICE <http://sparql.oooooooooo.io/wiki/query>
		{
			?citation_key_page wiki:Property-3ACitation_key ?key .
  			?citation_key_page ?p ?v
		}
}
LIMIT 10

Results:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| citation_key_page                                          | key          | p                                      | v                                                                                                                                                                                                                                       |
================================================================================================================================================================================================================================================================================================================================================================
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | rdf:type                               | swivt:Subject                                                                                                                                                                                                                           |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | swivt:wikiNamespace                    | 0                                                                                                                                                                                                                                       |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | swivt:wikiPageSortKey                  | "Byrne 2008# SCITE96a608527c996f05a01ea34af2efddf8"                                                                                                                                                                                     |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | swivt:masterPage                       | wiki:Byrne_2008                                                                                                                                                                                                                         |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | bibo:title                             | "Web 2.0 strategies in libraries and information services"                                                                                                                                                                              |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | bibo:doi                               | "10.1080/00049670.2008.10722517"                                                                                                                                                                                                        |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | wiki:Property-3ACitation_key           | "Byrne 2008"                                                                                                                                                                                                                            |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | wiki:Property-3ACitation_text          | "Byrne, A.. (2008). ''Web 2.0 strategies in libraries and information services''.\nThe Australian Library Journal , Volume 57 (4), pp.365-376.  doi: [http://dx.doi.org/10.1080/00049670.2008.10722517 10.1080/00049670.2008.10722517]" |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | wiki:Property-3AAuthor                 | <http://oooooooooo.io/index.php/Special:URIResolver/Byrne-2C_A.>                                                                                                                                                                        |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | <http://purl.org/dc/elements/1.1/date> | "2008"^^xsd:gYear                                                                                                                                                                                                                       |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | <http://purl.org/dc/elements/1.1/date> | 2454466.5e0                                                                                                                                                                                                                             |
| wiki:Byrne_2008-23_SCITE96a608527c996f05a01ea34af2efddf8   | "Byrne 2008" | wiki:Property-3AHas_reference_type     | wiki:Journal                                                                                                                                                                                                                            |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | rdf:type                               | swivt:Subject                                                                                                                                                                                                                           |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | swivt:wikiNamespace                    | 0                                                                                                                                                                                                                                       |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | swivt:wikiPageSortKey                  | "Bibliography# SCITE71d8f77edd92ecb2f90fb0a03f822e90"                                                                                                                                                                                   |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | swivt:masterPage                       | wiki:Bibliography                                                                                                                                                                                                                       |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | wiki:Property-3ACreator                | "DuCharme,B"                                                                                                                                                                                                                            |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | bibo:title                             | "Learning SPARQL:Querying and Updating with SPARQL 1.1"                                                                                                                                                                                 |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | wiki:Property-3ACitation_key           | "BDucharm"                                                                                                                                                                                                                              |
| wiki:Bibliography-23_SCITE71d8f77edd92ecb2f90fb0a03f822e90 | "BDucharm"   | wiki:Property-3ACitation_text          | "DuCharme,B. (2016). ''Learning SPARQL:Querying and Updating with SPARQL 1.1''. O'Reilly."                                                                                                                                              |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Questions

  • are the template parameters turn into semantic property:value pairs?
    • it seems to happen with DOI, but not with Title

TODO: Integrate BibTex records

{{#scite:
|@article{Lampa2017,
  doi = {10.1186/s13326-017-0136-y},
  url = {https://doi.org/10.1186/s13326-017-0136-y},
  year = {2017},
  month = sep,
  publisher = {Springer Science and Business Media {LLC}},
  volume = {8},
  number = {1},
  author = {Samuel Lampa and Egon Willighagen and Pekka Kohonen and Ali King and Denny Vrande{\v{c}}i{\'{c}} and Roland Grafstr\"{o}m and Ola Spjuth},
  title = {{RDFIO}: extending Semantic {MediaWiki} for interoperable biomedical data management},
  journal = {Journal of Biomedical Semantics}
}
}}
... more about "Semantic Cite"
Code Notes +
Date"Date" is a type and predefined property provided by Semantic MediaWiki to represent date values.
2020 +