Simple Question (Direct)
Simple Question
Q429905
P119
Q16970
USER
Which church is the resting place of Joan of Castro ?
(Q429905,P119,c(Q16970))
action filter_type
action find
entity Q429905
relation P119
type Q16970
['Q429905', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?o WHERE { resource:Q429905 property:P119 ?o . ?o rdf:type ontology:Q16970 }
Joan of Castro
action filter_type
action find
entity Joan of Castro
relation place of burial
type church
['Joan of Castro', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?o WHERE { resource:Joan_of_Castro property:place_of_burial ?o . ?o rdf:type ontology:church }
[]
church
Q205136
SYSTEM
Cathedral of Santiago de Compostela
Q205136
(Q429905,P119,c(Q16970))
action filter_type
action find
entity Q429905
relation P119
type Q16970
[ANSWER] is the resting place of Joan of Castro
['Q429905', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?o WHERE { resource:Q429905 property:P119 ?o . ?o rdf:type ontology:Q16970 }
Cathedral of Santiago de Compostela
Cathedral of Santiago de Compostela is the resting place of Joan of Castro
Cathedral of Santiago de Compostela
action filter_type
action find
entity Joan of Castro
relation place of burial
type church
['Joan of Castro', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?o WHERE { resource:Joan_of_Castro property:place_of_burial ?o . ?o rdf:type ontology:church }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q205136
P1435
Q2065736
USER
Which cultural property represents the heritage status given to that church ?
(Q205136,P1435,c(Q2065736))
action filter_type
action find
entity Q205136
relation P1435
type Q2065736
['Q205136', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?u WHERE { resource:Q205136 property:P1435 ?u . ?u rdf:type ontology:Q2065736 }
Cathedral of Santiago de Compostela
action filter_type
action find
entity Cathedral of Santiago de Compostela
relation heritage status
type cultural property
['Cathedral of Santiago de Compostela', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?u WHERE { resource:Cathedral_of_Santiago_de_Compostela property:heritage_status ?u . ?u rdf:type ontology:cultural_property }
[]
cultural property
Q23712
SYSTEM
Bien de Interés Cultural
Q23712
(Q205136,P1435,c(Q2065736))
action filter_type
action find
entity Q205136
relation P1435
type Q2065736
[ANSWER] represents the heritage status given to that church
['Q205136', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?u WHERE { resource:Q205136 property:P1435 ?u . ?u rdf:type ontology:Q2065736 }
Bien de Interés Cultural
Bien de Interés Cultural represents the heritage status given to that church
Bien de Interés Cultural
action filter_type
action find
entity Cathedral of Santiago de Compostela
relation heritage status
type cultural property
['Cathedral of Santiago de Compostela', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?u WHERE { resource:Cathedral_of_Santiago_de_Compostela property:heritage_status ?u . ?u rdf:type ontology:cultural_property }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5108834
Q2065736
USER
And how about Christ Church and Manlius Village Cemeteries?
(Q5108834,P1435,c(Q2065736))
action filter_type
action find
entity Q5108834
relation P1435
type Q2065736
['Q5108834', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?t WHERE { resource:Q5108834 property:P1435 ?t . ?t rdf:type ontology:Q2065736 }
Christ Church and Manlius Village Cemeteries
action filter_type
action find
entity Christ Church and Manlius Village Cemeteries
relation heritage status
type cultural property
['Christ Church and Manlius Village Cemeteries', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?t WHERE { resource:Christ_Church_and_Manlius_Village_Cemeteries property:heritage_status ?t . ?t rdf:type ontology:cultural_property }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q5108834,P1435,c(Q2065736))
action filter_type
action find
entity Q5108834
relation P1435
type Q2065736
[ANSWER]
['Q5108834', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?t WHERE { resource:Q5108834 property:P1435 ?t . ?t rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
place listed on the National Register of Historic Places
action filter_type
action find
entity Christ Church and Manlius Village Cemeteries
relation heritage status
type cultural property
['Christ Church and Manlius Village Cemeteries', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?t WHERE { resource:Christ_Church_and_Manlius_Village_Cemeteries property:heritage_status ?t . ?t rdf:type ontology:cultural_property }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19558910 Q26511786
P1435
Q811979
USER
Does 31 And 32, John Street have heritage status as that cultural property ?
(Q26511786,P1435,Q19558910)
action is_in
entity Q26511786
action find
entity Q19558910
relation P1435
['Q26511786', 'P1435', 'Q19558910']
ASK WHERE { resource:Q19558910 property:P1435 resource:Q26511786 }
place listed on the National Register of Historic Places 31 And 32, John Street
action is_in
entity 31 And 32, John Street
action find
entity place listed on the National Register of Historic Places
relation heritage status
['31 And 32, John Street', 'heritage status', 'place listed on the National Register of Historic Places']
ASK WHERE { resource:place_listed_on_the_National_Register_of_Historic_Places property:heritage_status resource:31_And_32,_John_Street }
[]
architectural structure
SYSTEM
NO
(Q26511786,P1435,Q19558910)
action is_in
entity Q26511786
action find
entity Q19558910
relation P1435
[ANSWER]
['Q26511786', 'P1435', 'Q19558910']
ASK WHERE { resource:Q19558910 property:P1435 resource:Q26511786 }
No
action is_in
entity 31 And 32, John Street
action find
entity place listed on the National Register of Historic Places
relation heritage status
['31 And 32, John Street', 'heritage status', 'place listed on the National Register of Historic Places']
ASK WHERE { resource:place_listed_on_the_National_Register_of_Historic_Places property:heritage_status resource:31_And_32,_John_Street }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q429905
P21
Q290
USER
Which sex does Joan of Castro possess ?
(Q429905,P21,c(Q290))
action filter_type
action find
entity Q429905
relation P21
type Q290
['Q429905', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q429905 property:P21 ?y }
Joan of Castro
action filter_type
action find
entity Joan of Castro
relation gender
type sex
['Joan of Castro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Joan_of_Castro property:gender ?y }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q429905,P21,c(Q290))
action filter_type
action find
entity Q429905
relation P21
type Q290
Joan of Castro possesses a [ANSWER]
['Q429905', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q429905 property:P21 ?y }
female
Joan of Castro possesses a female
female
action filter_type
action find
entity Joan of Castro
relation gender
type sex
['Joan of Castro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Joan_of_Castro property:gender ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11763292
Q290
USER
And also tell me about Lucjan Jasiński?
(Q11763292,P21,c(Q290))
action filter_type
action find
entity Q11763292
relation P21
type Q290
['Q11763292', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q11763292 property:P21 ?e . ?e rdf:type ontology:Q290 }
Lucjan Jasiński
action filter_type
action find
entity Lucjan Jasiński
relation gender
type sex
['Lucjan Jasiński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Lucjan_Jasiński property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11763292,P21,c(Q290))
action filter_type
action find
entity Q11763292
relation P21
type Q290
[ANSWER]
['Q11763292', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q11763292 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Lucjan Jasiński
relation gender
type sex
['Lucjan Jasiński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Lucjan_Jasiński property:gender ?e . ?e rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1435
Q2065736 Q852446 Q699405
USER
Which cultural properties do atleast 6 US administrative territories or dwellings have ?
(c(Q852446)|c(Q699405),P1435,c(Q2065736))
action atleast
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q852446
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q699405
value 6
[[{'concept': 'Q852446'}, {'concept': 'Q699405'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:P1435 ?n . ?n rdf:type ontology:Q2065736 . ?j rdf:type ontology:Q852446 } UNION { ?j property:P1435 ?n . ?n rdf:type ontology:Q2065736 . ?j rdf:type ontology:Q699405 } } GROUP BY ?n } . FILTER ( ?l >= 6 ) }
action atleast
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type administrative territorial entity of the United States
action find_reverse_tuple_counts
relation heritage status
type cultural property
type dwelling
value 6
[[{'concept': 'administrative territorial entity of the United States'}, {'concept': 'dwelling'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:heritage_status ?n . ?n rdf:type ontology:cultural_property . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?j property:heritage_status ?n . ?n rdf:type ontology:cultural_property . ?j rdf:type ontology:dwelling } } GROUP BY ?n } . FILTER ( ?l >= 6 ) }
[]
cultural property administrative territorial entity of the United States dwelling
Q1129142 Q19558910 Q624232
SYSTEM
contributing property, place listed on the National Register of Historic Places, national historic landmark of the USA
Q19558910 Q624232 Q11691318 Q916333 Q1568567 Q916620 Q1129142
(c(Q852446)|c(Q699405),P1435,c(Q2065736))
action atleast
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q852446
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q699405
value 6
Atleast 6 US administrative territories or dwellings have a [ANSWERS]
[[{'concept': 'Q852446'}, {'concept': 'Q699405'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:P1435 ?n . ?n rdf:type ontology:Q2065736 . ?j rdf:type ontology:Q852446 } UNION { ?j property:P1435 ?n . ?n rdf:type ontology:Q2065736 . ?j rdf:type ontology:Q699405 } } GROUP BY ?n } . FILTER ( ?l >= 6 ) }
place listed on the National Register of Historic Places national historic landmark of the USA Kulturdenkmal Rijksmonument national historic site of Canada National heritage site of Romania contributing property
Atleast 6 US administrative territories or dwellings have a contributing property, place listed on the National Register of Historic Places and national historic landmark of the USA
contributing property place listed on the National Register of Historic Places national historic landmark of the USA
action atleast
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type administrative territorial entity of the United States
action find_reverse_tuple_counts
relation heritage status
type cultural property
type dwelling
value 6
[[{'concept': 'administrative territorial entity of the United States'}, {'concept': 'dwelling'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:heritage_status ?n . ?n rdf:type ontology:cultural_property . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?j property:heritage_status ?n . ?n rdf:type ontology:cultural_property . ?j rdf:type ontology:dwelling } } GROUP BY ?n } . FILTER ( ?l >= 6 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1129142
P361
Q2065736
USER
What is that one a component of ?
(Q1129142,P361,c(Q2065736))
action filter_type
action find
entity Q1129142
relation P361
type Q2065736
['Q1129142', 'P361', {'concept': 'Q2065736'}]
SELECT DISTINCT ?y WHERE { resource:Q1129142 property:P361 ?y . ?y rdf:type ontology:Q2065736 }
contributing property
action filter_type
action find
entity contributing property
relation part of
type cultural property
['contributing property', 'part of', {'concept': 'cultural property'}]
SELECT DISTINCT ?y WHERE { resource:contributing_property property:part_of ?y . ?y rdf:type ontology:cultural_property }
[]
cultural property
Clarification for simple ques.
Q624232
SYSTEM
Did you mean national historic landmark of the USA ?
Q1129142 Q19558910 Q624232
(Q1129142,P361,c(Q2065736)) (Q19558910,P361,c(Q2065736)) (Q624232,P361,c(Q2065736))
[ANSWER]
['Q1129142', 'P361', {'concept': 'Q2065736'}] ['Q19558910', 'P361', {'concept': 'Q2065736'}] ['Q624232', 'P361', {'concept': 'Q2065736'}]
SELECT DISTINCT ?y WHERE { resource:Q1129142 property:P361 ?y . ?y rdf:type ontology:Q2065736 }
contributing property place listed on the National Register of Historic Places national historic landmark of the USA
Did you mean national historic landmark of the USA ?
national historic landmark of the USA
['contributing property', 'part of', {'concept': 'cultural property'}] ['place listed on the National Register of Historic Places', 'part of', {'concept': 'cultural property'}] ['national historic landmark of the USA', 'part of', {'concept': 'cultural property'}]
SELECT DISTINCT ?y WHERE { resource:contributing_property property:part_of ?y . ?y rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
USER
No, I meant contributing property. Could you tell me the answer for that?
(Q1129142,P361,c(Q2065736))
Q1129142
['Q1129142', 'P361', {'concept': 'Q2065736'}]
['contributing property', 'part of', {'concept': 'cultural property'}]
[]
Q1620797
SYSTEM
historic district in the United States
Q1620797
(Q1129142,P361,c(Q2065736))
action filter_type
action find
entity Q1129142
relation P361
type Q2065736
That one a component of is an [ANSWER]
['Q1129142', 'P361', {'concept': 'Q2065736'}]
SELECT DISTINCT ?y WHERE { resource:Q1129142 property:P361 ?y . ?y rdf:type ontology:Q2065736 }
historic district in the United States
That one a component of is an historic district in the United States
historic district in the United States
action filter_type
action find
entity contributing property
relation part of
type cultural property
['contributing property', 'part of', {'concept': 'cultural property'}]
SELECT DISTINCT ?y WHERE { resource:contributing_property property:part_of ?y . ?y rdf:type ontology:cultural_property }
[]