Simple Question (Direct)
Simple Question
Q736173
P39
Q12737077
USER
What were the positions held by Thomas P. Salmon ?
(Q736173,P39,c(Q12737077))
action filter_type
action find
entity Q736173
relation P39
type Q12737077
['Q736173', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q736173 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Thomas P. Salmon
action filter_type
action find
entity Thomas P. Salmon
relation position held
type occupation
['Thomas P. Salmon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_P._Salmon property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q3773745 Q17484018
SYSTEM
Governor of Vermont, member of the Vermont House of Representatives
Q3773745 Q17484018
(Q736173,P39,c(Q12737077))
action filter_type
action find
entity Q736173
relation P39
type Q12737077
[ANSWERS]
['Q736173', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q736173 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Governor of Vermont member of the Vermont House of Representatives
Governor of Vermont member of the Vermont House of Representatives
action filter_type
action find
entity Thomas P. Salmon
relation position held
type occupation
['Thomas P. Salmon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_P._Salmon property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3773745
P1001
Q852446
USER
Which US administrative territory comes under the jurisdiction of Governor of Vermont ?
(Q3773745,P1001,c(Q852446))
action filter_type
action find
entity Q3773745
relation P1001
type Q852446
['Q3773745', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q852446 . resource:Q3773745 property:P1001 ?h }
Governor of Vermont
action filter_type
action find
entity Governor of Vermont
relation applies to jurisdiction
type administrative territorial entity of the United States
['Governor of Vermont', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Governor_of_Vermont property:applies_to_jurisdiction ?h }
[]
administrative territorial entity of the United States
Q16551
SYSTEM
Vermont
Q16551
(Q3773745,P1001,c(Q852446))
action filter_type
action find
entity Q3773745
relation P1001
type Q852446
[ANSWER]
['Q3773745', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q852446 . resource:Q3773745 property:P1001 ?h }
Vermont
Vermont
action filter_type
action find
entity Governor of Vermont
relation applies to jurisdiction
type administrative territorial entity of the United States
['Governor of Vermont', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Governor_of_Vermont property:applies_to_jurisdiction ?h }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q16551
P937 P21
Q502895
USER
Which people have Vermont as work location and are a male ?
AND((c(Q502895),P937,Q16551), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q16551
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q16551'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q16551 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male Vermont
action filter_type
action intersection
action find_reverse
entity Vermont
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Vermont'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:Vermont . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q2648389 Q1081317
SYSTEM
Allen Shawn, Christian Parenti
Q2648389 Q1081317
AND((c(Q502895),P937,Q16551), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q16551
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q16551'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q16551 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Allen Shawn Christian Parenti
Allen Shawn Christian Parenti
action filter_type
action intersection
action find_reverse
entity Vermont
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Vermont'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:Vermont . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]