Difference between revisions of "Q2.3"
Jump to navigation
Jump to search
(Created page with "=Query= {{Query |id=3 |title=Works cited by paper |description=Identify all works cited by paper X |since=2015-08-25 |task=Task2 |storemode=property }} =Freitext=") |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
|title=Works cited by paper | |title=Works cited by paper | ||
|description=Identify all works cited by paper X | |description=Identify all works cited by paper X | ||
| − | | | + | |sparql=PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
| + | PREFIX wd: <http://www.wikidata.org/entity/> | ||
| + | PREFIX wdt: <http://www.wikidata.org/prop/direct/> | ||
| + | PREFIX p: <http://www.wikidata.org/prop/> | ||
| + | PREFIX pq: <http://www.wikidata.org/prop/qualifier/> | ||
| + | SELECT DISTINCT ?citingPaper ?citingPaperLabel ?paper ?paperLabel | ||
| + | WHERE{ | ||
| + | #VALUES ?proceedings { | ||
| + | # wd:Q27230297 | ||
| + | #} | ||
| + | VALUES ?paper { | ||
| + | wd:Q36198963 | ||
| + | } | ||
| + | #?paper wdt:P1433 ?proceedings. | ||
| + | ?paper rdfs:label ?paperLabel. | ||
| + | FILTER(lang(?paperLabel)="en") | ||
| + | # cites work | ||
| + | ?citingPaper wdt:P2860 ?paper. | ||
| + | ?citingPaper rdfs:label ?citingPaperLabel. | ||
| + | FILTER(lang(?citingPaperLabel)="en") | ||
| + | } | ||
| + | |tryiturl=G7PGHO | ||
| + | |wdqsurl=6UBC | ||
| + | |relevance=2 | ||
|task=Task2 | |task=Task2 | ||
|storemode=property | |storemode=property | ||
| + | |since=2015-08-25 | ||
}} | }} | ||
=Freitext= | =Freitext= | ||
Latest revision as of 08:46, 21 March 2023
Query
| Query | |
|---|---|
| id | 3 |
| name | |
| title | Works cited by paper |
| description | Identify all works cited by paper X |
| sparql | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT DISTINCT ?citingPaper ?citingPaperLabel ?paper ?paperLabel
WHERE{
#VALUES ?proceedings {
# wd:Q27230297
#}
VALUES ?paper {
wd:Q36198963
}
#?paper wdt:P1433 ?proceedings.
?paper rdfs:label ?paperLabel.
FILTER(lang(?paperLabel)="en")
# cites work
?citingPaper wdt:P2860 ?paper.
?citingPaper rdfs:label ?citingPaperLabel.
FILTER(lang(?citingPaperLabel)="en")
}
|
| tryiturl | G7PGHO→G7PGHO |
| wdqsurl | 6UBC→6UBC |
| scholia | → |
| relevance | 2 |
| comment | |
| task | Task2→Task2 |