Skip to content

Commit

Permalink
Extended test_Q1.10. Filed an issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
KMax committed Apr 4, 2015
1 parent 3db068f commit dc0b052
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ceur-ws-crawler/CeurWsParser/parsers/publication_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def end_template(self):

@staticmethod
def is_invited(publication):
if rex.rex(publication['link'], r'.*(keynote|invite).*', re.I, default=None):
if rex.rex(publication['link'], r'.*(keynote|invite|talk|-inv-).*', re.I, default=None):
return True
else:
return False
Expand Down
35 changes: 35 additions & 0 deletions ceur-ws-crawler/CeurWsParser/tests/test_Q1.10/expected.output
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,43 @@
<http://ceur-ws.org/Vol-1081/>,"Mihai Codescu"
<http://ceur-ws.org/Vol-1081/>,"Christoph Lange"
<http://ceur-ws.org/Vol-1081/>,"George A. Vouros"
<http://ceur-ws.org/Vol-1014/>,"Giuseppe De Giacomo"
<http://ceur-ws.org/Vol-1014/>,"Michel Dumontier"
<http://ceur-ws.org/Vol-1014/>,"Ian Pratt-Hartmann"
<http://ceur-ws.org/Vol-1008/>,"Ethan Munson"
<http://ceur-ws.org/Vol-994/>,"Peter Murray-Rust"
<http://ceur-ws.org/Vol-937/>,"Hannes Mühleisen"
<http://ceur-ws.org/Vol-937/>,"Christian Bizer"
<http://ceur-ws.org/Vol-937/>,"Peter Mika"
<http://ceur-ws.org/Vol-937/>,"Tim Potter"
<http://ceur-ws.org/Vol-936/>,"Roberto Navigli"
<http://ceur-ws.org/Vol-875/>,"Thomas Eiter"
<http://ceur-ws.org/Vol-875/>,"Luciano Serafini"
<http://ceur-ws.org/Vol-846/>,"Serge Abiteboul"
<http://ceur-ws.org/Vol-846/>,"Piero Bonatti"
<http://ceur-ws.org/Vol-846/>,"Alan Rector"
<http://ceur-ws.org/Vol-745/>,"Marcelo Arenas"
<http://ceur-ws.org/Vol-745/>,"Gert Smolka"
<http://ceur-ws.org/Vol-745/>,"Heiner Stuckenschmidt"
<http://ceur-ws.org/Vol-477/>,"Leonid Libkin"
<http://ceur-ws.org/Vol-477/>,"Kavitha Srinivas"
<http://ceur-ws.org/Vol-477/>,"Rajeev Goré"
<http://ceur-ws.org/Vol-353/>,"Andrea Cali"
<http://ceur-ws.org/Vol-353/>,"Georg Gottlob"
<http://ceur-ws.org/Vol-353/>,"Michael Kifer"
<http://ceur-ws.org/Vol-250/>,"Renee Miller"
<http://ceur-ws.org/Vol-250/>,"Hector Levesque"
<http://ceur-ws.org/Vol-250/>,"Alex Borgida"
<http://ceur-ws.org/Vol-81/>,"John Mylopoulos"
<http://ceur-ws.org/Vol-81/>,"Richard Hull"
<http://ceur-ws.org/Vol-53/>,"Patrick Blackburn"
<http://ceur-ws.org/Vol-53/>,"Andrei Voronkov"
<http://ceur-ws.org/Vol-53/>,"Maurizio Lenzerini"
<http://ceur-ws.org/Vol-33/>,"P. Devanbu"
<http://ceur-ws.org/Vol-33/>,"C. Goble"
<http://ceur-ws.org/Vol-33/>,"D. Harel"
<http://ceur-ws.org/Vol-22/>,"Natasha Alechina"
<http://ceur-ws.org/Vol-22/>,"Robert MacGregor"
<http://ceur-ws.org/Vol-22/>,"Deborah McGuinness"
<http://ceur-ws.org/Vol-1/>,"M. Lenzerini"
<http://ceur-ws.org/Vol-1/>,"M. Scholl"
22 changes: 22 additions & 0 deletions ceur-ws-crawler/CeurWsParser/tests/test_Q1.10/input.urls
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
input_urls = ["http://ceur-ws.org/",
"http://ceur-ws.org/Vol-1085/",
"http://ceur-ws.org/Vol-1081/",
"http://ceur-ws.org/Vol-1014/",
"http://ceur-ws.org/Vol-1008/",
"http://ceur-ws.org/Vol-994/",
"http://ceur-ws.org/Vol-937/",
"http://ceur-ws.org/Vol-936/",
"http://ceur-ws.org/Vol-875/",
"http://ceur-ws.org/Vol-859/",
"http://ceur-ws.org/Vol-846/",
"http://ceur-ws.org/Vol-745/",
"http://ceur-ws.org/Vol-573/",
"http://ceur-ws.org/Vol-477/",
"http://ceur-ws.org/Vol-353/",
"http://ceur-ws.org/Vol-250/",
"http://ceur-ws.org/Vol-81/",
"http://ceur-ws.org/Vol-53/",
"http://ceur-ws.org/Vol-33/",
"http://ceur-ws.org/Vol-22/",
"http://ceur-ws.org/Vol-1/"
]
17 changes: 16 additions & 1 deletion ceur-ws-crawler/CeurWsParser/tests/test_Q1.10/query.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,27 @@ SELECT ?proc ?author_name {
VALUES ?proc {
<http://ceur-ws.org/Vol-1085/>
<http://ceur-ws.org/Vol-1081/>
<http://ceur-ws.org/Vol-1014/>
<http://ceur-ws.org/Vol-1008/>
<http://ceur-ws.org/Vol-994/>
<http://ceur-ws.org/Vol-937/>
<http://ceur-ws.org/Vol-936/>
<http://ceur-ws.org/Vol-875/>
<http://ceur-ws.org/Vol-859/>
<http://ceur-ws.org/Vol-846/>
<http://ceur-ws.org/Vol-745/>
<http://ceur-ws.org/Vol-573/>
<http://ceur-ws.org/Vol-477/>
<http://ceur-ws.org/Vol-353/>
<http://ceur-ws.org/Vol-250/>
<http://ceur-ws.org/Vol-81/>
<http://ceur-ws.org/Vol-53/>
<http://ceur-ws.org/Vol-33/>
<http://ceur-ws.org/Vol-22/>
<http://ceur-ws.org/Vol-1/>
}
?proc dcterms:hasPart ?pub .
?pub a swc:InvitedPaper .
?author dc:creator ?pub ;
?author foaf:made ?pub ;
foaf:name ?author_name .
}

0 comments on commit dc0b052

Please sign in to comment.