Commit 4b717ac3 authored by militarpancho's avatar militarpancho
Browse files

Fixed error in queries.json

parent 89db324f
[{"name": "Show me news about Terrorism in Spain", "val": "PREFIX schema: <http://schema.org/> \nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#> \nPREFIX me: <http://www.mixedemotions-project.eu/ns/model#> \nPREFIX onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://www.gsi.dit.upm.es/ontologies/wnaffect/ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX dbr: <http://dbpedia.org/resource/>\nPREFIX dbo: <http://dbpedia.org/ontology/>\nPREFIX db: <http://dbpedia.org/>\n\nSELECT DISTINCT ?headline ?entity \nWHERE { \n ?article a schema:NewsArticle .\n ?article schema:headline ?headline . \n ?article me:hasEntities ?entities .\n ?entities rdfs:subClassOf ?entity .\n ?entities rdfs:subClassOf dbr:Spain\n \n}\n LIMIT"},{"name":"Show news about ISIS", "val":"PREFIX schema: <http://schema.org/> \nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#> \nPREFIX me: <http://www.mixedemotions-project.eu/ns/model#> \nPREFIX onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://www.gsi.dit.upm.es/ontologies/wnaffect/ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX dbr: <http://dbpedia.org/resource/>\n\nSELECT DISTINCT ?headline ?entityURI \nWHERE { \n ?article a schema:NewsArticle .\n ?article schema:headline ?headline . \n ?article me:hasEntities ?entity .\n ?entity rdfs:subClassOf ?entityURI .\n ?entity rdfs:subClassOf dbr:Islamic_State_of_Iraq_and_the_Levant\n \n}\nLIMIT 25"},{"name":"Show the sentiment of articles", "val":"PREFIX schema: <http://schema.org/> \nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#> \nPREFIX me: <http://www.mixedemotions-project.eu/ns/model#> \nPREFIX onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://www.gsi.dit.upm.es/ontologies/wnaffect/ns#>\n\nSELECT ?headline ?sentiment \n WHERE { \n?article a schema:NewsArticle .\n?article schema:headline ?headline . \n?article marl:hasOpinion ?opinion . \n?opinion marl:hasPolarity ?sentiment . \n}\nLIMIT 25\n"},{"name":"How many opinions are positive, neutral or neutral on each news?","val":"PREFIX schema: <http://schema.org/>\nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#>\nPrefix me: <http://www.mixedemotions-project.eu/ns/model#>\nPrefix onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://gsi.dit.upm.es/ontologies/wnaffect/ns#>\nPREFIX sc: <http://purl.org/science/owl/sciencecommons/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX sioc: <http://rdfs.org/sioc/ns#>\nPREFIX nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#>\n SELECT ?article\n (COUNT(DISTINCT ?opinionTextPositive) AS ?positives) \n (COUNT(DISTINCT ?opinionTextNegative) AS ?negatives) \n (COUNT(DISTINCT ?opinionTextNeutral) AS ?neutral) \n WHERE {\n{\n ?blogpost a schema:NewsArticle .\n ?article marl:hasOpinion ?opinion .\n ?opinion marl:hasPolarity marl:Positive .\n ?opinion nif:anchorOf ?opinionTextPositive .\n}\n UNION \n {\n ?article a schema:NewsArticle .\n ?article marl:hasOpinion ?opinion .\n ?opinion marl:hasPolarity marl:Negative .\n ?opinion nif:anchorOf ?opinionTextNegative .\n\n}\n UNION \n {\n ?article a schema:NewsArticle .\n ?article marl:hasOpinion ?opinion .\n ?opinion marl:hasPolarity marl:Neutral .\n ?opinion nif:anchorOf ?opinionTextNeutral .\n}\n} GROUP BY ?article"}, {"name":"Which topics are mentioned in the news allocated in Syria", "value":""}, {"name":"How many news are allocated in Syria?
[{"name": "Show me news about Terrorism in Spain", "val": "PREFIX schema: <http://schema.org/> \nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#> \nPREFIX me: <http://www.mixedemotions-project.eu/ns/model#> \nPREFIX onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://www.gsi.dit.upm.es/ontologies/wnaffect/ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX dbr: <http://dbpedia.org/resource/>\nPREFIX dbo: <http://dbpedia.org/ontology/>\nPREFIX db: <http://dbpedia.org/>\n\nSELECT DISTINCT ?headline ?entity \nWHERE { \n ?article a schema:NewsArticle .\n ?article schema:headline ?headline . \n ?article me:hasEntities ?entities .\n ?entities rdfs:subClassOf ?entity .\n ?entities rdfs:subClassOf dbr:Spain\n \n}\n LIMIT 25"},{"name":"Show news about ISIS", "val":"PREFIX schema: <http://schema.org/> \nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#> \nPREFIX me: <http://www.mixedemotions-project.eu/ns/model#> \nPREFIX onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://www.gsi.dit.upm.es/ontologies/wnaffect/ns#>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX dbr: <http://dbpedia.org/resource/>\n\nSELECT DISTINCT ?headline ?entityURI \nWHERE { \n ?article a schema:NewsArticle .\n ?article schema:headline ?headline . \n ?article me:hasEntities ?entity .\n ?entity rdfs:subClassOf ?entityURI .\n ?entity rdfs:subClassOf dbr:Islamic_State_of_Iraq_and_the_Levant\n \n}\nLIMIT 25"},{"name":"Show the sentiment of articles", "val":"PREFIX schema: <http://schema.org/> \nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#> \nPREFIX me: <http://www.mixedemotions-project.eu/ns/model#> \nPREFIX onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://www.gsi.dit.upm.es/ontologies/wnaffect/ns#>\n\nSELECT ?headline ?sentiment \n WHERE { \n?article a schema:NewsArticle .\n?article schema:headline ?headline . \n?article marl:hasOpinion ?opinion . \n?opinion marl:hasPolarity ?sentiment . \n}\nLIMIT 25\n"},{"name":"How many opinions are positive, neutral or neutral on each news?","val":"PREFIX schema: <http://schema.org/>\nPREFIX marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#>\nPrefix me: <http://www.mixedemotions-project.eu/ns/model#>\nPrefix onyx: <http://www.gsi.dit.upm.es/ontologies/onyx/ns#> \nPREFIX wnaffect: <http://gsi.dit.upm.es/ontologies/wnaffect/ns#>\nPREFIX sc: <http://purl.org/science/owl/sciencecommons/>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX sioc: <http://rdfs.org/sioc/ns#>\nPREFIX nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#>\n SELECT ?article\n (COUNT(DISTINCT ?opinionTextPositive) AS ?positives) \n (COUNT(DISTINCT ?opinionTextNegative) AS ?negatives) \n (COUNT(DISTINCT ?opinionTextNeutral) AS ?neutral) \n WHERE {\n{\n ?blogpost a schema:NewsArticle .\n ?article marl:hasOpinion ?opinion .\n ?opinion marl:hasPolarity marl:Positive .\n ?opinion nif:anchorOf ?opinionTextPositive .\n}\n UNION \n {\n ?article a schema:NewsArticle .\n ?article marl:hasOpinion ?opinion .\n ?opinion marl:hasPolarity marl:Negative .\n ?opinion nif:anchorOf ?opinionTextNegative .\n\n}\n UNION \n {\n ?article a schema:NewsArticle .\n ?article marl:hasOpinion ?opinion .\n ?opinion marl:hasPolarity marl:Neutral .\n ?opinion nif:anchorOf ?opinionTextNeutral .\n}\n} GROUP BY ?article"}, {"name":"Which topics are mentioned in the news allocated in Syria", "value":""}, {"name":"How many news are allocated in Syria?
", "value":""}]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment