Simple Question (Direct)
Simple Question
Q70203
P53
Q8436
USER
Which family did Duke Christian Louis of Mecklenburg belong to ?
(Q70203,P53,c(Q8436))
action filter_type
action find
entity Q70203
relation P53
type Q8436
['Q70203', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?f WHERE { resource:Q70203 property:P53 ?f . ?f rdf:type ontology:Q8436 }
Duke Christian Louis of Mecklenburg
action filter_type
action find
entity Duke Christian Louis of Mecklenburg
relation noble family
type family
['Duke Christian Louis of Mecklenburg', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?f WHERE { resource:Duke_Christian_Louis_of_Mecklenburg property:noble_family ?f . ?f rdf:type ontology:family }
[]
family
Q700158
SYSTEM
House of Mecklenburg
Q700158
(Q70203,P53,c(Q8436))
action filter_type
action find
entity Q70203
relation P53
type Q8436
Duke Christian Louis of Mecklenburg belonged to the [ANSWER]
['Q70203', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?f WHERE { resource:Q70203 property:P53 ?f . ?f rdf:type ontology:Q8436 }
House of Mecklenburg
Duke Christian Louis of Mecklenburg belonged to the House of Mecklenburg
House of Mecklenburg
action filter_type
action find
entity Duke Christian Louis of Mecklenburg
relation noble family
type family
['Duke Christian Louis of Mecklenburg', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?f WHERE { resource:Duke_Christian_Louis_of_Mecklenburg property:noble_family ?f . ?f rdf:type ontology:family }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P112
Q502895
USER
How many people founded that family ?
(Q700158,P112,c(Q502895))
action count
action filter_type
action find
entity Q700158
relation P112
type Q502895
['Q700158', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q700158 property:P112 ?z . ?z rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity House of Mecklenburg
relation founder
type common name
['House of Mecklenburg', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:House_of_Mecklenburg property:founder ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q149674
(Q700158,P112,c(Q502895))
action count
action filter_type
action find
entity Q700158
relation P112
type Q502895
[ANSWER]
['Q700158', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q700158 property:P112 ?z . ?z rdf:type ontology:Q502895 }
Niklot
1
action count
action filter_type
action find
entity House of Mecklenburg
relation founder
type common name
['House of Mecklenburg', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:House_of_Mecklenburg property:founder ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q700158
P17
Q2221906
USER
Which geographic location is House of Mecklenburg located in ?
(Q700158,P17,c(Q2221906))
action filter_type
action find
entity Q700158
relation P17
type Q2221906
['Q700158', 'P17', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2221906 . resource:Q700158 property:P17 ?q }
House of Mecklenburg
action filter_type
action find
entity House of Mecklenburg
relation country
type geographic location
['House of Mecklenburg', 'country', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:geographic_location . resource:House_of_Mecklenburg property:country ?q }
[]
geographic location
Q109057
SYSTEM
Mecklenburg
Q109057
(Q700158,P17,c(Q2221906))
action filter_type
action find
entity Q700158
relation P17
type Q2221906
House of [ANSWER] is located in [ANSWER]
['Q700158', 'P17', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2221906 . resource:Q700158 property:P17 ?q }
Mecklenburg
House of Mecklenburg is located in Mecklenburg
Mecklenburg
action filter_type
action find
entity House of Mecklenburg
relation country
type geographic location
['House of Mecklenburg', 'country', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:geographic_location . resource:House_of_Mecklenburg property:country ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q109057 Q772541
P19
Q502895
USER
Does Countess Ina Marie von Bassewitz have location of birth at that geographic location ?
(Q772541,P19,Q109057)
action is_in
entity Q109057
action find
entity Q772541
relation P19
['Q772541', 'P19', 'Q109057']
ASK WHERE { resource:Q772541 property:P19 resource:Q109057 }
Mecklenburg Countess Ina Marie von Bassewitz
action is_in
entity Mecklenburg
action find
entity Countess Ina Marie von Bassewitz
relation place of birth
['Countess Ina Marie von Bassewitz', 'place of birth', 'Mecklenburg']
ASK WHERE { resource:Countess_Ina_Marie_von_Bassewitz property:place_of_birth resource:Mecklenburg }
[]
common name
SYSTEM
YES
(Q772541,P19,Q109057)
action is_in
entity Q109057
action find
entity Q772541
relation P19
[ANSWER]
['Q772541', 'P19', 'Q109057']
ASK WHERE { resource:Q772541 property:P19 resource:Q109057 }
Yes
action is_in
entity Mecklenburg
action find
entity Countess Ina Marie von Bassewitz
relation place of birth
['Countess Ina Marie von Bassewitz', 'place of birth', 'Mecklenburg']
ASK WHERE { resource:Countess_Ina_Marie_von_Bassewitz property:place_of_birth resource:Mecklenburg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q109057
P138
Q7743
USER
Which home is that geographic location named after ?
action filter_type
action find
entity Q109057
relation P138
type Q7743
SELECT DISTINCT ?i WHERE { resource:Q109057 property:P138 ?i . ?i rdf:type ontology:Q7743 }
Mecklenburg
action filter_type
action find
entity Mecklenburg
relation named after
type home
SELECT DISTINCT ?i WHERE { resource:Mecklenburg property:named_after ?i . ?i rdf:type ontology:home }
[]
home
Q318146
SYSTEM
Mecklenburg Castle
Q318146
action filter_type
action find
entity Q109057
relation P138
type Q7743
[ANSWER]
SELECT DISTINCT ?i WHERE { resource:Q109057 property:P138 ?i . ?i rdf:type ontology:Q7743 }
Mecklenburg Castle
Mecklenburg Castle
action filter_type
action find
entity Mecklenburg
relation named after
type home
SELECT DISTINCT ?i WHERE { resource:Mecklenburg property:named_after ?i . ?i rdf:type ontology:home }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q318146 Q1816259 Q183
P17
Q1048835
USER
Is that home present in Casserengue and Germany ?
(Q318146,P17,Q1816259) (Q318146,P17,Q183)
action is_in
entity Q318146
action intersection
action find_reverse
entity Q1816259
relation P17
action find_reverse
entity Q183
relation P17
['Q318146', 'P17', 'Q1816259'] ['Q318146', 'P17', 'Q183']
ASK WHERE { resource:Q318146 property:P17 resource:Q1816259 . resource:Q318146 property:P17 resource:Q183 }
Mecklenburg Castle Casserengue Germany
action is_in
entity Mecklenburg Castle
action intersection
action find_reverse
entity Casserengue
relation country
action find_reverse
entity Germany
relation country
['Mecklenburg Castle', 'country', 'Casserengue'] ['Mecklenburg Castle', 'country', 'Germany']
ASK WHERE { resource:Mecklenburg_Castle property:country resource:Casserengue . resource:Mecklenburg_Castle property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q318146,P17,Q1816259) (Q318146,P17,Q183)
action is_in
entity Q318146
action intersection
action find_reverse
entity Q1816259
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q318146', 'P17', 'Q1816259'] ['Q318146', 'P17', 'Q183']
ASK WHERE { resource:Q318146 property:P17 resource:Q1816259 . resource:Q318146 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity Mecklenburg Castle
action intersection
action find_reverse
entity Casserengue
relation country
action find_reverse
entity Germany
relation country
['Mecklenburg Castle', 'country', 'Casserengue'] ['Mecklenburg Castle', 'country', 'Germany']
ASK WHERE { resource:Mecklenburg_Castle property:country resource:Casserengue . resource:Mecklenburg_Castle property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q700158 Q1038569 Q149674
P112
Q502895
USER
Was House of Mecklenburg established by Carl Hahne and Niklot ?
(Q700158,P112,Q1038569) (Q700158,P112,Q149674)
action is_in
entity Q700158
action intersection
action find_reverse
entity Q1038569
relation P112
action find_reverse
entity Q149674
relation P112
['Q700158', 'P112', 'Q1038569'] ['Q700158', 'P112', 'Q149674']
ASK WHERE { resource:Q700158 property:P112 resource:Q1038569 . resource:Q700158 property:P112 resource:Q149674 }
House of Mecklenburg Carl Hahne Niklot
action is_in
entity House of Mecklenburg
action intersection
action find_reverse
entity Carl Hahne
relation founder
action find_reverse
entity Niklot
relation founder
['House of Mecklenburg', 'founder', 'Carl Hahne'] ['House of Mecklenburg', 'founder', 'Niklot']
ASK WHERE { resource:House_of_Mecklenburg property:founder resource:Carl_Hahne . resource:House_of_Mecklenburg property:founder resource:Niklot }
[]
common name
SYSTEM
NO and YES respectively
(Q700158,P112,Q1038569) (Q700158,P112,Q149674)
action is_in
entity Q700158
action intersection
action find_reverse
entity Q1038569
relation P112
action find_reverse
entity Q149674
relation P112
[ANSWER]
['Q700158', 'P112', 'Q1038569'] ['Q700158', 'P112', 'Q149674']
ASK WHERE { resource:Q700158 property:P112 resource:Q1038569 . resource:Q700158 property:P112 resource:Q149674 }
NO and YES respectively
action is_in
entity House of Mecklenburg
action intersection
action find_reverse
entity Carl Hahne
relation founder
action find_reverse
entity Niklot
relation founder
['House of Mecklenburg', 'founder', 'Carl Hahne'] ['House of Mecklenburg', 'founder', 'Niklot']
ASK WHERE { resource:House_of_Mecklenburg property:founder resource:Carl_Hahne . resource:House_of_Mecklenburg property:founder resource:Niklot }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q2221906 Q3305213 Q1792379
USER
Which geographic locations are depicted in exactly 5 paintings and art genres ?
(c(Q3305213)|c(Q1792379),P180,c(Q2221906))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q1792379
value 5
[[{'concept': 'Q3305213'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?o = 5 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?h WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q3305213 ) ( ontology:Q1792379 ) } } GROUP BY ?h } }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type painting
action find_reverse_tuple_counts
relation depicts
type geographic location
type art genre
value 5
[[{'concept': 'painting'}, {'concept': 'art genre'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?o = 5 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?h WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:painting ) ( ontology:art_genre ) } } GROUP BY ?h } }
[]
geographic location painting art genre
Q15324 Q148571
SYSTEM
body of water, fence
Q15324 Q148571
(c(Q3305213)|c(Q1792379),P180,c(Q2221906))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q1792379
value 5
[ANSWERS] are depicted in exactly 5 paintings and art genres
[[{'concept': 'Q3305213'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?o = 5 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?h WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q3305213 ) ( ontology:Q1792379 ) } } GROUP BY ?h } }
body of water fence
Body of water and fence are depicted in exactly 5 paintings and art genres
body of water fence
action equal
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type painting
action find_reverse_tuple_counts
relation depicts
type geographic location
type art genre
value 5
[[{'concept': 'painting'}, {'concept': 'art genre'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?o = 5 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?h WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:painting ) ( ontology:art_genre ) } } GROUP BY ?h } }
[]