Simple Question (Direct)
Simple Question
Q4662225
P39
Q12737077
USER
What were the positions held by Aaron Lyle ?
(Q4662225,P39,c(Q12737077))
action filter_type
action find
entity Q4662225
relation P39
type Q12737077
['Q4662225', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4662225 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Aaron Lyle
action filter_type
action find
entity Aaron Lyle
relation position held
type occupation
['Aaron Lyle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Aaron_Lyle property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q13218630 Q18199902 Q14616716
SYSTEM
United States representative, member of the State Senate of Pennsylvania, member of the Pennsylvania House of Representatives
Q13218630 Q18199902 Q14616716
(Q4662225,P39,c(Q12737077))
action filter_type
action find
entity Q4662225
relation P39
type Q12737077
The positions held by Aaron Lyle were [ANSWERS]
['Q4662225', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4662225 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
United States representative member of the State Senate of Pennsylvania member of the Pennsylvania House of Representatives
The positions held by Aaron Lyle were United States representative, member of the State Senate of Pennsylvania and member of the Pennsylvania House of Representatives
United States representative member of the State Senate of Pennsylvania member of the Pennsylvania House of Representatives
action filter_type
action find
entity Aaron Lyle
relation position held
type occupation
['Aaron Lyle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Aaron_Lyle property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13218630 Q18199902 Q14616716
P17
Q15617994
USER
Which administrative territories are those occupations a part of ?
(Q13218630,P17,c(Q15617994)) (Q18199902,P17,c(Q15617994)) (Q14616716,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q13218630', 'P17', {'concept': 'Q15617994'}] ['Q18199902', 'P17', {'concept': 'Q15617994'}] ['Q14616716', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?e property:P17 ?w . ?w rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q13218630 ) ( resource:Q18199902 ) ( resource:Q14616716 ) } }
United States representative member of the State Senate of Pennsylvania member of the Pennsylvania House of Representatives
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the State Senate of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Pennsylvania House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?e property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:United_States_representative ) ( resource:member_of_the_State_Senate_of_Pennsylvania ) ( resource:member_of_the_Pennsylvania_House_of_Representatives ) } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q13218630,P17,c(Q15617994)) (Q18199902,P17,c(Q15617994)) (Q14616716,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are those occupations a part of
['Q13218630', 'P17', {'concept': 'Q15617994'}] ['Q18199902', 'P17', {'concept': 'Q15617994'}] ['Q14616716', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?e property:P17 ?w . ?w rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q13218630 ) ( resource:Q18199902 ) ( resource:Q14616716 ) } }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are those occupations a part of
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the State Senate of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Pennsylvania House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?e property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:United_States_representative ) ( resource:member_of_the_State_Senate_of_Pennsylvania ) ( resource:member_of_the_Pennsylvania_House_of_Representatives ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4662225
P937
Q852446
USER
What is the location where Aaron Lyle worked ?
(Q4662225,P937,c(Q852446))
action filter_type
action find
entity Q4662225
relation P937
type Q852446
['Q4662225', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q852446 . resource:Q4662225 property:P937 ?v }
Aaron Lyle
action filter_type
action find
entity Aaron Lyle
relation work location
type administrative territorial entity of the United States
['Aaron Lyle', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Aaron_Lyle property:work_location ?v }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q4662225,P937,c(Q852446))
action filter_type
action find
entity Q4662225
relation P937
type Q852446
The location Aaron Lyle worked is in [ANSWER]
['Q4662225', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q852446 . resource:Q4662225 property:P937 ?v }
Harrisburg
The location Aaron Lyle worked is in Harrisburg
Harrisburg
action filter_type
action find
entity Aaron Lyle
relation work location
type administrative territorial entity of the United States
['Aaron Lyle', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Aaron_Lyle property:work_location ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4662225
P106
Q12737077
USER
What is the job of that person ?
(Q25280,P106,c(Q12737077))
action filter_type
action find
entity Q4662225
relation P106
type Q12737077
['Q25280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q4662225 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Aaron Lyle
action filter_type
action find
entity Aaron Lyle
relation occupation
type occupation
['Harrisburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Aaron_Lyle property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q25280,P106,c(Q12737077))
action filter_type
action find
entity Q4662225
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q25280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q4662225 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Aaron Lyle
relation occupation
type occupation
['Harrisburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Aaron_Lyle property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2730732
P180
Q12737077 Q18783400 Q838948
USER
Which occupations are depicted in approximately the same number of genres of sculpture or works of art as equestrian ?
(c(Q18783400)|c(Q838948),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q18783400
type Q838948
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?l WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q18783400 ) ( ontology:Q838948 ) } } GROUP BY ?l } . FILTER ( ?h = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P180 resource:Q2730732 . { { ?t rdf:type ontology:Q18783400 } UNION { ?t rdf:type ontology:Q838948 } } } } }
equestrian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type genre of sculpture
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?l WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:genre_of_sculpture ) ( ontology:work_of_art ) } } GROUP BY ?l } . FILTER ( ?h = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:depicts resource:equestrian . { { ?t rdf:type ontology:genre_of_sculpture } UNION { ?t rdf:type ontology:work_of_art } } } } }
[]
occupation genre of sculpture work of art
Q5716684 Q838811 Q47064
SYSTEM
dancer, peasant, military personnel
Q47064 Q2730732 Q5716684 Q838811 Q639669 Q49757
(c(Q18783400)|c(Q838948),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q18783400
type Q838948
The [ANSWERS] are depicted in approximately the same number of genres of sculpture or works of art as equestrian
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?l WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q18783400 ) ( ontology:Q838948 ) } } GROUP BY ?l } . FILTER ( ?h = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P180 resource:Q2730732 . { { ?t rdf:type ontology:Q18783400 } UNION { ?t rdf:type ontology:Q838948 } } } } }
military personnel equestrian dancer peasant musician poet
The dancer, peasant and military personnel are depicted in approximately the same number of genres of sculpture or works of art as equestrian
dancer peasant military personnel
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type genre of sculpture
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?l WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:genre_of_sculpture ) ( ontology:work_of_art ) } } GROUP BY ?l } . FILTER ( ?h = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:depicts resource:equestrian . { { ?t rdf:type ontology:genre_of_sculpture } UNION { ?t rdf:type ontology:work_of_art } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q838811
P921
Q8171
USER
Which word is peasant a main subject of ?
(c(Q8171),P921,Q838811)
action filter_type
action find_reverse
entity Q838811
relation P921
type Q8171
[{'concept': 'Q8171'}, 'P921', 'Q838811']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q838811 . ?f rdf:type ontology:Q8171 }
peasant
action filter_type
action find_reverse
entity peasant
relation main subject
type word
[{'concept': 'word'}, 'main subject', 'peasant']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:peasant . ?f rdf:type ontology:word }
[]
word
Q3392571
SYSTEM
Plouc
Q3392571
(c(Q8171),P921,Q838811)
action filter_type
action find_reverse
entity Q838811
relation P921
type Q8171
Which word is peasant a main subject of
[{'concept': 'Q8171'}, 'P921', 'Q838811']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q838811 . ?f rdf:type ontology:Q8171 }
Plouc
Which word is peasant a main subject of
Plouc
action filter_type
action find_reverse
entity peasant
relation main subject
type word
[{'concept': 'word'}, 'main subject', 'peasant']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:peasant . ?f rdf:type ontology:word }
[]