Simple Question (Direct)
Simple Question
Q3122787
P27
Q15617994
USER
Which administrative territory does Gábor Nagy belong to ?
(Q3122787,P27,c(Q15617994))
action filter_type
action find
entity Q3122787
relation P27
type Q15617994
['Q3122787', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3122787 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Gábor Nagy
action filter_type
action find
entity Gábor Nagy
relation country of citizenship
type designation for an administrative territorial entity
['Gábor Nagy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Gábor_Nagy property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q3122787,P27,c(Q15617994))
action filter_type
action find
entity Q3122787
relation P27
type Q15617994
Gábor Nagy belongs to [ANSWER]
['Q3122787', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3122787 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Hungary
Gábor Nagy belongs to Hungary
Hungary
action filter_type
action find
entity Gábor Nagy
relation country of citizenship
type designation for an administrative territorial entity
['Gábor Nagy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Gábor_Nagy property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P1001
Q192350
USER
Which ministry applies to jurisdiction over that administrative territory ?
(c(Q192350),P1001,Q28)
action filter_type
action find_reverse
entity Q28
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q28']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q28 . ?i rdf:type ontology:Q192350 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Hungary']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Hungary . ?i rdf:type ontology:ministry }
[]
ministry
Q23013988
SYSTEM
Ministry of Rural Development (Hungary)
Q23013988
(c(Q192350),P1001,Q28)
action filter_type
action find_reverse
entity Q28
relation P1001
type Q192350
[ANSWER] applies to jurisdiction over that administrative territory
[{'concept': 'Q192350'}, 'P1001', 'Q28']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q28 . ?i rdf:type ontology:Q192350 }
Ministry of Rural Development (Hungary)
Ministry of Rural Development (Hungary) applies to jurisdiction over that administrative territory
Ministry of Rural Development (Hungary)
action filter_type
action find_reverse
entity Hungary
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Hungary']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Hungary . ?i rdf:type ontology:ministry }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23013988
P17
Q15617994
USER
Which administrative territory is that ministry a part of ?
(Q23013988,P17,c(Q15617994))
action filter_type
action find
entity Q23013988
relation P17
type Q15617994
['Q23013988', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q23013988 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Ministry of Rural Development (Hungary)
action filter_type
action find
entity Ministry of Rural Development (Hungary)
relation country
type designation for an administrative territorial entity
['Ministry of Rural Development (Hungary)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ministry_of_Rural_Development_(Hungary) property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q23013988,P17,c(Q15617994))
action filter_type
action find
entity Q23013988
relation P17
type Q15617994
The [ANSWER] is that ministry a part of
['Q23013988', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q23013988 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Hungary
The Hungary is that ministry a part of
Hungary
action filter_type
action find
entity Ministry of Rural Development (Hungary)
relation country
type designation for an administrative territorial entity
['Ministry of Rural Development (Hungary)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ministry_of_Rural_Development_(Hungary) property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q28 Q3473334
P27
Q502895
USER
Is Sarah Coffin a civilian of that administrative territory ?
(Q3473334,P27,Q28)
action is_in
entity Q3473334
action find
entity Q28
relation P27
['Q3473334', 'P27', 'Q28']
ASK WHERE { resource:Q28 property:P27 resource:Q3473334 }
Hungary Sarah Coffin
action is_in
entity Sarah Coffin
action find
entity Hungary
relation country of citizenship
['Sarah Coffin', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Hungary property:country_of_citizenship resource:Sarah_Coffin }
[]
common name
SYSTEM
NO
(Q3473334,P27,Q28)
action is_in
entity Q3473334
action find
entity Q28
relation P27
[ANSWER]
['Q3473334', 'P27', 'Q28']
ASK WHERE { resource:Q28 property:P27 resource:Q3473334 }
No
action is_in
entity Sarah Coffin
action find
entity Hungary
relation country of citizenship
['Sarah Coffin', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Hungary property:country_of_citizenship resource:Sarah_Coffin }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3122787 Q565406 Q28
P19
Q15617994
USER
Was Gábor Nagy born at Osdorf and Hungary ?
(Q3122787,P19,Q565406) (Q3122787,P19,Q28)
action is_in
entity Q3122787
action intersection
action find_reverse
entity Q565406
relation P19
action find_reverse
entity Q28
relation P19
['Q3122787', 'P19', 'Q565406'] ['Q3122787', 'P19', 'Q28']
ASK WHERE { resource:Q3122787 property:P19 resource:Q565406 . resource:Q3122787 property:P19 resource:Q28 }
Gábor Nagy Osdorf Hungary
action is_in
entity Gábor Nagy
action intersection
action find_reverse
entity Osdorf
relation place of birth
action find_reverse
entity Hungary
relation place of birth
['Gábor Nagy', 'place of birth', 'Osdorf'] ['Gábor Nagy', 'place of birth', 'Hungary']
ASK WHERE { resource:Gábor_Nagy property:place_of_birth resource:Osdorf . resource:Gábor_Nagy property:place_of_birth resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3122787,P19,Q565406) (Q3122787,P19,Q28)
action is_in
entity Q3122787
action intersection
action find_reverse
entity Q565406
relation P19
action find_reverse
entity Q28
relation P19
[ANSWER]
['Q3122787', 'P19', 'Q565406'] ['Q3122787', 'P19', 'Q28']
ASK WHERE { resource:Q3122787 property:P19 resource:Q565406 . resource:Q3122787 property:P19 resource:Q28 }
NO and YES respectively
action is_in
entity Gábor Nagy
action intersection
action find_reverse
entity Osdorf
relation place of birth
action find_reverse
entity Hungary
relation place of birth
['Gábor Nagy', 'place of birth', 'Osdorf'] ['Gábor Nagy', 'place of birth', 'Hungary']
ASK WHERE { resource:Gábor_Nagy property:place_of_birth resource:Osdorf . resource:Gábor_Nagy property:place_of_birth resource:Hungary }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23013988 Q28
P1001
Q15617994
USER
Does Hungary belong to jurisdiction of Ministry of Rural Development (Hungary) ?
(Q23013988,P1001,Q28)
action is_in
entity Q28
action find
entity Q23013988
relation P1001
['Q23013988', 'P1001', 'Q28']
ASK WHERE { resource:Q23013988 property:P1001 resource:Q28 }
Ministry of Rural Development (Hungary) Hungary
action is_in
entity Hungary
action find
entity Ministry of Rural Development (Hungary)
relation applies to jurisdiction
['Ministry of Rural Development (Hungary)', 'applies to jurisdiction', 'Hungary']
ASK WHERE { resource:Ministry_of_Rural_Development_(Hungary) property:applies_to_jurisdiction resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q23013988,P1001,Q28)
action is_in
entity Q28
action find
entity Q23013988
relation P1001
[ANSWER]
['Q23013988', 'P1001', 'Q28']
ASK WHERE { resource:Q23013988 property:P1001 resource:Q28 }
Yes
action is_in
entity Hungary
action find
entity Ministry of Rural Development (Hungary)
relation applies to jurisdiction
['Ministry of Rural Development (Hungary)', 'applies to jurisdiction', 'Hungary']
ASK WHERE { resource:Ministry_of_Rural_Development_(Hungary) property:applies_to_jurisdiction resource:Hungary }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3122787
P641
Q349
USER
What was the sport that Gábor Nagy was a part of ?
(Q3122787,P641,c(Q349))
action filter_type
action find
entity Q3122787
relation P641
type Q349
['Q3122787', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q3122787 property:P641 ?m . ?m rdf:type ontology:Q349 }
Gábor Nagy
action filter_type
action find
entity Gábor Nagy
relation sport
type sport
['Gábor Nagy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Gábor_Nagy property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3122787,P641,c(Q349))
action filter_type
action find
entity Q3122787
relation P641
type Q349
The sport that Gábor Nagy was a part of was [ANSWER]
['Q3122787', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q3122787 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
The sport that Gábor Nagy was a part of was association football
association football
action filter_type
action find
entity Gábor Nagy
relation sport
type sport
['Gábor Nagy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Gábor_Nagy property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3122787
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q3122787
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q3122787 property:P106 ?m }
Gábor Nagy
action filter_type
action find
entity Gábor Nagy
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Gábor_Nagy property:occupation ?m }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q3122787
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q3122787 property:P106 ?m }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Gábor Nagy
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Gábor_Nagy property:occupation ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q2342494
USER
How many occupations are the fields of work of less number of people or collectables than that occupation ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q502895
type Q2342494
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P101 resource:Q937857 . { { ?i rdf:type ontology:Q2342494 } UNION { ?i rdf:type ontology:Q502895 } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P101 ?o . ?o rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P101 ?o . ?q rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:field_of_work resource:association_football_player . { { ?i rdf:type ontology:collectable } UNION { ?i rdf:type ontology:common_name } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:field_of_work ?o . ?o rdf:type ontology:occupation . ?q rdf:type ontology:common_name } UNION { ?q property:field_of_work ?o . ?q rdf:type ontology:collectable . ?o rdf:type ontology:occupation } } GROUP BY ?o } }
[]
occupation common name collectable
SYSTEM
10
Q652122 Q211423 Q2259451 Q326358 Q705908 Q2205972 Q901 Q3387717 Q154549 Q2490358
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q502895
type Q2342494
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P101 resource:Q937857 . { { ?i rdf:type ontology:Q2342494 } UNION { ?i rdf:type ontology:Q502895 } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P101 ?o . ?o rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P101 ?o . ?q rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } }
sewing goldsmith stage actor joiner agency agreement stained-glass artist scientist theatre director carpenter choreographer
10
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:field_of_work resource:association_football_player . { { ?i rdf:type ontology:collectable } UNION { ?i rdf:type ontology:common_name } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:field_of_work ?o . ?o rdf:type ontology:occupation . ?q rdf:type ontology:common_name } UNION { ?q property:field_of_work ?o . ?q rdf:type ontology:collectable . ?o rdf:type ontology:occupation } } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3122787
P21
Q290
USER
What is the sex of Gábor Nagy ?
(Q3122787,P21,c(Q290))
action filter_type
action find
entity Q3122787
relation P21
type Q290
['Q3122787', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3122787 property:P21 ?a . ?a rdf:type ontology:Q290 }
Gábor Nagy
action filter_type
action find
entity Gábor Nagy
relation gender
type sex
['Gábor Nagy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Gábor_Nagy property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3122787,P21,c(Q290))
action filter_type
action find
entity Q3122787
relation P21
type Q290
The sex of Gábor Nagy is the [ANSWER]
['Q3122787', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3122787 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Gábor Nagy is the male
male
action filter_type
action find
entity Gábor Nagy
relation gender
type sex
['Gábor Nagy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Gábor_Nagy property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q41547 Q565406
P19
Q502895
USER
Which people have birthplace at Osdorf or St. George's ?
OR((c(Q502895),P19,Q565406), (c(Q502895),P19,Q41547))
action filter_type
action union
action find_reverse
entity Q565406
relation P19
action find_reverse
entity Q41547
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q565406'], [{'concept': 'Q502895'}, 'P19', 'Q41547']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P19 resource:Q565406 } UNION { ?s property:P19 resource:Q41547 } } . ?s rdf:type ontology:Q502895 }
St. George's Osdorf
action filter_type
action union
action find_reverse
entity Osdorf
relation place of birth
action find_reverse
entity St. George's
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Osdorf'], [{'concept': 'common name'}, 'place of birth', "St. George's"]]}
SELECT DISTINCT ?s WHERE { { { ?s property:place_of_birth resource:Osdorf } UNION { ?s property:place_of_birth resource:St._George's } } . ?s rdf:type ontology:common_name }
[]
common name
Q27057599 Q26924847 Q4961146 Q26436317 Q7032248 Q7850706 Q164404 Q20030862 Q26837734 Q6313384
SYSTEM
Some of them are Kenny Lewis, Shermaine Ross, Brendon Batson, Sean Lambert, Nigel Bishop, Tubal Uriah Butler, Josias von Qualen, Bralon Taplin, Lucy Fortune, Junior Murray
Q26837734 Q7145861 Q23759624 Q7032248 Q26831200 Q26923520 Q27063432 Q997436 Q1655 Q26845136 Q164404 Q24175360 Q26923560 Q16232438 Q26436317 Q24251123 Q5227840 Q4754910 Q6313384 Q3170455 Q26844723 Q3066232 Q16211964 Q2001138 Q2544637 Q4961146 Q20030862 Q2406202 Q26721333 Q5264775 Q27057599 Q1981856 Q495077 Q26838075 Q7850706 Q26845240 Q26924847 Q24251094 Q4727341
OR((c(Q502895),P19,Q565406), (c(Q502895),P19,Q41547))
action filter_type
action union
action find_reverse
entity Q565406
relation P19
action find_reverse
entity Q41547
relation P19
type Q502895
[ANSWERS] have birthplace at Osdorf or St. George's
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q565406'], [{'concept': 'Q502895'}, 'P19', 'Q41547']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P19 resource:Q565406 } UNION { ?s property:P19 resource:Q41547 } } . ?s rdf:type ontology:Q502895 }
Lucy Fortune Patricia Sylvester Jacinta Bartholomew Nigel Bishop Geraldine McQueen Sherine Wells Marty Phillip Wolfgang Ehlers Kirani James Ruthlyn Granger Josias von Qualen Lindon Victor Kenisha Pascal Sonika Sean Lambert Gabriel Simeon Daud Abdullah Andre Winner Junior Murray Jean Augustine Shane Charles Rondell Bartholomew Joel Phillip Shalrie Joseph Walter Harckensee Brendon Batson Bralon Taplin Tesha Harry Colleen Felix Desmond Noel Kenny Lewis Jennifer Hosten Andrea St. Bernard Josh Boateng Tubal Uriah Butler Jackie-Ann Morain Shermaine Ross Rudieon Sylvan Alister Hughes
Kenny Lewis, Shermaine Ross, Brendon Batson, Sean Lambert, Nigel Bishop, Tubal Uriah Butler, Josias von Qualen, Bralon Taplin, Lucy Fortune and Junior Murray have birthplace at Osdorf or St. George's
Kenny Lewis Shermaine Ross Brendon Batson Sean Lambert Nigel Bishop Tubal Uriah Butler Josias von Qualen Bralon Taplin Lucy Fortune Junior Murray
action filter_type
action union
action find_reverse
entity Osdorf
relation place of birth
action find_reverse
entity St. George's
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Osdorf'], [{'concept': 'common name'}, 'place of birth', "St. George's"]]}
SELECT DISTINCT ?s WHERE { { { ?s property:place_of_birth resource:Osdorf } UNION { ?s property:place_of_birth resource:St._George's } } . ?s rdf:type ontology:common_name }
[]