Simple Question (Direct)
Simple Question
Q5216727
P136
Q483394
USER
What can be considered as category for Daniel Caffé ?
(Q5216727,P136,c(Q483394))
action filter_type
action find
entity Q5216727
relation P136
type Q483394
['Q5216727', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { resource:Q5216727 property:P136 ?p . ?p rdf:type ontology:Q483394 }
Daniel Caffé
action filter_type
action find
entity Daniel Caffé
relation genre
type genre
['Daniel Caffé', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { resource:Daniel_Caffé property:genre ?p . ?p rdf:type ontology:genre }
[]
genre
Q134307
SYSTEM
portrait
Q134307
(Q5216727,P136,c(Q483394))
action filter_type
action find
entity Q5216727
relation P136
type Q483394
A [ANSWER] can be considered as category for Daniel Caffé
['Q5216727', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { resource:Q5216727 property:P136 ?p . ?p rdf:type ontology:Q483394 }
portrait
A portrait can be considered as category for Daniel Caffé
portrait
action filter_type
action find
entity Daniel Caffé
relation genre
type genre
['Daniel Caffé', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { resource:Daniel_Caffé property:genre ?p . ?p rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5216727
P20
Q515
USER
Where did the demise of that person occur ?
(Q134307,P20,c(Q515))
action filter_type
action find
entity Q5216727
relation P20
type Q515
['Q134307', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . resource:Q5216727 property:P20 ?o }
Daniel Caffé
action filter_type
action find
entity Daniel Caffé
relation place of death
type city
['portrait', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . resource:Daniel_Caffé property:place_of_death ?o }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q134307,P20,c(Q515))
action filter_type
action find
entity Q5216727
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q134307', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . resource:Q5216727 property:P20 ?o }
Leipzig
The demise of that person occurred in Leipzig
Leipzig
action filter_type
action find
entity Daniel Caffé
relation place of death
type city
['portrait', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . resource:Daniel_Caffé property:place_of_death ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q515
USER
How many cities are situated close to approximately 7 watercourses and waterways ?
(c(Q515),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q1267889
value 7
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?z rdf:type ?u } GROUP BY ?e } . FILTER ( ?x = 7 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type waterway
value 7
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?z rdf:type ?u } GROUP BY ?e } . FILTER ( ?x = 7 ) }
[]
watercourse waterway city
SYSTEM
1
Q1731
(c(Q515),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q1267889
value 7
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?z rdf:type ?u } GROUP BY ?e } . FILTER ( ?x = 7 ) }
Dresden
1
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type waterway
value 7
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?z rdf:type ?u } GROUP BY ?e } . FILTER ( ?x = 7 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2079
P6
Q502895
USER
Which person is the head of government of Leipzig ?
(Q2079,P6,c(Q502895))
action filter_type
action find
entity Q2079
relation P6
type Q502895
['Q2079', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2079 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Leipzig
action filter_type
action find
entity Leipzig
relation head of government
type common name
['Leipzig', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Leipzig property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q106747
SYSTEM
Burkhard Jung
Q106747
(Q2079,P6,c(Q502895))
action filter_type
action find
entity Q2079
relation P6
type Q502895
[ANSWER] is the head of government of Leipzig
['Q2079', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2079 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Burkhard Jung
Burkhard Jung is the head of government of Leipzig
Burkhard Jung
action filter_type
action find
entity Leipzig
relation head of government
type common name
['Leipzig', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Leipzig property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]