Simple Question (Direct)
Simple Question
Q6758066
P39
Q12737077
USER
Which occupation was a position for which Marcus C.L. Kline was appointed ?
(Q6758066,P39,c(Q12737077))
action filter_type
action find
entity Q6758066
relation P39
type Q12737077
['Q6758066', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6758066 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Marcus C.L. Kline
action filter_type
action find
entity Marcus C.L. Kline
relation position held
type occupation
['Marcus C.L. Kline', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Marcus_C.L._Kline property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q6758066,P39,c(Q12737077))
action filter_type
action find
entity Q6758066
relation P39
type Q12737077
The [ANSWER] was a position for which Marcus C.L. Kline was appointed
['Q6758066', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6758066 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position for which Marcus C.L. Kline was appointed
United States representative
action filter_type
action find
entity Marcus C.L. Kline
relation position held
type occupation
['Marcus C.L. Kline', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Marcus_C.L._Kline property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6758066
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q13218630,P102,c(Q7210356))
action filter_type
action find
entity Q6758066
relation P102
type Q7210356
['Q13218630', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q6758066 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Marcus C.L. Kline
action filter_type
action find
entity Marcus C.L. Kline
relation member of political party
type political organization
['United States representative', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Marcus_C.L._Kline property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q13218630,P102,c(Q7210356))
action filter_type
action find
entity Q6758066
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q13218630', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q6758066 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Democratic Party
That person is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Marcus C.L. Kline
relation member of political party
type political organization
['United States representative', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Marcus_C.L._Kline property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6758066
P69
Q163740
USER
Which nonprofit organization was that person educated at ?
(Q29552,P69,c(Q163740))
action filter_type
action find
entity Q6758066
relation P69
type Q163740
['Q29552', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q6758066 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Marcus C.L. Kline
action filter_type
action find
entity Marcus C.L. Kline
relation educated at
type nonprofit organization
['Democratic Party', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Marcus_C.L._Kline property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1951942
SYSTEM
Muhlenberg College
Q1951942
(Q29552,P69,c(Q163740))
action filter_type
action find
entity Q6758066
relation P69
type Q163740
That person was educated at [ANSWER]
['Q29552', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q6758066 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Muhlenberg College
That person was educated at Muhlenberg College
Muhlenberg College
action filter_type
action find
entity Marcus C.L. Kline
relation educated at
type nonprofit organization
['Democratic Party', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Marcus_C.L._Kline property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q4894405 Q163740 Q502895
USER
How many people have been stated in around 1 journalism genres or nonprofit organizations ?
(c(Q502895),P248,c(Q4894405)|c(Q163740))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q163740
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4894405 ) ( ontology:Q163740 ) } } GROUP BY ?k } }
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:journalism_genre ) ( ontology:nonprofit_organization ) } } GROUP BY ?k } }
[]
journalism genre nonprofit organization common name
SYSTEM
7
Q16060029 Q6221420 Q6228730 Q16027113 Q5233453 Q6237318 Q5537324
(c(Q502895),P248,c(Q4894405)|c(Q163740))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q163740
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4894405 ) ( ontology:Q163740 ) } } GROUP BY ?k } }
David Davies John Bell John Davies John Roberts David Evans John Hall George Brown
7
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:journalism_genre ) ( ontology:nonprofit_organization ) } } GROUP BY ?k } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6758066
P106
Q28640
USER
Which profession has that person as his/her 's career ?
action filter_type
action find
entity Q6758066
relation P106
type Q28640
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q28640 . resource:Q6758066 property:P106 ?b }
Marcus C.L. Kline
action filter_type
action find
entity Marcus C.L. Kline
relation occupation
type profession
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:profession . resource:Marcus_C.L._Kline property:occupation ?b }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
action filter_type
action find
entity Q6758066
relation P106
type Q28640
A [ANSWER] has that person as his/her 's career
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q28640 . resource:Q6758066 property:P106 ?b }
lawyer
A lawyer has that person as his/her 's career
lawyer
action filter_type
action find
entity Marcus C.L. Kline
relation occupation
type profession
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:profession . resource:Marcus_C.L._Kline property:occupation ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6758066
P20
Q5119
USER
Where did the expiration of that person occur ?
(Q40348,P20,c(Q5119))
action filter_type
action find
entity Q6758066
relation P20
type Q5119
['Q40348', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?h WHERE { resource:Q6758066 property:P20 ?h . ?h rdf:type ontology:Q5119 }
Marcus C.L. Kline
action filter_type
action find
entity Marcus C.L. Kline
relation place of death
type capital
['lawyer', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?h WHERE { resource:Marcus_C.L._Kline property:place_of_death ?h . ?h rdf:type ontology:capital }
[]
capital
Q142811
SYSTEM
Allentown
Q142811
(Q40348,P20,c(Q5119))
action filter_type
action find
entity Q6758066
relation P20
type Q5119
The expiration of that person occurred in [ANSWER]
['Q40348', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?h WHERE { resource:Q6758066 property:P20 ?h . ?h rdf:type ontology:Q5119 }
Allentown
The expiration of that person occurred in Allentown
Allentown
action filter_type
action find
entity Marcus C.L. Kline
relation place of death
type capital
['lawyer', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?h WHERE { resource:Marcus_C.L._Kline property:place_of_death ?h . ?h rdf:type ontology:capital }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6758066
P21
Q290
USER
What is the sex of Marcus C.L. Kline ?
(Q6758066,P21,c(Q290))
action filter_type
action find
entity Q6758066
relation P21
type Q290
['Q6758066', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q6758066 property:P21 ?f . ?f rdf:type ontology:Q290 }
Marcus C.L. Kline
action filter_type
action find
entity Marcus C.L. Kline
relation gender
type sex
['Marcus C.L. Kline', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Marcus_C.L._Kline property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6758066,P21,c(Q290))
action filter_type
action find
entity Q6758066
relation P21
type Q290
The sex of Marcus C.L. Kline is the [ANSWER]
['Q6758066', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q6758066 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Marcus C.L. Kline is the male
male
action filter_type
action find
entity Marcus C.L. Kline
relation gender
type sex
['Marcus C.L. Kline', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Marcus_C.L._Kline property:gender ?f . ?f rdf:type ontology:sex }
[]