Simple Question (Direct)
Simple Question
Q3427086
P27
Q15617994
USER
Which administrative territory is the country of citizenship of René de Salins ?
(Q3427086,P27,c(Q15617994))
action filter_type
action find
entity Q3427086
relation P27
type Q15617994
['Q3427086', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3427086 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
René de Salins
action filter_type
action find
entity René de Salins
relation country of citizenship
type designation for an administrative territorial entity
['René de Salins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:René_de_Salins property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3427086,P27,c(Q15617994))
action filter_type
action find
entity Q3427086
relation P27
type Q15617994
[ANSWER] is the country of citizenship of René de Salins
['Q3427086', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3427086 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
France is the country of citizenship of René de Salins
France
action filter_type
action find
entity René de Salins
relation country of citizenship
type designation for an administrative territorial entity
['René de Salins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:René_de_Salins property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P189
Q79529
USER
Which chemical substance was found at that administrative territory ?
(c(Q79529),P189,Q142)
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
[{'concept': 'Q79529'}, 'P189', 'Q142']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q79529 . ?t property:P189 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:chemical_substance . ?t property:location_of_discovery resource:France }
[]
chemical substance
Q671
SYSTEM
francium
Q671
(c(Q79529),P189,Q142)
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
[ANSWER] was found at that administrative territory
[{'concept': 'Q79529'}, 'P189', 'Q142']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q79529 . ?t property:P189 resource:Q142 }
francium
Francium was found at that administrative territory
francium
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:chemical_substance . ?t property:location_of_discovery resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q811979 Q1190554 Q79529
USER
How many chemical substances have exactly 1 architectural structures or events as their namesake ?
(c(Q79529),P138,c(Q811979)|c(Q1190554))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q79529
type Q811979
action find_tuple_counts
relation P138
type Q79529
type Q1190554
value 1
[{'concept': 'Q79529'}, 'P138', [{'concept': 'Q811979'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:Q811979 ) ( ontology:Q1190554 ) } . ?p rdf:type ?m } GROUP BY ?n } . FILTER ( ?a = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation named after
type chemical substance
type architectural structure
action find_tuple_counts
relation named after
type chemical substance
type event
value 1
[{'concept': 'chemical substance'}, 'named after', [{'concept': 'architectural structure'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:architectural_structure ) ( ontology:event ) } . ?p rdf:type ?m } GROUP BY ?n } . FILTER ( ?a = 1 ) }
[]
architectural structure event chemical substance
SYSTEM
5
Q1849 Q941 Q1855 Q1838 Q1128
(c(Q79529),P138,c(Q811979)|c(Q1190554))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q79529
type Q811979
action find_tuple_counts
relation P138
type Q79529
type Q1190554
value 1
[ANSWER]
[{'concept': 'Q79529'}, 'P138', [{'concept': 'Q811979'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:Q811979 ) ( ontology:Q1190554 ) } . ?p rdf:type ?m } GROUP BY ?n } . FILTER ( ?a = 1 ) }
erbium yttrium ytterbium terbium radium
5
action count
action equal
action union
action find_tuple_counts
relation named after
type chemical substance
type architectural structure
action find_tuple_counts
relation named after
type chemical substance
type event
value 1
[{'concept': 'chemical substance'}, 'named after', [{'concept': 'architectural structure'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:architectural_structure ) ( ontology:event ) } . ?p rdf:type ?m } GROUP BY ?n } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?j WHERE { resource:Q1860 property:P361 ?j . ?j rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?j WHERE { resource:English property:part_of ?j . ?j rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?j WHERE { resource:Q1860 property:P361 ?j . ?j rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?j WHERE { resource:English property:part_of ?j . ?j rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P163
Q14660
USER
What is the name of flag associated with France ?
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q142 property:P163 ?r . ?r rdf:type ontology:Q14660 }
France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:France property:flag ?r . ?r rdf:type ontology:flag }
[]
flag
Q43192
SYSTEM
Flag of France
Q43192
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
The name of flag associated with France is the [ANSWER]
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q142 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Flag of France
The name of flag associated with France is the Flag of France
Flag of France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:France property:flag ?r . ?r rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
What is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q142 property:P610 ?j . ?j rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:France property:highest_point ?j . ?j rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The highest point of France is the [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q142 property:P610 ?j . ?j rdf:type ontology:Q14524493 }
Mont Blanc
The highest point of France is the Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:France property:highest_point ?j . ?j rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3519511
Q14524493
USER
And also tell me about Anaimalai Hills?
(Q3519511,P610,c(Q14524493))
action filter_type
action find
entity Q3519511
relation P610
type Q14524493
['Q3519511', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q3519511 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Anaimalai Hills
action filter_type
action find
entity Anaimalai Hills
relation highest point
type terrain
['Anaimalai Hills', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:Anaimalai_Hills property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
terrain
Q485550
SYSTEM
Anamudi
Q485550
(Q3519511,P610,c(Q14524493))
action filter_type
action find
entity Q3519511
relation P610
type Q14524493
[ANSWER]
['Q3519511', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q3519511 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Anamudi
Anamudi
action filter_type
action find
entity Anaimalai Hills
relation highest point
type terrain
['Anaimalai Hills', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:Anaimalai_Hills property:highest_point ?b . ?b rdf:type ontology:terrain }
[]