Simple Question (Direct)
Simple Question
Q330689
P54
Q6979593
USER
Which national association football team is Raymond Victoria a member of ?
(Q330689,P54,c(Q6979593))
action filter_type
action find
entity Q330689
relation P54
type Q6979593
['Q330689', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?r WHERE { resource:Q330689 property:P54 ?r . ?r rdf:type ontology:Q6979593 }
Raymond Victoria
action filter_type
action find
entity Raymond Victoria
relation member of sports team
type national association football team
['Raymond Victoria', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?r WHERE { resource:Raymond_Victoria property:member_of_sports_team ?r . ?r rdf:type ontology:national_association_football_team }
[]
national association football team
Q1037645
SYSTEM
Netherlands Antilles national football team
Q1037645
(Q330689,P54,c(Q6979593))
action filter_type
action find
entity Q330689
relation P54
type Q6979593
The [ANSWER] is Raymond Victoria a member of
['Q330689', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?r WHERE { resource:Q330689 property:P54 ?r . ?r rdf:type ontology:Q6979593 }
Netherlands Antilles national football team
The Netherlands Antilles national football team is Raymond Victoria a member of
Netherlands Antilles national football team
action filter_type
action find
entity Raymond Victoria
relation member of sports team
type national association football team
['Raymond Victoria', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?r WHERE { resource:Raymond_Victoria property:member_of_sports_team ?r . ?r rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q330689
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1037645,P27,c(Q15617994))
action filter_type
action find
entity Q330689
relation P27
type Q15617994
['Q1037645', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q330689 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Raymond Victoria
action filter_type
action find
entity Raymond Victoria
relation country of citizenship
type designation for an administrative territorial entity
['Netherlands Antilles national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Raymond_Victoria property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q1037645,P27,c(Q15617994))
action filter_type
action find
entity Q330689
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q1037645', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q330689 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is that person an inhabitant of
Kingdom of the Netherlands
action filter_type
action find
entity Raymond Victoria
relation country of citizenship
type designation for an administrative territorial entity
['Netherlands Antilles national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Raymond_Victoria property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q330689
P641
Q349
USER
Which sport was that person a part of ?
(Q29999,P641,c(Q349))
action filter_type
action find
entity Q330689
relation P641
type Q349
['Q29999', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q330689 property:P641 ?r . ?r rdf:type ontology:Q349 }
Raymond Victoria
action filter_type
action find
entity Raymond Victoria
relation sport
type sport
['Kingdom of the Netherlands', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Raymond_Victoria property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q29999,P641,c(Q349))
action filter_type
action find
entity Q330689
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q29999', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q330689 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Raymond Victoria
relation sport
type sport
['Kingdom of the Netherlands', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Raymond_Victoria property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q330689
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q330689
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q330689 property:P106 ?l }
Raymond Victoria
action filter_type
action find
entity Raymond Victoria
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Raymond_Victoria property:occupation ?l }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q330689
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q330689 property:P106 ?l }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Raymond Victoria
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Raymond_Victoria property:occupation ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q2736
P425
Q349
USER
Does association football have association football player as thier associated field of occupation ?
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
association football player association football
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17426565
P21
Q290
USER
What is the sex of Stanisław Dulfus ?
(Q17426565,P21,c(Q290))
action filter_type
action find
entity Q17426565
relation P21
type Q290
['Q17426565', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q17426565 property:P21 ?r }
Stanisław Dulfus
action filter_type
action find
entity Stanisław Dulfus
relation gender
type sex
['Stanisław Dulfus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Stanisław_Dulfus property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17426565,P21,c(Q290))
action filter_type
action find
entity Q17426565
relation P21
type Q290
The sex of Stanisław Dulfus is the [ANSWER]
['Q17426565', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q17426565 property:P21 ?r }
male
The sex of Stanisław Dulfus is the male
male
action filter_type
action find
entity Stanisław Dulfus
relation gender
type sex
['Stanisław Dulfus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Stanisław_Dulfus property:gender ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7495023
Q290
USER
And what about Sherine Tadros?
(Q7495023,P21,c(Q290))
action filter_type
action find
entity Q7495023
relation P21
type Q290
['Q7495023', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q7495023 property:P21 ?v . ?v rdf:type ontology:Q290 }
Sherine Tadros
action filter_type
action find
entity Sherine Tadros
relation gender
type sex
['Sherine Tadros', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Sherine_Tadros property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7495023,P21,c(Q290))
action filter_type
action find
entity Q7495023
relation P21
type Q290
[ANSWER]
['Q7495023', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q7495023 property:P21 ?v . ?v rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Sherine Tadros
relation gender
type sex
['Sherine Tadros', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Sherine_Tadros property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P417 ?q . ?q rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?q } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P417 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?s } . FILTER ( ?e = ?j ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:patron_saint ?q . ?q rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?q } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:patron_saint ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?s } . FILTER ( ?e = ?j ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the patron saints of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P417 ?q . ?q rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?q } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P417 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?s } . FILTER ( ?e = ?j ) }
Catherine of Alexandria
Catherine of Alexandria is the patron saints of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?j ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:patron_saint ?q . ?q rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?q } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:patron_saint ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?s } . FILTER ( ?e = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P825
Q502895 Q207628
USER
How many people are greater number of musical compositions dedicated to than that person ?
(c(Q207628),P825,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action count
action filter_type
action find
entity Q179718
relation P825
type Q502895
[{'concept': 'Q207628'}, 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P825 ?r . ?r rdf:type ontology:Q502895 . ?y rdf:type ontology:Q207628 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q179718 property:P825 ?d . ?d rdf:type ontology:Q502895 } } . FILTER ( ?w > ?q ) }
action count
action greater
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action count
action filter_type
action find
entity Catherine of Alexandria
relation dedicated to
type common name
[{'concept': 'musical composition'}, 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:dedicated_to ?r . ?r rdf:type ontology:common_name . ?y rdf:type ontology:musical_composition } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Catherine_of_Alexandria property:dedicated_to ?d . ?d rdf:type ontology:common_name } } . FILTER ( ?w > ?q ) }
[]
common name musical composition
SYSTEM
15
Q85210 Q150767 Q1948037 Q44039 Q443559 Q160257 Q66005 Q570845 Q502943 Q51056 Q472635 Q92467 Q538335 Q179858 Q41309
(c(Q207628),P825,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action count
action filter_type
action find
entity Q179718
relation P825
type Q502895
[ANSWER]
[{'concept': 'Q207628'}, 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P825 ?r . ?r rdf:type ontology:Q502895 . ?y rdf:type ontology:Q207628 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q179718 property:P825 ?d . ?d rdf:type ontology:Q502895 } } . FILTER ( ?w > ?q ) }
Karl Ritter von Stremayr Benjamin Britten Moritz Reichsgraf von Fries Ludwig II of Bavaria Elizabeth Sprague Coolidge Wanda Landowska Margrave Christian Ludwig of Brandenburg-Schwedt Joseph Franz von Lobkowitz Andrey Razumovsky Franz Joseph I of Austria Gustav, Prince of Vasa Theodor Avé-Lallemant Marianne Kirchgessner Urho Kekkonen Franz Liszt
15
action count
action greater
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action count
action filter_type
action find
entity Catherine of Alexandria
relation dedicated to
type common name
[{'concept': 'musical composition'}, 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:dedicated_to ?r . ?r rdf:type ontology:common_name . ?y rdf:type ontology:musical_composition } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Catherine_of_Alexandria property:dedicated_to ?d . ?d rdf:type ontology:common_name } } . FILTER ( ?w > ?q ) }
[]