Simple Question (Direct)
Simple Question
Q6405452
P54
Q1194951
USER
What is Kieran O'Regan a member of ?
(Q6405452,P54,c(Q1194951))
action filter_type
action find
entity Q6405452
relation P54
type Q1194951
['Q6405452', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q6405452 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Kieran O'Regan
action filter_type
action find
entity Kieran O'Regan
relation member of sports team
type national sports team
["Kieran O'Regan", 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Kieran_O'Regan property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q163547
SYSTEM
Republic of Ireland national football team
Q163547
(Q6405452,P54,c(Q1194951))
action filter_type
action find
entity Q6405452
relation P54
type Q1194951
Kieran O'Regan a member of is the [ANSWER]
['Q6405452', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q6405452 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Republic of Ireland national football team
Kieran O'Regan a member of is the Republic of Ireland national football team
Republic of Ireland national football team
action filter_type
action find
entity Kieran O'Regan
relation member of sports team
type national sports team
["Kieran O'Regan", 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Kieran_O'Regan property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6405452
P641
Q349
USER
Which sport was that person a part of ?
(Q163547,P641,c(Q349))
action filter_type
action find
entity Q6405452
relation P641
type Q349
['Q163547', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q6405452 property:P641 ?m . ?m rdf:type ontology:Q349 }
Kieran O'Regan
action filter_type
action find
entity Kieran O'Regan
relation sport
type sport
['Republic of Ireland national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Kieran_O'Regan property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q163547,P641,c(Q349))
action filter_type
action find
entity Q6405452
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q163547', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q6405452 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Kieran O'Regan
relation sport
type sport
['Republic of Ireland national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Kieran_O'Regan property:sport ?m . ?m rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7156 Q163547
P54
Q502895
USER
Which people plays for Republic of Ireland national football team and FC Barcelona ?
AND((c(Q502895),P54,Q163547), (c(Q502895),P54,Q7156))
action filter_type
action intersection
action find_reverse
entity Q163547
relation P54
action find_reverse
entity Q7156
relation P54
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q163547'], [{'concept': 'Q502895'}, 'P54', 'Q7156']]}
SELECT DISTINCT ?a WHERE { ?a property:P54 resource:Q163547 . ?a property:P54 resource:Q7156 . ?a rdf:type ontology:Q502895 }
FC Barcelona Republic of Ireland national football team
action filter_type
action intersection
action find_reverse
entity Republic of Ireland national football team
relation member of sports team
action find_reverse
entity FC Barcelona
relation member of sports team
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Republic of Ireland national football team'], [{'concept': 'common name'}, 'member of sports team', 'FC Barcelona']]}
SELECT DISTINCT ?a WHERE { ?a property:member_of_sports_team resource:Republic_of_Ireland_national_football_team . ?a property:member_of_sports_team resource:FC_Barcelona . ?a rdf:type ontology:common_name }
[]
common name
Q184612
SYSTEM
Robbie Keane
Q184612
AND((c(Q502895),P54,Q163547), (c(Q502895),P54,Q7156))
action filter_type
action intersection
action find_reverse
entity Q163547
relation P54
action find_reverse
entity Q7156
relation P54
type Q502895
[ANSWER] plays for Republic of Ireland national football team and FC Barcelona
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q163547'], [{'concept': 'Q502895'}, 'P54', 'Q7156']]}
SELECT DISTINCT ?a WHERE { ?a property:P54 resource:Q163547 . ?a property:P54 resource:Q7156 . ?a rdf:type ontology:Q502895 }
Robbie Keane
Robbie Keane plays for Republic of Ireland national football team and FC Barcelona
Robbie Keane
action filter_type
action intersection
action find_reverse
entity Republic of Ireland national football team
relation member of sports team
action find_reverse
entity FC Barcelona
relation member of sports team
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Republic of Ireland national football team'], [{'concept': 'common name'}, 'member of sports team', 'FC Barcelona']]}
SELECT DISTINCT ?a WHERE { ?a property:member_of_sports_team resource:Republic_of_Ireland_national_football_team . ?a property:member_of_sports_team resource:FC_Barcelona . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7156
P159
Q56061
USER
How many administrative territories are the head office for FC Barcelona located ?
(Q7156,P159,c(Q56061))
action count
action filter_type
action find
entity Q7156
relation P159
type Q56061
['Q7156', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q7156 property:P159 ?i . ?i rdf:type ontology:Q56061 }
FC Barcelona
action count
action filter_type
action find
entity FC Barcelona
relation headquarters location
type administrative territorial entity
['FC Barcelona', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:FC_Barcelona property:headquarters_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1492
(Q7156,P159,c(Q56061))
action count
action filter_type
action find
entity Q7156
relation P159
type Q56061
[ANSWER]
['Q7156', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q7156 property:P159 ?i . ?i rdf:type ontology:Q56061 }
Barcelona
1
action count
action filter_type
action find
entity FC Barcelona
relation headquarters location
type administrative territorial entity
['FC Barcelona', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:FC_Barcelona property:headquarters_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q641746
P159
Q56061
USER
And what about Hallmark Channel?
(Q641746,P159,c(Q56061))
action count
action filter_type
action find
entity Q641746
relation P159
type Q56061
['Q641746', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q641746 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Hallmark Channel
action count
action filter_type
action find
entity Hallmark Channel
relation headquarters location
type administrative territorial entity
['Hallmark Channel', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Hallmark_Channel property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q65
(Q641746,P159,c(Q56061))
action count
action filter_type
action find
entity Q641746
relation P159
type Q56061
[ANSWER]
['Q641746', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q641746 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Los Angeles
1
action count
action filter_type
action find
entity Hallmark Channel
relation headquarters location
type administrative territorial entity
['Hallmark Channel', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Hallmark_Channel property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7864810
Q56061
USER
And what about UK Asset Resolution?
(Q7864810,P159,c(Q56061))
action count
action filter_type
action find
entity Q7864810
relation P159
type Q56061
['Q7864810', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q7864810 property:P159 ?u . ?u rdf:type ontology:Q56061 }
UK Asset Resolution
action count
action filter_type
action find
entity UK Asset Resolution
relation headquarters location
type administrative territorial entity
['UK Asset Resolution', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:UK_Asset_Resolution property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q7864810,P159,c(Q56061))
action count
action filter_type
action find
entity Q7864810
relation P159
type Q56061
[ANSWER]
['Q7864810', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q7864810 property:P159 ?u . ?u rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity UK Asset Resolution
relation headquarters location
type administrative territorial entity
['UK Asset Resolution', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:UK_Asset_Resolution property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7864810
P127
Q2324993
USER
Who is the owner of that organization ?
action filter_type
action find
entity Q7864810
relation P127
type Q2324993
SELECT DISTINCT ?k WHERE { resource:Q7864810 property:P127 ?k . ?k rdf:type ontology:Q2324993 }
UK Asset Resolution
action filter_type
action find
entity UK Asset Resolution
relation owned by
type branch
SELECT DISTINCT ?k WHERE { resource:UK_Asset_Resolution property:owned_by ?k . ?k rdf:type ontology:branch }
[]
branch
Q6063
SYSTEM
Government of the United Kingdom
Q6063
action filter_type
action find
entity Q7864810
relation P127
type Q2324993
The owner of that organization is the [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q7864810 property:P127 ?k . ?k rdf:type ontology:Q2324993 }
Government of the United Kingdom
The owner of that organization is the Government of the United Kingdom
Government of the United Kingdom
action filter_type
action find
entity UK Asset Resolution
relation owned by
type branch
SELECT DISTINCT ?k WHERE { resource:UK_Asset_Resolution property:owned_by ?k . ?k rdf:type ontology:branch }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P805
Q15617994 Q2324993
USER
Which administrative territories are max number of branches a subject of ?
(c(Q2324993),P805,Q856076)
action argmax
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q2324993
[{'concept': 'Q2324993'}, 'P805', 'Q856076']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P805 ?y . ?p rdf:type ontology:Q2324993 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P805 ?x . ?w rdf:type ontology:Q2324993 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?n = ?i ) }
action argmax
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type branch
[{'concept': 'branch'}, 'subject of', 'municipality of Finland']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:subject_of ?y . ?p rdf:type ontology:branch . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:subject_of ?x . ?w rdf:type ontology:branch . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?n = ?i ) }
[]
designation for an administrative territorial entity branch
Q127448 Q856076
SYSTEM
municipality of Sweden, municipality of Finland
Q127448 Q856076
(c(Q2324993),P805,Q856076)
action argmax
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q2324993
Max number of branches a subject of are the [ANSWERS]
[{'concept': 'Q2324993'}, 'P805', 'Q856076']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P805 ?y . ?p rdf:type ontology:Q2324993 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P805 ?x . ?w rdf:type ontology:Q2324993 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?n = ?i ) }
municipality of Sweden municipality of Finland
Max number of branches a subject of are the municipality of Sweden and municipality of Finland
municipality of Sweden municipality of Finland
action argmax
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type branch
[{'concept': 'branch'}, 'subject of', 'municipality of Finland']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:subject_of ?y . ?p rdf:type ontology:branch . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:subject_of ?x . ?w rdf:type ontology:branch . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?n = ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11850883 Q6405452
P27
Q15617994
USER
Which administrative territories are the native countriesof Kieran O'Regan or Alina Mattila ?
OR((Q6405452,P27,c(Q15617994)), (Q11850883,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6405452
relation P27
action find
entity Q11850883
relation P27
type Q15617994
{'OR': [['Q6405452', 'P27', {'concept': 'Q15617994'}], ['Q11850883', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?g ) { ( resource:Q6405452 ) ( resource:Q11850883 ) } . ?g property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Alina Mattila Kieran O'Regan
action filter_type
action union
action find
entity Kieran O'Regan
relation country of citizenship
action find
entity Alina Mattila
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Kieran O'Regan", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alina Mattila', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?g ) { ( resource:Kieran_O'Regan ) ( resource:Alina_Mattila ) } . ?g property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q27
SYSTEM
Finland, Ireland
Q33 Q27
OR((Q6405452,P27,c(Q15617994)), (Q11850883,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6405452
relation P27
action find
entity Q11850883
relation P27
type Q15617994
[ANSWERS] are the native countriesof Kieran O'Regan or Alina Mattila
{'OR': [['Q6405452', 'P27', {'concept': 'Q15617994'}], ['Q11850883', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?g ) { ( resource:Q6405452 ) ( resource:Q11850883 ) } . ?g property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Finland Ireland
Finland and Ireland are the native countriesof Kieran O'Regan or Alina Mattila
Finland Ireland
action filter_type
action union
action find
entity Kieran O'Regan
relation country of citizenship
action find
entity Alina Mattila
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Kieran O'Regan", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alina Mattila', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?g ) { ( resource:Kieran_O'Regan ) ( resource:Alina_Mattila ) } . ?g property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]