Simple Question (Direct)
Simple Question
Q1679643
P512
Q3412758
USER
What degree does Werner Rösener hold ?
(Q1679643,P512,c(Q3412758))
action filter_type
action find
entity Q1679643
relation P512
type Q3412758
['Q1679643', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q1679643 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
Werner Rösener
action filter_type
action find
entity Werner Rösener
relation academic degree
type qualification
['Werner Rösener', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Werner_Rösener property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1679643,P512,c(Q3412758))
action filter_type
action find
entity Q1679643
relation P512
type Q3412758
Werner Rösener holds a [ANSWER]
['Q1679643', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q1679643 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
doctoral degree
Werner Rösener holds a doctoral degree
doctoral degree
action filter_type
action find
entity Werner Rösener
relation academic degree
type qualification
['Werner Rösener', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Werner_Rösener property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1679643
P19
Q15617994
USER
Which administrative territory is the birthplace of that person ?
(Q849697,P19,c(Q15617994))
action filter_type
action find
entity Q1679643
relation P19
type Q15617994
['Q849697', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1679643 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Werner Rösener
action filter_type
action find
entity Werner Rösener
relation place of birth
type designation for an administrative territorial entity
['doctoral degree', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Werner_Rösener property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q539693
SYSTEM
Lohne
Q539693
(Q849697,P19,c(Q15617994))
action filter_type
action find
entity Q1679643
relation P19
type Q15617994
[ANSWER] is the birthplace of that person
['Q849697', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1679643 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Lohne
Lohne is the birthplace of that person
Lohne
action filter_type
action find
entity Werner Rösener
relation place of birth
type designation for an administrative territorial entity
['doctoral degree', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Werner_Rösener property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with around 18 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 18
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?o property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?o } . FILTER ( ?p = 18 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?o property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?o } . FILTER ( ?p = 18 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 18
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?o property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?o } . FILTER ( ?p = 18 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?o property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?o } . FILTER ( ?p = 18 ) }
[]