Simple Question (Direct)
Simple Question
Q6179833
P69
Q3918
USER
Which university is the alma mater of Jens Staubrand ?
(Q6179833,P69,c(Q3918))
action filter_type
action find
entity Q6179833
relation P69
type Q3918
['Q6179833', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q6179833 property:P69 ?g . ?g rdf:type ontology:Q3918 }
Jens Staubrand
action filter_type
action find
entity Jens Staubrand
relation educated at
type university
['Jens Staubrand', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Jens_Staubrand property:educated_at ?g . ?g rdf:type ontology:university }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q6179833,P69,c(Q3918))
action filter_type
action find
entity Q6179833
relation P69
type Q3918
[ANSWER] is the alma mater of Jens Staubrand
['Q6179833', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q6179833 property:P69 ?g . ?g rdf:type ontology:Q3918 }
University of Copenhagen
University of Copenhagen is the alma mater of Jens Staubrand
University of Copenhagen
action filter_type
action find
entity Jens Staubrand
relation educated at
type university
['Jens Staubrand', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Jens_Staubrand property:educated_at ?g . ?g rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6179833
P21
Q290
USER
Which sex does Jens Staubrand belong to ?
(Q6179833,P21,c(Q290))
action filter_type
action find
entity Q6179833
relation P21
type Q290
['Q6179833', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q6179833 property:P21 ?r }
Jens Staubrand
action filter_type
action find
entity Jens Staubrand
relation gender
type sex
['Jens Staubrand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Jens_Staubrand property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6179833,P21,c(Q290))
action filter_type
action find
entity Q6179833
relation P21
type Q290
Jens Staubrand belongs to [ANSWER]
['Q6179833', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q6179833 property:P21 ?r }
male
Jens Staubrand belongs to male
male
action filter_type
action find
entity Jens Staubrand
relation gender
type sex
['Jens Staubrand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Jens_Staubrand property:gender ?r }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q9156540 Q6179833
P21
Q290
USER
And also Antoni Brzozowski
AND((Q6179833,P21,c(Q290)), (Q9156540,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6179833
relation P21
action find
entity Q9156540
relation P21
type Q290
{'AND': [['Q6179833', 'P21', {'concept': 'Q290'}], ['Q9156540', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { resource:Q6179833 property:P21 ?p . resource:Q9156540 property:P21 ?p . ?p rdf:type ontology:Q290 }
Antoni Brzozowski Jens Staubrand
action filter_type
action intersection
action find
entity Jens Staubrand
relation gender
action find
entity Antoni Brzozowski
relation gender
type sex
{'AND': [['Jens Staubrand', 'gender', {'concept': 'sex'}], ['Antoni Brzozowski', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { resource:Jens_Staubrand property:gender ?p . resource:Antoni_Brzozowski property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q6179833,P21,c(Q290)), (Q9156540,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6179833
relation P21
action find
entity Q9156540
relation P21
type Q290
[ANSWER]
{'AND': [['Q6179833', 'P21', {'concept': 'Q290'}], ['Q9156540', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { resource:Q6179833 property:P21 ?p . resource:Q9156540 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Jens Staubrand
relation gender
action find
entity Antoni Brzozowski
relation gender
type sex
{'AND': [['Jens Staubrand', 'gender', {'concept': 'sex'}], ['Antoni Brzozowski', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { resource:Jens_Staubrand property:gender ?p . resource:Antoni_Brzozowski property:gender ?p . ?p rdf:type ontology:sex }
[]