Simple Question (Direct)
Simple Question
Q3502597
P106
Q12737077
USER
Which occupation is the profession of Daniel Tarczal ?
(Q3502597,P106,c(Q12737077))
action filter_type
action find
entity Q3502597
relation P106
type Q12737077
['Q3502597', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q3502597 property:P106 ?m }
Daniel Tarczal
action filter_type
action find
entity Daniel Tarczal
relation occupation
type occupation
['Daniel Tarczal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Daniel_Tarczal property:occupation ?m }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3502597,P106,c(Q12737077))
action filter_type
action find
entity Q3502597
relation P106
type Q12737077
Player [ANSWER] is the profession of Daniel Tarczal
['Q3502597', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q3502597 property:P106 ?m }
association football player
Player association football player is the profession of Daniel Tarczal
association football player
action filter_type
action find
entity Daniel Tarczal
relation occupation
type occupation
['Daniel Tarczal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Daniel_Tarczal property:occupation ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3502597
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q3502597
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q3502597 property:P641 ?o }
Daniel Tarczal
action filter_type
action find
entity Daniel Tarczal
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:Daniel_Tarczal property:sport ?o }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q3502597
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q3502597 property:P641 ?o }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Daniel Tarczal
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:Daniel_Tarczal property:sport ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
How many sports do around the same number of people or organizations belong to as that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P101 ?j . ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q349 } UNION { ?s property:P101 ?j . ?j rdf:type ontology:Q349 . ?s rdf:type ontology:Q43229 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P101 resource:Q2736 . { { ?o rdf:type ontology:Q43229 } UNION { ?o rdf:type ontology:Q502895 } } } } . FILTER ( ?w = ?f ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:field_of_work ?j . ?s rdf:type ontology:common_name . ?j rdf:type ontology:sport } UNION { ?s property:field_of_work ?j . ?j rdf:type ontology:sport . ?s rdf:type ontology:organization } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:field_of_work resource:association_football . { { ?o rdf:type ontology:organization } UNION { ?o rdf:type ontology:common_name } } } } . FILTER ( ?w = ?f ) }
[]
sport common name organization
SYSTEM
2
Q31920 Q2736
(c(Q502895)|c(Q43229),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P101 ?j . ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q349 } UNION { ?s property:P101 ?j . ?j rdf:type ontology:Q349 . ?s rdf:type ontology:Q43229 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P101 resource:Q2736 . { { ?o rdf:type ontology:Q43229 } UNION { ?o rdf:type ontology:Q502895 } } } } . FILTER ( ?w = ?f ) }
swimming association football
2
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:field_of_work ?j . ?s rdf:type ontology:common_name . ?j rdf:type ontology:sport } UNION { ?s property:field_of_work ?j . ?j rdf:type ontology:sport . ?s rdf:type ontology:organization } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:field_of_work resource:association_football . { { ?o rdf:type ontology:organization } UNION { ?o rdf:type ontology:common_name } } } } . FILTER ( ?w = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3502597
P27
Q15617994
USER
How many administrative territories are Daniel Tarczal an inhabitant of ?
(Q3502597,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3502597
relation P27
type Q15617994
['Q3502597', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q3502597 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Daniel Tarczal
action count
action filter_type
action find
entity Daniel Tarczal
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Tarczal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Daniel_Tarczal property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q213
(Q3502597,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3502597
relation P27
type Q15617994
[ANSWER]
['Q3502597', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q3502597 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Czech Republic
1
action count
action filter_type
action find
entity Daniel Tarczal
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Tarczal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Daniel_Tarczal property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6757391
P27
Q15617994
USER
And what about Marco Abbondanza?
(Q6757391,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6757391
relation P27
type Q15617994
['Q6757391', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q6757391 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Marco Abbondanza
action count
action filter_type
action find
entity Marco Abbondanza
relation country of citizenship
type designation for an administrative territorial entity
['Marco Abbondanza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Marco_Abbondanza property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q6757391,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6757391
relation P27
type Q15617994
[ANSWER]
['Q6757391', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q6757391 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Marco Abbondanza
relation country of citizenship
type designation for an administrative territorial entity
['Marco Abbondanza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Marco_Abbondanza property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2751173
Q15617994
USER
And what about Fredrik Aalto?
(Q2751173,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2751173
relation P27
type Q15617994
['Q2751173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q2751173 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Fredrik Aalto
action count
action filter_type
action find
entity Fredrik Aalto
relation country of citizenship
type designation for an administrative territorial entity
['Fredrik Aalto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Fredrik_Aalto property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2751173,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2751173
relation P27
type Q15617994
[ANSWER]
['Q2751173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q2751173 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Fredrik Aalto
relation country of citizenship
type designation for an administrative territorial entity
['Fredrik Aalto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Fredrik_Aalto property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint 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 ?m WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 . ?c property:P417 ?n } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P417 ?m . ?m rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?m } . FILTER ( ?u = ?e ) }
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 ?m WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n rdf:type ontology:common_name . ?c rdf:type ontology:occupation . ?c property:patron_saint ?n } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:patron_saint ?m . ?m rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?m } . FILTER ( ?u = ?e ) }
[]
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 saint of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 . ?c property:P417 ?n } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P417 ?m . ?m rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?m } . FILTER ( ?u = ?e ) }
Catherine of Alexandria
Catherine of Alexandria is the patron saint 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 ?m WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?j ) WHERE { ?n rdf:type ontology:common_name . ?c rdf:type ontology:occupation . ?c property:patron_saint ?n } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:patron_saint ?m . ?m rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?m } . FILTER ( ?u = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q937857
P425
Q349
USER
How many sports have association football player as thier associated field of occupation ?
(Q937857,P425,c(Q349))
action count
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q937857 property:P425 ?j . ?j rdf:type ontology:Q349 }
association football player
action count
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:association_football_player property:field_of_this_occupation ?j . ?j rdf:type ontology:sport }
[]
sport
SYSTEM
1
Q2736
(Q937857,P425,c(Q349))
action count
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER]
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q937857 property:P425 ?j . ?j rdf:type ontology:Q349 }
association football
1
action count
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:association_football_player property:field_of_this_occupation ?j . ?j rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q19746576
P425
Q349
USER
And what about player of Basque pelota?
(Q19746576,P425,c(Q349))
action count
action filter_type
action find
entity Q19746576
relation P425
type Q349
['Q19746576', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q19746576 property:P425 ?j . ?j rdf:type ontology:Q349 }
player of Basque pelota
action count
action filter_type
action find
entity player of Basque pelota
relation field of this occupation
type sport
['player of Basque pelota', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:player_of_Basque_pelota property:field_of_this_occupation ?j . ?j rdf:type ontology:sport }
[]
sport
SYSTEM
1
Q212845
(Q19746576,P425,c(Q349))
action count
action filter_type
action find
entity Q19746576
relation P425
type Q349
[ANSWER]
['Q19746576', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q19746576 property:P425 ?j . ?j rdf:type ontology:Q349 }
Basque pelota
1
action count
action filter_type
action find
entity player of Basque pelota
relation field of this occupation
type sport
['player of Basque pelota', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:player_of_Basque_pelota property:field_of_this_occupation ?j . ?j rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20965770
Q349
USER
And how about winter sports practitioner?
(Q20965770,P425,c(Q349))
action count
action filter_type
action find
entity Q20965770
relation P425
type Q349
['Q20965770', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q20965770 property:P425 ?i . ?i rdf:type ontology:Q349 }
winter sports practitioner
action count
action filter_type
action find
entity winter sports practitioner
relation field of this occupation
type sport
['winter sports practitioner', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:winter_sports_practitioner property:field_of_this_occupation ?i . ?i rdf:type ontology:sport }
[]
sport
SYSTEM
1
(Q20965770,P425,c(Q349))
action count
action filter_type
action find
entity Q20965770
relation P425
type Q349
[ANSWER]
['Q20965770', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q20965770 property:P425 ?i . ?i rdf:type ontology:Q349 }
1
action count
action filter_type
action find
entity winter sports practitioner
relation field of this occupation
type sport
['winter sports practitioner', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:winter_sports_practitioner property:field_of_this_occupation ?i . ?i rdf:type ontology:sport }
[]