Simple Question (Direct)
Simple Question
Q624992
P17
Q15617994
USER
Which administrative territory is Massat situated in ?
(Q624992,P17,c(Q15617994))
action filter_type
action find
entity Q624992
relation P17
type Q15617994
['Q624992', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q624992 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Massat
action filter_type
action find
entity Massat
relation country
type designation for an administrative territorial entity
['Massat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Massat property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q624992,P17,c(Q15617994))
action filter_type
action find
entity Q624992
relation P17
type Q15617994
Massat is situated en [ANSWER]
['Q624992', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q624992 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
France
Massat is situated en France
France
action filter_type
action find
entity Massat
relation country
type designation for an administrative territorial entity
['Massat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Massat property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P36
Q56061
USER
Which administrative territory is associated to that administrative territory as the capital ?
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q142 property:P36 ?c . ?c rdf:type ontology:Q56061 }
France
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:France property:capital ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
[ANSWER] is associated to that administrative territory as the capital
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q142 property:P36 ?c . ?c rdf:type ontology:Q56061 }
Paris
Paris is associated to that administrative territory as the capital
Paris
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:France property:capital ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P417
Q502895
USER
Which person has adopted that administrative territory as patron saint ?
(c(Q502895),P417,Q90)
action filter_type
action find_reverse
entity Q142
relation P417
type Q502895
[{'concept': 'Q502895'}, 'P417', 'Q90']
SELECT DISTINCT ?t WHERE { ?t property:P417 resource:Q142 . ?t rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation patron saint
type common name
[{'concept': 'common name'}, 'patron saint', 'Paris']
SELECT DISTINCT ?t WHERE { ?t property:patron_saint resource:France . ?t rdf:type ontology:common_name }
[]
common name
Q367208
SYSTEM
Saint Remigius
Q367208
(c(Q502895),P417,Q90)
action filter_type
action find_reverse
entity Q142
relation P417
type Q502895
[ANSWER] has adopted that administrative territory as patron saint
[{'concept': 'Q502895'}, 'P417', 'Q90']
SELECT DISTINCT ?t WHERE { ?t property:P417 resource:Q142 . ?t rdf:type ontology:Q502895 }
Saint Remigius
Saint Remigius has adopted that administrative territory as patron saint
Saint Remigius
action filter_type
action find_reverse
entity France
relation patron saint
type common name
[{'concept': 'common name'}, 'patron saint', 'Paris']
SELECT DISTINCT ?t WHERE { ?t property:patron_saint resource:France . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q398 Q142
P463
Q484652
USER
Which international organizations were France and Bahrain a member of ?
AND((Q142,P463,c(Q484652)), (Q398,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q142
relation P463
action find
entity Q398
relation P463
type Q484652
{'AND': [['Q142', 'P463', {'concept': 'Q484652'}], ['Q398', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?k WHERE { resource:Q142 property:P463 ?k . resource:Q398 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Bahrain France
action filter_type
action intersection
action find
entity France
relation member of
action find
entity Bahrain
relation member of
type international organization
{'AND': [['France', 'member of', {'concept': 'international organization'}], ['Bahrain', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?k WHERE { resource:France property:member_of ?k . resource:Bahrain property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
international organization
Q1065 Q1043527
SYSTEM
United Nations, Multilateral Investment Guarantee Agency
Q1065 Q1043527
AND((Q142,P463,c(Q484652)), (Q398,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q142
relation P463
action find
entity Q398
relation P463
type Q484652
[ANSWERS] were France and Bahrain a member of
{'AND': [['Q142', 'P463', {'concept': 'Q484652'}], ['Q398', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?k WHERE { resource:Q142 property:P463 ?k . resource:Q398 property:P463 ?k . ?k rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
United Nations and Multilateral Investment Guarantee Agency were France and Bahrain a member of
United Nations Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity France
relation member of
action find
entity Bahrain
relation member of
type international organization
{'AND': [['France', 'member of', {'concept': 'international organization'}], ['Bahrain', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?k WHERE { resource:France property:member_of ?k . resource:Bahrain property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7680602
P463
Q15617994
USER
Are Tamalpais Union High School District members of those international organizations ?
(Q7680602,P463,Q1065) (Q7680602,P463,Q1043527)
action is_in
entity prev_answer
action find
entity Q7680602
relation P463
['Q7680602', 'P463', 'Q1065'] ['Q7680602', 'P463', 'Q1043527']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1065 ) ( resource:Q1043527 ) } . resource:Q7680602 property:P463 ?h }
Tamalpais Union High School District
action is_in
entity prev_answer
action find
entity Tamalpais Union High School District
relation member of
['Tamalpais Union High School District', 'member of', 'United Nations'] ['Tamalpais Union High School District', 'member of', 'Multilateral Investment Guarantee Agency']
ASK WHERE { VALUES ( ?h ) { ( resource:United_Nations ) ( resource:Multilateral_Investment_Guarantee_Agency ) } . resource:Tamalpais_Union_High_School_District property:member_of ?h }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7680602,P463,Q1065) (Q7680602,P463,Q1043527)
action is_in
entity prev_answer
action find
entity Q7680602
relation P463
[ANSWER]
['Q7680602', 'P463', 'Q1065'] ['Q7680602', 'P463', 'Q1043527']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1065 ) ( resource:Q1043527 ) } . resource:Q7680602 property:P463 ?h }
No
action is_in
entity prev_answer
action find
entity Tamalpais Union High School District
relation member of
['Tamalpais Union High School District', 'member of', 'United Nations'] ['Tamalpais Union High School District', 'member of', 'Multilateral Investment Guarantee Agency']
ASK WHERE { VALUES ( ?h ) { ( resource:United_Nations ) ( resource:Multilateral_Investment_Guarantee_Agency ) } . resource:Tamalpais_Union_High_School_District property:member_of ?h }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q33506 Q464980 Q502895
USER
Which people were exhibited at min number of museums or exhibitions ?
(c(Q502895),P608,c(Q33506)|c(Q464980))
action argmin
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q464980
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?p ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q33506 ) ( ontology:Q464980 ) } } GROUP BY ?d } . FILTER ( ?p = ?a ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { { ?y rdf:type ontology:Q502895 . ?s rdf:type ontology:Q464980 . ?y property:P608 ?s } UNION { ?y property:P608 ?s . ?y rdf:type ontology:Q502895 . ?s rdf:type ontology:Q33506 } } GROUP BY ?y } } }
action argmin
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?p ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:museum ) ( ontology:exhibition ) } } GROUP BY ?d } . FILTER ( ?p = ?a ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { { ?y rdf:type ontology:common_name . ?s rdf:type ontology:exhibition . ?y property:exhibition_history ?s } UNION { ?y property:exhibition_history ?s . ?y rdf:type ontology:common_name . ?s rdf:type ontology:museum } } GROUP BY ?y } } }
[]
museum exhibition common name
Q15527965 Q55192 Q17455385
SYSTEM
Margaretha Roosenboom, Gertrude Abercrombie, Jerry Cooke
Q17455385 Q15734263 Q15734265 Q16858002 Q15991813 Q16062545 Q5671224 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q6687160 Q22815085 Q9015308 Q805807 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q33506)|c(Q464980))
action argmin
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q464980
[ANSWERS] were exhibited at min number of museums or exhibitions
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?p ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q33506 ) ( ontology:Q464980 ) } } GROUP BY ?d } . FILTER ( ?p = ?a ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { { ?y rdf:type ontology:Q502895 . ?s rdf:type ontology:Q464980 . ?y property:P608 ?s } UNION { ?y property:P608 ?s . ?y rdf:type ontology:Q502895 . ?s rdf:type ontology:Q33506 } } GROUP BY ?y } } }
Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Louis Ferstadt Georges Violet Juan Carlos Alom Balto Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
Margaretha Roosenboom, Gertrude Abercrombie and Jerry Cooke were exhibited at min number of museums or exhibitions
Margaretha Roosenboom Gertrude Abercrombie Jerry Cooke
action argmin
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?p ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:museum ) ( ontology:exhibition ) } } GROUP BY ?d } . FILTER ( ?p = ?a ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { { ?y rdf:type ontology:common_name . ?s rdf:type ontology:exhibition . ?y property:exhibition_history ?s } UNION { ?y property:exhibition_history ?s . ?y rdf:type ontology:common_name . ?s rdf:type ontology:museum } } GROUP BY ?y } } }
[]