Simple Question (Direct)
Simple Question
Q3635365
P19
Q56061
USER
Which administrative territory was Bartolomeo Di Michele born at ?
(Q3635365,P19,c(Q56061))
action filter_type
action find
entity Q3635365
relation P19
type Q56061
['Q3635365', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3635365 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Bartolomeo Di Michele
action filter_type
action find
entity Bartolomeo Di Michele
relation place of birth
type administrative territorial entity
['Bartolomeo Di Michele', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bartolomeo_Di_Michele property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2704
SYSTEM
Pescara
Q2704
(Q3635365,P19,c(Q56061))
action filter_type
action find
entity Q3635365
relation P19
type Q56061
Bartolomeo Di Michele was born in [ANSWER]
['Q3635365', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3635365 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Pescara
Bartolomeo Di Michele was born in Pescara
Pescara
action filter_type
action find
entity Bartolomeo Di Michele
relation place of birth
type administrative territorial entity
['Bartolomeo Di Michele', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bartolomeo_Di_Michele property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3635365
P21
Q290
USER
Which sex does Bartolomeo Di Michele possess ?
(Q3635365,P21,c(Q290))
action filter_type
action find
entity Q3635365
relation P21
type Q290
['Q3635365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3635365 property:P21 ?d . ?d rdf:type ontology:Q290 }
Bartolomeo Di Michele
action filter_type
action find
entity Bartolomeo Di Michele
relation gender
type sex
['Bartolomeo Di Michele', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Bartolomeo_Di_Michele property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3635365,P21,c(Q290))
action filter_type
action find
entity Q3635365
relation P21
type Q290
Bartolomeo Di Michele possesses un [ANSWER]
['Q3635365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3635365 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Bartolomeo Di Michele possesses un male
male
action filter_type
action find
entity Bartolomeo Di Michele
relation gender
type sex
['Bartolomeo Di Michele', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Bartolomeo_Di_Michele property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3635365
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Bartolomeo Di Michele ?
(Q3635365,P27,c(Q15617994))
action filter_type
action find
entity Q3635365
relation P27
type Q15617994
['Q3635365', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3635365 property:P27 ?u }
Bartolomeo Di Michele
action filter_type
action find
entity Bartolomeo Di Michele
relation country of citizenship
type designation for an administrative territorial entity
['Bartolomeo Di Michele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bartolomeo_Di_Michele property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3635365,P27,c(Q15617994))
action filter_type
action find
entity Q3635365
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Bartolomeo Di Michele
['Q3635365', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3635365 property:P27 ?u }
Italy
Italy is the country of citizenship of Bartolomeo Di Michele
Italy
action filter_type
action find
entity Bartolomeo Di Michele
relation country of citizenship
type designation for an administrative territorial entity
['Bartolomeo Di Michele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bartolomeo_Di_Michele property:country_of_citizenship ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3635365
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q3635365
relation P106
type Q12737077
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3635365 property:P106 ?j }
Bartolomeo Di Michele
action filter_type
action find
entity Bartolomeo Di Michele
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Bartolomeo_Di_Michele property:occupation ?j }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q3635365
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3635365 property:P106 ?j }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Bartolomeo Di Michele
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Bartolomeo_Di_Michele property:occupation ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q148540
P27
Q502895
USER
How many people are a citizen of Italy and Republic of Florence ?
(c(Q502895),P27,Q38) (c(Q502895),P27,Q148540)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P27
type Q502895
action filter_type
action find_reverse
entity Q148540
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q38'] [{'concept': 'Q502895'}, 'P27', 'Q148540']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q148540 . ?w property:P27 resource:Q38 . ?w rdf:type ontology:Q502895 }
Italy Republic of Florence
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Republic of Florence
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Italy'] [{'concept': 'common name'}, 'country of citizenship', 'Republic of Florence']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:Republic_of_Florence . ?w property:country_of_citizenship resource:Italy . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q5592 Q205148
(c(Q502895),P27,Q38) (c(Q502895),P27,Q148540)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P27
type Q502895
action filter_type
action find_reverse
entity Q148540
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q38'] [{'concept': 'Q502895'}, 'P27', 'Q148540']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q148540 . ?w property:P27 resource:Q38 . ?w rdf:type ontology:Q502895 }
Michelangelo Filippo Lippi
2
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Republic of Florence
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Italy'] [{'concept': 'common name'}, 'country of citizenship', 'Republic of Florence']
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:Republic_of_Florence . ?w property:country_of_citizenship resource:Italy . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q18783400
USER
How many occupations are expressed in approximately 3 works of art and genres of sculpture ?
(c(Q838948)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?l WHERE { { ?c property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q18783400 . ?c property:P180 ?l } } GROUP BY ?l } . FILTER ( ?d = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 3
[[{'concept': 'work of art'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?l WHERE { { ?c property:depicts ?l . ?l rdf:type ontology:occupation . ?c rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:occupation . ?c rdf:type ontology:genre_of_sculpture . ?c property:depicts ?l } } GROUP BY ?l } . FILTER ( ?d = 3 ) }
[]
occupation work of art genre of sculpture
SYSTEM
15
Q131512 Q81710 Q12902372 Q1028181 Q12059906 Q19546 Q3127709 Q1639825 Q45722 Q5716684 Q3128486 Q2309784 Q331432 Q1281618 Q39631
(c(Q838948)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?l WHERE { { ?c property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q18783400 . ?c property:P180 ?l } } GROUP BY ?l } . FILTER ( ?d = 3 ) }
farmer shepherd flautist painter herder pope harpist blacksmith cardinal dancer high-ranking civil servant in France sport cyclist fisherman sculptor physician
15
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 3
[[{'concept': 'work of art'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?l WHERE { { ?c property:depicts ?l . ?l rdf:type ontology:occupation . ?c rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:occupation . ?c rdf:type ontology:genre_of_sculpture . ?c property:depicts ?l } } GROUP BY ?l } . FILTER ( ?d = 3 ) }
[]