Simple Question (Direct)
Simple Question
Q15613741
P19
Q13220204
USER
Which administrative country subdivision was Bilal Başaçıkoğlu born at ?
(Q15613741,P19,c(Q13220204))
action filter_type
action find
entity Q15613741
relation P19
type Q13220204
['Q15613741', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q15613741 property:P19 ?a . ?a rdf:type ontology:Q13220204 }
Bilal Başaçıkoğlu
action filter_type
action find
entity Bilal Başaçıkoğlu
relation place of birth
type second-level administrative country subdivision
['Bilal Başaçıkoğlu', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Bilal_Başaçıkoğlu property:place_of_birth ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9978
SYSTEM
Zaanstad
Q9978
(Q15613741,P19,c(Q13220204))
action filter_type
action find
entity Q15613741
relation P19
type Q13220204
Bilal Başaçıkoğlu was born in [ANSWER]
['Q15613741', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q15613741 property:P19 ?a . ?a rdf:type ontology:Q13220204 }
Zaanstad
Bilal Başaçıkoğlu was born in Zaanstad
Zaanstad
action filter_type
action find
entity Bilal Başaçıkoğlu
relation place of birth
type second-level administrative country subdivision
['Bilal Başaçıkoğlu', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Bilal_Başaçıkoğlu property:place_of_birth ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15613741
P106
Q12737077
USER
What is the profession of Bilal Başaçıkoğlu ?
(Q15613741,P106,c(Q12737077))
action filter_type
action find
entity Q15613741
relation P106
type Q12737077
['Q15613741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q15613741 property:P106 ?k }
Bilal Başaçıkoğlu
action filter_type
action find
entity Bilal Başaçıkoğlu
relation occupation
type occupation
['Bilal Başaçıkoğlu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Bilal_Başaçıkoğlu property:occupation ?k }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15613741,P106,c(Q12737077))
action filter_type
action find
entity Q15613741
relation P106
type Q12737077
The profession of Bilal Başaçıkoğlu is an [ANSWER]
['Q15613741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q15613741 property:P106 ?k }
association football player
The profession of Bilal Başaçıkoğlu is an association football player
association football player
action filter_type
action find
entity Bilal Başaçıkoğlu
relation occupation
type occupation
['Bilal Başaçıkoğlu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Bilal_Başaçıkoğlu property:occupation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15613741
P21
Q290
USER
Which sex does Bilal Başaçıkoğlu belong to ?
(Q15613741,P21,c(Q290))
action filter_type
action find
entity Q15613741
relation P21
type Q290
['Q15613741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q15613741 property:P21 ?x . ?x rdf:type ontology:Q290 }
Bilal Başaçıkoğlu
action filter_type
action find
entity Bilal Başaçıkoğlu
relation gender
type sex
['Bilal Başaçıkoğlu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Bilal_Başaçıkoğlu property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15613741,P21,c(Q290))
action filter_type
action find
entity Q15613741
relation P21
type Q290
Bilal Başaçıkoğlu belongs the [ANSWER]
['Q15613741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q15613741 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Bilal Başaçıkoğlu belongs the male
male
action filter_type
action find
entity Bilal Başaçıkoğlu
relation gender
type sex
['Bilal Başaçıkoğlu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Bilal_Başaçıkoğlu property:gender ?x . ?x rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of exactly 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P417 ?j . ?h rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?w = 3 ) }
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:patron_saint ?j . ?h rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?w = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the names of the patron saint of exactly 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P417 ?j . ?h rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?w = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the names of the patron saint of exactly 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:patron_saint ?j . ?h rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?w = 3 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P417
Q15617994 Q56061
USER
How many administrative territories or administrative territories have that person as their patron saint ?
(c(Q15617994),P417,Q192816) (c(Q56061),P417,Q192816) (c(Q15617994),P417,Q128538) (c(Q56061),P417,Q128538) (c(Q15617994),P417,Q192816) (c(Q56061),P417,Q192816) (c(Q15617994),P417,Q200895) (c(Q56061),P417,Q200895)
[{'concept': 'Q15617994'}, 'P417', 'Q192816'] [{'concept': 'Q56061'}, 'P417', 'Q192816'] [{'concept': 'Q15617994'}, 'P417', 'Q128538'] [{'concept': 'Q56061'}, 'P417', 'Q128538'] [{'concept': 'Q15617994'}, 'P417', 'Q192816'] [{'concept': 'Q56061'}, 'P417', 'Q192816'] [{'concept': 'Q15617994'}, 'P417', 'Q200895'] [{'concept': 'Q56061'}, 'P417', 'Q200895']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q27118899 } UNION { ?y property:Q28914 resource:Q27118899 } UNION { ?z property:Q28914 resource:Q128538 } UNION { ?y property:Q28914 resource:Q128538 } UNION { ?z property:Q28914 resource:Q27118899 } UNION { ?y property:Q28914 resource:Q27118899 } UNION { ?z property:Q28914 resource:Q200895 } UNION { ?y property:Q28914 resource:Q200895 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Luke the Evangelist'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Luke the Evangelist'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Agatha of Sicily'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Agatha of Sicily']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Saint_Barbara } UNION { ?y property:patron_saint resource:Saint_Barbara } UNION { ?z property:patron_saint resource:Luke_the_Evangelist } UNION { ?y property:patron_saint resource:Luke_the_Evangelist } UNION { ?z property:patron_saint resource:Saint_Barbara } UNION { ?y property:patron_saint resource:Saint_Barbara } UNION { ?z property:patron_saint resource:Agatha_of_Sicily } UNION { ?y property:patron_saint resource:Agatha_of_Sicily } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
designation for an administrative territorial entity administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q192816
SYSTEM
Did you mean Saint Barbara ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q27118899 } UNION { ?y property:Q28914 resource:Q27118899 } UNION { ?z property:Q28914 resource:Q128538 } UNION { ?y property:Q28914 resource:Q128538 } UNION { ?z property:Q28914 resource:Q27118899 } UNION { ?y property:Q28914 resource:Q27118899 } UNION { ?z property:Q28914 resource:Q200895 } UNION { ?y property:Q28914 resource:Q200895 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Did you mean Saint Barbara ?
Saint Barbara
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Saint_Barbara } UNION { ?y property:patron_saint resource:Saint_Barbara } UNION { ?z property:patron_saint resource:Luke_the_Evangelist } UNION { ?y property:patron_saint resource:Luke_the_Evangelist } UNION { ?z property:patron_saint resource:Saint_Barbara } UNION { ?y property:patron_saint resource:Saint_Barbara } UNION { ?z property:patron_saint resource:Agatha_of_Sicily } UNION { ?y property:patron_saint resource:Agatha_of_Sicily } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15617994),P417,Q192816) (c(Q56061),P417,Q192816) (c(Q15617994),P417,Q128538) (c(Q56061),P417,Q128538) (c(Q15617994),P417,Q192816) (c(Q56061),P417,Q192816) (c(Q15617994),P417,Q200895) (c(Q56061),P417,Q200895)
[{'concept': 'Q15617994'}, 'P417', 'Q192816'] [{'concept': 'Q56061'}, 'P417', 'Q192816'] [{'concept': 'Q15617994'}, 'P417', 'Q128538'] [{'concept': 'Q56061'}, 'P417', 'Q128538'] [{'concept': 'Q15617994'}, 'P417', 'Q192816'] [{'concept': 'Q56061'}, 'P417', 'Q192816'] [{'concept': 'Q15617994'}, 'P417', 'Q200895'] [{'concept': 'Q56061'}, 'P417', 'Q200895']
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Luke the Evangelist'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Luke the Evangelist'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Agatha of Sicily'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Agatha of Sicily']
[]
SYSTEM
3
Q49605 Q200908 Q212841
(c(Q15617994),P417,Q192816) (c(Q56061),P417,Q192816) (c(Q15617994),P417,Q128538) (c(Q56061),P417,Q128538) (c(Q15617994),P417,Q192816) (c(Q56061),P417,Q192816) (c(Q15617994),P417,Q200895) (c(Q56061),P417,Q200895)
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', 'Q192816'] [{'concept': 'Q56061'}, 'P417', 'Q192816'] [{'concept': 'Q15617994'}, 'P417', 'Q128538'] [{'concept': 'Q56061'}, 'P417', 'Q128538'] [{'concept': 'Q15617994'}, 'P417', 'Q192816'] [{'concept': 'Q56061'}, 'P417', 'Q192816'] [{'concept': 'Q15617994'}, 'P417', 'Q200895'] [{'concept': 'Q56061'}, 'P417', 'Q200895']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q27118899 } UNION { ?y property:Q28914 resource:Q27118899 } UNION { ?z property:Q28914 resource:Q128538 } UNION { ?y property:Q28914 resource:Q128538 } UNION { ?z property:Q28914 resource:Q27118899 } UNION { ?y property:Q28914 resource:Q27118899 } UNION { ?z property:Q28914 resource:Q200895 } UNION { ?y property:Q28914 resource:Q200895 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Montecatini Terme Rethymno Drama
3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Luke the Evangelist'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Luke the Evangelist'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Saint Barbara'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Agatha of Sicily'] [{'concept': 'administrative territorial entity'}, 'patron saint', 'Agatha of Sicily']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Saint_Barbara } UNION { ?y property:patron_saint resource:Saint_Barbara } UNION { ?z property:patron_saint resource:Luke_the_Evangelist } UNION { ?y property:patron_saint resource:Luke_the_Evangelist } UNION { ?z property:patron_saint resource:Saint_Barbara } UNION { ?y property:patron_saint resource:Saint_Barbara } UNION { ?z property:patron_saint resource:Agatha_of_Sicily } UNION { ?y property:patron_saint resource:Agatha_of_Sicily } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?d } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?d } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?d } } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?d } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P26
Q502895
USER
Which person is married to that musical instrument ?
(c(Q502895),P26,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ?r WHERE { ?r property:P26 resource:Q5994 . ?r rdf:type ontology:Q502895 }
piano
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ?r WHERE { ?r property:spouse resource:piano . ?r rdf:type ontology:common_name }
[]
common name
Q3161739
SYSTEM
Jan Páleníček
Q3161739
(c(Q502895),P26,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[ANSWER] is married to that musical instrument
[{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ?r WHERE { ?r property:P26 resource:Q5994 . ?r rdf:type ontology:Q502895 }
Jan Páleníček
Jan Páleníček is married to that musical instrument
Jan Páleníček
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ?r WHERE { ?r property:spouse resource:piano . ?r rdf:type ontology:common_name }
[]