Simple Question (Direct)
Simple Question
Q5360444
P102
Q7210356
USER
Which party is Elias B. D. Ogden affiliated with ?
(Q5360444,P102,c(Q7210356))
action filter_type
action find
entity Q5360444
relation P102
type Q7210356
['Q5360444', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q5360444 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Elias B. D. Ogden
action filter_type
action find
entity Elias B. D. Ogden
relation member of political party
type political organization
['Elias B. D. Ogden', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Elias_B._D._Ogden property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q5360444,P102,c(Q7210356))
action filter_type
action find
entity Q5360444
relation P102
type Q7210356
Elias B. D. Ogden is affiliated with [ANSWER]
['Q5360444', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q5360444 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Democratic Party
Elias B. D. Ogden is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Elias B. D. Ogden
relation member of political party
type political organization
['Elias B. D. Ogden', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Elias_B._D._Ogden property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5360444
P69
Q163740
USER
Which nonprofit organization is the alma mater of Elias B. D. Ogden ?
(Q5360444,P69,c(Q163740))
action filter_type
action find
entity Q5360444
relation P69
type Q163740
['Q5360444', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?v WHERE { resource:Q5360444 property:P69 ?v . ?v rdf:type ontology:Q163740 }
Elias B. D. Ogden
action filter_type
action find
entity Elias B. D. Ogden
relation educated at
type nonprofit organization
['Elias B. D. Ogden', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?v WHERE { resource:Elias_B._D._Ogden property:educated_at ?v . ?v rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q21578
SYSTEM
Princeton University
Q21578
(Q5360444,P69,c(Q163740))
action filter_type
action find
entity Q5360444
relation P69
type Q163740
[ANSWER] is the alma mater of Elias B. D. Ogden
['Q5360444', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?v WHERE { resource:Q5360444 property:P69 ?v . ?v rdf:type ontology:Q163740 }
Princeton University
Princeton University is the alma mater of Elias B. D. Ogden
Princeton University
action filter_type
action find
entity Elias B. D. Ogden
relation educated at
type nonprofit organization
['Elias B. D. Ogden', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?v WHERE { resource:Elias_B._D._Ogden property:educated_at ?v . ?v rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6282444
Q163740
USER
And how about Joseph D. Ward?
(Q6282444,P69,c(Q163740))
action filter_type
action find
entity Q6282444
relation P69
type Q163740
['Q6282444', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?p WHERE { resource:Q6282444 property:P69 ?p . ?p rdf:type ontology:Q163740 }
Joseph D. Ward
action filter_type
action find
entity Joseph D. Ward
relation educated at
type nonprofit organization
['Joseph D. Ward', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?p WHERE { resource:Joseph_D._Ward property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q2620177
SYSTEM
College of the Holy Cross
Q2620177
(Q6282444,P69,c(Q163740))
action filter_type
action find
entity Q6282444
relation P69
type Q163740
[ANSWER]
['Q6282444', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?p WHERE { resource:Q6282444 property:P69 ?p . ?p rdf:type ontology:Q163740 }
College of the Holy Cross
College of the Holy Cross
action filter_type
action find
entity Joseph D. Ward
relation educated at
type nonprofit organization
['Joseph D. Ward', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?p WHERE { resource:Joseph_D._Ward property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P127
Q1076486 Q811979
USER
How many sports venues or architectural structures are owned by that nonprofit organization ?
(c(Q1076486),P127,Q2620177) (c(Q811979),P127,Q2620177) (c(Q1076486),P127,Q2620177) (c(Q811979),P127,Q2620177)
action count
action union
action filter_type
action find_reverse
entity Q2620177
relation P127
type Q1076486
action filter_type
action find_reverse
entity Q2620177
relation P127
type Q811979
[{'concept': 'Q1076486'}, 'P127', 'Q2620177'] [{'concept': 'Q811979'}, 'P127', 'Q2620177'] [{'concept': 'Q1076486'}, 'P127', 'Q2620177'] [{'concept': 'Q811979'}, 'P127', 'Q2620177']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P127 resource:Q2620177 . ?w rdf:type ontology:Q1076486 } UNION { ?w property:P127 resource:Q2620177 . ?w rdf:type ontology:Q811979 } }
action count
action union
action filter_type
action find_reverse
entity College of the Holy Cross
relation owned by
type sports venue
action filter_type
action find_reverse
entity College of the Holy Cross
relation owned by
type architectural structure
[{'concept': 'sports venue'}, 'owned by', 'College of the Holy Cross'] [{'concept': 'architectural structure'}, 'owned by', 'College of the Holy Cross'] [{'concept': 'sports venue'}, 'owned by', 'College of the Holy Cross'] [{'concept': 'architectural structure'}, 'owned by', 'College of the Holy Cross']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:owned_by resource:College_of_the_Holy_Cross . ?w rdf:type ontology:sports_venue } UNION { ?w property:owned_by resource:College_of_the_Holy_Cross . ?w rdf:type ontology:architectural_structure } }
[]
sports venue architectural structure
SYSTEM
2
Q5455506 Q5674109
(c(Q1076486),P127,Q2620177) (c(Q811979),P127,Q2620177) (c(Q1076486),P127,Q2620177) (c(Q811979),P127,Q2620177)
action count
action union
action filter_type
action find_reverse
entity Q2620177
relation P127
type Q1076486
action filter_type
action find_reverse
entity Q2620177
relation P127
type Q811979
[ANSWER]
[{'concept': 'Q1076486'}, 'P127', 'Q2620177'] [{'concept': 'Q811979'}, 'P127', 'Q2620177'] [{'concept': 'Q1076486'}, 'P127', 'Q2620177'] [{'concept': 'Q811979'}, 'P127', 'Q2620177']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P127 resource:Q2620177 . ?w rdf:type ontology:Q1076486 } UNION { ?w property:P127 resource:Q2620177 . ?w rdf:type ontology:Q811979 } }
Fitton Field Hart Center
2
action count
action union
action filter_type
action find_reverse
entity College of the Holy Cross
relation owned by
type sports venue
action filter_type
action find_reverse
entity College of the Holy Cross
relation owned by
type architectural structure
[{'concept': 'sports venue'}, 'owned by', 'College of the Holy Cross'] [{'concept': 'architectural structure'}, 'owned by', 'College of the Holy Cross'] [{'concept': 'sports venue'}, 'owned by', 'College of the Holy Cross'] [{'concept': 'architectural structure'}, 'owned by', 'College of the Holy Cross']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:owned_by resource:College_of_the_Holy_Cross . ?w rdf:type ontology:sports_venue } UNION { ?w property:owned_by resource:College_of_the_Holy_Cross . ?w rdf:type ontology:architectural_structure } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2620177
P1435
Q2065736
USER
Which cultural property heritage status does College of the Holy Cross have ?
(Q2620177,P1435,c(Q2065736))
action filter_type
action find
entity Q2620177
relation P1435
type Q2065736
['Q2620177', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?p WHERE { resource:Q2620177 property:P1435 ?p . ?p rdf:type ontology:Q2065736 }
College of the Holy Cross
action filter_type
action find
entity College of the Holy Cross
relation heritage status
type cultural property
['College of the Holy Cross', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?p WHERE { resource:College_of_the_Holy_Cross property:heritage_status ?p . ?p rdf:type ontology:cultural_property }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q2620177,P1435,c(Q2065736))
action filter_type
action find
entity Q2620177
relation P1435
type Q2065736
College of the Holy Cross has one [ANSWER]
['Q2620177', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?p WHERE { resource:Q2620177 property:P1435 ?p . ?p rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
College of the Holy Cross has one place listed on the National Register of Historic Places
place listed on the National Register of Historic Places
action filter_type
action find
entity College of the Holy Cross
relation heritage status
type cultural property
['College of the Holy Cross', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?p WHERE { resource:College_of_the_Holy_Cross property:heritage_status ?p . ?p rdf:type ontology:cultural_property }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2654013
Q15617994
USER
And what about Mendovo?
(Q2654013,P17,c(Q15617994))
action filter_type
action find
entity Q2654013
relation P17
type Q15617994
['Q2654013', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2654013 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Mendovo
action filter_type
action find
entity Mendovo
relation country
type designation for an administrative territorial entity
['Mendovo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mendovo property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q2654013,P17,c(Q15617994))
action filter_type
action find
entity Q2654013
relation P17
type Q15617994
[ANSWER]
['Q2654013', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2654013 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria
action filter_type
action find
entity Mendovo
relation country
type designation for an administrative territorial entity
['Mendovo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mendovo property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1435
Q2065736 Q41176 Q811430
USER
Which cultural properties give the heritage status of exactly 12 buildings or constructions ?
(c(Q41176)|c(Q811430),P1435,c(Q2065736))
action equal
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q41176
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q811430
value 12
[[{'concept': 'Q41176'}, {'concept': 'Q811430'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P1435 ?k . ?k rdf:type ontology:Q2065736 . ?l rdf:type ontology:Q41176 } UNION { ?l property:P1435 ?k . ?k rdf:type ontology:Q2065736 . ?l rdf:type ontology:Q811430 } } GROUP BY ?k } . FILTER ( ?i = 12 ) }
action equal
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type building
action find_reverse_tuple_counts
relation heritage status
type cultural property
type construction
value 12
[[{'concept': 'building'}, {'concept': 'construction'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:heritage_status ?k . ?k rdf:type ontology:cultural_property . ?l rdf:type ontology:building } UNION { ?l property:heritage_status ?k . ?k rdf:type ontology:cultural_property . ?l rdf:type ontology:construction } } GROUP BY ?k } . FILTER ( ?i = 12 ) }
[]
cultural property building construction
Q1019352 Q3862742
SYSTEM
Cultural Asset of National Interest, National monuments of Singapore
Q1019352 Q3862742
(c(Q41176)|c(Q811430),P1435,c(Q2065736))
action equal
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q41176
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q811430
value 12
[ANSWERS] give the heritage status of exactly 12 buildings or constructions
[[{'concept': 'Q41176'}, {'concept': 'Q811430'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P1435 ?k . ?k rdf:type ontology:Q2065736 . ?l rdf:type ontology:Q41176 } UNION { ?l property:P1435 ?k . ?k rdf:type ontology:Q2065736 . ?l rdf:type ontology:Q811430 } } GROUP BY ?k } . FILTER ( ?i = 12 ) }
Cultural Asset of National Interest National monuments of Singapore
Cultural Asset of National Interest and National monuments of Singapore give the heritage status of exactly 12 buildings or constructions
Cultural Asset of National Interest National monuments of Singapore
action equal
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type building
action find_reverse_tuple_counts
relation heritage status
type cultural property
type construction
value 12
[[{'concept': 'building'}, {'concept': 'construction'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:heritage_status ?k . ?k rdf:type ontology:cultural_property . ?l rdf:type ontology:building } UNION { ?l property:heritage_status ?k . ?k rdf:type ontology:cultural_property . ?l rdf:type ontology:construction } } GROUP BY ?k } . FILTER ( ?i = 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18637767
P641
Q349
USER
What was the sport that Muhammad Farhan Roslan was a part of ?
(Q18637767,P641,c(Q349))
action filter_type
action find
entity Q18637767
relation P641
type Q349
['Q18637767', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q18637767 property:P641 ?j }
Muhammad Farhan Roslan
action filter_type
action find
entity Muhammad Farhan Roslan
relation sport
type sport
['Muhammad Farhan Roslan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Muhammad_Farhan_Roslan property:sport ?j }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18637767,P641,c(Q349))
action filter_type
action find
entity Q18637767
relation P641
type Q349
The sport that Muhammad Farhan Roslan was a part of was h [ANSWER]
['Q18637767', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q18637767 property:P641 ?j }
association football
The sport that Muhammad Farhan Roslan was a part of was h association football
association football
action filter_type
action find
entity Muhammad Farhan Roslan
relation sport
type sport
['Muhammad Farhan Roslan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Muhammad_Farhan_Roslan property:sport ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18637767
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q18637767
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q18637767 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Muhammad Farhan Roslan
action filter_type
action find
entity Muhammad Farhan Roslan
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Muhammad_Farhan_Roslan property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q318922
SYSTEM
Malaysia national football team
Q318922
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q18637767
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q18637767 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Malaysia national football team
That person a member of is the Malaysia national football team
Malaysia national football team
action filter_type
action find
entity Muhammad Farhan Roslan
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Muhammad_Farhan_Roslan property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]