Simple Question (Direct)
Simple Question
Q511898
P1344
Q15091377
USER
Which cycling race did Matteo Rabottini participate in ?
(Q511898,P1344,c(Q15091377))
action filter_type
action find
entity Q511898
relation P1344
type Q15091377
['Q511898', 'P1344', {'concept': 'Q15091377'}]
SELECT DISTINCT ?h WHERE { resource:Q511898 property:P1344 ?h . ?h rdf:type ontology:Q15091377 }
Matteo Rabottini
action filter_type
action find
entity Matteo Rabottini
relation participant of
type cycling race
['Matteo Rabottini', 'participant of', {'concept': 'cycling race'}]
SELECT DISTINCT ?h WHERE { resource:Matteo_Rabottini property:participant_of ?h . ?h rdf:type ontology:cycling_race }
[]
cycling race
Q14916000
SYSTEM
2014 Giro d'Italia
Q14916000
(Q511898,P1344,c(Q15091377))
action filter_type
action find
entity Q511898
relation P1344
type Q15091377
Matteo Rabottini participated in [ANSWER]
['Q511898', 'P1344', {'concept': 'Q15091377'}]
SELECT DISTINCT ?h WHERE { resource:Q511898 property:P1344 ?h . ?h rdf:type ontology:Q15091377 }
2014 Giro d'Italia
Matteo Rabottini participated in 2014 Giro d'Italia
2014 Giro d'Italia
action filter_type
action find
entity Matteo Rabottini
relation participant of
type cycling race
['Matteo Rabottini', 'participant of', {'concept': 'cycling race'}]
SELECT DISTINCT ?h WHERE { resource:Matteo_Rabottini property:participant_of ?h . ?h rdf:type ontology:cycling_race }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14916000
P361
Q878123
USER
Which racings are parts of that cycling race ?
(c(Q878123),P361,Q14916000)
action filter_type
action find_reverse
entity Q14916000
relation P361
type Q878123
[{'concept': 'Q878123'}, 'P361', 'Q14916000']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q14916000 . ?k rdf:type ontology:Q878123 }
2014 Giro d'Italia
action filter_type
action find_reverse
entity 2014 Giro d'Italia
relation part of
type racing
[{'concept': 'racing'}, 'part of', "2014 Giro d'Italia"]
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:2014_Giro_d'Italia . ?k rdf:type ontology:racing }
[]
racing
Q16303442 Q16303458 Q16938093
SYSTEM
2014 Giro d'Italia, Stage 1, 2014 Giro d'Italia, Stage 2, 2014 Giro d'Italia, Stage 15
Q16938093 Q16905657 Q16905663 Q16905635 Q16905640 Q17134867 Q17134864 Q16303442 Q16913638 Q16303458 Q16929804 Q17055836 Q16964066 Q16905637 Q17055170 Q16905653 Q16936986 Q17055304 Q16929816 Q16915572
(c(Q878123),P361,Q14916000)
action filter_type
action find_reverse
entity Q14916000
relation P361
type Q878123
[ANSWERS]
[{'concept': 'Q878123'}, 'P361', 'Q14916000']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q14916000 . ?k rdf:type ontology:Q878123 }
2014 Giro d'Italia, Stage 15 2014 Giro d'Italia, Stage 8 2014 Giro d'Italia, Stage 9 2014 Giro d'Italia, Stage 4 2014 Giro d'Italia, Stage 6 2014 Giro d'Italia, Stage 18 2014 Giro d'Italia, Stage 17 2014 Giro d'Italia, Stage 1 2014 Giro d'Italia, Stage 10 2014 Giro d'Italia, Stage 2 2014 Giro d'Italia, Stage 12 2014 Giro d'Italia, Stage 19 2014 Giro d'Italia, Stage 16 2014 Giro d'Italia, Stage 5 2014 Giro d'Italia, Stage 21 2014 Giro d'Italia, Stage 7 2014 Giro d'Italia, Stage 14 2014 Giro d'Italia, Stage 20 2014 Giro d'Italia, Stage 13 2014 Giro d'Italia, Stage 11
2014 Giro d'Italia, Stage 1, 2014 Giro d'Italia, Stage 2 and 2014 Giro d'Italia, Stage 15 are parts of that cycling race
2014 Giro d'Italia, Stage 1 2014 Giro d'Italia, Stage 2 2014 Giro d'Italia, Stage 15
action filter_type
action find_reverse
entity 2014 Giro d'Italia
relation part of
type racing
[{'concept': 'racing'}, 'part of', "2014 Giro d'Italia"]
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:2014_Giro_d'Italia . ?k rdf:type ontology:racing }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q5962346 Q15275719 Q878123
USER
Which racings are a component of less number of classification schemes and recurring events than that racing ?
(c(Q878123),P361,c(Q5962346)|c(Q15275719))
[{'concept': 'Q878123'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q15275719'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:P361 ?r } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q15275719 }
[{'concept': 'racing'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'recurring event'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:part_of ?r } . ?z rdf:type ontology:racing . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:recurring_event }
[]
classification scheme recurring event racing
Comparative|More/Less|Mult. entity type|Clarification
Q16303442
SYSTEM
Did you mean 2014 Giro d'Italia, Stage 1 ?
(c(Q878123),P361,c(Q5962346)|c(Q15275719))
[ANSWER]
[{'concept': 'Q878123'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q15275719'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:P361 ?r } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q15275719 }
Did you mean 2014 Giro d'Italia, Stage 1 ?
2014 Giro d'Italia, Stage 1
[{'concept': 'racing'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'recurring event'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:part_of ?r } . ?z rdf:type ontology:racing . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:recurring_event }
[]
Comparative Reasoning (All)
USER
No, I meant 2014 Giro d'Italia, Stage 2. Could you tell me the answer for that?
(c(Q878123),P361,c(Q5962346)|c(Q15275719))
Q16303458
[{'concept': 'Q878123'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q15275719'}]]
[{'concept': 'racing'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'recurring event'}]]
[]
SYSTEM
0
(c(Q878123),P361,c(Q5962346)|c(Q15275719))
[ANSWER]
[{'concept': 'Q878123'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q15275719'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q15275719 }
0
[{'concept': 'racing'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'recurring event'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:recurring_event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q68877
P1444
Q13220204 Q878123
USER
Which administrative country subdivisions are the destination points for greater number of racings than Finhaut ?
(c(Q878123),P1444,c(Q13220204))
action greater
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q878123
action count
action filter_type
action find
entity Q68877
relation P1444
type Q13220204
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P1444 ?g . ?g rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q878123 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:Q13220204 . resource:Q68877 property:P1444 ?n } } . FILTER ( ?a > ?q ) }
Finhaut
action greater
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type racing
action count
action filter_type
action find
entity Finhaut
relation destination point
type second-level administrative country subdivision
[{'concept': 'racing'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:destination_point ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:racing } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . resource:Finhaut property:destination_point ?n } } . FILTER ( ?a > ?q ) }
[]
second-level administrative country subdivision racing
Q1435 Q48278 Q3370
SYSTEM
Zagreb, Antioquia - Medellín, Zadar
Q70108 Q82119 Q48278 Q66604 Q690142 Q488955 Q1435 Q68256 Q586722 Q69126 Q65816 Q3370
(c(Q878123),P1444,c(Q13220204))
action greater
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q878123
action count
action filter_type
action find
entity Q68877
relation P1444
type Q13220204
[ANSWERS] are the destination points for greater number of racings than Finhaut
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P1444 ?g . ?g rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q878123 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:Q13220204 . resource:Q68877 property:P1444 ?n } } . FILTER ( ?a > ?q ) }
Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Olivone Målselv Zagreb Porrentruy Loulé Municipality Möhlin Jonschwil Zadar
Zagreb, Antioquia - Medellín and Zadar are the destination points for greater number of racings than Finhaut
Zagreb Antioquia - Medellín Zadar
action greater
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type racing
action count
action filter_type
action find
entity Finhaut
relation destination point
type second-level administrative country subdivision
[{'concept': 'racing'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:destination_point ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:racing } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . resource:Finhaut property:destination_point ?n } } . FILTER ( ?a > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q10081
P1444
Q13220204 Q878123
USER
And how about Terneuzen?
(c(Q878123),P1444,c(Q13220204))
action greater
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q878123
action count
action filter_type
action find
entity Q10081
relation P1444
type Q13220204
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ontology:Q878123 . ?w rdf:type ontology:Q13220204 . ?n property:P1444 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:Q13220204 . resource:Q10081 property:P1444 ?j } } . FILTER ( ?t > ?s ) }
Terneuzen
action greater
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type racing
action count
action filter_type
action find
entity Terneuzen
relation destination point
type second-level administrative country subdivision
[{'concept': 'racing'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ontology:racing . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?n property:destination_point ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:second-level_administrative_country_subdivision . resource:Terneuzen property:destination_point ?j } } . FILTER ( ?t > ?s ) }
[]
second-level administrative country subdivision racing
Q1435 Q48278 Q3370
SYSTEM
Zagreb, Antioquia - Medellín, Zadar
Q70108 Q82119 Q48278 Q66604 Q690142 Q488955 Q1435 Q68256 Q586722 Q69126 Q65816 Q3370
(c(Q878123),P1444,c(Q13220204))
action greater
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q878123
action count
action filter_type
action find
entity Q10081
relation P1444
type Q13220204
[ANSWERS]
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ontology:Q878123 . ?w rdf:type ontology:Q13220204 . ?n property:P1444 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:Q13220204 . resource:Q10081 property:P1444 ?j } } . FILTER ( ?t > ?s ) }
Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Olivone Målselv Zagreb Porrentruy Loulé Municipality Möhlin Jonschwil Zadar
Zagreb Antioquia - Medellín Zadar
action greater
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type racing
action count
action filter_type
action find
entity Terneuzen
relation destination point
type second-level administrative country subdivision
[{'concept': 'racing'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?t ) WHERE { ?n rdf:type ontology:racing . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?n property:destination_point ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:second-level_administrative_country_subdivision . resource:Terneuzen property:destination_point ?j } } . FILTER ( ?t > ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q876239 Q3370
P190
Q56061
USER
Which administrative territories are twin cities of Zadar or Obervellach ?
OR((Q3370,P190,c(Q56061)), (Q876239,P190,c(Q56061)))
action filter_type
action union
action find
entity Q3370
relation P190
action find
entity Q876239
relation P190
type Q56061
{'OR': [['Q3370', 'P190', {'concept': 'Q56061'}], ['Q876239', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?t ) { ( resource:Q3370 ) ( resource:Q876239 ) } . ?t property:P190 ?d } . ?d rdf:type ontology:Q56061 }
Obervellach Zadar
action filter_type
action union
action find
entity Zadar
relation sister city
action find
entity Obervellach
relation sister city
type administrative territorial entity
{'OR': [['Zadar', 'sister city', {'concept': 'administrative territorial entity'}], ['Obervellach', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?t ) { ( resource:Zadar ) ( resource:Obervellach ) } . ?t property:sister_city ?d } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13360 Q157032 Q123709 Q617 Q15922 Q1104
SYSTEM
Reggio Emilia, Prilep, Dundee, Padua, Škofja Loka, Hemer
Q13360 Q157032 Q123709 Q617 Q15922 Q1104
OR((Q3370,P190,c(Q56061)), (Q876239,P190,c(Q56061)))
action filter_type
action union
action find
entity Q3370
relation P190
action find
entity Q876239
relation P190
type Q56061
[ANSWERS] are twin cities of Zadar or Obervellach
{'OR': [['Q3370', 'P190', {'concept': 'Q56061'}], ['Q876239', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?t ) { ( resource:Q3370 ) ( resource:Q876239 ) } . ?t property:P190 ?d } . ?d rdf:type ontology:Q56061 }
Reggio Emilia Prilep Dundee Padua Škofja Loka Hemer
Reggio Emilia, Prilep, Dundee, Padua, Škofja Loka and Hemer are twin cities of Zadar or Obervellach
Reggio Emilia Prilep Dundee Padua Škofja Loka Hemer
action filter_type
action union
action find
entity Zadar
relation sister city
action find
entity Obervellach
relation sister city
type administrative territorial entity
{'OR': [['Zadar', 'sister city', {'concept': 'administrative territorial entity'}], ['Obervellach', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?t ) { ( resource:Zadar ) ( resource:Obervellach ) } . ?t property:sister_city ?d } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16658203
P138
Q39546 Q43229 Q56061
USER
How many administrative territories are named after greater number of tools and organizations than Ruzhino ?
(c(Q56061),P138,c(Q39546)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q43229
action count
action filter_multi_types
action find
entity Q16658203
relation P138
type Q39546
type Q43229
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q39546 ) ( ontology:Q43229 ) } } GROUP BY ?j } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q16658203 property:P138 ?c . { { ?c rdf:type ontology:Q39546 } UNION { ?c rdf:type ontology:Q43229 } } } } }
Ruzhino
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type organization
action count
action filter_multi_types
action find
entity Ruzhino
relation named after
type tool
type organization
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:tool ) ( ontology:organization ) } } GROUP BY ?j } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Ruzhino property:named_after ?c . { { ?c rdf:type ontology:tool } UNION { ?c rdf:type ontology:organization } } } } }
[]
tool organization administrative territorial entity
SYSTEM
3
Q906740 Q2198018 Q194067
(c(Q56061),P138,c(Q39546)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q43229
action count
action filter_multi_types
action find
entity Q16658203
relation P138
type Q39546
type Q43229
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q39546 ) ( ontology:Q43229 ) } } GROUP BY ?j } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q16658203 property:P138 ?c . { { ?c rdf:type ontology:Q39546 } UNION { ?c rdf:type ontology:Q43229 } } } } }
Diósgyőr-Vasgyár Batadorp Serpukhov
3
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type organization
action count
action filter_multi_types
action find
entity Ruzhino
relation named after
type tool
type organization
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:tool ) ( ontology:organization ) } } GROUP BY ?j } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Ruzhino property:named_after ?c . { { ?c rdf:type ontology:tool } UNION { ?c rdf:type ontology:organization } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1283075 Q14916000
P641
Q31629
USER
Which types of sport were 2014 Giro d'Italia or Eddy De Lépine a part of ?
OR((Q14916000,P641,c(Q31629)), (Q1283075,P641,c(Q31629)))
action filter_type
action union
action find
entity Q14916000
relation P641
action find
entity Q1283075
relation P641
type Q31629
{'OR': [['Q14916000', 'P641', {'concept': 'Q31629'}], ['Q1283075', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Q14916000 ) ( resource:Q1283075 ) } . ?f property:P641 ?x } . ?x rdf:type ontology:Q31629 }
Eddy De Lépine 2014 Giro d'Italia
action filter_type
action union
action find
entity 2014 Giro d'Italia
relation sport
action find
entity Eddy De Lépine
relation sport
type type of sport
{'OR': [["2014 Giro d'Italia", 'sport', {'concept': 'type of sport'}], ['Eddy De Lépine', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:2014_Giro_d'Italia ) ( resource:Eddy_De_Lépine ) } . ?f property:sport ?x } . ?x rdf:type ontology:type_of_sport }
[]
type of sport
Q3609 Q542
SYSTEM
road bicycle racing, athletics
Q3609 Q542
OR((Q14916000,P641,c(Q31629)), (Q1283075,P641,c(Q31629)))
action filter_type
action union
action find
entity Q14916000
relation P641
action find
entity Q1283075
relation P641
type Q31629
The [ANSWERS] were 2014 Giro d'Italia or Eddy De Lépine a part of
{'OR': [['Q14916000', 'P641', {'concept': 'Q31629'}], ['Q1283075', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Q14916000 ) ( resource:Q1283075 ) } . ?f property:P641 ?x } . ?x rdf:type ontology:Q31629 }
road bicycle racing athletics
The road bicycle racing and athletics were 2014 Giro d'Italia or Eddy De Lépine a part of
road bicycle racing athletics
action filter_type
action union
action find
entity 2014 Giro d'Italia
relation sport
action find
entity Eddy De Lépine
relation sport
type type of sport
{'OR': [["2014 Giro d'Italia", 'sport', {'concept': 'type of sport'}], ['Eddy De Lépine', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:2014_Giro_d'Italia ) ( resource:Eddy_De_Lépine ) } . ?f property:sport ?x } . ?x rdf:type ontology:type_of_sport }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1035313
P641
Q502895
USER
Are Henk Vogels involved in playing those types of sport ?
(Q1035313,P641,Q3609) (Q1035313,P641,Q542)
action is_in
entity prev_answer
action find
entity Q1035313
relation P641
['Q1035313', 'P641', 'Q3609'] ['Q1035313', 'P641', 'Q542']
ASK WHERE { VALUES ( ?a ) { ( resource:Q3609 ) ( resource:Q542 ) } . resource:Q1035313 property:P641 ?a }
Henk Vogels
action is_in
entity prev_answer
action find
entity Henk Vogels
relation sport
['Henk Vogels', 'sport', 'road bicycle racing'] ['Henk Vogels', 'sport', 'athletics']
ASK WHERE { VALUES ( ?a ) { ( resource:road_bicycle_racing ) ( resource:athletics ) } . resource:Henk_Vogels property:sport ?a }
[]
common name
SYSTEM
YES
(Q1035313,P641,Q3609) (Q1035313,P641,Q542)
action is_in
entity prev_answer
action find
entity Q1035313
relation P641
[ANSWER]
['Q1035313', 'P641', 'Q3609'] ['Q1035313', 'P641', 'Q542']
ASK WHERE { VALUES ( ?a ) { ( resource:Q3609 ) ( resource:Q542 ) } . resource:Q1035313 property:P641 ?a }
Yes
action is_in
entity prev_answer
action find
entity Henk Vogels
relation sport
['Henk Vogels', 'sport', 'road bicycle racing'] ['Henk Vogels', 'sport', 'athletics']
ASK WHERE { VALUES ( ?a ) { ( resource:road_bicycle_racing ) ( resource:athletics ) } . resource:Henk_Vogels property:sport ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3609
P2416
Q502895
USER
Who was a contestant in road bicycle racing ?
(c(Q502895),P2416,Q3609)
action filter_type
action find_reverse
entity Q3609
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q3609']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P2416 resource:Q3609 }
road bicycle racing
action filter_type
action find_reverse
entity road bicycle racing
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'road bicycle racing']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:sports_discipline_competed_in resource:road_bicycle_racing }
[]
common name
Q22271507
SYSTEM
Luisa Daniela Hernandez
Q22271507
(c(Q502895),P2416,Q3609)
action filter_type
action find_reverse
entity Q3609
relation P2416
type Q502895
A contestant in road bicycle racing was María [ANSWER]
[{'concept': 'Q502895'}, 'P2416', 'Q3609']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P2416 resource:Q3609 }
Luisa Daniela Hernandez
A contestant in road bicycle racing was María Luisa Daniela Hernandez
Luisa Daniela Hernandez
action filter_type
action find_reverse
entity road bicycle racing
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'road bicycle racing']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:sports_discipline_competed_in resource:road_bicycle_racing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q617
P47
Q56061
USER
Which administrative territory shares border with Padua ?
(Q617,P47,c(Q56061))
action filter_type
action find
entity Q617
relation P47
type Q56061
['Q617', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q617 property:P47 ?u }
Padua
action filter_type
action find
entity Padua
relation shares border with
type administrative territorial entity
['Padua', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Padua property:shares_border_with ?u }
[]
administrative territorial entity
Q34330
SYSTEM
Noventa Padovana
Q34330
(Q617,P47,c(Q56061))
action filter_type
action find
entity Q617
relation P47
type Q56061
[ANSWER] shares border with Padua
['Q617', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q617 property:P47 ?u }
Noventa Padovana
Noventa Padovana shares border with Padua
Noventa Padovana
action filter_type
action find
entity Padua
relation shares border with
type administrative territorial entity
['Padua', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Padua property:shares_border_with ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34330
P159
Q7210356
USER
Which political organization has the principal seat at that administrative territory ?
(c(Q7210356),P159,Q34330)
action filter_type
action find_reverse
entity Q34330
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q34330']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7210356 . ?h property:P159 resource:Q34330 }
Noventa Padovana
action filter_type
action find_reverse
entity Noventa Padovana
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Noventa Padovana']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_organization . ?h property:headquarters_location resource:Noventa_Padovana }
[]
political organization
Q958419
SYSTEM
Liga Veneta
Q958419
(c(Q7210356),P159,Q34330)
action filter_type
action find_reverse
entity Q34330
relation P159
type Q7210356
[ANSWER] has the principal seat at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q34330']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7210356 . ?h property:P159 resource:Q34330 }
Liga Veneta
Liga Veneta has the principal seat at that administrative territory
Liga Veneta
action filter_type
action find_reverse
entity Noventa Padovana
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Noventa Padovana']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_organization . ?h property:headquarters_location resource:Noventa_Padovana }
[]