Simple Question (Direct)
Simple Question
Q5252933
P21
Q290
USER
Which sex does Del McCoury belong to ?
(Q5252933,P21,c(Q290))
action filter_type
action find
entity Q5252933
relation P21
type Q290
['Q5252933', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5252933 property:P21 ?b . ?b rdf:type ontology:Q290 }
Del McCoury
action filter_type
action find
entity Del McCoury
relation gender
type sex
['Del McCoury', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Del_McCoury property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5252933,P21,c(Q290))
action filter_type
action find
entity Q5252933
relation P21
type Q290
Del McCoury belongs to [ANSWER]
['Q5252933', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5252933 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Del McCoury belongs to male
male
action filter_type
action find
entity Del McCoury
relation gender
type sex
['Del McCoury', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Del_McCoury property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5252933
P735
Q82799
USER
What the name that Del McCoury is known by ?
(Q5252933,P735,c(Q82799))
action filter_type
action find
entity Q5252933
relation P735
type Q82799
['Q5252933', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q5252933 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Del McCoury
action filter_type
action find
entity Del McCoury
relation given name
type name
['Del McCoury', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Del_McCoury property:given_name ?r . ?r rdf:type ontology:name }
[]
name
Q21042811
SYSTEM
Del
Q21042811
(Q5252933,P735,c(Q82799))
action filter_type
action find
entity Q5252933
relation P735
type Q82799
Known [ANSWER]
['Q5252933', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q5252933 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Del
Known Del
Del
action filter_type
action find
entity Del McCoury
relation given name
type name
['Del McCoury', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Del_McCoury property:given_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17318778
Q82799
USER
And what about Francisc Mészáros?
(Q17318778,P735,c(Q82799))
action filter_type
action find
entity Q17318778
relation P735
type Q82799
['Q17318778', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q17318778 property:P735 ?p . ?p rdf:type ontology:Q82799 }
Francisc Mészáros
action filter_type
action find
entity Francisc Mészáros
relation given name
type name
['Francisc Mészáros', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Francisc_Mészáros property:given_name ?p . ?p rdf:type ontology:name }
[]
name
Q15304041
SYSTEM
Francisc
Q15304041
(Q17318778,P735,c(Q82799))
action filter_type
action find
entity Q17318778
relation P735
type Q82799
[ANSWER]
['Q17318778', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q17318778 property:P735 ?p . ?p rdf:type ontology:Q82799 }
Francisc
Francisc
action filter_type
action find
entity Francisc Mészáros
relation given name
type name
['Francisc Mészáros', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Francisc_Mészáros property:given_name ?p . ?p rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16458234 Q5252933
P27
Q15617994
USER
Which administrative territories do Del McCoury or Laurynas Jacevičius belong to ?
OR((Q5252933,P27,c(Q15617994)), (Q16458234,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5252933
relation P27
action find
entity Q16458234
relation P27
type Q15617994
{'OR': [['Q5252933', 'P27', {'concept': 'Q15617994'}], ['Q16458234', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5252933 property:P27 ?r } UNION { resource:Q16458234 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Laurynas Jacevičius Del McCoury
action filter_type
action union
action find
entity Del McCoury
relation country of citizenship
action find
entity Laurynas Jacevičius
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Del McCoury', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Laurynas Jacevičius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Del_McCoury property:country_of_citizenship ?r } UNION { resource:Laurynas_Jacevičius property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q5252933,P27,c(Q15617994)), (Q16458234,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5252933
relation P27
action find
entity Q16458234
relation P27
type Q15617994
Del McCoury or Laurynas Jacevičius belong to [ANSWERS]
{'OR': [['Q5252933', 'P27', {'concept': 'Q15617994'}], ['Q16458234', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5252933 property:P27 ?r } UNION { resource:Q16458234 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
United States of America Lithuania
Del McCoury or Laurynas Jacevičius belong to United States of America and Lithuania
United States of America Lithuania
action filter_type
action union
action find
entity Del McCoury
relation country of citizenship
action find
entity Laurynas Jacevičius
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Del McCoury', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Laurynas Jacevičius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Del_McCoury property:country_of_citizenship ?r } UNION { resource:Laurynas_Jacevičius property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21341910
P27
Q502895
USER
Are Yang-Seop Bae civilians of those administrative territories ?
(Q21341910,P27,Q30) (Q21341910,P27,Q37)
action is_in
entity prev_answer
action find
entity Q21341910
relation P27
['Q21341910', 'P27', 'Q30'] ['Q21341910', 'P27', 'Q37']
ASK WHERE { resource:Q21341910 property:P27 ?l . VALUES ( ?l ) { ( resource:Q30 ) ( resource:Q37 ) } }
Yang-Seop Bae
action is_in
entity prev_answer
action find
entity Yang-Seop Bae
relation country of citizenship
['Yang-Seop Bae', 'country of citizenship', 'United States of America'] ['Yang-Seop Bae', 'country of citizenship', 'Lithuania']
ASK WHERE { resource:Yang-Seop_Bae property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:United_States_of_America ) ( resource:Lithuania ) } }
[]
common name
SYSTEM
NO
(Q21341910,P27,Q30) (Q21341910,P27,Q37)
action is_in
entity prev_answer
action find
entity Q21341910
relation P27
[ANSWER]
['Q21341910', 'P27', 'Q30'] ['Q21341910', 'P27', 'Q37']
ASK WHERE { resource:Q21341910 property:P27 ?l . VALUES ( ?l ) { ( resource:Q30 ) ( resource:Q37 ) } }
No
action is_in
entity prev_answer
action find
entity Yang-Seop Bae
relation country of citizenship
['Yang-Seop Bae', 'country of citizenship', 'United States of America'] ['Yang-Seop Bae', 'country of citizenship', 'Lithuania']
ASK WHERE { resource:Yang-Seop_Bae property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:United_States_of_America ) ( resource:Lithuania ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23198607 Q17318778
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Francisc Mészáros or are J. Rainer Modern Secondary School present in ?
OR((Q17318778,P27,c(Q15617994)), (Q23198607,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17318778
relation P27
action find
entity Q23198607
relation P17
type Q15617994
{'OR': [['Q17318778', 'P27', {'concept': 'Q15617994'}], ['Q23198607', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q17318778 property:P27 ?a } UNION { resource:Q23198607 property:P17 ?a } } }
J. Rainer Modern Secondary School Francisc Mészáros
action filter_type
action union
action find
entity Francisc Mészáros
relation country of citizenship
action find
entity J. Rainer Modern Secondary School
relation country
type designation for an administrative territorial entity
{'OR': [['Francisc Mészáros', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['J. Rainer Modern Secondary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Francisc_Mészáros property:country_of_citizenship ?a } UNION { resource:J._Rainer_Modern_Secondary_School property:country ?a } } }
[]
designation for an administrative territorial entity
Q1036 Q218
SYSTEM
Uganda, Romania
Q1036 Q218
OR((Q17318778,P27,c(Q15617994)), (Q23198607,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17318778
relation P27
action find
entity Q23198607
relation P17
type Q15617994
[ANSWERS] are the native countriesof Francisc Mészáros or are J. Rainer Modern Secondary School present in
{'OR': [['Q17318778', 'P27', {'concept': 'Q15617994'}], ['Q23198607', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q17318778 property:P27 ?a } UNION { resource:Q23198607 property:P17 ?a } } }
Uganda Romania
Uganda and Romania are the native countriesof Francisc Mészáros or are J. Rainer Modern Secondary School present in
Uganda Romania
action filter_type
action union
action find
entity Francisc Mészáros
relation country of citizenship
action find
entity J. Rainer Modern Secondary School
relation country
type designation for an administrative territorial entity
{'OR': [['Francisc Mészáros', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['J. Rainer Modern Secondary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Francisc_Mészáros property:country_of_citizenship ?a } UNION { resource:J._Rainer_Modern_Secondary_School property:country ?a } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with around 67 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 67
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?b ) WHERE { ?l property:P530 ?q . ?l rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?b = 67 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 67
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?b ) WHERE { ?l property:diplomatic_relation ?q . ?l rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?b = 67 ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 67
[ANSWERS] hold diplomatic relationship with around 67 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?b ) WHERE { ?l property:P530 ?q . ?l rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?b = 67 ) }
Australia Canada
Australia and Canada hold diplomatic relationship with around 67 administrative territories
Australia Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 67
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?b ) WHERE { ?l property:diplomatic_relation ?q . ?l rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?b = 67 ) }
[]