Simple Question (Direct)
Simple Question
Q7803873
P734
Q82799
USER
Which name is associated with Tim Madison ?
(Q7803873,P734,c(Q82799))
action filter_type
action find
entity Q7803873
relation P734
type Q82799
['Q7803873', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q7803873 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Tim Madison
action filter_type
action find
entity Tim Madison
relation family name
type name
['Tim Madison', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Tim_Madison property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q19776297
SYSTEM
Madison
Q19776297
(Q7803873,P734,c(Q82799))
action filter_type
action find
entity Q7803873
relation P734
type Q82799
To [ANSWER] is associated with Tim [ANSWER]
['Q7803873', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q7803873 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Madison
To Madison is associated with Tim Madison
Madison
action filter_type
action find
entity Tim Madison
relation family name
type name
['Tim Madison', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Tim_Madison property:family_name ?j . ?j rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q2668072 Q502895
USER
Which people were exhibited at atleast 3 events and collections ?
(c(Q502895),P608,c(Q1656682)|c(Q2668072))
action atleast
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 3
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?s property:P608 ?g . ?s rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1656682 } UNION { ?s property:P608 ?g . ?g rdf:type ontology:Q2668072 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?a >= 3 ) }
action atleast
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type collection
value 3
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'collection'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?s property:exhibition_history ?g . ?s rdf:type ontology:common_name . ?g rdf:type ontology:event } UNION { ?s property:exhibition_history ?g . ?g rdf:type ontology:collection . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?a >= 3 ) }
[]
event collection common name
Q1964408 Q15527965
SYSTEM
Nan Hoover, Margaretha Roosenboom
Q1964408 Q15527965
(c(Q502895),P608,c(Q1656682)|c(Q2668072))
action atleast
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 3
[ANSWERS] were exhibited at atleast 3 events and collections
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?s property:P608 ?g . ?s rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1656682 } UNION { ?s property:P608 ?g . ?g rdf:type ontology:Q2668072 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?a >= 3 ) }
Nan Hoover Margaretha Roosenboom
Nan Hoover and Margaretha Roosenboom were exhibited at atleast 3 events and collections
Nan Hoover Margaretha Roosenboom
action atleast
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type collection
value 3
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'collection'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?s property:exhibition_history ?g . ?s rdf:type ontology:common_name . ?g rdf:type ontology:event } UNION { ?s property:exhibition_history ?g . ?g rdf:type ontology:collection . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?a >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15527965
P26
Q502895
USER
Which person is the life partner of Margaretha Roosenboom ?
(c(Q502895),P26,Q15527965)
action filter_type
action find
entity Q15527965
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q15527965']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q15527965 property:P26 ?h }
Margaretha Roosenboom
action filter_type
action find
entity Margaretha Roosenboom
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Margaretha Roosenboom']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Margaretha_Roosenboom property:spouse ?h }
[]
common name
Q18577260
SYSTEM
Johannes Gijsbert Vogel
Q18577260
(c(Q502895),P26,Q15527965)
action filter_type
action find
entity Q15527965
relation P26
type Q502895
[ANSWER] is the life partner of Margaretha Roosenboom
[{'concept': 'Q502895'}, 'P26', 'Q15527965']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q15527965 property:P26 ?h }
Johannes Gijsbert Vogel
Johannes Gijsbert Vogel is the life partner of Margaretha Roosenboom
Johannes Gijsbert Vogel
action filter_type
action find
entity Margaretha Roosenboom
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Margaretha Roosenboom']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Margaretha_Roosenboom property:spouse ?h }
[]