Skip to content

ufda/jsonld-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

功能1--curl 功能描述 curl指定Accept返回对应格式的内容

启动 node app.js

主要代码url C:\work\task\JSON-LD\code\jsonld-project\app.js (app.get(//T(.+)/)

测试例子

curl  --header "Accept: application/json" -L http:https://localhost:3000/Ttest							//测试json		

curl  --header "Accept: text/html" -L http:https://localhost:3000/Ttest							//测试html		

curl  --header "Accept: application/json" -L http:https://localhost:3000/Ttes							//测试404		

功能2--shacl-validate

• turtle 验证

启动									
	node index.1.js			

浏览器输入									
	http:https://localhost:3000/t								

• jsonld 验证

描述									
	从两个URL中获取shape和data文件并写入到本地进行验证			

启动									
	node index.2.js				

浏览器输入									
	http:https://localhost:3000/t								

功能3--d3.js 直接访问: http:https://localhost:3000/d3_tree.html

About

curl shacl-validate d3.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 85.4%
  • HTML 13.5%
  • CSS 1.1%