Simple Question (Direct)
Simple Question
Q2423383
P106
Q12737077
USER
What is the profession of Thomas Dechel ?
(Q2423383,P106,c(Q12737077))
action filter_type
action find
entity Q2423383
relation P106
type Q12737077
['Q2423383', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q2423383 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Thomas Dechel
action filter_type
action find
entity Thomas Dechel
relation occupation
type occupation
['Thomas Dechel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Dechel property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q2423383,P106,c(Q12737077))
action filter_type
action find
entity Q2423383
relation P106
type Q12737077
The profession of Thomas Dechel is an [ANSWER]
['Q2423383', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q2423383 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
ice hockey player
The profession of Thomas Dechel is an ice hockey player
ice hockey player
action filter_type
action find
entity Thomas Dechel
relation occupation
type occupation
['Thomas Dechel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Dechel property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2423383
P641
Q349
USER
Which sport was that person a part of ?
(Q11774891,P641,c(Q349))
action filter_type
action find
entity Q2423383
relation P641
type Q349
['Q11774891', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q2423383 property:P641 ?s }
Thomas Dechel
action filter_type
action find
entity Thomas Dechel
relation sport
type sport
['ice hockey player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Thomas_Dechel property:sport ?s }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q11774891,P641,c(Q349))
action filter_type
action find
entity Q2423383
relation P641
type Q349
The [ANSWER] was that person a part of
['Q11774891', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q2423383 property:P641 ?s }
ice hockey
The ice hockey was that person a part of
ice hockey
action filter_type
action find
entity Thomas Dechel
relation sport
type sport
['ice hockey player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Thomas_Dechel property:sport ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
Which sports are the field of work of lesser number of people and organizations than that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
action less
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 Q41466
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { { ?j property:P101 ?l . ?l rdf:type ontology:Q349 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P101 ?l . ?j rdf:type ontology:Q43229 . ?l rdf:type ontology:Q349 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P101 resource:Q41466 . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q43229 } } } } . FILTER ( ?t < ?m ) }
action less
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 ice hockey
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { { ?j property:field_of_work ?l . ?l rdf:type ontology:sport . ?j rdf:type ontology:common_name } UNION { ?j property:field_of_work ?l . ?j rdf:type ontology:organization . ?l rdf:type ontology:sport } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:field_of_work resource:ice_hockey . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:organization } } } } . FILTER ( ?t < ?m ) }
[]
sport common name organization
Q1109032 Q14300548 Q130949
SYSTEM
college football, skating, skiing
Q1109032 Q14300548 Q130949 Q131359
(c(Q502895)|c(Q43229),P101,c(Q349))
action less
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 Q41466
relation P101
type Q502895
type Q43229
[ANSWERS] are the field of work of lesser number of people and organizations than that sport
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { { ?j property:P101 ?l . ?l rdf:type ontology:Q349 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P101 ?l . ?j rdf:type ontology:Q43229 . ?l rdf:type ontology:Q349 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P101 resource:Q41466 . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q43229 } } } } . FILTER ( ?t < ?m ) }
college football skating skiing professional wrestling
College football, skating and skiing are the field of work of lesser number of people and organizations than that sport
college football skating skiing
action less
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 ice hockey
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { { ?j property:field_of_work ?l . ?l rdf:type ontology:sport . ?j rdf:type ontology:common_name } UNION { ?j property:field_of_work ?l . ?j rdf:type ontology:organization . ?l rdf:type ontology:sport } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:field_of_work resource:ice_hockey . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:organization } } } } . FILTER ( ?t < ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q12737077 Q56061
USER
How many people are the patron saint of exactly 4 occupations and administrative territories ?
(c(Q12737077)|c(Q56061),P417,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
value 4
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?f WHERE { VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } . ?h rdf:type ?c } GROUP BY ?f } }
action count
action equal
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
value 4
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?f WHERE { VALUES ( ?c ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?c } GROUP BY ?f } }
[]
common name occupation administrative territorial entity
SYSTEM
6
Q133704 Q44024 Q9200 Q44269 Q43600 Q200895
(c(Q12737077)|c(Q56061),P417,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
value 4
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?f WHERE { VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } . ?h rdf:type ?c } GROUP BY ?f } }
Martin of Tours Athanasius of Alexandria Paul Saint Nicholas Matthew the Apostle Agatha of Sicily
6
action count
action equal
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
value 4
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?f WHERE { VALUES ( ?c ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?c } GROUP BY ?f } }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q2423383
Q349
USER
And which sport?
(Q2423383,P641,c(Q349))
action filter_type
action find
entity Q2423383
relation P641
type Q349
['Q2423383', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q2423383 property:P641 ?h }
Thomas Dechel
action filter_type
action find
entity Thomas Dechel
relation sport
type sport
['Thomas Dechel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Thomas_Dechel property:sport ?h }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q2423383,P641,c(Q349))
action filter_type
action find
entity Q2423383
relation P641
type Q349
[ANSWER]
['Q2423383', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q2423383 property:P641 ?h }
ice hockey
ice hockey
action filter_type
action find
entity Thomas Dechel
relation sport
type sport
['Thomas Dechel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Thomas_Dechel property:sport ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2423383
P27
Q1048835
USER
Which political territory does Thomas Dechel belong to ?
(Q2423383,P27,c(Q1048835))
action filter_type
action find
entity Q2423383
relation P27
type Q1048835
['Q2423383', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q2423383 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Thomas Dechel
action filter_type
action find
entity Thomas Dechel
relation country of citizenship
type political territorial entity
['Thomas Dechel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Thomas_Dechel property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q2423383,P27,c(Q1048835))
action filter_type
action find
entity Q2423383
relation P27
type Q1048835
Thomas Dechel belongs to [ANSWER]
['Q2423383', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q2423383 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Austria
Thomas Dechel belongs to Austria
Austria
action filter_type
action find
entity Thomas Dechel
relation country of citizenship
type political territorial entity
['Thomas Dechel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Thomas_Dechel property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2423383
P54
Q618123
USER
What sports team is that person a member of ?
(Q40,P54,c(Q618123))
action filter_type
action find
entity Q2423383
relation P54
type Q618123
['Q40', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?e WHERE { resource:Q2423383 property:P54 ?e . ?e rdf:type ontology:Q618123 }
Thomas Dechel
action filter_type
action find
entity Thomas Dechel
relation member of sports team
type geographical object
['Austria', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?e WHERE { resource:Thomas_Dechel property:member_of_sports_team ?e . ?e rdf:type ontology:geographical_object }
[]
geographical object
Q874438
SYSTEM
Wiener EV
Q874438
(Q40,P54,c(Q618123))
action filter_type
action find
entity Q2423383
relation P54
type Q618123
[ANSWER] is that person a member of
['Q40', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?e WHERE { resource:Q2423383 property:P54 ?e . ?e rdf:type ontology:Q618123 }
Wiener EV
Wiener EV is that person a member of
Wiener EV
action filter_type
action find
entity Thomas Dechel
relation member of sports team
type geographical object
['Austria', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?e WHERE { resource:Thomas_Dechel property:member_of_sports_team ?e . ?e rdf:type ontology:geographical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q1048835
USER
How many political territories have exactly 1 literary works or hymns as their national anthem ?
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action equal
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
value 1
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?u ) WHERE { { ?b property:P85 ?o . ?o rdf:type ontology:Q7725634 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P85 ?o . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q484692 } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
value 1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?u ) WHERE { { ?b property:anthem ?o . ?o rdf:type ontology:literary_work . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:anthem ?o . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:hymn } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
[]
literary work hymn political territorial entity
SYSTEM
37
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action count
action equal
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?u ) WHERE { { ?b property:P85 ?o . ?o rdf:type ontology:Q7725634 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P85 ?o . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q484692 } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
37
action count
action equal
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
value 1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?u ) WHERE { { ?b property:anthem ?o . ?o rdf:type ontology:literary_work . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:anthem ?o . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:hymn } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2916117 Q2423383
P19
Q56061
USER
Which administrative territories were Thomas Dechel or Charlie Roberts born at ?
OR((Q2423383,P19,c(Q56061)), (Q2916117,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2423383
relation P19
action find
entity Q2916117
relation P19
type Q56061
{'OR': [['Q2423383', 'P19', {'concept': 'Q56061'}], ['Q2916117', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { ?l property:P19 ?c . VALUES ( ?l ) { ( resource:Q2423383 ) ( resource:Q2916117 ) } } . ?c rdf:type ontology:Q56061 }
Charlie Roberts Thomas Dechel
action filter_type
action union
action find
entity Thomas Dechel
relation place of birth
action find
entity Charlie Roberts
relation place of birth
type administrative territorial entity
{'OR': [['Thomas Dechel', 'place of birth', {'concept': 'administrative territorial entity'}], ['Charlie Roberts', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?l property:place_of_birth ?c . VALUES ( ?l ) { ( resource:Thomas_Dechel ) ( resource:Charlie_Roberts ) } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q213181 Q1741
SYSTEM
Darlington, Vienna
Q213181 Q1741
OR((Q2423383,P19,c(Q56061)), (Q2916117,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2423383
relation P19
action find
entity Q2916117
relation P19
type Q56061
Thomas Dechel or Charlie Roberts were born in [ANSWERS]
{'OR': [['Q2423383', 'P19', {'concept': 'Q56061'}], ['Q2916117', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { ?l property:P19 ?c . VALUES ( ?l ) { ( resource:Q2423383 ) ( resource:Q2916117 ) } } . ?c rdf:type ontology:Q56061 }
Darlington Vienna
Thomas Dechel or Charlie Roberts were born in Darlington and Vienna
Darlington Vienna
action filter_type
action union
action find
entity Thomas Dechel
relation place of birth
action find
entity Charlie Roberts
relation place of birth
type administrative territorial entity
{'OR': [['Thomas Dechel', 'place of birth', {'concept': 'administrative territorial entity'}], ['Charlie Roberts', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?l property:place_of_birth ?c . VALUES ( ?l ) { ( resource:Thomas_Dechel ) ( resource:Charlie_Roberts ) } } . ?c rdf:type ontology:administrative_territorial_entity }
[]