Simple Question (Direct)
Simple Question
Q5590703
P27
Q15617994
USER
Which administrative territory is Ken Burwall an inhabitant of ?
(Q5590703,P27,c(Q15617994))
action filter_type
action find
entity Q5590703
relation P27
type Q15617994
['Q5590703', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5590703 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Ken Burwall
action filter_type
action find
entity Ken Burwall
relation country of citizenship
type designation for an administrative territorial entity
['Ken Burwall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ken_Burwall property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5590703,P27,c(Q15617994))
action filter_type
action find
entity Q5590703
relation P27
type Q15617994
[ANSWER] is Ken Burwall an inhabitant of
['Q5590703', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5590703 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Sweden
Sweden is Ken Burwall an inhabitant of
Sweden
action filter_type
action find
entity Ken Burwall
relation country of citizenship
type designation for an administrative territorial entity
['Ken Burwall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ken_Burwall property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5590703
P54
Q1194951
USER
What is Ken Burwall a member of ?
(Q5590703,P54,c(Q1194951))
action filter_type
action find
entity Q5590703
relation P54
type Q1194951
['Q5590703', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q5590703 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Ken Burwall
action filter_type
action find
entity Ken Burwall
relation member of sports team
type national sports team
['Ken Burwall', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Ken_Burwall property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q160826
SYSTEM
Sweden national football team
Q160826
(Q5590703,P54,c(Q1194951))
action filter_type
action find
entity Q5590703
relation P54
type Q1194951
Ken Burwall a member of is of [ANSWER]
['Q5590703', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q5590703 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Sweden national football team
Ken Burwall a member of is of Sweden national football team
Sweden national football team
action filter_type
action find
entity Ken Burwall
relation member of sports team
type national sports team
['Ken Burwall', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Ken_Burwall property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P36
Q56061
USER
Which administrative territory is called the capital of Sweden ?
(Q34,P36,c(Q56061))
action filter_type
action find
entity Q34
relation P36
type Q56061
['Q34', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q34 property:P36 ?o . ?o rdf:type ontology:Q56061 }
Sweden
action filter_type
action find
entity Sweden
relation capital
type administrative territorial entity
['Sweden', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sweden property:capital ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q34,P36,c(Q56061))
action filter_type
action find
entity Q34
relation P36
type Q56061
Is [ANSWER] is called the capital of Sweden
['Q34', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q34 property:P36 ?o . ?o rdf:type ontology:Q56061 }
Stockholm
Is Stockholm is called the capital of Sweden
Stockholm
action filter_type
action find
entity Sweden
relation capital
type administrative territorial entity
['Sweden', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sweden property:capital ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q1754,P194,c(Q1752346))
action filter_type
action find
entity Q34
relation P194
type Q1752346
['Q1754', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q34 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Sweden
action filter_type
action find
entity Sweden
relation legislative body
type assembly
['Stockholm', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:Sweden property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
assembly
Q272930
SYSTEM
Parliament of Sweden
Q272930
(Q1754,P194,c(Q1752346))
action filter_type
action find
entity Q34
relation P194
type Q1752346
The [ANSWER] is the legislative body for that administrative territory
['Q1754', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q34 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Parliament of Sweden
The Parliament of Sweden is the legislative body for that administrative territory
Parliament of Sweden
action filter_type
action find
entity Sweden
relation legislative body
type assembly
['Stockholm', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:Sweden property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P194
Q15617994
USER
How many administrative territories have that assembly as their legislative body ?
(c(Q15617994),P194,Q272930)
action count
action filter_type
action find_reverse
entity Q272930
relation P194
type Q15617994
[{'concept': 'Q15617994'}, 'P194', 'Q272930']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:Q15617994 . ?e property:P194 resource:Q272930 }
action count
action filter_type
action find_reverse
entity Parliament of Sweden
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Parliament of Sweden']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:legislative_body resource:Parliament_of_Sweden }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(c(Q15617994),P194,Q272930)
action count
action filter_type
action find_reverse
entity Q272930
relation P194
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', 'Q272930']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:Q15617994 . ?e property:P194 resource:Q272930 }
Sweden
1
action count
action filter_type
action find_reverse
entity Parliament of Sweden
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Parliament of Sweden']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:legislative_body resource:Parliament_of_Sweden }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q617
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have less number of people and holidays as their patron saint than Padua ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q617
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?n ) WHERE { { ?y rdf:type ontology:Q502895 . ?z rdf:type ontology:Q56061 . ?z property:P417 ?y } UNION { ?z property:P417 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { { ?v rdf:type ontology:Q1445650 } UNION { ?v rdf:type ontology:Q502895 } } . resource:Q617 property:P417 ?v } } . FILTER ( ?n < ?j ) }
Padua
action less
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
action count
action filter_multi_types
action find
entity Padua
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?n ) WHERE { { ?y rdf:type ontology:common_name . ?z rdf:type ontology:administrative_territorial_entity . ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { { ?v rdf:type ontology:holiday } UNION { ?v rdf:type ontology:common_name } } . resource:Padua property:patron_saint ?v } } . FILTER ( ?n < ?j ) }
[]
common name holiday administrative territorial entity
Q6221 Q329984 Q4361
SYSTEM
Brescia, Úbeda, Curitiba
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q617
relation P417
type Q502895
type Q1445650
[ANSWERS] have less number of people and holidays as their patron saint than Padua
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?n ) WHERE { { ?y rdf:type ontology:Q502895 . ?z rdf:type ontology:Q56061 . ?z property:P417 ?y } UNION { ?z property:P417 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { { ?v rdf:type ontology:Q1445650 } UNION { ?v rdf:type ontology:Q502895 } } . resource:Q617 property:P417 ?v } } . FILTER ( ?n < ?j ) }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
Brescia, Úbeda and Curitiba have less number of people and holidays as their patron saint than Padua
Brescia Úbeda Curitiba
action less
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
action count
action filter_multi_types
action find
entity Padua
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?n ) WHERE { { ?y rdf:type ontology:common_name . ?z rdf:type ontology:administrative_territorial_entity . ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { { ?v rdf:type ontology:holiday } UNION { ?v rdf:type ontology:common_name } } . resource:Padua property:patron_saint ?v } } . FILTER ( ?n < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6285
P417
Q502895 Q1445650 Q56061
USER
And how about Varese?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q6285
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?q ) WHERE { { ?s property:P417 ?t . ?s rdf:type ontology:Q56061 . ?t rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q56061 . ?t rdf:type ontology:Q1445650 . ?s property:P417 ?t } } GROUP BY ?s } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q6285 property:P417 ?b . { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
Varese
action less
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
action count
action filter_multi_types
action find
entity Varese
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?q ) WHERE { { ?s property:patron_saint ?t . ?s rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:common_name } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:holiday . ?s property:patron_saint ?t } } GROUP BY ?s } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Varese property:patron_saint ?b . { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
common name holiday administrative territorial entity
Q6221 Q329984 Q4361
SYSTEM
Brescia, Úbeda, Curitiba
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q6285
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?q ) WHERE { { ?s property:P417 ?t . ?s rdf:type ontology:Q56061 . ?t rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q56061 . ?t rdf:type ontology:Q1445650 . ?s property:P417 ?t } } GROUP BY ?s } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q6285 property:P417 ?b . { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
Brescia Úbeda Curitiba
action less
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
action count
action filter_multi_types
action find
entity Varese
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?q ) WHERE { { ?s property:patron_saint ?t . ?s rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:common_name } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:holiday . ?s property:patron_saint ?t } } GROUP BY ?s } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Varese property:patron_saint ?b . { ?b rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q164089 Q160826
P1344
Q15275719
USER
Which recurring events did Sweden national football team but not Mexico national football team participate in ?
AND((Q160826,P1344,c(Q15275719)), NOT((Q164089,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q160826
relation P1344
action find
entity Q164089
relation P1344
type Q15275719
{'AND': [['Q160826', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q164089', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Q160826 property:P1344 ?j . FILTER NOT EXISTS { resource:Q164089 property:P1344 ?j } . ?j rdf:type ontology:Q15275719 }
Mexico national football team Sweden national football team
action filter_type
action difference
action find
entity Sweden national football team
relation participant of
action find
entity Mexico national football team
relation participant of
type recurring event
{'AND': [['Sweden national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Mexico national football team', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Sweden_national_football_team property:participant_of ?j . FILTER NOT EXISTS { resource:Mexico_national_football_team property:participant_of ?j } . ?j rdf:type ontology:recurring_event }
[]
recurring event
Q132529 Q1477177 Q131591 Q166121
SYSTEM
1990 FIFA World Cup, 1934 FIFA World Cup, 1938 FIFA World Cup, 1974 FIFA World Cup
Q132529 Q1477177 Q131591 Q166121
AND((Q160826,P1344,c(Q15275719)), NOT((Q164089,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q160826
relation P1344
action find
entity Q164089
relation P1344
type Q15275719
Sweden national football team but not Mexico national football team participated in the [ANSWERS]
{'AND': [['Q160826', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q164089', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Q160826 property:P1344 ?j . FILTER NOT EXISTS { resource:Q164089 property:P1344 ?j } . ?j rdf:type ontology:Q15275719 }
1990 FIFA World Cup 1934 FIFA World Cup 1938 FIFA World Cup 1974 FIFA World Cup
Sweden national football team but not Mexico national football team participated in the 1990 FIFA World Cup, 1934 FIFA World Cup, 1938 FIFA World Cup and 1974 FIFA World Cup
1990 FIFA World Cup 1934 FIFA World Cup 1938 FIFA World Cup 1974 FIFA World Cup
action filter_type
action difference
action find
entity Sweden national football team
relation participant of
action find
entity Mexico national football team
relation participant of
type recurring event
{'AND': [['Sweden national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Mexico national football team', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Sweden_national_football_team property:participant_of ?j . FILTER NOT EXISTS { resource:Mexico_national_football_team property:participant_of ?j } . ?j rdf:type ontology:recurring_event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3299663 Q5590703
P106
Q12737077
USER
Which occupations are the professions of Ken Burwall or Matthew Bancroft ?
OR((Q5590703,P106,c(Q12737077)), (Q3299663,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5590703
relation P106
action find
entity Q3299663
relation P106
type Q12737077
{'OR': [['Q5590703', 'P106', {'concept': 'Q12737077'}], ['Q3299663', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5590703 property:P106 ?q } UNION { resource:Q3299663 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
Matthew Bancroft Ken Burwall
action filter_type
action union
action find
entity Ken Burwall
relation occupation
action find
entity Matthew Bancroft
relation occupation
type occupation
{'OR': [['Ken Burwall', 'occupation', {'concept': 'occupation'}], ['Matthew Bancroft', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Ken_Burwall property:occupation ?q } UNION { resource:Matthew_Bancroft property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
occupation
Q33999 Q937857
SYSTEM
actor, association football player
Q33999 Q937857
OR((Q5590703,P106,c(Q12737077)), (Q3299663,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5590703
relation P106
action find
entity Q3299663
relation P106
type Q12737077
The professions of Ken Burwall or Matthew Bancroft are an [ANSWERS]
{'OR': [['Q5590703', 'P106', {'concept': 'Q12737077'}], ['Q3299663', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5590703 property:P106 ?q } UNION { resource:Q3299663 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
actor association football player
The professions of Ken Burwall or Matthew Bancroft are an actor and association football player
actor association football player
action filter_type
action union
action find
entity Ken Burwall
relation occupation
action find
entity Matthew Bancroft
relation occupation
type occupation
{'OR': [['Ken Burwall', 'occupation', {'concept': 'occupation'}], ['Matthew Bancroft', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Ken_Burwall property:occupation ?q } UNION { resource:Matthew_Bancroft property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q22667
P101
Q43229
USER
How many organizations works in the domain of association football player or railroad ?
(c(Q43229),P101,Q937857) (c(Q43229),P101,Q22667)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P101
type Q43229
action filter_type
action find_reverse
entity Q22667
relation P101
type Q43229
[{'concept': 'Q43229'}, 'P101', 'Q937857'] [{'concept': 'Q43229'}, 'P101', 'Q22667']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:P101 resource:Q937857 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P101 resource:Q22667 . ?e rdf:type ontology:Q43229 } }
association football player railroad
action count
action union
action filter_type
action find_reverse
entity association football player
relation field of work
type organization
action filter_type
action find_reverse
entity railroad
relation field of work
type organization
[{'concept': 'organization'}, 'field of work', 'association football player'] [{'concept': 'organization'}, 'field of work', 'railroad']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:field_of_work resource:association_football_player . ?e rdf:type ontology:organization } UNION { ?e property:field_of_work resource:railroad . ?e rdf:type ontology:organization } }
[]
organization
SYSTEM
5
Q7566627 Q3321166 Q4852955 Q569273 Q6175727
(c(Q43229),P101,Q937857) (c(Q43229),P101,Q22667)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P101
type Q43229
action filter_type
action find_reverse
entity Q22667
relation P101
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P101', 'Q937857'] [{'concept': 'Q43229'}, 'P101', 'Q22667']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:P101 resource:Q937857 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P101 resource:Q22667 . ?e rdf:type ontology:Q43229 } }
South Carolina Railroad Monon Railroad Baltimore and Ohio Chicago Terminal Railroad Treni Regionali Ticino Lombardia Jeffersonville, Madison and Indianapolis Railroad
5
action count
action union
action filter_type
action find_reverse
entity association football player
relation field of work
type organization
action filter_type
action find_reverse
entity railroad
relation field of work
type organization
[{'concept': 'organization'}, 'field of work', 'association football player'] [{'concept': 'organization'}, 'field of work', 'railroad']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:field_of_work resource:association_football_player . ?e rdf:type ontology:organization } UNION { ?e property:field_of_work resource:railroad . ?e rdf:type ontology:organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Who has association football player as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q937857 property:P425 ?l . ?l rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:association_football_player property:field_of_this_occupation ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Player [ANSWER] has [ANSWER] player as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q937857 property:P425 ?l . ?l rdf:type ontology:Q349 }
association football
Player association football has association football player as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:association_football_player property:field_of_this_occupation ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
Which sports club is that occupation a component of ?
(Q2736,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q2736', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?z WHERE { resource:Q937857 property:P361 ?z . ?z rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?z WHERE { resource:association_football_player property:part_of ?z . ?z rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q2736,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Club [ANSWER] is that occupation a component of
['Q2736', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?z WHERE { resource:Q937857 property:P361 ?z . ?z rdf:type ontology:Q847017 }
association football club
Club association football club is that occupation a component of
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?z WHERE { resource:association_football_player property:part_of ?z . ?z rdf:type ontology:sports_club }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P136
Q166142
USER
Which applications have association football as genre ?
(c(Q166142),P136,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?r WHERE { ?r property:P136 resource:Q2736 . ?r rdf:type ontology:Q166142 }
association football
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?r WHERE { ?r property:genre resource:association_football . ?r rdf:type ontology:application }
[]
application
Q725280 Q1313999 Q1415817
SYSTEM
FIFA 07, FIFA Football 2004, Sensible Soccer
Q3285805 Q592758 Q1436475 Q3283738 Q2823774 Q1313999 Q486963 Q3338065 Q612273 Q1851017 Q1469022 Q1415817 Q2037455 Q8035917 Q5282474 Q725280 Q580220 Q3548017 Q8068428 Q2529207 Q543188
(c(Q166142),P136,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[ANSWERS] have association football as genre
[{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?r WHERE { ?r property:P136 resource:Q2736 . ?r rdf:type ontology:Q166142 }
FIFA Soccer Manager FIFA Street 2 Football Superstars Real Football 2008 Actua Soccer FIFA Football 2004 FIFA Online 2 Neo Geo Cup '98: The Road to the Victory FIFA Street International Superstar Soccer International Soccer Sensible Soccer This Is Football World League Soccer 98 Disney Sports Soccer FIFA 07 FIFA Online Ultimate Soccer Zeebo F.C. Foot Camp International Superstar Soccer Deluxe Microprose Soccer
FIFA 07, FIFA Football 2004 and Sensible Soccer have association football as genre
FIFA 07 FIFA Football 2004 Sensible Soccer
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?r WHERE { ?r property:genre resource:association_football . ?r rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q725280 Q1313999 Q1415817
P400
Q241317
USER
Which computing platforms are the platforms for which FIFA 07, FIFA Football 2004 and Sensible Soccer were developed ?
(Q725280,P400,c(Q241317)) (Q1313999,P400,c(Q241317)) (Q1415817,P400,c(Q241317))
action union
action filter_type
action find
entity Q725280
relation P400
type Q241317
action filter_type
action find
entity Q1313999
relation P400
type Q241317
action filter_type
action find
entity Q1415817
relation P400
type Q241317
['Q725280', 'P400', {'concept': 'Q241317'}] ['Q1313999', 'P400', {'concept': 'Q241317'}] ['Q1415817', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?z WHERE { { resource:Q725280 property:P400 ?z . ?z rdf:type ontology:Q241317 } UNION { ?z rdf:type ontology:Q241317 . resource:Q1313999 property:P400 ?z } }
FIFA 07 FIFA Football 2004 Sensible Soccer
action union
action filter_type
action find
entity FIFA 07
relation platform
type computing platform
action filter_type
action find
entity FIFA Football 2004
relation platform
type computing platform
action filter_type
action find
entity Sensible Soccer
relation platform
type computing platform
['FIFA 07', 'platform', {'concept': 'computing platform'}] ['FIFA Football 2004', 'platform', {'concept': 'computing platform'}] ['Sensible Soccer', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?z WHERE { { resource:FIFA_07 property:platform ?z . ?z rdf:type ontology:computing_platform } UNION { ?z rdf:type ontology:computing_platform . resource:FIFA_Football_2004 property:platform ?z } }
[]
computing platform
Q48263 Q10676 Q10680
SYSTEM
Xbox 360, Sega Genesis, PlayStation 2
Q48263 Q182172 Q132020 Q10680 Q10677 Q182172 Q132020 Q10680 Q10676 Q183259
(Q725280,P400,c(Q241317)) (Q1313999,P400,c(Q241317)) (Q1415817,P400,c(Q241317))
action union
action filter_type
action find
entity Q725280
relation P400
type Q241317
action filter_type
action find
entity Q1313999
relation P400
type Q241317
action filter_type
action find
entity Q1415817
relation P400
type Q241317
[ANSWERS] are the platforms for which FIFA 07, FIFA Football 2004 and Sensible Soccer were developed
['Q725280', 'P400', {'concept': 'Q241317'}] ['Q1313999', 'P400', {'concept': 'Q241317'}] ['Q1415817', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?z WHERE { { resource:Q725280 property:P400 ?z . ?z rdf:type ontology:Q241317 } UNION { ?z rdf:type ontology:Q241317 . resource:Q1313999 property:P400 ?z } }
Xbox 360 Nintendo GameCube Xbox PlayStation 2 PlayStation Nintendo GameCube Xbox PlayStation 2 Sega Genesis Super Nintendo Entertainment System
Xbox 360, Sega Genesis and PlayStation 2 are the platforms for which FIFA 07, FIFA Football 2004 and Sensible Soccer were developed
Xbox 360 Sega Genesis PlayStation 2
action union
action filter_type
action find
entity FIFA 07
relation platform
type computing platform
action filter_type
action find
entity FIFA Football 2004
relation platform
type computing platform
action filter_type
action find
entity Sensible Soccer
relation platform
type computing platform
['FIFA 07', 'platform', {'concept': 'computing platform'}] ['FIFA Football 2004', 'platform', {'concept': 'computing platform'}] ['Sensible Soccer', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?z WHERE { { resource:FIFA_07 property:platform ?z . ?z rdf:type ontology:computing_platform } UNION { ?z rdf:type ontology:computing_platform . resource:FIFA_Football_2004 property:platform ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6221
P1444
Q878123
USER
Which racing finishes the journey at Brescia ?
(c(Q878123),P1444,Q6221)
action filter_type
action find_reverse
entity Q6221
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q6221']
SELECT DISTINCT ?r WHERE { ?r property:P1444 resource:Q6221 . ?r rdf:type ontology:Q878123 }
Brescia
action filter_type
action find_reverse
entity Brescia
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Brescia']
SELECT DISTINCT ?r WHERE { ?r property:destination_point resource:Brescia . ?r rdf:type ontology:racing }
[]
racing
Q13391015
SYSTEM
2013 Giro d'Italia, Stage 21
Q13391015
(c(Q878123),P1444,Q6221)
action filter_type
action find_reverse
entity Q6221
relation P1444
type Q878123
The [ANSWER] finishes the journey at Brescia
[{'concept': 'Q878123'}, 'P1444', 'Q6221']
SELECT DISTINCT ?r WHERE { ?r property:P1444 resource:Q6221 . ?r rdf:type ontology:Q878123 }
2013 Giro d'Italia, Stage 21
The 2013 Giro d'Italia, Stage 21 finishes the journey at Brescia
2013 Giro d'Italia, Stage 21
action filter_type
action find_reverse
entity Brescia
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Brescia']
SELECT DISTINCT ?r WHERE { ?r property:destination_point resource:Brescia . ?r rdf:type ontology:racing }
[]