Simple Question (Direct)
Simple Question
Q6321752
P40
Q502895
USER
Who is a child of Júnior ?
(Q6321752,P40,c(Q502895))
action filter_type
action find
entity Q6321752
relation P40
type Q502895
['Q6321752', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q6321752 property:P40 ?m . ?m rdf:type ontology:Q502895 }
Júnior
action filter_type
action find
entity Júnior
relation child
type common name
['Júnior', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Júnior property:child ?m . ?m rdf:type ontology:common_name }
[]
common name
Q2077222
SYSTEM
Shaila Dúrcal
Q2077222
(Q6321752,P40,c(Q502895))
action filter_type
action find
entity Q6321752
relation P40
type Q502895
A child of Júnior is actress [ANSWER]
['Q6321752', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q6321752 property:P40 ?m . ?m rdf:type ontology:Q502895 }
Shaila Dúrcal
A child of Júnior is actress Shaila Dúrcal
Shaila Dúrcal
action filter_type
action find
entity Júnior
relation child
type common name
['Júnior', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Júnior property:child ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2077222
P175
Q2031291
USER
Which releases performed that person ?
(c(Q2031291),P175,Q2077222)
action filter_type
action find_reverse
entity Q2077222
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q2077222']
SELECT DISTINCT ?d WHERE { ?d property:P175 resource:Q2077222 . ?d rdf:type ontology:Q2031291 }
Shaila Dúrcal
action filter_type
action find_reverse
entity Shaila Dúrcal
relation performer
type release
[{'concept': 'release'}, 'performer', 'Shaila Dúrcal']
SELECT DISTINCT ?d WHERE { ?d property:performer resource:Shaila_Dúrcal . ?d rdf:type ontology:release }
[]
release
Q7302869 Q5169681
SYSTEM
Recordando, Corazón Ranchero
Q7302869 Q5169681
(c(Q2031291),P175,Q2077222)
action filter_type
action find_reverse
entity Q2077222
relation P175
type Q2031291
[ANSWERS] performed that person
[{'concept': 'Q2031291'}, 'P175', 'Q2077222']
SELECT DISTINCT ?d WHERE { ?d property:P175 resource:Q2077222 . ?d rdf:type ontology:Q2031291 }
Recordando Corazón Ranchero
Recordando and Corazón Ranchero performed that person
Recordando Corazón Ranchero
action filter_type
action find_reverse
entity Shaila Dúrcal
relation performer
type release
[{'concept': 'release'}, 'performer', 'Shaila Dúrcal']
SELECT DISTINCT ?d WHERE { ?d property:performer resource:Shaila_Dúrcal . ?d rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6321752
P26
Q502895
USER
How many people are the spouse of Júnior ?
(c(Q502895),P26,Q6321752)
action count
action filter_type
action find_reverse
entity Q6321752
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6321752']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P26 resource:Q6321752 . ?x rdf:type ontology:Q502895 }
Júnior
action count
action filter_type
action find_reverse
entity Júnior
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Júnior']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:spouse resource:Júnior . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q56074
(c(Q502895),P26,Q6321752)
action count
action filter_type
action find_reverse
entity Q6321752
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q6321752']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P26 resource:Q6321752 . ?x rdf:type ontology:Q502895 }
Rocío Dúrcal
1
action count
action filter_type
action find_reverse
entity Júnior
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Júnior']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:spouse resource:Júnior . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4908723
P26
Q502895
USER
And how about Bill DeWeese?
(c(Q502895),P26,Q4908723)
action count
action filter_type
action find_reverse
entity Q4908723
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q4908723']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P26 resource:Q4908723 . ?h rdf:type ontology:Q502895 }
Bill DeWeese
action count
action filter_type
action find_reverse
entity Bill DeWeese
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bill DeWeese']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:spouse resource:Bill_DeWeese . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q16196104
(c(Q502895),P26,Q4908723)
action count
action filter_type
action find_reverse
entity Q4908723
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q4908723']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P26 resource:Q4908723 . ?h rdf:type ontology:Q502895 }
Holly Kinser
1
action count
action filter_type
action find_reverse
entity Bill DeWeese
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bill DeWeese']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:spouse resource:Bill_DeWeese . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16942172 Q2077222
P27
Q15617994
USER
Which administrative territories are Shaila Dúrcal or Maurici Fius i Palà an inhabitant of ?
OR((Q2077222,P27,c(Q15617994)), (Q16942172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2077222
relation P27
action find
entity Q16942172
relation P27
type Q15617994
{'OR': [['Q2077222', 'P27', {'concept': 'Q15617994'}], ['Q16942172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:P27 ?l . VALUES ( ?s ) { ( resource:Q2077222 ) ( resource:Q16942172 ) } } . ?l rdf:type ontology:Q15617994 }
Maurici Fius i Palà Shaila Dúrcal
action filter_type
action union
action find
entity Shaila Dúrcal
relation country of citizenship
action find
entity Maurici Fius i Palà
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shaila Dúrcal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maurici Fius i Palà', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:country_of_citizenship ?l . VALUES ( ?s ) { ( resource:Shaila_Dúrcal ) ( resource:Maurici_Fius_i_Palà ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
OR((Q2077222,P27,c(Q15617994)), (Q16942172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2077222
relation P27
action find
entity Q16942172
relation P27
type Q15617994
[ANSWER] is Shaila Dúrcal or Maurici Fius i Palà an inhabitant of
{'OR': [['Q2077222', 'P27', {'concept': 'Q15617994'}], ['Q16942172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:P27 ?l . VALUES ( ?s ) { ( resource:Q2077222 ) ( resource:Q16942172 ) } } . ?l rdf:type ontology:Q15617994 }
Spain
Spain is Shaila Dúrcal or Maurici Fius i Palà an inhabitant of
Spain
action filter_type
action union
action find
entity Shaila Dúrcal
relation country of citizenship
action find
entity Maurici Fius i Palà
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shaila Dúrcal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maurici Fius i Palà', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:country_of_citizenship ?l . VALUES ( ?s ) { ( resource:Shaila_Dúrcal ) ( resource:Maurici_Fius_i_Palà ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29 Q51962
P47
Q15617994
USER
Does Stornara share the border with that one ?
(Q29,P47,Q51962)
action is_in
entity Q51962
action find
entity Q29
relation P47
['Q29', 'P47', 'Q51962']
ASK WHERE { resource:Q29 property:P47 resource:Q51962 }
Spain Stornara
action is_in
entity Stornara
action find
entity Spain
relation shares border with
['Spain', 'shares border with', 'Stornara']
ASK WHERE { resource:Spain property:shares_border_with resource:Stornara }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29,P47,Q51962)
action is_in
entity Q51962
action find
entity Q29
relation P47
[ANSWER]
['Q29', 'P47', 'Q51962']
ASK WHERE { resource:Q29 property:P47 resource:Q51962 }
No
action is_in
entity Stornara
action find
entity Spain
relation shares border with
['Spain', 'shares border with', 'Stornara']
ASK WHERE { resource:Spain property:shares_border_with resource:Stornara }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with atleast 118 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 118
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?b ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?b >= 118 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 118
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?b ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?b >= 118 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 118
[ANSWER] have tactful political relations with atleast 118 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?b ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?b >= 118 ) }
Germany
Germany have tactful political relations with atleast 118 administrative territories
Germany
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 118
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?b ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?b >= 118 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P291
Q482994
USER
Which album has that political territory as its publication location ?
(c(Q482994),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q482994
[{'concept': 'Q482994'}, 'P291', 'Q183']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q183 . ?q rdf:type ontology:Q482994 }
Germany
action filter_type
action find_reverse
entity Germany
relation place of publication
type album
[{'concept': 'album'}, 'place of publication', 'Germany']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Germany . ?q rdf:type ontology:album }
[]
album
Q16323236
SYSTEM
Bloodlines
Q16323236
(c(Q482994),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q482994
[ANSWER] has that political territory as its publication location
[{'concept': 'Q482994'}, 'P291', 'Q183']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q183 . ?q rdf:type ontology:Q482994 }
Bloodlines
Bloodlines has that political territory as its publication location
Bloodlines
action filter_type
action find_reverse
entity Germany
relation place of publication
type album
[{'concept': 'album'}, 'place of publication', 'Germany']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Germany . ?q rdf:type ontology:album }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P658
Q2031291 Q7725634 Q482994
USER
Which albums were the tracklist that had the max number of releases or literary works ?
(c(Q482994),P658,c(Q2031291)|c(Q7725634))
action argmax
action union
action find_tuple_counts
relation P658
type Q482994
type Q2031291
action find_tuple_counts
relation P658
type Q482994
type Q7725634
[{'concept': 'Q482994'}, 'P658', [{'concept': 'Q2031291'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { { ?h property:P658 ?c . ?h rdf:type ontology:Q482994 . ?c rdf:type ontology:Q2031291 } UNION { ?h property:P658 ?c . ?h rdf:type ontology:Q482994 . ?c rdf:type ontology:Q7725634 } } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?n ) WHERE { { ?v property:P658 ?b . ?v rdf:type ontology:Q482994 . ?b rdf:type ontology:Q2031291 } UNION { ?v property:P658 ?b . ?v rdf:type ontology:Q482994 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?v } . FILTER ( ?n = ?w ) }
action argmax
action union
action find_tuple_counts
relation tracklist
type album
type release
action find_tuple_counts
relation tracklist
type album
type literary work
[{'concept': 'album'}, 'tracklist', [{'concept': 'release'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { { ?h property:tracklist ?c . ?h rdf:type ontology:album . ?c rdf:type ontology:release } UNION { ?h property:tracklist ?c . ?h rdf:type ontology:album . ?c rdf:type ontology:literary_work } } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?n ) WHERE { { ?v property:tracklist ?b . ?v rdf:type ontology:album . ?b rdf:type ontology:release } UNION { ?v property:tracklist ?b . ?v rdf:type ontology:album . ?b rdf:type ontology:literary_work } } GROUP BY ?v } . FILTER ( ?n = ?w ) }
[]
release literary work album
Q7065737
SYSTEM
Now That's What I Call Music
Q7065737
(c(Q482994),P658,c(Q2031291)|c(Q7725634))
action argmax
action union
action find_tuple_counts
relation P658
type Q482994
type Q2031291
action find_tuple_counts
relation P658
type Q482994
type Q7725634
[ANSWER] was the tracklist that had the max number of releases or literary works
[{'concept': 'Q482994'}, 'P658', [{'concept': 'Q2031291'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { { ?h property:P658 ?c . ?h rdf:type ontology:Q482994 . ?c rdf:type ontology:Q2031291 } UNION { ?h property:P658 ?c . ?h rdf:type ontology:Q482994 . ?c rdf:type ontology:Q7725634 } } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?n ) WHERE { { ?v property:P658 ?b . ?v rdf:type ontology:Q482994 . ?b rdf:type ontology:Q2031291 } UNION { ?v property:P658 ?b . ?v rdf:type ontology:Q482994 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?v } . FILTER ( ?n = ?w ) }
Now That's What I Call Music
Now That's What I Call Music was the tracklist that had the max number of releases or literary works
Now That's What I Call Music
action argmax
action union
action find_tuple_counts
relation tracklist
type album
type release
action find_tuple_counts
relation tracklist
type album
type literary work
[{'concept': 'album'}, 'tracklist', [{'concept': 'release'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { { ?h property:tracklist ?c . ?h rdf:type ontology:album . ?c rdf:type ontology:release } UNION { ?h property:tracklist ?c . ?h rdf:type ontology:album . ?c rdf:type ontology:literary_work } } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?n ) WHERE { { ?v property:tracklist ?b . ?v rdf:type ontology:album . ?b rdf:type ontology:release } UNION { ?v property:tracklist ?b . ?v rdf:type ontology:album . ?b rdf:type ontology:literary_work } } GROUP BY ?v } . FILTER ( ?n = ?w ) }
[]