Simple Question (Direct)
Simple Question
Q1525094
P106
Q12737077
USER
Which occupations have Gino Ferrin as his/her 's career ?
(Q1525094,P106,c(Q12737077))
action filter_type
action find
entity Q1525094
relation P106
type Q12737077
['Q1525094', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1525094 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Gino Ferrin
action filter_type
action find
entity Gino Ferrin
relation occupation
type occupation
['Gino Ferrin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Gino_Ferrin property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q1525094,P106,c(Q12737077))
action filter_type
action find
entity Q1525094
relation P106
type Q12737077
As [ANSWERS] have Gino Ferrin as his/her 's career
['Q1525094', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1525094 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football manager association football player
As association football manager and association football player have Gino Ferrin as his/her 's career
association football manager association football player
action filter_type
action find
entity Gino Ferrin
relation occupation
type occupation
['Gino Ferrin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Gino_Ferrin property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1525094
P641
Q349
USER
Which sport did that person participate in ?
(Q628099,P641,c(Q349)) (Q937857,P641,c(Q349))
action filter_type
action find
entity Q1525094
relation P641
type Q349
['Q628099', 'P641', {'concept': 'Q349'}] ['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q1525094 property:P641 ?e . ?e rdf:type ontology:Q349 }
Gino Ferrin
action filter_type
action find
entity Gino Ferrin
relation sport
type sport
['association football manager', 'sport', {'concept': 'sport'}] ['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Gino_Ferrin property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q628099,P641,c(Q349)) (Q937857,P641,c(Q349))
action filter_type
action find
entity Q1525094
relation P641
type Q349
That person participated in [ANSWER]
['Q628099', 'P641', {'concept': 'Q349'}] ['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q1525094 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Gino Ferrin
relation sport
type sport
['association football manager', 'sport', {'concept': 'sport'}] ['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Gino_Ferrin property:sport ?e . ?e rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q18216400
P641
Q502895
USER
Is Fahad Musana known to play that sport ?
(Q18216400,P641,Q2736)
action is_in
entity Q2736
action find
entity Q18216400
relation P641
['Q18216400', 'P641', 'Q2736']
ASK WHERE { resource:Q18216400 property:P641 resource:Q2736 }
association football Fahad Musana
action is_in
entity association football
action find
entity Fahad Musana
relation sport
['Fahad Musana', 'sport', 'association football']
ASK WHERE { resource:Fahad_Musana property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q18216400,P641,Q2736)
action is_in
entity Q2736
action find
entity Q18216400
relation P641
[ANSWER]
['Q18216400', 'P641', 'Q2736']
ASK WHERE { resource:Q18216400 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Fahad Musana
relation sport
['Fahad Musana', 'sport', 'association football']
ASK WHERE { resource:Fahad_Musana property:sport resource:association_football }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7856
P366
Q349 Q3084961 Q41176
USER
Which sports are recognized as the main use of more number of product linings and buildings than rallying ?
(c(Q3084961)|c(Q41176),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P366
type Q3084961
type Q41176
[[{'concept': 'Q3084961'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?k WHERE { { ?j property:P366 ?k . ?j rdf:type ontology:Q3084961 . ?k rdf:type ontology:Q349 } UNION { ?j rdf:type ontology:Q41176 . ?k rdf:type ontology:Q349 . ?j property:P366 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:Q3084961 } UNION { ?a rdf:type ontology:Q41176 } } . ?a property:P366 resource:Q7856 } } . FILTER ( ?e > ?t ) }
rallying
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity rallying
relation use
type product lining
type building
[[{'concept': 'product lining'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?k WHERE { { ?j property:use ?k . ?j rdf:type ontology:product_lining . ?k rdf:type ontology:sport } UNION { ?j rdf:type ontology:building . ?k rdf:type ontology:sport . ?j property:use ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:product_lining } UNION { ?a rdf:type ontology:building } } . ?a property:use resource:rallying } } . FILTER ( ?e > ?t ) }
[]
sport product lining building
Q1875777 Q41466
SYSTEM
air racing, ice hockey
Q1875777 Q41466
(c(Q3084961)|c(Q41176),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P366
type Q3084961
type Q41176
And [ANSWERS] are recognized as the main use of more number of product linings and buildings than rallying
[[{'concept': 'Q3084961'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?k WHERE { { ?j property:P366 ?k . ?j rdf:type ontology:Q3084961 . ?k rdf:type ontology:Q349 } UNION { ?j rdf:type ontology:Q41176 . ?k rdf:type ontology:Q349 . ?j property:P366 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:Q3084961 } UNION { ?a rdf:type ontology:Q41176 } } . ?a property:P366 resource:Q7856 } } . FILTER ( ?e > ?t ) }
air racing ice hockey
And air racing and ice hockey are recognized as the main use of more number of product linings and buildings than rallying
air racing ice hockey
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity rallying
relation use
type product lining
type building
[[{'concept': 'product lining'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?k WHERE { { ?j property:use ?k . ?j rdf:type ontology:product_lining . ?k rdf:type ontology:sport } UNION { ?j rdf:type ontology:building . ?k rdf:type ontology:sport . ?j property:use ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { { ?a rdf:type ontology:product_lining } UNION { ?a rdf:type ontology:building } } . ?a property:use resource:rallying } } . FILTER ( ?e > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q183018
P366
Q349 Q3084961 Q41176
USER
And how about bandy?
(c(Q3084961)|c(Q41176),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q3084961
type Q41176
[[{'concept': 'Q3084961'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q3084961 ) ( ontology:Q41176 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P366 resource:Q183018 . { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3084961 ) ( ontology:Q41176 ) } } } } . FILTER ( ?k > ?r ) }
bandy
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type product lining
type building
[[{'concept': 'product lining'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:product_lining ) ( ontology:building ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:use resource:bandy . { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:product_lining ) ( ontology:building ) } } } } . FILTER ( ?k > ?r ) }
[]
sport product lining building
Q1875777 Q41466
SYSTEM
air racing, ice hockey
Q1875777 Q41466
(c(Q3084961)|c(Q41176),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q3084961
type Q41176
[ANSWERS]
[[{'concept': 'Q3084961'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q3084961 ) ( ontology:Q41176 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P366 resource:Q183018 . { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3084961 ) ( ontology:Q41176 ) } } } } . FILTER ( ?k > ?r ) }
air racing ice hockey
air racing ice hockey
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type product lining
type building
[[{'concept': 'product lining'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:product_lining ) ( ontology:building ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:use resource:bandy . { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:product_lining ) ( ontology:building ) } } } } . FILTER ( ?k > ?r ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q2342494
USER
How many sports are the field of work of around the same number of organizations or collectables as that sport ?
(c(Q43229)|c(Q2342494),P101,c(Q349))
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
sport organization collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q41466
SYSTEM
Did you mean ice hockey ?
(c(Q43229)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
Did you mean ice hockey ?
ice hockey
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q43229)|c(Q2342494),P101,c(Q349))
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
[]
SYSTEM
39
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q43229)|c(Q2342494),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q2342494 }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
39
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1525094
P27
Q1048835
USER
Which political territory does Gino Ferrin belong to ?
(Q1525094,P27,c(Q1048835))
action filter_type
action find
entity Q1525094
relation P27
type Q1048835
['Q1525094', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q1525094 property:P27 ?i }
Gino Ferrin
action filter_type
action find
entity Gino Ferrin
relation country of citizenship
type political territorial entity
['Gino Ferrin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Gino_Ferrin property:country_of_citizenship ?i }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1525094,P27,c(Q1048835))
action filter_type
action find
entity Q1525094
relation P27
type Q1048835
Gino Ferrin belongs to [ANSWER]
['Q1525094', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q1525094 property:P27 ?i }
Germany
Gino Ferrin belongs to Germany
Germany
action filter_type
action find
entity Gino Ferrin
relation country of citizenship
type political territorial entity
['Gino Ferrin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Gino_Ferrin property:country_of_citizenship ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7518739
Q1048835
USER
And what about Simon Fieldhouse?
(Q7518739,P27,c(Q1048835))
action filter_type
action find
entity Q7518739
relation P27
type Q1048835
['Q7518739', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q7518739 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Simon Fieldhouse
action filter_type
action find
entity Simon Fieldhouse
relation country of citizenship
type political territorial entity
['Simon Fieldhouse', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Simon_Fieldhouse property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q7518739,P27,c(Q1048835))
action filter_type
action find
entity Q7518739
relation P27
type Q1048835
[ANSWER]
['Q7518739', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q7518739 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Simon Fieldhouse
relation country of citizenship
type political territorial entity
['Simon Fieldhouse', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Simon_Fieldhouse property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]