Simple Question (Direct)
Simple Question
Q6317318
P27
Q15617994
USER
Which administrative territory is Justin Adams an inhabitant of ?
(Q6317318,P27,c(Q15617994))
action filter_type
action find
entity Q6317318
relation P27
type Q15617994
['Q6317318', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q6317318 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Justin Adams
action filter_type
action find
entity Justin Adams
relation country of citizenship
type designation for an administrative territorial entity
['Justin Adams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Justin_Adams property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6317318,P27,c(Q15617994))
action filter_type
action find
entity Q6317318
relation P27
type Q15617994
The [ANSWER] is Justin Adams an inhabitant of
['Q6317318', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q6317318 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Justin Adams an inhabitant of
United Kingdom
action filter_type
action find
entity Justin Adams
relation country of citizenship
type designation for an administrative territorial entity
['Justin Adams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Justin_Adams property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6317318
P136
Q151885
USER
What can be considered as category for that person ?
(Q145,P136,c(Q151885))
action filter_type
action find
entity Q6317318
relation P136
type Q151885
['Q145', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q6317318 property:P136 ?d . ?d rdf:type ontology:Q151885 }
Justin Adams
action filter_type
action find
entity Justin Adams
relation genre
type concept
['United Kingdom', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Justin_Adams property:genre ?d . ?d rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q145,P136,c(Q151885))
action filter_type
action find
entity Q6317318
relation P136
type Q151885
[ANSWER] can be considered as category for that person
['Q145', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q6317318 property:P136 ?d . ?d rdf:type ontology:Q151885 }
rock music
Rock music can be considered as category for that person
rock music
action filter_type
action find
entity Justin Adams
relation genre
type concept
['United Kingdom', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Justin_Adams property:genre ?d . ?d rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q11424 Q2342494
USER
Which people are max number of films or collectables adapted from ?
(c(Q11424)|c(Q2342494),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
[[{'concept': 'Q11424'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?l WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q11424 ) ( ontology:Q2342494 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?r WHERE { { ?p property:P144 ?r . ?p rdf:type ontology:Q11424 . ?r rdf:type ontology:Q502895 } UNION { ?p property:P144 ?r . ?p rdf:type ontology:Q2342494 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?x = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type collectable
[[{'concept': 'film'}, {'concept': 'collectable'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?l WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:film ) ( ontology:collectable ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?r WHERE { { ?p property:based_on ?r . ?p rdf:type ontology:film . ?r rdf:type ontology:common_name } UNION { ?p property:based_on ?r . ?p rdf:type ontology:collectable . ?r rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?x = ?c ) }
[]
common name film collectable
Q1394 Q150471 Q334993
SYSTEM
Vladimir Lenin, E. T. A. Hoffmann, Eugene V. Debs
Q125970 Q45260 Q334993 Q1394 Q508218 Q3079968 Q13378842 Q8011009 Q150471
(c(Q11424)|c(Q2342494),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
Max number of films or collectables are adapted by [ANSWERS]
[[{'concept': 'Q11424'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?l WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q11424 ) ( ontology:Q2342494 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?r WHERE { { ?p property:P144 ?r . ?p rdf:type ontology:Q11424 . ?r rdf:type ontology:Q502895 } UNION { ?p property:P144 ?r . ?p rdf:type ontology:Q2342494 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?x = ?c ) }
Keigo Higashino Hans Kohlhase Eugene V. Debs Vladimir Lenin Nisio Isin Ted Key George Lutz William Hatfield E. T. A. Hoffmann
Max number of films or collectables are adapted by Vladimir Lenin, E. T. A. Hoffmann and Eugene V. Debs
Vladimir Lenin E. T. A. Hoffmann Eugene V. Debs
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type collectable
[[{'concept': 'film'}, {'concept': 'collectable'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?l WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:film ) ( ontology:collectable ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?r WHERE { { ?p property:based_on ?r . ?p rdf:type ontology:film . ?r rdf:type ontology:common_name } UNION { ?p property:based_on ?r . ?p rdf:type ontology:collectable . ?r rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?x = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P740
Q2558684 Q1269299
USER
How many world days and business organizations were formed at United Kingdom ?
(c(Q2558684),P740,Q145) (c(Q1269299),P740,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P740
type Q2558684
action filter_type
action find_reverse
entity Q145
relation P740
type Q1269299
[{'concept': 'Q2558684'}, 'P740', 'Q145'] [{'concept': 'Q1269299'}, 'P740', 'Q145']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P740 resource:Q145 . ?s rdf:type ontology:Q2558684 } UNION { ?s property:P740 resource:Q145 . ?s rdf:type ontology:Q1269299 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type world day
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type type of business entity
[{'concept': 'world day'}, 'location of formation', 'United Kingdom'] [{'concept': 'type of business entity'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:location_of_formation resource:United_Kingdom . ?s rdf:type ontology:world_day } UNION { ?s property:location_of_formation resource:United_Kingdom . ?s rdf:type ontology:type_of_business_entity } }
[]
world day type of business entity
SYSTEM
1 world days and 1 business organizations
Q739416 Q1656887
(c(Q2558684),P740,Q145) (c(Q1269299),P740,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P740
type Q2558684
action filter_type
action find_reverse
entity Q145
relation P740
type Q1269299
[ANSWER]
[{'concept': 'Q2558684'}, 'P740', 'Q145'] [{'concept': 'Q1269299'}, 'P740', 'Q145']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P740 resource:Q145 . ?s rdf:type ontology:Q2558684 } UNION { ?s property:P740 resource:Q145 . ?s rdf:type ontology:Q1269299 } }
BAE Systems International No Diet Day
1 world days and 1 business organizations
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type world day
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type type of business entity
[{'concept': 'world day'}, 'location of formation', 'United Kingdom'] [{'concept': 'type of business entity'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:location_of_formation resource:United_Kingdom . ?s rdf:type ontology:world_day } UNION { ?s property:location_of_formation resource:United_Kingdom . ?s rdf:type ontology:type_of_business_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P159
Q4830453
USER
Which business enterprises have headquarters located at that administrative territory ?
action filter_type
action find_reverse
entity Q145
relation P159
type Q4830453
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q145 . ?s rdf:type ontology:Q4830453 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type business enterprise
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:United_Kingdom . ?s rdf:type ontology:business_enterprise }
[]
business enterprise
Q7497366 Q3032258 Q5474362
SYSTEM
Shine Group, Divide By Zero, Foundation Systems
Q3032258 Q5474362 Q4046680 Q23894794 Q8036084 Q1184133 Q7993498 Q861353 Q7575631 Q7497366
action filter_type
action find_reverse
entity Q145
relation P159
type Q4830453
[ANSWERS] have headquarters located at that administrative territory
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q145 . ?s rdf:type ontology:Q4830453 }
Divide By Zero Foundation Systems Perihelion Software Angelic Informatics LTD World Programming Delfino Whereonearth Guy Motors Speedflow Communications Shine Group
Shine Group, Divide By Zero and Foundation Systems have headquarters located at that administrative territory
Shine Group Divide By Zero Foundation Systems
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type business enterprise
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:United_Kingdom . ?s rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q62633
P194
Q1752346
USER
How many assemblies govern United Kingdom or Grand Duchy of Finland ?
(Q145,P194,c(Q1752346)) (Q62633,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q145
relation P194
type Q1752346
action filter_type
action find
entity Q62633
relation P194
type Q1752346
['Q145', 'P194', {'concept': 'Q1752346'}] ['Q62633', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Q145 ) ( resource:Q62633 ) } . ?i property:P194 ?b }
United Kingdom Grand Duchy of Finland
action count
action union
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
action filter_type
action find
entity Grand Duchy of Finland
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}] ['Grand Duchy of Finland', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:United_Kingdom ) ( resource:Grand_Duchy_of_Finland ) } . ?i property:legislative_body ?b }
[]
assembly
SYSTEM
2
Q643412 Q11010
(Q145,P194,c(Q1752346)) (Q62633,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q145
relation P194
type Q1752346
action filter_type
action find
entity Q62633
relation P194
type Q1752346
[ANSWER]
['Q145', 'P194', {'concept': 'Q1752346'}] ['Q62633', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Q145 ) ( resource:Q62633 ) } . ?i property:P194 ?b }
Parliament of Finland Parliament of the United Kingdom
2
action count
action union
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
action filter_type
action find
entity Grand Duchy of Finland
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}] ['Grand Duchy of Finland', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:United_Kingdom ) ( resource:Grand_Duchy_of_Finland ) } . ?i property:legislative_body ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7497366
P127
Q4830453
USER
Who are the owners of Shine Group ?
(Q7497366,P127,c(Q4830453))
action filter_type
action find
entity Q7497366
relation P127
type Q4830453
['Q7497366', 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ?r WHERE { resource:Q7497366 property:P127 ?r . ?r rdf:type ontology:Q4830453 }
Shine Group
action filter_type
action find
entity Shine Group
relation owned by
type business enterprise
['Shine Group', 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ?r WHERE { resource:Shine_Group property:owned_by ?r . ?r rdf:type ontology:business_enterprise }
[]
business enterprise
Q5476713 Q23837644
SYSTEM
21st Century Fox, Endemol Shine Group
Q5476713 Q23837644
(Q7497366,P127,c(Q4830453))
action filter_type
action find
entity Q7497366
relation P127
type Q4830453
The owners of Shine Group are the [ANSWERS]
['Q7497366', 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ?r WHERE { resource:Q7497366 property:P127 ?r . ?r rdf:type ontology:Q4830453 }
21st Century Fox Endemol Shine Group
The owners of Shine Group are the 21st Century Fox and Endemol Shine Group
21st Century Fox Endemol Shine Group
action filter_type
action find
entity Shine Group
relation owned by
type business enterprise
['Shine Group', 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ?r WHERE { resource:Shine_Group property:owned_by ?r . ?r rdf:type ontology:business_enterprise }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q489905
Q4830453
USER
And what about Lotte Department Store?
(Q489905,P127,c(Q4830453))
action filter_type
action find
entity Q489905
relation P127
type Q4830453
['Q489905', 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q489905 property:P127 ?s . ?s rdf:type ontology:Q4830453 }
Lotte Department Store
action filter_type
action find
entity Lotte Department Store
relation owned by
type business enterprise
['Lotte Department Store', 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Lotte_Department_Store property:owned_by ?s . ?s rdf:type ontology:business_enterprise }
[]
business enterprise
Q12594197
SYSTEM
Lotte Shopping
Q12594197
(Q489905,P127,c(Q4830453))
action filter_type
action find
entity Q489905
relation P127
type Q4830453
[ANSWER]
['Q489905', 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q489905 property:P127 ?s . ?s rdf:type ontology:Q4830453 }
Lotte Shopping
Lotte Shopping
action filter_type
action find
entity Lotte Department Store
relation owned by
type business enterprise
['Lotte Department Store', 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Lotte_Department_Store property:owned_by ?s . ?s rdf:type ontology:business_enterprise }
[]