Simple Question (Direct)
Simple Question
Q7376450
P106
Q12737077
USER
What is the profession of Rubén Arriaza Pazos ?
(Q7376450,P106,c(Q12737077))
action filter_type
action find
entity Q7376450
relation P106
type Q12737077
['Q7376450', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7376450 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Rubén Arriaza Pazos
action filter_type
action find
entity Rubén Arriaza Pazos
relation occupation
type occupation
['Rubén Arriaza Pazos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Rubén_Arriaza_Pazos property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7376450,P106,c(Q12737077))
action filter_type
action find
entity Q7376450
relation P106
type Q12737077
The profession of Rubén Arriaza Pazos is an [ANSWER]
['Q7376450', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7376450 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
The profession of Rubén Arriaza Pazos is an association football player
association football player
action filter_type
action find
entity Rubén Arriaza Pazos
relation occupation
type occupation
['Rubén Arriaza Pazos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Rubén_Arriaza_Pazos property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7376450
P21
Q290
USER
Which sex does Rubén Arriaza Pazos have ?
(Q7376450,P21,c(Q290))
action filter_type
action find
entity Q7376450
relation P21
type Q290
['Q7376450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7376450 property:P21 ?u . ?u rdf:type ontology:Q290 }
Rubén Arriaza Pazos
action filter_type
action find
entity Rubén Arriaza Pazos
relation gender
type sex
['Rubén Arriaza Pazos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Rubén_Arriaza_Pazos property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7376450,P21,c(Q290))
action filter_type
action find
entity Q7376450
relation P21
type Q290
Rubén Arriaza Pazos has 1 [ANSWER]
['Q7376450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7376450 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Rubén Arriaza Pazos has 1 male
male
action filter_type
action find
entity Rubén Arriaza Pazos
relation gender
type sex
['Rubén Arriaza Pazos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Rubén_Arriaza_Pazos property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7376450
P19
Q56061
USER
Where was that person born ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q7376450
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7376450 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Rubén Arriaza Pazos
action filter_type
action find
entity Rubén Arriaza Pazos
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Rubén_Arriaza_Pazos property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12303
SYSTEM
Jerez de la Frontera
Q12303
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q7376450
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7376450 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Jerez de la Frontera
That person was born in Jerez de la Frontera
Jerez de la Frontera
action filter_type
action find
entity Rubén Arriaza Pazos
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Rubén_Arriaza_Pazos property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1444
Q56061 Q22348500 Q878123
USER
Which administrative territories do more number of cycling race classes or racings finally stop at than that administrative territory ?
(c(Q22348500)|c(Q878123),P1444,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q22348500
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q878123
action count
action filter_multi_types
action find_reverse
entity Q12303
relation P1444
type Q22348500
type Q878123
[[{'concept': 'Q22348500'}, {'concept': 'Q878123'}], 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?p WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q22348500 ) ( ontology:Q878123 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P1444 resource:Q12303 . { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q22348500 ) ( ontology:Q878123 ) } } } } . FILTER ( ?i > ?d ) }
action greater
action union
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type racing
action count
action filter_multi_types
action find_reverse
entity Jerez de la Frontera
relation destination point
type cycling race class defined by the International Cycling Union
type racing
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'racing'}], 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?p WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:racing ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:destination_point resource:Jerez_de_la_Frontera . { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:racing ) } } } } . FILTER ( ?i > ?d ) }
[]
administrative territorial entity cycling race class defined by the International Cycling Union racing
Q2807 Q490 Q90
SYSTEM
Madrid, Milan, Paris
Q392343 Q14325 Q340 Q6537 Q25286 Q231765 Q490 Q10313 Q921291 Q275635 Q1842 Q1479 Q2683168 Q5266 Q33959 Q793 Q15877 Q6285 Q25416 Q2807 Q5112 Q342 Q628 Q365 Q59101 Q221184 Q1296 Q90 Q1019470 Q10686 Q1741 Q84 Q7880 Q1028261 Q646620 Q118958 Q7024 Q13972 Q3642 Q37776 Q100076 Q3086686 Q70 Q5323 Q12191 Q2751 Q134121 Q6441 Q1034159
(c(Q22348500)|c(Q878123),P1444,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q22348500
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q878123
action count
action filter_multi_types
action find_reverse
entity Q12303
relation P1444
type Q22348500
type Q878123
[ANSWERS] more number of cycling race classes or racings finally stop at than that administrative territory
[[{'concept': 'Q22348500'}, {'concept': 'Q878123'}], 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?p WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q22348500 ) ( ontology:Q878123 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P1444 resource:Q12303 . { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q22348500 ) ( ontology:Q878123 ) } } } } . FILTER ( ?i > ?d ) }
Wevelgem Logroño Montreal Vicenza Uppsala Geelong Milan Donostia/San Sebastián Mamer Massawa Luxembourg Bordeaux Vilamoura Novo Mesto Nice Zwolle Izola Varese Stavanger Madrid Adelaide Quimper Bergamo Cologne Narvik Umag Ghent Paris Skive Belfast Vienna London Toulouse Cambridge Estella-Lizarra Leuven Lugano Tartu Asmara Besançon Valkenburg Frasnes-lez-Buissenal Bern Poreč Nantes Siena Namur Montpellier Harstad
Madrid, Milan and Paris more number of cycling race classes or racings finally stop at than that administrative territory
Madrid Milan Paris
action greater
action union
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type racing
action count
action filter_multi_types
action find_reverse
entity Jerez de la Frontera
relation destination point
type cycling race class defined by the International Cycling Union
type racing
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'racing'}], 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?p WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:racing ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:destination_point resource:Jerez_de_la_Frontera . { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:racing ) } } } } . FILTER ( ?i > ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories are max number of people or holidays a patron saint of ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action argmax
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?i rdf:type ?p } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?r rdf:type ?f } GROUP BY ?c } . FILTER ( ?v = ?h ) }
action argmax
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:holiday ) } . ?i rdf:type ?p } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:common_name ) ( ontology:holiday ) } . ?r rdf:type ?f } GROUP BY ?c } . FILTER ( ?v = ?h ) }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action argmax
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
[ANSWERS] are max number of people or holidays a patron saint of
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?i rdf:type ?p } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?r rdf:type ?f } GROUP BY ?c } . FILTER ( ?v = ?h ) }
Brinzio Rome
Brinzio and Rome are max number of people or holidays a patron saint of
Brinzio Rome
action argmax
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:holiday ) } . ?i rdf:type ?p } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:common_name ) ( ontology:holiday ) } . ?r rdf:type ?f } GROUP BY ?c } . FILTER ( ?v = ?h ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q39519 Q220
P30
Q2221906
USER
Where are those administrative territories located ?
(Q39519,P30,c(Q2221906)) (Q220,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q39519', 'P30', {'concept': 'Q2221906'}] ['Q220', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2221906 . ?q property:P30 ?w . VALUES ( ?q ) { ( resource:Q39519 ) ( resource:Q220 ) } }
Brinzio Rome
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Brinzio', 'continent', {'concept': 'geographic location'}] ['Rome', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_location . ?q property:continent ?w . VALUES ( ?q ) { ( resource:Brinzio ) ( resource:Rome ) } }
[]
geographic location
Q46 Q46
SYSTEM
Europe
Q46 Q46
(Q39519,P30,c(Q2221906)) (Q220,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
Those administrative territories are located in [ANSWER] and [ANSWER]
['Q39519', 'P30', {'concept': 'Q2221906'}] ['Q220', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2221906 . ?q property:P30 ?w . VALUES ( ?q ) { ( resource:Q39519 ) ( resource:Q220 ) } }
Europe Europe
Those administrative territories are located in Europe and Europe
Europe Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Brinzio', 'continent', {'concept': 'geographic location'}] ['Rome', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_location . ?q property:continent ?w . VALUES ( ?q ) { ( resource:Brinzio ) ( resource:Rome ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P1346
Q15061650
USER
Which golf tournaments were Europe decalred as a victor of ?
(c(Q15061650),P1346,Q46)
action filter_type
action find_reverse
entity Q46
relation P1346
type Q15061650
[{'concept': 'Q15061650'}, 'P1346', 'Q46']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q46 . ?d rdf:type ontology:Q15061650 }
Europe
action filter_type
action find_reverse
entity Europe
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'Europe']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Europe . ?d rdf:type ontology:golf_tournament }
[]
golf tournament
Q3453903 Q3453904 Q3453910
SYSTEM
1985 Ryder Cup, 1987 Ryder Cup, 1995 Ryder Cup
Q3453903 Q965054 Q3453904 Q1852176 Q3453914 Q3453915 Q3453910 Q1933260 Q3866803 Q602293 Q788186
(c(Q15061650),P1346,Q46)
action filter_type
action find_reverse
entity Q46
relation P1346
type Q15061650
Europe were decalred as a victor of the [ANSWERS]
[{'concept': 'Q15061650'}, 'P1346', 'Q46']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q46 . ?d rdf:type ontology:Q15061650 }
1985 Ryder Cup 1989 Ryder Cup 1987 Ryder Cup 2006 Ryder Cup 1997 Ryder Cup 2002 Ryder Cup 1995 Ryder Cup 2004 Ryder Cup 2014 Ryder Cup 2012 Ryder Cup 2010 Ryder Cup
Europe were decalred as a victor of the 1985 Ryder Cup, 1987 Ryder Cup and 1995 Ryder Cup
1985 Ryder Cup 1987 Ryder Cup 1995 Ryder Cup
action filter_type
action find_reverse
entity Europe
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'Europe']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Europe . ?d rdf:type ontology:golf_tournament }
[]