Simple Question (Direct)
Simple Question
Q20740593
P641
Q212434
USER
Which Olympic sport did Sibel Ağan participate in ?
(Q20740593,P641,c(Q212434))
action filter_type
action find
entity Q20740593
relation P641
type Q212434
['Q20740593', 'P641', {'concept': 'Q212434'}]
SELECT DISTINCT ?i WHERE { resource:Q20740593 property:P641 ?i . ?i rdf:type ontology:Q212434 }
Sibel Ağan
action filter_type
action find
entity Sibel Ağan
relation sport
type Olympic sport
['Sibel Ağan', 'sport', {'concept': 'Olympic sport'}]
SELECT DISTINCT ?i WHERE { resource:Sibel_Ağan property:sport ?i . ?i rdf:type ontology:Olympic_sport }
[]
Olympic sport
Q3312129
SYSTEM
track and field
Q3312129
(Q20740593,P641,c(Q212434))
action filter_type
action find
entity Q20740593
relation P641
type Q212434
Sibel Ağan participated in [ANSWER]
['Q20740593', 'P641', {'concept': 'Q212434'}]
SELECT DISTINCT ?i WHERE { resource:Q20740593 property:P641 ?i . ?i rdf:type ontology:Q212434 }
track and field
Sibel Ağan participated in track and field
track and field
action filter_type
action find
entity Sibel Ağan
relation sport
type Olympic sport
['Sibel Ağan', 'sport', {'concept': 'Olympic sport'}]
SELECT DISTINCT ?i WHERE { resource:Sibel_Ağan property:sport ?i . ?i rdf:type ontology:Olympic_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20740593
P735
Q82799
USER
Which name is that person known by ?
(Q3312129,P735,c(Q82799))
action filter_type
action find
entity Q20740593
relation P735
type Q82799
['Q3312129', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q20740593 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Sibel Ağan
action filter_type
action find
entity Sibel Ağan
relation given name
type name
['track and field', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Sibel_Ağan property:given_name ?l . ?l rdf:type ontology:name }
[]
name
Q1680338
SYSTEM
Sibel
Q1680338
(Q3312129,P735,c(Q82799))
action filter_type
action find
entity Q20740593
relation P735
type Q82799
That person is known as [ANSWER]
['Q3312129', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q20740593 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Sibel
That person is known as Sibel
Sibel
action filter_type
action find
entity Sibel Ağan
relation given name
type name
['track and field', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Sibel_Ağan property:given_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20740593
P21
Q290
USER
Which sex does Sibel Ağan have ?
(Q20740593,P21,c(Q290))
action filter_type
action find
entity Q20740593
relation P21
type Q290
['Q20740593', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20740593 property:P21 ?z . ?z rdf:type ontology:Q290 }
Sibel Ağan
action filter_type
action find
entity Sibel Ağan
relation gender
type sex
['Sibel Ağan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Sibel_Ağan property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20740593,P21,c(Q290))
action filter_type
action find
entity Q20740593
relation P21
type Q290
Sibel Ağan has a [ANSWER]
['Q20740593', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20740593 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
Sibel Ağan has a female
female
action filter_type
action find
entity Sibel Ağan
relation gender
type sex
['Sibel Ağan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Sibel_Ağan property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3770009
Q290
USER
And how about Giuseppe Arcangioli?
(Q3770009,P21,c(Q290))
action filter_type
action find
entity Q3770009
relation P21
type Q290
['Q3770009', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3770009 property:P21 ?a . ?a rdf:type ontology:Q290 }
Giuseppe Arcangioli
action filter_type
action find
entity Giuseppe Arcangioli
relation gender
type sex
['Giuseppe Arcangioli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Giuseppe_Arcangioli property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3770009,P21,c(Q290))
action filter_type
action find
entity Q3770009
relation P21
type Q290
[ANSWER]
['Q3770009', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3770009 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Giuseppe Arcangioli
relation gender
type sex
['Giuseppe Arcangioli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Giuseppe_Arcangioli property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q15617994 Q16970
USER
How many people are the patron saints of around 30 administrative territories or churches ?
(c(Q15617994)|c(Q16970),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
value 30
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { FILTER ( ?w = 30 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?w ) WHERE { { ?j rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15617994 . ?o property:P417 ?j } UNION { ?o property:P417 ?j . ?j rdf:type ontology:Q502895 . ?o rdf:type ontology:Q16970 } } GROUP BY ?j } }
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
value 30
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { FILTER ( ?w = 30 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?w ) WHERE { { ?j rdf:type ontology:common_name . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:patron_saint ?j } UNION { ?o property:patron_saint ?j . ?j rdf:type ontology:common_name . ?o rdf:type ontology:church } } GROUP BY ?j } }
[]
common name designation for an administrative territorial entity church
SYSTEM
3
Q9200 Q43999 Q44269
(c(Q15617994)|c(Q16970),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
value 30
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { FILTER ( ?w = 30 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?w ) WHERE { { ?j rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15617994 . ?o property:P417 ?j } UNION { ?o property:P417 ?j . ?j rdf:type ontology:Q502895 . ?o rdf:type ontology:Q16970 } } GROUP BY ?j } }
Paul James Saint Nicholas
3
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
value 30
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { FILTER ( ?w = 30 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?w ) WHERE { { ?j rdf:type ontology:common_name . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:patron_saint ?j } UNION { ?o property:patron_saint ?j . ?j rdf:type ontology:common_name . ?o rdf:type ontology:church } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13513070 Q20740593
P106
Q12737077
USER
Which occupations are the professions of Sibel Ağan or José Padilla, Jr. ?
OR((Q20740593,P106,c(Q12737077)), (Q13513070,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q20740593
relation P106
action find
entity Q13513070
relation P106
type Q12737077
{'OR': [['Q20740593', 'P106', {'concept': 'Q12737077'}], ['Q13513070', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { ?l property:P106 ?b . VALUES ( ?l ) { ( resource:Q13513070 ) ( resource:Q20740593 ) } } . ?b rdf:type ontology:Q12737077 }
José Padilla, Jr. Sibel Ağan
action filter_type
action union
action find
entity Sibel Ağan
relation occupation
action find
entity José Padilla, Jr.
relation occupation
type occupation
{'OR': [['Sibel Ağan', 'occupation', {'concept': 'occupation'}], ['José Padilla, Jr.', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { ?l property:occupation ?b . VALUES ( ?l ) { ( resource:José_Padilla,_Jr. ) ( resource:Sibel_Ağan ) } } . ?b rdf:type ontology:occupation }
[]
occupation
Q33999 Q4009406 Q11338576
SYSTEM
actor, sprinter, boxer
Q33999 Q4009406 Q11338576
OR((Q20740593,P106,c(Q12737077)), (Q13513070,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q20740593
relation P106
action find
entity Q13513070
relation P106
type Q12737077
And [ANSWERS] are the professions of Sibel Ağan or José Padilla, Jr.
{'OR': [['Q20740593', 'P106', {'concept': 'Q12737077'}], ['Q13513070', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { ?l property:P106 ?b . VALUES ( ?l ) { ( resource:Q13513070 ) ( resource:Q20740593 ) } } . ?b rdf:type ontology:Q12737077 }
actor sprinter boxer
And actor, sprinter and boxer are the professions of Sibel Ağan or José Padilla, Jr.
actor sprinter boxer
action filter_type
action union
action find
entity Sibel Ağan
relation occupation
action find
entity José Padilla, Jr.
relation occupation
type occupation
{'OR': [['Sibel Ağan', 'occupation', {'concept': 'occupation'}], ['José Padilla, Jr.', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { ?l property:occupation ?b . VALUES ( ?l ) { ( resource:José_Padilla,_Jr. ) ( resource:Sibel_Ağan ) } } . ?b rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q1792379 Q17335294
USER
Which names are expressed in max number of art genres and coats of arms ?
(c(Q1792379)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[[{'concept': 'Q1792379'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?m = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:Q1792379 ) ( ontology:Q17335294 ) } . ?l rdf:type ?r } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?s ) { ( ontology:Q17335294 ) ( ontology:Q1792379 ) } . ?g rdf:type ?s } GROUP BY ?u } } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'art genre'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?m = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:art_genre ) ( ontology:flag_or_coat_of_arms ) } . ?l rdf:type ?r } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?s ) { ( ontology:flag_or_coat_of_arms ) ( ontology:art_genre ) } . ?g rdf:type ?s } GROUP BY ?u } } }
[]
name art genre flag or coat of arms
Q726
SYSTEM
horse
Q726
(c(Q1792379)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
The [ANSWER] is expressed in max number of art genres and coats of arms
[[{'concept': 'Q1792379'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?m = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:Q1792379 ) ( ontology:Q17335294 ) } . ?l rdf:type ?r } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?s ) { ( ontology:Q17335294 ) ( ontology:Q1792379 ) } . ?g rdf:type ?s } GROUP BY ?u } } }
horse
The horse is expressed in max number of art genres and coats of arms
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'art genre'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?m = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:art_genre ) ( ontology:flag_or_coat_of_arms ) } . ?l rdf:type ?r } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?i ) WHERE { VALUES ( ?s ) { ( ontology:flag_or_coat_of_arms ) ( ontology:art_genre ) } . ?g rdf:type ?s } GROUP BY ?u } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q726
P1990
Q178706
USER
Which institutions have kept the species named that name ?
(c(Q178706),P1990,Q726)
action filter_type
action find_reverse
entity Q726
relation P1990
type Q178706
[{'concept': 'Q178706'}, 'P1990', 'Q726']
SELECT DISTINCT ?m WHERE { ?m property:P1990 resource:Q726 . ?m rdf:type ontology:Q178706 }
horse
action filter_type
action find_reverse
entity horse
relation species kept
type institution
[{'concept': 'institution'}, 'species kept', 'horse']
SELECT DISTINCT ?m WHERE { ?m property:species_kept resource:horse . ?m rdf:type ontology:institution }
[]
institution
Q741395 Q114525 Q2709506
SYSTEM
Toronto Zoo, Flamingo Land Resort, Singapore Zoo
Q741395 Q114525 Q2709506 Q8028978 Q1937399
(c(Q178706),P1990,Q726)
action filter_type
action find_reverse
entity Q726
relation P1990
type Q178706
[ANSWERS] have kept the species named that name
[{'concept': 'Q178706'}, 'P1990', 'Q726']
SELECT DISTINCT ?m WHERE { ?m property:P1990 resource:Q726 . ?m rdf:type ontology:Q178706 }
Toronto Zoo Flamingo Land Resort Singapore Zoo Woburn Safari Park Minnesota Zoo
Toronto Zoo, Flamingo Land Resort and Singapore Zoo have kept the species named that name
Toronto Zoo Flamingo Land Resort Singapore Zoo
action filter_type
action find_reverse
entity horse
relation species kept
type institution
[{'concept': 'institution'}, 'species kept', 'horse']
SELECT DISTINCT ?m WHERE { ?m property:species_kept resource:horse . ?m rdf:type ontology:institution }
[]