This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hotdog_years = ["2011", "2010", "2009"] | |
hotdog_data = [{"Team":"Boston Red Sox","TeamID":"redsox","2011":4.5,"2010":4.5,"2009":4.5}, | |
{"Team":"New York Yankees","TeamID":"yankees","2011":3,"2010":3,"2009":3}, | |
{"Team":"Chicago Cubs","TeamID":"cubs","2011":4.5,"2010":4.25,"2009":3}, | |
{"Team":"Chicago White Sox","TeamID":"whitesox","2011":3.5,"2010":3.25,"2009":3.25}, | |
{"Team":"New York Mets","TeamID":"mets","2011":5,"2010":5,"2009":4.75}, | |
{"Team":"Philadelphia Phillies","TeamID":"phillies","2011":3.75,"2010":3.75,"2009":3.75}, | |
{"Team":"Los Angeles Dodgers","TeamID":"dodgers","2011":5,"2010":5,"2009":5}, | |
{"Team":"St. Louis Cardinals","TeamID":"cardinals","2011":4.25,"2010":4,"2009":4}, | |
{"Team":"Houston Astros","TeamID":"astros","2011":4.75,"2010":4.75,"2009":4.75}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
See RDFAlchemy-dev list discussion: | |
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/rdfalchemy-dev/D1AyXQwmOuw | |
""" | |
from rdfalchemy import rdfSingle, rdfSubject | |
from rdfalchemy.sparql import SPARQLGraph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prefix | publisher | journals | dois | |
---|---|---|---|---|
10.12679 | 0 | 0 | ||
10.7579 | 123Doc Education | 0 | 0 | |
10.3731 | 21st Century COE Program (Toplogical Science and Technology) | 1 | 40 | |
10.5775 | A. I. Rosu Cultural Scientific Foundation Fundatia cultural-stiintifica A. I. Rosu | 1 | 80 | |
10.4037 | AACN Publishing | 2 | 766 | |
10.1306 | AAPG/Datapages | 4 | 21817 | |
10.3183 | AB Svensk Papperstidning | 1 | 1550 | |
10.5769 | ABEAT - Associacao Brasileira de Especialistas em Alta Tecnologia | 1 | 57 | |
10.7597 | ACOPIOS - Revista Iberica de Mineralogia | 1 | 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$auth_url = "http://search.isiknowledge.com/esti/wokmws/ws/WOKMWSAuthenticate?wsdl"; | |
$auth_client = @new SoapClient($auth_url); | |
$auth_response = $auth_client->authenticate(); | |
$search_url = "http://search.isiknowledge.com/esti/wokmws/ws/WokSearchLite?wsdl"; | |
$search_client = @new SoapClient($search_url); | |
$search_client->__setCookie('SID',$auth_response->return); | |
$search_array = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io | |
import sys | |
from nbformat import read, write | |
# Handle either stdin or a filename | |
if __name__ == '__main__': | |
for filename in sys.argv[1:]: | |
print(filename, file=sys.stderr) |