Simple Question (Direct)
Simple Question
Q18206048
P106
Q12737077
USER
What is the job of Frankie Raymond ?
(Q18206048,P106,c(Q12737077))
action filter_type
action find
entity Q18206048
relation P106
type Q12737077
['Q18206048', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q18206048 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Frankie Raymond
action filter_type
action find
entity Frankie Raymond
relation occupation
type occupation
['Frankie Raymond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Frankie_Raymond property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18206048,P106,c(Q12737077))
action filter_type
action find
entity Q18206048
relation P106
type Q12737077
The job of Frankie Raymond is an [ANSWER]
['Q18206048', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q18206048 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
The job of Frankie Raymond is an association football player
association football player
action filter_type
action find
entity Frankie Raymond
relation occupation
type occupation
['Frankie Raymond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Frankie_Raymond property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18206048
P641
Q349
USER
Which sport was Frankie Raymond a part of ?
(Q18206048,P641,c(Q349))
action filter_type
action find
entity Q18206048
relation P641
type Q349
['Q18206048', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q18206048 property:P641 ?n . ?n rdf:type ontology:Q349 }
Frankie Raymond
action filter_type
action find
entity Frankie Raymond
relation sport
type sport
['Frankie Raymond', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Frankie_Raymond property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18206048,P641,c(Q349))
action filter_type
action find
entity Q18206048
relation P641
type Q349
Were [ANSWER] was Frankie Raymond a part of
['Q18206048', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q18206048 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Were association football was Frankie Raymond a part of
association football
action filter_type
action find
entity Frankie Raymond
relation sport
type sport
['Frankie Raymond', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Frankie_Raymond property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1892701
Q349
USER
And how about Marc Kennedy?
(Q1892701,P641,c(Q349))
action filter_type
action find
entity Q1892701
relation P641
type Q349
['Q1892701', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q1892701 property:P641 ?x . ?x rdf:type ontology:Q349 }
Marc Kennedy
action filter_type
action find
entity Marc Kennedy
relation sport
type sport
['Marc Kennedy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Marc_Kennedy property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q136851
SYSTEM
curling
Q136851
(Q1892701,P641,c(Q349))
action filter_type
action find
entity Q1892701
relation P641
type Q349
[ANSWER]
['Q1892701', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q1892701 property:P641 ?x . ?x rdf:type ontology:Q349 }
curling
curling
action filter_type
action find
entity Marc Kennedy
relation sport
type sport
['Marc Kennedy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Marc_Kennedy property:sport ?x . ?x rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q136851 Q442730
P641
Q502895
USER
Is Eve Muirhead involved in playing that sport ?
(Q442730,P641,Q136851)
action is_in
entity Q136851
action find
entity Q442730
relation P641
['Q442730', 'P641', 'Q136851']
ASK WHERE { resource:Q442730 property:P641 resource:Q136851 }
curling Eve Muirhead
action is_in
entity curling
action find
entity Eve Muirhead
relation sport
['Eve Muirhead', 'sport', 'curling']
ASK WHERE { resource:Eve_Muirhead property:sport resource:curling }
[]
common name
SYSTEM
YES
(Q442730,P641,Q136851)
action is_in
entity Q136851
action find
entity Q442730
relation P641
[ANSWER]
['Q442730', 'P641', 'Q136851']
ASK WHERE { resource:Q442730 property:P641 resource:Q136851 }
Yes
action is_in
entity curling
action find
entity Eve Muirhead
relation sport
['Eve Muirhead', 'sport', 'curling']
ASK WHERE { resource:Eve_Muirhead property:sport resource:curling }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18206048 Q5640988
P27
Q15617994
USER
Is Frankie Raymond an inhabitant of Halabezack ?
(Q18206048,P27,Q5640988)
action is_in
entity Q5640988
action find
entity Q18206048
relation P27
['Q18206048', 'P27', 'Q5640988']
ASK WHERE { resource:Q18206048 property:P27 resource:Q5640988 }
Frankie Raymond Halabezack
action is_in
entity Halabezack
action find
entity Frankie Raymond
relation country of citizenship
['Frankie Raymond', 'country of citizenship', 'Halabezack']
ASK WHERE { resource:Frankie_Raymond property:country_of_citizenship resource:Halabezack }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18206048,P27,Q5640988)
action is_in
entity Q5640988
action find
entity Q18206048
relation P27
[ANSWER]
['Q18206048', 'P27', 'Q5640988']
ASK WHERE { resource:Q18206048 property:P27 resource:Q5640988 }
No
action is_in
entity Halabezack
action find
entity Frankie Raymond
relation country of citizenship
['Frankie Raymond', 'country of citizenship', 'Halabezack']
ASK WHERE { resource:Frankie_Raymond property:country_of_citizenship resource:Halabezack }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q18783400
USER
How many occupations are expressed in around 1 collectables and genres of sculpture ?
(c(Q2342494)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?d WHERE { { ?o property:P180 ?d . ?d rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P180 ?d . ?d rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q18783400 } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 1
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?d WHERE { { ?o property:depicts ?d . ?d rdf:type ontology:occupation . ?o rdf:type ontology:collectable } UNION { ?o property:depicts ?d . ?d rdf:type ontology:occupation . ?o rdf:type ontology:genre_of_sculpture } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
[]
occupation collectable genre of sculpture
SYSTEM
4
Q131512 Q11900058 Q843281 Q170779
(c(Q2342494)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?d WHERE { { ?o property:P180 ?d . ?d rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P180 ?d . ?d rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q18783400 } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
farmer explorer hobo Kassandra
4
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 1
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?d WHERE { { ?o property:depicts ?d . ?d rdf:type ontology:occupation . ?o rdf:type ontology:collectable } UNION { ?o property:depicts ?d . ?d rdf:type ontology:occupation . ?o rdf:type ontology:genre_of_sculpture } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12511511 Q18206048
P27
Q15617994
USER
Which administrative territories are Frankie Raymond or Sainan Sagiman an inhabitant of ?
OR((Q18206048,P27,c(Q15617994)), (Q12511511,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18206048
relation P27
action find
entity Q12511511
relation P27
type Q15617994
{'OR': [['Q18206048', 'P27', {'concept': 'Q15617994'}], ['Q12511511', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?u ) { ( resource:Q18206048 ) ( resource:Q12511511 ) } . ?u property:P27 ?q } . ?q rdf:type ontology:Q15617994 }
Sainan Sagiman Frankie Raymond
action filter_type
action union
action find
entity Frankie Raymond
relation country of citizenship
action find
entity Sainan Sagiman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Frankie Raymond', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sainan Sagiman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?u ) { ( resource:Frankie_Raymond ) ( resource:Sainan_Sagiman ) } . ?u property:country_of_citizenship ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q145
SYSTEM
Indonesia, United Kingdom
Q252 Q145
OR((Q18206048,P27,c(Q15617994)), (Q12511511,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18206048
relation P27
action find
entity Q12511511
relation P27
type Q15617994
[ANSWERS] are Frankie Raymond or Sainan Sagiman an inhabitant of
{'OR': [['Q18206048', 'P27', {'concept': 'Q15617994'}], ['Q12511511', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?u ) { ( resource:Q18206048 ) ( resource:Q12511511 ) } . ?u property:P27 ?q } . ?q rdf:type ontology:Q15617994 }
Indonesia United Kingdom
Indonesia and United Kingdom are Frankie Raymond or Sainan Sagiman an inhabitant of
Indonesia United Kingdom
action filter_type
action union
action find
entity Frankie Raymond
relation country of citizenship
action find
entity Sainan Sagiman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Frankie Raymond', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sainan Sagiman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?u ) { ( resource:Frankie_Raymond ) ( resource:Sainan_Sagiman ) } . ?u property:country_of_citizenship ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]