Simple Question (Direct)
Simple Question
Q4408980
P106
Q12737077
USER
What is the profession of Valentin Satarov ?
(Q4408980,P106,c(Q12737077))
action filter_type
action find
entity Q4408980
relation P106
type Q12737077
['Q4408980', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q4408980 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Valentin Satarov
action filter_type
action find
entity Valentin Satarov
relation occupation
type occupation
['Valentin Satarov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Valentin_Satarov property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4408980,P106,c(Q12737077))
action filter_type
action find
entity Q4408980
relation P106
type Q12737077
The profession of Valentin Satarov is an [ANSWER]
['Q4408980', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q4408980 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
The profession of Valentin Satarov is an association football player
association football player
action filter_type
action find
entity Valentin Satarov
relation occupation
type occupation
['Valentin Satarov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Valentin_Satarov property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4408980
P641
Q349
USER
Which sport did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4408980
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q4408980 property:P641 ?q . ?q rdf:type ontology:Q349 }
Valentin Satarov
action filter_type
action find
entity Valentin Satarov
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Valentin_Satarov property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4408980
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q4408980 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Valentin Satarov
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Valentin_Satarov property:sport ?q . ?q rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q5416325 Q4408980
P641
Q349
USER
And also Evelyn Freeth
AND((Q4408980,P641,c(Q349)), (Q5416325,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q4408980
relation P641
action find
entity Q5416325
relation P641
type Q349
{'AND': [['Q4408980', 'P641', {'concept': 'Q349'}], ['Q5416325', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { resource:Q4408980 property:P641 ?d . resource:Q5416325 property:P641 ?d . ?d rdf:type ontology:Q349 }
Evelyn Freeth Valentin Satarov
action filter_type
action intersection
action find
entity Valentin Satarov
relation sport
action find
entity Evelyn Freeth
relation sport
type sport
{'AND': [['Valentin Satarov', 'sport', {'concept': 'sport'}], ['Evelyn Freeth', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { resource:Valentin_Satarov property:sport ?d . resource:Evelyn_Freeth property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q4408980,P641,c(Q349)), (Q5416325,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q4408980
relation P641
action find
entity Q5416325
relation P641
type Q349
[ANSWER]
{'AND': [['Q4408980', 'P641', {'concept': 'Q349'}], ['Q5416325', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { resource:Q4408980 property:P641 ?d . resource:Q5416325 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity Valentin Satarov
relation sport
action find
entity Evelyn Freeth
relation sport
type sport
{'AND': [['Valentin Satarov', 'sport', {'concept': 'sport'}], ['Evelyn Freeth', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { resource:Valentin_Satarov property:sport ?d . resource:Evelyn_Freeth property:sport ?d . ?d rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q965725
P641
Q502895
USER
Does Ivan Radeljić play that sport ?
(Q965725,P641,Q2736)
action is_in
entity Q2736
action find
entity Q965725
relation P641
['Q965725', 'P641', 'Q2736']
ASK WHERE { resource:Q965725 property:P641 resource:Q2736 }
association football Ivan Radeljić
action is_in
entity association football
action find
entity Ivan Radeljić
relation sport
['Ivan Radeljić', 'sport', 'association football']
ASK WHERE { resource:Ivan_Radeljić property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q965725,P641,Q2736)
action is_in
entity Q2736
action find
entity Q965725
relation P641
[ANSWER]
['Q965725', 'P641', 'Q2736']
ASK WHERE { resource:Q965725 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Ivan Radeljić
relation sport
['Ivan Radeljić', 'sport', 'association football']
ASK WHERE { resource:Ivan_Radeljić property:sport resource:association_football }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4408980 Q20340
P27
Q15617994
USER
Is Klein Vielen the native country of Valentin Satarov ?
(Q4408980,P27,Q20340)
action is_in
entity Q20340
action find
entity Q4408980
relation P27
['Q4408980', 'P27', 'Q20340']
ASK WHERE { resource:Q4408980 property:P27 resource:Q20340 }
Valentin Satarov Klein Vielen
action is_in
entity Klein Vielen
action find
entity Valentin Satarov
relation country of citizenship
['Valentin Satarov', 'country of citizenship', 'Klein Vielen']
ASK WHERE { resource:Valentin_Satarov property:country_of_citizenship resource:Klein_Vielen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4408980,P27,Q20340)
action is_in
entity Q20340
action find
entity Q4408980
relation P27
[ANSWER]
['Q4408980', 'P27', 'Q20340']
ASK WHERE { resource:Q4408980 property:P27 resource:Q20340 }
No
action is_in
entity Klein Vielen
action find
entity Valentin Satarov
relation country of citizenship
['Valentin Satarov', 'country of citizenship', 'Klein Vielen']
ASK WHERE { resource:Valentin_Satarov property:country_of_citizenship resource:Klein_Vielen }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q732577
USER
Which occupations were discussed in around 3 collectables and publications ?
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 3
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?r } . FILTER ( ?z = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
value 3
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?r } . FILTER ( ?z = 3 ) }
[]
occupation collectable publication
Q39631 Q937857
SYSTEM
physician, association football player
Q39631 Q937857
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 3
The [ANSWERS] were discussed in around 3 collectables and publications
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?r } . FILTER ( ?z = 3 ) }
physician association football player
The physician and association football player were discussed in around 3 collectables and publications
physician association football player
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
value 3
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?r WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?r } . FILTER ( ?z = 3 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q39631 Q937857
P921
Q2342494
USER
Which collectables have physician and association football player as their principal topic ?
(c(Q2342494),P921,Q39631) (c(Q2342494),P921,Q937857)
action union
action filter_type
action find_reverse
entity Q39631
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q39631'] [{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?w WHERE { ?w property:P921 ?l . VALUES ( ?l ) { ( resource:Q39631 ) ( resource:Q937857 ) } }
physician association football player
action union
action filter_type
action find_reverse
entity physician
relation main subject
type collectable
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'physician'] [{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?w WHERE { ?w property:main_subject ?l . VALUES ( ?l ) { ( resource:physician ) ( resource:association_football_player ) } }
[]
collectable
Q19835832 Q11635280 Q19863060
SYSTEM
A Cyclopedia of American Medical Biography, Akahige Shinryōtan, Physicians and Surgeons of America
Q11635280 Q19863060 Q19835832 Q19845002 Q23730991 Q24787529
(c(Q2342494),P921,Q39631) (c(Q2342494),P921,Q937857)
action union
action filter_type
action find_reverse
entity Q39631
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS] have physician and association football player as their principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q39631'] [{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?w WHERE { ?w property:P921 ?l . VALUES ( ?l ) { ( resource:Q39631 ) ( resource:Q937857 ) } }
Akahige Shinryōtan Physicians and Surgeons of America A Cyclopedia of American Medical Biography Citizens and minstermen : a who's who of York City FC, 1922-1997 Timeless Bees: Brentford F.C. who's who 1920-2006 The PFA footballers' who's who 2008-09
A Cyclopedia of American Medical Biography, Akahige Shinryōtan and Physicians and Surgeons of America have physician and association football player as their principal topic
A Cyclopedia of American Medical Biography Akahige Shinryōtan Physicians and Surgeons of America
action union
action filter_type
action find_reverse
entity physician
relation main subject
type collectable
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'physician'] [{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?w WHERE { ?w property:main_subject ?l . VALUES ( ?l ) { ( resource:physician ) ( resource:association_football_player ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19835832
P495
Q15617994
USER
Where did A Cyclopedia of American Medical Biography originate ?
(Q19835832,P495,c(Q15617994))
action filter_type
action find
entity Q19835832
relation P495
type Q15617994
['Q19835832', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q19835832 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
A Cyclopedia of American Medical Biography
action filter_type
action find
entity A Cyclopedia of American Medical Biography
relation country of origin
type designation for an administrative territorial entity
['A Cyclopedia of American Medical Biography', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:A_Cyclopedia_of_American_Medical_Biography property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q19835832,P495,c(Q15617994))
action filter_type
action find
entity Q19835832
relation P495
type Q15617994
A Cyclopedia of American Medical Biography originated from [ANSWER]
['Q19835832', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q19835832 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
A Cyclopedia of American Medical Biography originated from United States of America
United States of America
action filter_type
action find
entity A Cyclopedia of American Medical Biography
relation country of origin
type designation for an administrative territorial entity
['A Cyclopedia of American Medical Biography', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:A_Cyclopedia_of_American_Medical_Biography property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7269129
Q15617994
USER
And how about Quarantine?
(Q7269129,P495,c(Q15617994))
action filter_type
action find
entity Q7269129
relation P495
type Q15617994
['Q7269129', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q7269129 property:P495 ?o }
Quarantine
action filter_type
action find
entity Quarantine
relation country of origin
type designation for an administrative territorial entity
['Quarantine', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Quarantine property:country_of_origin ?o }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7269129,P495,c(Q15617994))
action filter_type
action find
entity Q7269129
relation P495
type Q15617994
[ANSWER]
['Q7269129', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q7269129 property:P495 ?o }
United Kingdom
United Kingdom
action filter_type
action find
entity Quarantine
relation country of origin
type designation for an administrative territorial entity
['Quarantine', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Quarantine property:country_of_origin ?o }
[]