SemanticMarker - Structured Data Markup var cy; $(function(){ // on dom ready cy = cytoscape({ container: document.getElementById('cy'), style: [{"selector":"core","style":{"selection-box-color":"#AAD8FF","selection-box-border-color":"#8BB0D0","selection-box-opacity":"0.5"}},{"selector":"node","style":{"width":"mapData(score, 0, 0, 20, 60)","height":"mapData(score, 0, 0, 20, 60)","content":"data(name)","font-size":"12px","shape":"data(faveshape)","text-valign":"center","text-halign":"center","background-color":"data(col)","text-outline-color":"data(col)","text-outline-width":"2px","color":"#fff","overlay-padding":"6px","z-index":"10"}},{"selector":"node[?attr]","style":{"shape":"rectangle","background-color":"#aaa","text-outline-color":"#aaa","width":"16px","height":"16px","font-size":"6px","z-index":"1"}},{"selector":"node[?query]","style":{"background-clip":"none","background-fit":"contain"}},{"selector":"node:selected","style":{"border-width":"6px","border-color":"#AAD8FF","border-opacity":"0.5","background-color":"#77828C","text-outline-color":"#77828C"}},{"selector":"edge","style":{"curve-style":"haystack","haystack-radius":"0.5","opacity":"0.4","line-color":"#bbb","width":"mapData(weight, 0, 1, 1, 8)","overlay-padding":"3px"}},{"selector":"node.unhighlighted","style":{"opacity":"0.2"}},{"selector":"edge.unhighlighted","style":{"opacity":"0.05"}},{"selector":".highlighted","style":{"z-index":"999999"}},{"selector":"node.highlighted","style":{"border-width":"6px","border-color":"#AAD8FF","border-opacity":"0.5","background-color":"#394855","text-outline-color":"#394855","shadow-blur":"12px","shadow-color":"#000","shadow-opacity":"0.8","shadow-offset-x":"0px","shadow-offset-y":"4px"}},{"selector":"edge.filtered","style":{"opacity":"0"}},{"selector":"edge[group=\"coexp\"]","style":{"line-color":"#d0b7d5"}},{"selector":"edge[group=\"coloc\"]","style":{"line-color":"#fff"}},{"selector":"edge[group=\"gi\"]","style":{"line-color":"#90e190"}},{"selector":"edge[group=\"path\"]","style":{"line-color":"#9bd8de"}},{"selector":"edge[group=\"pi\"]","style":{"line-color":"#eaa2a2"}},{"selector":"edge[group=\"predict\"]","style":{"line-color":"#f6c384"}},{"selector":"edge[group=\"spd\"]","style":{"line-color":"#dad4a2"}},{"selector":"edge[group=\"spd_attr\"]","style":{"line-color":"#D0D0D0"}},{"selector":"edge[group=\"reg\"]","style":{"line-color":"#D0D0D0"}},{"selector":"edge[group=\"reg_attr\"]","style":{"line-color":"#D0D0D0"}},{"selector":"edge[group=\"user\"]","style":{"line-color":"#f0ec86"}}], minZoom: 0.8, elements: [ {"data":{"id":"0","idInt":"0","name":"Schema.org/WebPage","score":2.85714285714E-5,"nb_art":"1","query":true,"gender":"","sector":"0","col":"#CD0541","faveshape":"ellipse","gene":true},"position":{"x":37,"y":339},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":"fn10273 fn6944 fn9471 fn6284"}, ] }); var params = { name: 'cola', nodeSpacing: 3, edgeLengthVal: 2, animate: true, randomize: true, maxSimulationTime: 1500 }; var layout = makeLayout(); var running = false; cy.on('layoutstart', function(){ running = true; }).on('layoutstop', function(){ running = false; }); layout.run(); var $config = $('#config'); var $btnParam = $('<div class="param"></div>'); $config.append( $btnParam ); var sliders = [ { label: '', param: 'edgeLengthVal', min: 1, max: 200 }, { label: '', param: 'nodeSpacing', min: 1, max: 50 } ]; var buttons = [ { label: '<i class="fa fa-random"></i>', layoutOpts: { randomize: true, flow: null } }, { label: '<i class="fa fa-long-arrow-down"></i>', layoutOpts: { flow: { axis: 'y', minSeparation: 30 } } } ]; sliders.forEach( makeSlider ); buttons.forEach( makeButton ); function makeLayout( opts ){ params.randomize = true; params.edgeLength = function(e){ return params.edgeLengthVal / e.data('weight'); }; for( var i in opts ){ params[i] = opts[i]; } return cy.makeLayout( params ); } function makeSlider( opts ){ var $input = $('<input></input>'); var $param = $('<div class="param"></div>'); $param.append('<span class="label label-default">'+ opts.label +'</span>'); $param.append( $input ); $config.append( $param ); var p = $input.slider({ min: opts.min, max: opts.max, value: params[ opts.param ] }).on('slide', _.throttle( function(){ params[ opts.param ] = p.getValue(); layout.stop(); layout = makeLayout(); layout.run(); }, 16 ) ).data('slider'); } function makeButton( opts ){ var $button = $('<button class="btn btn-default">'+ opts.label +'</button>'); $btnParam.append( $button ); $button.on('click', function(){ layout.stop(); if( opts.fn ){ opts.fn(); } layout = makeLayout( opts.layoutOpts ); layout.run(); }); } cy.nodes().forEach(function(n){ var g = n.data('name'); var nb_art = n.data('nb_art'); var sector = n.data('sector'); var gender = n.data('gender'); var connections = n.data('connections'); n.qtip({ content: [ { id: g, sec: sector, gnd: gender, cnx: connections, pres: nb_art , url: 'http://www.genecards.org/cgi-bin/carddisp.pl?gene=' + g } ].map(function( link ){ return '<b>' + link.id + '</b><br />\n> <span class="grey">Type:</span> ' + link.gnd + '<br />\n> <span class="grey">Category:</span> ' + link.sec + '<br />\n' ; }).join('<br />\n'), position: { my: 'top center', at: 'bottom center' }, style: { classes: 'qtip-bootstrap', tip: { width: 16, height: 8 } } }); }); $('#config-toggle').on('click', function(){ $('body').toggleClass('config-closed'); cy.resize(); }); }); // on dom ready $(function() { FastClick.attach( document.body ); }); google.load('visualization', '1.0', {'packages':['corechart','sankey']}); // Chart categories google.setOnLoadCallback(drawBar1); function drawBar1() { var data = new google.visualization.DataTable(); data.addColumn('string', 'Categorie'); data.addColumn('number', 'Nb entites'); data.addColumn({type:'string', role:'style'}); data.addColumn({type:'string', role:'tooltip', 'p': {'html': true}}); data.addRows([ ['Pol', 100, 'opacity: 0.5', '<p> Politics </p>'] ]); // Set chart options var options = { legend: 'none', hAxis: { title: 'Breakdown per entity category', format: 'h:mm a', gridlines: {count: 10} }, vAxis: { title: '% d\'entites' }, chartArea: { left: '10%', top: '15%', width: "80%", height: "55%" }, bar: { groupWidth: '75%' }, isStacked: true, tooltip: { isHtml: true }, // 'width':350, // 'height':300, backgroundColor: '#f1f5f6' }; // Instantiate and draw our chart, passing in some options. var chart = new google.visualization.ColumnChart(document.getElementById('chart_bar1')); google.visualization.events.addListener(chart, 'select', function() { var selectionIdx = chart.getSelection()[0].row; var selectionIdy = chart.getSelection()[0].column; var articleID = data.getValue(selectionIdx, selectionIdy + 2 ); // change 0 to 1 alert('http://panoranews.com/focus/e=' + selectionIdx + '/' + selectionIdy + articleID.replace(' ', '_')); // window.open('http://panoranews.com/focus/' + selectionIdx); }); chart.draw(data, options); } google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('string', 'From'); data.addColumn('string', 'To'); data.addColumn('number', 'Weight'); data.addRows([ ]); // Set chart options var options = { width: 900, sankey: { link: { color: { fill: '#d0d0d0' } }, node: { color: { fill: '#676799' }, label: { color: '#555' } }, } }; // Instantiate and draw our chart, passing in some options. var chart = new google.visualization.Sankey(document.getElementById('sankey_multiple')); chart.draw(data, options); } (function() { function selectText(element) { var doc = document , text = element , range, selection ; if (doc.body.createTextRange) { //ms range = doc.body.createTextRange(); range.moveToElementText(text); range.select(); } else if (window.getSelection) { //all others selection = window.getSelection(); range = doc.createRange(); range.selectNodeContents(text); selection.removeAllRanges(); selection.addRange(range); } } preTags = document.getElementsByTagName('pre'); for(var i=0;i<preTags.length;i++) { preTags[i].onclick = function() {selectText(this)}; } })();

Results

0 Entities | 0 Marked | 0 Connections

| 3 credits left

JSON MARKUP

Use Google Structured Data Testing tool to test this markup

Note : Semantic Markup has been restricted to first entities as you are not logged in.

<script type="application/ld+json">{"@context":"https://schema.org","@type": "WebPage","@id":"#main","mainEntityOfPage":{"@type":"WebPage", "@id":"http://https://images.google.lk/url?sa=t"}, "headline":"","description":"","about":[],"author":{"@type":"Organization","url":"http://https:/","name":"http://https:/"},"publisher":{"@type":"Organization", "name":"http://https:/", "url":"http://https:/", "logo": {"@type": "ImageObject", "url": "http://www.example.com", "width": 4, "height": 97}},"datePublished":"2024-11-01T00:59:19","dateModified":"2024-11-01T00:59:19"}</script>

100% ACCURACY
GUARANTED !

Just ask us to configure SemanticMarker to exactly fit your content...

... and it will deliver 100% accurate detailed Schema Markup.

MICRODATA

WordEntityTypeCategoryWikidataFreq.Validate

TEXT




> api_Check - TIME: 0.01
> api_Load - TIME: 0
> api_Format - TIME: 0.13
> api_Cat - TIME: 0.01
> api_Get - TIME: 0.03
> api_beforeFind - TIME: 0
> api_afterFind - TIME: 0.01
> api_afterPlaces - TIME: 0
> api_afterProducts - TIME: 0
> api_afterMovies - TIME: 0
> api_Match - TIME: 0.02
> api_Comp - TIME: 0.03
> api_Disp - TIME: 0 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-61192963-1', 'auto'); ga('send', 'pageview'); $(document).ready(function(){ $(".fancybox").fancybox({ width: 980, height: 580, overlayShow: true, overlayOpacity: 0.7, type: 'iframe', onCleanup : function() { return window.location.reload(); } }); });
x server