Simple Question (Direct)
Simple Question
Q4913242
P19
Q56061
USER
Which administrative territory is the birthplace of Billy Ritchie ?
(Q4913242,P19,c(Q56061))
action filter_type
action find
entity Q4913242
relation P19
type Q56061
['Q4913242', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4913242 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Billy Ritchie
action filter_type
action find
entity Billy Ritchie
relation place of birth
type administrative territorial entity
['Billy Ritchie', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Billy_Ritchie property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1002124
SYSTEM
Lanark
Q1002124
(Q4913242,P19,c(Q56061))
action filter_type
action find
entity Q4913242
relation P19
type Q56061
The [ANSWER] is the birthplace of Billy Ritchie
['Q4913242', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4913242 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Lanark
The Lanark is the birthplace of Billy Ritchie
Lanark
action filter_type
action find
entity Billy Ritchie
relation place of birth
type administrative territorial entity
['Billy Ritchie', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Billy_Ritchie property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1002124
P17
Q15617994
USER
Which administrative territory is that administrative territory a part of ?
(Q1002124,P17,c(Q15617994))
action filter_type
action find
entity Q1002124
relation P17
type Q15617994
['Q1002124', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1002124 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Lanark
action filter_type
action find
entity Lanark
relation country
type designation for an administrative territorial entity
['Lanark', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Lanark property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1002124,P17,c(Q15617994))
action filter_type
action find
entity Q1002124
relation P17
type Q15617994
[ANSWER] is that administrative territory a part of
['Q1002124', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1002124 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that administrative territory a part of
United Kingdom
action filter_type
action find
entity Lanark
relation country
type designation for an administrative territorial entity
['Lanark', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Lanark property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q11424 Q2342494
USER
Which people are max number of films or collectables considered a copy of ?
(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 ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:P144 ?e . ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q11424 } UNION { ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2342494 . ?l property:P144 ?e } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P144 ?j . ?j rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 } UNION { ?j rdf:type ontology:Q502895 . ?d rdf:type ontology:Q11424 . ?d property:P144 ?j } } GROUP BY ?j } . FILTER ( ?t = ?a ) }
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 ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:based_on ?e . ?e rdf:type ontology:common_name . ?l rdf:type ontology:film } UNION { ?e rdf:type ontology:common_name . ?l rdf:type ontology:collectable . ?l property:based_on ?e } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:based_on ?j . ?j rdf:type ontology:common_name . ?d rdf:type ontology:collectable } UNION { ?j rdf:type ontology:common_name . ?d rdf:type ontology:film . ?d property:based_on ?j } } GROUP BY ?j } . FILTER ( ?t = ?a ) }
[]
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
[ANSWERS] max number of films or collectables are considered a copy of
[[{'concept': 'Q11424'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:P144 ?e . ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q11424 } UNION { ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2342494 . ?l property:P144 ?e } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P144 ?j . ?j rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 } UNION { ?j rdf:type ontology:Q502895 . ?d rdf:type ontology:Q11424 . ?d property:P144 ?j } } GROUP BY ?j } . FILTER ( ?t = ?a ) }
Keigo Higashino Hans Kohlhase Eugene V. Debs Vladimir Lenin Nisio Isin Ted Key George Lutz William Hatfield E. T. A. Hoffmann
Vladimir Lenin, E. T. A. Hoffmann and Eugene V. Debs max number of films or collectables are considered a copy of
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 ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:based_on ?e . ?e rdf:type ontology:common_name . ?l rdf:type ontology:film } UNION { ?e rdf:type ontology:common_name . ?l rdf:type ontology:collectable . ?l property:based_on ?e } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:based_on ?j . ?j rdf:type ontology:common_name . ?d rdf:type ontology:collectable } UNION { ?j rdf:type ontology:common_name . ?d rdf:type ontology:film . ?d property:based_on ?j } } GROUP BY ?j } . FILTER ( ?t = ?a ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P144
Q502895 Q5398426 Q15416
USER
Which people are greater number of television series or television programs considered a copy of than that person ?
(c(Q5398426)|c(Q15416),P144,c(Q502895))
[[{'concept': 'Q5398426'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { ?m property:P144 ?y . VALUES ( ?m ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'television series'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { ?m property:based_on ?y . VALUES ( ?m ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:television_series . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program }
[]
common name television series television program
Comparative|More/Less|Mult. entity type|Clarification
Q1394
SYSTEM
Did you mean Vladimir Lenin ?
(c(Q5398426)|c(Q15416),P144,c(Q502895))
[ANSWER]
[[{'concept': 'Q5398426'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { ?m property:P144 ?y . VALUES ( ?m ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 }
Did you mean Vladimir Lenin ?
Vladimir Lenin
[[{'concept': 'television series'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { ?m property:based_on ?y . VALUES ( ?m ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:television_series . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q5398426)|c(Q15416),P144,c(Q502895))
[[{'concept': 'Q5398426'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
[[{'concept': 'television series'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
[]
Q125970 Q467216 Q7151235
SYSTEM
Keigo Higashino, Amy Fisher, Paul Hemphill
Q467216 Q11413422 Q125970 Q5358877 Q7151235 Q11584822 Q5213429 Q5516058 Q4758379
(c(Q5398426)|c(Q15416),P144,c(Q502895))
[ANSWERS] are greater number of television series or television programs considered a copy of than that person
[[{'concept': 'Q5398426'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15416 }
Amy Fisher Yasumi Yoshizawa Keigo Higashino Jun Ikeido Paul Hemphill Ayumi Ishii Dan Dunn Gabrielle Carey Andrew Revkin
Keigo Higashino, Amy Fisher and Paul Hemphill are greater number of television series or television programs considered a copy of than that person
Keigo Higashino Amy Fisher Paul Hemphill
[[{'concept': 'television series'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:television_series . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_program }
[]