Simple Question (Direct)
Simple Question
Q495849
P161
Q502895
USER
Which person is in The City of Violence ?
(Q495849,P161,c(Q502895))
action filter_type
action find
entity Q495849
relation P161
type Q502895
['Q495849', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q495849 property:P161 ?y }
The City of Violence
action filter_type
action find
entity The City of Violence
relation cast member
type common name
['The City of Violence', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:The_City_of_Violence property:cast_member ?y }
[]
common name
Q332998
SYSTEM
Ryu Seung-wan
Q332998
(Q495849,P161,c(Q502895))
action filter_type
action find
entity Q495849
relation P161
type Q502895
[ANSWER] is in The City of Violence
['Q495849', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q495849 property:P161 ?y }
Ryu Seung-wan
Ryu Seung-wan is in The City of Violence
Ryu Seung-wan
action filter_type
action find
entity The City of Violence
relation cast member
type common name
['The City of Violence', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:The_City_of_Violence property:cast_member ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332998
P162
Q838948
USER
Which works of art have been developed by that person ?
(c(Q838948),P162,Q332998)
action filter_type
action find_reverse
entity Q332998
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q332998']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P162 resource:Q332998 }
Ryu Seung-wan
action filter_type
action find_reverse
entity Ryu Seung-wan
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Ryu Seung-wan']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:producer resource:Ryu_Seung-wan }
[]
work of art
Q495849 Q493391
SYSTEM
The City of Violence, The Unjust
Q495849 Q493391
(c(Q838948),P162,Q332998)
action filter_type
action find_reverse
entity Q332998
relation P162
type Q838948
[ANSWERS] have been developed by that person
[{'concept': 'Q838948'}, 'P162', 'Q332998']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P162 resource:Q332998 }
The City of Violence The Unjust
The City of Violence and The Unjust have been developed by that person
The City of Violence The Unjust
action filter_type
action find_reverse
entity Ryu Seung-wan
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Ryu Seung-wan']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:producer resource:Ryu_Seung-wan }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q332998
P57
Q201658 Q838948
USER
How many film genres or works of art are Ryu Seung-wan a director of ?
(c(Q201658),P57,Q332998) (c(Q838948),P57,Q332998)
action count
action union
action filter_type
action find_reverse
entity Q332998
relation P57
type Q201658
action filter_type
action find_reverse
entity Q332998
relation P57
type Q838948
[{'concept': 'Q201658'}, 'P57', 'Q332998'] [{'concept': 'Q838948'}, 'P57', 'Q332998']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?k rdf:type ?y }
Ryu Seung-wan
action count
action union
action filter_type
action find_reverse
entity Ryu Seung-wan
relation director
type film genre
action filter_type
action find_reverse
entity Ryu Seung-wan
relation director
type work of art
[{'concept': 'film genre'}, 'director', 'Ryu Seung-wan'] [{'concept': 'work of art'}, 'director', 'Ryu Seung-wan']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?k rdf:type ?y }
[]
film genre work of art
SYSTEM
12
Q3005713 Q495849 Q279139 Q493391 Q510456 Q19939990 Q18381160 Q24238125 Q5207601 Q5274320 Q3943872 Q12590881
(c(Q201658),P57,Q332998) (c(Q838948),P57,Q332998)
action count
action union
action filter_type
action find_reverse
entity Q332998
relation P57
type Q201658
action filter_type
action find_reverse
entity Q332998
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P57', 'Q332998'] [{'concept': 'Q838948'}, 'P57', 'Q332998']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?k rdf:type ?y }
Crying Fist The City of Violence No Blood No Tears The Unjust Arahan Veteran Mad Sad Bad Battleship Island Dachimawa Lee Die Bad The Berlin File Dachimawa Lee
12
action count
action union
action filter_type
action find_reverse
entity Ryu Seung-wan
relation director
type film genre
action filter_type
action find_reverse
entity Ryu Seung-wan
relation director
type work of art
[{'concept': 'film genre'}, 'director', 'Ryu Seung-wan'] [{'concept': 'work of art'}, 'director', 'Ryu Seung-wan']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?k rdf:type ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q179374 Q495849
P57 P40
Q502895
USER
Which people served as the directed of The City of Violence or are an offsprings of Robert Owen ?
OR((Q495849,P57,c(Q502895)), (Q179374,P40,c(Q502895)))
action filter_type
action union
action find
entity Q495849
relation P57
action find
entity Q179374
relation P40
type Q502895
{'OR': [['Q495849', 'P57', {'concept': 'Q502895'}], ['Q179374', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q495849 property:P57 ?x } UNION { resource:Q179374 property:P40 ?x } } . ?x rdf:type ontology:Q502895 }
Robert Owen The City of Violence
action filter_type
action union
action find
entity The City of Violence
relation director
action find
entity Robert Owen
relation child
type common name
{'OR': [['The City of Violence', 'director', {'concept': 'common name'}], ['Robert Owen', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:The_City_of_Violence property:director ?x } UNION { resource:Robert_Owen property:child ?x } } . ?x rdf:type ontology:common_name }
[]
common name
Q2156836 Q332998 Q7328214 Q5232796
SYSTEM
Robert Dale Owen, Ryu Seung-wan, Richard Owen, David Dale Owen
Q2156836 Q332998 Q7328214 Q5232796
OR((Q495849,P57,c(Q502895)), (Q179374,P40,c(Q502895)))
action filter_type
action union
action find
entity Q495849
relation P57
action find
entity Q179374
relation P40
type Q502895
[ANSWERS] served as the directed of The City of Violence or are an offsprings of Robert Owen
{'OR': [['Q495849', 'P57', {'concept': 'Q502895'}], ['Q179374', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q495849 property:P57 ?x } UNION { resource:Q179374 property:P40 ?x } } . ?x rdf:type ontology:Q502895 }
Robert Dale Owen Ryu Seung-wan Richard Owen David Dale Owen
Robert Dale Owen, Ryu Seung-wan, Richard Owen and David Dale Owen served as the directed of The City of Violence or are an offsprings of Robert Owen
Robert Dale Owen Ryu Seung-wan Richard Owen David Dale Owen
action filter_type
action union
action find
entity The City of Violence
relation director
action find
entity Robert Owen
relation child
type common name
{'OR': [['The City of Violence', 'director', {'concept': 'common name'}], ['Robert Owen', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:The_City_of_Violence property:director ?x } UNION { resource:Robert_Owen property:child ?x } } . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q60968
P3091
Q502895 Q3745054 Q502895
USER
How many people utilize less number of people or horse breeds as steed than Ludger Beerbaum ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q60968
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q60968 property:P3091 ?c . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q3745054 } } } } . FILTER ( ?w < ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?r ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?v rdf:type ?r } GROUP BY ?s } }
Ludger Beerbaum
action count
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Ludger Beerbaum
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Ludger_Beerbaum property:mount ?c . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:horse_breed } } } } . FILTER ( ?w < ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?r ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?v rdf:type ?r } GROUP BY ?s } }
[]
common name horse breed common name
SYSTEM
141
Q2831786 Q71451 Q2964761 Q2643622 Q64650 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q186164 Q7934379 Q262338 Q527657 Q364671 Q2965770 Q3089727 Q1038847 Q20240956 Q364502 Q919677 Q16208274 Q3400624 Q15782408 Q3081121 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q25906162 Q355148 Q3035045 Q2396962 Q19630218 Q3106094 Q3351282 Q958372 Q319522 Q678324 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q151754 Q997380 Q377345 Q5247967 Q84536 Q3056396 Q8409 Q2831635 Q207535 Q2941011 Q3565906 Q1710812 Q467676 Q1545318 Q942215 Q34836 Q238769 Q3385955 Q745510 Q318626 Q608440 Q249233 Q19839389 Q364920 Q2162566 Q3134506 Q926771 Q3309932 Q3573625 Q517 Q1351428 Q62177 Q450267 Q2577320 Q458399 Q4351964 Q317846 Q3501998 Q2903241 Q529497 Q3380679 Q1337633 Q840001 Q953867 Q364659 Q19880092 Q3167944 Q1119157 Q1581746 Q72502 Q6409976 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q3299860 Q5079900 Q19630255 Q1342822 Q444585 Q76246 Q34479 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q312391 Q1343527 Q1061259 Q2041036 Q2966249 Q1739026 Q690536 Q43958 Q1081174 Q3428878 Q16104944 Q5908769 Q886901 Q1261810 Q967780 Q77560 Q3524341 Q3591324 Q488277 Q9682 Q1332346 Q3147326 Q1633084 Q2420937 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q60968
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q60968 property:P3091 ?c . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q3745054 } } } } . FILTER ( ?w < ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?r ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?v rdf:type ?r } GROUP BY ?s } }
Alberto Larraguibel Franke Sloothaak Chris Kappler Alexandra Ledermann Ingrid Klimke Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Pippa Funnell Virginia Leng Nicole Uphoff Margit Otto-Crépin Jean Teulère Criquette Head-Maarek Frédéric Cottier Carl Hester Arnaud Serre David O'Connor Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Kieren Fallon Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Olivier Peslier Piet Raijmakers Ulrich Kirchhoff Jorma Kontio Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Anne, Princess Royal Yutaka Take Lester Piggott Debbie McDonald Hugo Simon Eric Saint-Martin Alexander the Great Albert Voorn Roland Cash Asmussen Walter Swinburn Richard Spooner Reiner Klimke Greg Best Jean-Claude Van Geenberghe Ulysses S. Grant Isabell Werth Pierre Levesque Ludo Philippaerts Lars Nieberg John Whitaker Kristina Sprehe Abdelkebir Ouaddar Bruce Davidson Ryan Moore Hervé Godignon Earl Foster Thomson Michel Hécart Yves Dreux Napoleon Eric Lamaze Hans Günter Winkler Nadine Capellmann Wilhelm Melliger Laura Bechtolsheimer Björn Goop Lü Bu Stéphane Pasquier Bill Hartack Edwina Tops-Alexander Philippe Rozier Scott Brash Christophe Soumillon Conrad Homfeld Cédric Lyard Lendon Gray Jean-Michel Bazire Frankie Dettori Hans Peter Minderhoud Otto Becker Kimberly Severson Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Matthieu Abrivard Charles Kurtsinger Léopold Verroken William Fox-Pitt Ulla Salzgeber Marcus Ehning Hirohito Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Philippe Leclerc de Hauteclocque Karin Rehbein Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Pius Schwizer El Cid Gérald Mossé Reynald Angot Michael Page Örjan Kihlström Blyth Tait Eddie Macken Franck Nivard Michael Jung Thierry Jarnet Éric Raffin Jan Tops Elizabeth II Mark Todd Ian Stark Hubert Bourdy Thierry Pomel Fritz Ligges
141
action count
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Ludger Beerbaum
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Ludger_Beerbaum property:mount ?c . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:horse_breed } } } } . FILTER ( ?w < ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?r ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?v rdf:type ?r } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1088130
P3091
Q502895 Q3745054 Q502895
USER
And how about Maxime Guyon?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q1088130
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1088130 property:P3091 ?e . { { ?e rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q3745054 } } } } . FILTER ( ?f < ?z ) }
Maxime Guyon
action count
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Maxime Guyon
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Maxime_Guyon property:mount ?e . { { ?e rdf:type ontology:common_name } UNION { ?e rdf:type ontology:horse_breed } } } } . FILTER ( ?f < ?z ) }
[]
common name horse breed common name
SYSTEM
53
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q1088130
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1088130 property:P3091 ?e . { { ?e rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q3745054 } } } } . FILTER ( ?f < ?z ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
53
action count
action less
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Maxime Guyon
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Maxime_Guyon property:mount ?e . { { ?e rdf:type ontology:common_name } UNION { ?e rdf:type ontology:horse_breed } } } } . FILTER ( ?f < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2178270
P106
Q12737077
USER
What are the job of Jan Kuipers ?
(Q2178270,P106,c(Q12737077))
action filter_type
action find
entity Q2178270
relation P106
type Q12737077
['Q2178270', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2178270 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Jan Kuipers
action filter_type
action find
entity Jan Kuipers
relation occupation
type occupation
['Jan Kuipers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jan_Kuipers property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q36180 Q18844224
SYSTEM
writer, science fiction writer
Q36180 Q18844224
(Q2178270,P106,c(Q12737077))
action filter_type
action find
entity Q2178270
relation P106
type Q12737077
The job of Jan Kuipers are a [ANSWERS]
['Q2178270', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2178270 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
writer science fiction writer
The job of Jan Kuipers are a writer and science fiction writer
writer science fiction writer
action filter_type
action find
entity Jan Kuipers
relation occupation
type occupation
['Jan Kuipers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jan_Kuipers property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q486839
P180
Q12737077 Q18783400 Q15709879
USER
Which occupations are depicted in around the same number of genres of sculpture and artwork series as member of parliament ?
(c(Q18783400)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q486839
relation P180
type Q18783400
type Q15709879
[[{'concept': 'Q18783400'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P180 ?y . ?n rdf:type ontology:Q18783400 . ?y rdf:type ontology:Q12737077 } UNION { ?n property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q15709879 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P180 resource:Q486839 . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q18783400 ) ( ontology:Q15709879 ) } } } } . FILTER ( ?c = ?v ) }
member of parliament
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity member of parliament
relation depicts
type genre of sculpture
type artwork series
[[{'concept': 'genre of sculpture'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:depicts ?y . ?n rdf:type ontology:genre_of_sculpture . ?y rdf:type ontology:occupation } UNION { ?n property:depicts ?y . ?y rdf:type ontology:occupation . ?n rdf:type ontology:artwork_series } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:depicts resource:member_of_parliament . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:genre_of_sculpture ) ( ontology:artwork_series ) } } } } . FILTER ( ?c = ?v ) }
[]
occupation genre of sculpture artwork series
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q18783400)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q486839
relation P180
type Q18783400
type Q15709879
[ANSWERS] are depicted in around the same number of genres of sculpture and artwork series as member of parliament
[[{'concept': 'Q18783400'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P180 ?y . ?n rdf:type ontology:Q18783400 . ?y rdf:type ontology:Q12737077 } UNION { ?n property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q15709879 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P180 resource:Q486839 . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q18783400 ) ( ontology:Q15709879 ) } } } } . FILTER ( ?c = ?v ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Nurse, tailor and librarian are depicted in around the same number of genres of sculpture and artwork series as member of parliament
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity member of parliament
relation depicts
type genre of sculpture
type artwork series
[[{'concept': 'genre of sculpture'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:depicts ?y . ?n rdf:type ontology:genre_of_sculpture . ?y rdf:type ontology:occupation } UNION { ?n property:depicts ?y . ?y rdf:type ontology:occupation . ?n rdf:type ontology:artwork_series } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:depicts resource:member_of_parliament . { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:genre_of_sculpture ) ( ontology:artwork_series ) } } } } . FILTER ( ?c = ?v ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q186360 Q242468 Q182436
P417
Q502895
USER
Which people are the patron saint of nurse, tailor and librarian ?
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
action filter_type
action find
entity Q182436
relation P417
type Q502895
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q502895 . resource:Q186360 property:P417 ?k } UNION { resource:Q242468 property:P417 ?k . ?k rdf:type ontology:Q502895 } }
nurse tailor librarian
action union
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
action filter_type
action find
entity librarian
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:common_name . resource:nurse property:patron_saint ?k } UNION { resource:tailor property:patron_saint ?k . ?k rdf:type ontology:common_name } }
[]
common name
Q229190 Q44248 Q43982
SYSTEM
Catherine of Siena, Jerome, Bartholomew the Apostle
Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982 Q179718 Q44248 Q17590
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
action filter_type
action find
entity Q182436
relation P417
type Q502895
[ANSWERS] are the patron saint of nurse, tailor and librarian
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q502895 . resource:Q186360 property:P417 ?k } UNION { resource:Q242468 property:P417 ?k . ?k rdf:type ontology:Q502895 } }
Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
Catherine of Siena, Jerome and Bartholomew the Apostle are the patron saint of nurse, tailor and librarian
Catherine of Siena Jerome Bartholomew the Apostle
action union
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
action filter_type
action find
entity librarian
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:common_name . resource:nurse property:patron_saint ?k } UNION { resource:tailor property:patron_saint ?k . ?k rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q229190 Q44248 Q43982
P138
Q44539
USER
Which temples have Catherine of Siena, Jerome and Bartholomew the Apostle as their toponym ?
(c(Q44539),P138,Q229190) (c(Q44539),P138,Q44248) (c(Q44539),P138,Q43982)
action union
action filter_type
action find_reverse
entity Q229190
relation P138
type Q44539
action filter_type
action find_reverse
entity Q44248
relation P138
type Q44539
action filter_type
action find_reverse
entity Q43982
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q229190'] [{'concept': 'Q44539'}, 'P138', 'Q44248'] [{'concept': 'Q44539'}, 'P138', 'Q43982']
SELECT DISTINCT ?j WHERE { { ?j property:P138 resource:Q44248 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P138 resource:Q229190 . ?j rdf:type ontology:Q44539 } }
Catherine of Siena Jerome Bartholomew the Apostle
action union
action filter_type
action find_reverse
entity Catherine of Siena
relation named after
type temple
action filter_type
action find_reverse
entity Jerome
relation named after
type temple
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Catherine of Siena'] [{'concept': 'temple'}, 'named after', 'Jerome'] [{'concept': 'temple'}, 'named after', 'Bartholomew the Apostle']
SELECT DISTINCT ?j WHERE { { ?j property:named_after resource:Jerome . ?j rdf:type ontology:temple } UNION { ?j property:named_after resource:Catherine_of_Siena . ?j rdf:type ontology:temple } }
[]
temple
Q888055 Q1648609 Q727508
SYSTEM
San Girolamo della Carità, San Bartolomeo, Santa Caterina a Magnanapoli
Q3672904 Q1256142 Q727508 Q888055 Q19817453 Q688524 Q2791338 Q1648609
(c(Q44539),P138,Q229190) (c(Q44539),P138,Q44248) (c(Q44539),P138,Q43982)
action union
action filter_type
action find_reverse
entity Q229190
relation P138
type Q44539
action filter_type
action find_reverse
entity Q44248
relation P138
type Q44539
action filter_type
action find_reverse
entity Q43982
relation P138
type Q44539
[ANSWERS] have Catherine of Siena, Jerome and Bartholomew the Apostle as their toponym
[{'concept': 'Q44539'}, 'P138', 'Q229190'] [{'concept': 'Q44539'}, 'P138', 'Q44248'] [{'concept': 'Q44539'}, 'P138', 'Q43982']
SELECT DISTINCT ?j WHERE { { ?j property:P138 resource:Q44248 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P138 resource:Q229190 . ?j rdf:type ontology:Q44539 } }
Santa Caterina (Livorno) Santa Caterina da Siena, Naples Santa Caterina a Magnanapoli San Girolamo della Carità Saint Jerome Church (Dahlem, Nordeifel) Franciscan Church Saint Jerome of the Croats San Bartolomeo
San Girolamo della Carità, San Bartolomeo and Santa Caterina a Magnanapoli have Catherine of Siena, Jerome and Bartholomew the Apostle as their toponym
San Girolamo della Carità San Bartolomeo Santa Caterina a Magnanapoli
action union
action filter_type
action find_reverse
entity Catherine of Siena
relation named after
type temple
action filter_type
action find_reverse
entity Jerome
relation named after
type temple
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Catherine of Siena'] [{'concept': 'temple'}, 'named after', 'Jerome'] [{'concept': 'temple'}, 'named after', 'Bartholomew the Apostle']
SELECT DISTINCT ?j WHERE { { ?j property:named_after resource:Jerome . ?j rdf:type ontology:temple } UNION { ?j property:named_after resource:Catherine_of_Siena . ?j rdf:type ontology:temple } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q229190
P140
Q874405
USER
What is the religion associated with that person ?
(Q229190,P140,c(Q874405))
action filter_type
action find
entity Q229190
relation P140
type Q874405
['Q229190', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q874405 . resource:Q229190 property:P140 ?o }
Catherine of Siena
action filter_type
action find
entity Catherine of Siena
relation religion
type social group
['Catherine of Siena', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:social_group . resource:Catherine_of_Siena property:religion ?o }
[]
social group
Clarification for simple ques.
Q229190
SYSTEM
Did you mean Catherine of Siena ?
Q888055 Q1648609 Q727508
(Q888055,P140,c(Q874405)) (Q1648609,P140,c(Q874405)) (Q727508,P140,c(Q874405))
[ANSWER]
['Q888055', 'P140', {'concept': 'Q874405'}] ['Q1648609', 'P140', {'concept': 'Q874405'}] ['Q727508', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q874405 . resource:Q229190 property:P140 ?o }
San Girolamo della Carità San Bartolomeo Santa Caterina a Magnanapoli
Did you mean Catherine of Siena ?
Catherine of Siena
['San Girolamo della Carità', 'religion', {'concept': 'social group'}] ['San Bartolomeo', 'religion', {'concept': 'social group'}] ['Santa Caterina a Magnanapoli', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:social_group . resource:Catherine_of_Siena property:religion ?o }
[]
Simple Question (Coreferenced)
USER
Yes
(Q229190,P140,c(Q874405))
['Q229190', 'P140', {'concept': 'Q874405'}]
['Catherine of Siena', 'religion', {'concept': 'social group'}]
[]
Q5043
SYSTEM
Christianity
Q5043
(Q229190,P140,c(Q874405))
action filter_type
action find
entity Q229190
relation P140
type Q874405
The religion associated with that person is [ANSWER]
['Q229190', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q874405 . resource:Q229190 property:P140 ?o }
Christianity
The religion associated with that person is Christianity
Christianity
action filter_type
action find
entity Catherine of Siena
relation religion
type social group
['Catherine of Siena', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:social_group . resource:Catherine_of_Siena property:religion ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P941
Q874405 Q15709879 Q502895
USER
How many social groups inspired more number of artwork series or people than that social group ?
(c(Q15709879)|c(Q502895),P941,c(Q874405))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q874405
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q5043
relation P941
type Q15709879
type Q502895
[[{'concept': 'Q15709879'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P941 resource:Q5043 . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15709879 ) ( ontology:Q502895 ) } } } } . FILTER ( ?u > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?m WHERE { { ?k property:P941 ?m . ?k rdf:type ontology:Q502895 . ?m rdf:type ontology:Q874405 } UNION { ?k property:P941 ?m . ?m rdf:type ontology:Q874405 . ?k rdf:type ontology:Q15709879 } } GROUP BY ?m } }
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action find_reverse_tuple_counts
relation inspired by
type social group
type common name
action count
action filter_multi_types
action find_reverse
entity Christianity
relation inspired by
type artwork series
type common name
[[{'concept': 'artwork series'}, {'concept': 'common name'}], 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:inspired_by resource:Christianity . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:artwork_series ) ( ontology:common_name ) } } } } . FILTER ( ?u > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?m WHERE { { ?k property:inspired_by ?m . ?k rdf:type ontology:common_name . ?m rdf:type ontology:social_group } UNION { ?k property:inspired_by ?m . ?m rdf:type ontology:social_group . ?k rdf:type ontology:artwork_series } } GROUP BY ?m } }
[]
social group artwork series common name
SYSTEM
2
Q9235758 Q1841
(c(Q15709879)|c(Q502895),P941,c(Q874405))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q874405
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q5043
relation P941
type Q15709879
type Q502895
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P941 resource:Q5043 . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15709879 ) ( ontology:Q502895 ) } } } } . FILTER ( ?u > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?m WHERE { { ?k property:P941 ?m . ?k rdf:type ontology:Q502895 . ?m rdf:type ontology:Q874405 } UNION { ?k property:P941 ?m . ?m rdf:type ontology:Q874405 . ?k rdf:type ontology:Q15709879 } } GROUP BY ?m } }
grandmother Catholicism
2
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action find_reverse_tuple_counts
relation inspired by
type social group
type common name
action count
action filter_multi_types
action find_reverse
entity Christianity
relation inspired by
type artwork series
type common name
[[{'concept': 'artwork series'}, {'concept': 'common name'}], 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:inspired_by resource:Christianity . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:artwork_series ) ( ontology:common_name ) } } } } . FILTER ( ?u > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?m WHERE { { ?k property:inspired_by ?m . ?k rdf:type ontology:common_name . ?m rdf:type ontology:social_group } UNION { ?k property:inspired_by ?m . ?m rdf:type ontology:social_group . ?k rdf:type ontology:artwork_series } } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43982
P825
Q44539
USER
Which temple has dedication towards Bartholomew the Apostle ?
(c(Q44539),P825,Q43982)
action filter_type
action find_reverse
entity Q43982
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q43982']
SELECT DISTINCT ?s WHERE { ?s property:P825 resource:Q43982 . ?s rdf:type ontology:Q44539 }
Bartholomew the Apostle
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Bartholomew the Apostle']
SELECT DISTINCT ?s WHERE { ?s property:dedicated_to resource:Bartholomew_the_Apostle . ?s rdf:type ontology:temple }
[]
temple
Q7592611
SYSTEM
St Bartholomew's Church, Sealand
Q7592611
(c(Q44539),P825,Q43982)
action filter_type
action find_reverse
entity Q43982
relation P825
type Q44539
[ANSWER] has dedication towards Bartholomew the Apostle
[{'concept': 'Q44539'}, 'P825', 'Q43982']
SELECT DISTINCT ?s WHERE { ?s property:P825 resource:Q43982 . ?s rdf:type ontology:Q44539 }
St Bartholomew's Church, Sealand
St Bartholomew's Church, Sealand has dedication towards Bartholomew the Apostle
St Bartholomew's Church, Sealand
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Bartholomew the Apostle']
SELECT DISTINCT ?s WHERE { ?s property:dedicated_to resource:Bartholomew_the_Apostle . ?s rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43982
P921
Q191067
USER
Which articles were mainly based on that person ?
(c(Q191067),P921,Q7592611)
action filter_type
action find_reverse
entity Q43982
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q7592611']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q43982 . ?g rdf:type ontology:Q191067 }
Bartholomew the Apostle
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation main subject
type article
[{'concept': 'article'}, 'main subject', "St Bartholomew's Church, Sealand"]
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Bartholomew_the_Apostle . ?g rdf:type ontology:article }
[]
article
Q26932083 Q26932276
SYSTEM
EB-11 / Bartholomew, Saint, CE / St. Bartholomew
Q26932083 Q26932276
(c(Q191067),P921,Q7592611)
action filter_type
action find_reverse
entity Q43982
relation P921
type Q191067
[ANSWERS] were mainly based on that person
[{'concept': 'Q191067'}, 'P921', 'Q7592611']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q43982 . ?g rdf:type ontology:Q191067 }
EB-11 / Bartholomew, Saint CE / St. Bartholomew
EB-11 / Bartholomew, Saint and CE / St. Bartholomew were mainly based on that person
EB-11 / Bartholomew, Saint CE / St. Bartholomew
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation main subject
type article
[{'concept': 'article'}, 'main subject', "St Bartholomew's Church, Sealand"]
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Bartholomew_the_Apostle . ?g rdf:type ontology:article }
[]