Simple Question (Direct)
Simple Question
Q6129048
P1412
Q34770
USER
Which language can James B. Black understand ?
(Q6129048,P1412,c(Q34770))
action filter_type
action find
entity Q6129048
relation P1412
type Q34770
['Q6129048', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q6129048 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
James B. Black
action filter_type
action find
entity James B. Black
relation languages spoken, written or signed
type language
['James B. Black', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:James_B._Black property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6129048,P1412,c(Q34770))
action filter_type
action find
entity Q6129048
relation P1412
type Q34770
James B. Black can understand the [ANSWER]
['Q6129048', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q6129048 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
English
James B. Black can understand the English
English
action filter_type
action find
entity James B. Black
relation languages spoken, written or signed
type language
['James B. Black', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:James_B._Black property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6129048
P69
Q163740
USER
Which nonprofit organization was James B. Black educated at ?
(Q6129048,P69,c(Q163740))
action filter_type
action find
entity Q6129048
relation P69
type Q163740
['Q6129048', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q163740 . resource:Q6129048 property:P69 ?i }
James B. Black
action filter_type
action find
entity James B. Black
relation educated at
type nonprofit organization
['James B. Black', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nonprofit_organization . resource:James_B._Black property:educated_at ?i }
[]
nonprofit organization
Q7569775
SYSTEM
Southern College of Optometry
Q7569775
(Q6129048,P69,c(Q163740))
action filter_type
action find
entity Q6129048
relation P69
type Q163740
The [ANSWER] was James B. Black educated at
['Q6129048', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q163740 . resource:Q6129048 property:P69 ?i }
Southern College of Optometry
The Southern College of Optometry was James B. Black educated at
Southern College of Optometry
action filter_type
action find
entity James B. Black
relation educated at
type nonprofit organization
['James B. Black', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nonprofit_organization . resource:James_B._Black property:educated_at ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7569775
P17
Q15617994
USER
Which administrative territory does that nonprofit organization belong to ?
(Q7569775,P17,c(Q15617994))
action filter_type
action find
entity Q7569775
relation P17
type Q15617994
['Q7569775', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q7569775 property:P17 ?p }
Southern College of Optometry
action filter_type
action find
entity Southern College of Optometry
relation country
type designation for an administrative territorial entity
['Southern College of Optometry', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Southern_College_of_Optometry property:country ?p }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7569775,P17,c(Q15617994))
action filter_type
action find
entity Q7569775
relation P17
type Q15617994
That nonprofit organization belongs to the [ANSWER]
['Q7569775', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q7569775 property:P17 ?p }
United States of America
That nonprofit organization belongs to the United States of America
United States of America
action filter_type
action find
entity Southern College of Optometry
relation country
type designation for an administrative territorial entity
['Southern College of Optometry', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Southern_College_of_Optometry property:country ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q28
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with United States of America and Hungary ?
(Q30,P530,c(Q15617994)) (Q28,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q15617994
action filter_type
action find
entity Q28
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}] ['Q28', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q28 property:P530 ?u . ?u rdf:type ontology:Q15617994 . resource:Q30 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
United States of America Hungary
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Hungary property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q403 Q38
(Q30,P530,c(Q15617994)) (Q28,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q15617994
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q15617994'}] ['Q28', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q28 property:P530 ?u . ?u rdf:type ontology:Q15617994 . resource:Q30 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Serbia Italy
2
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Hungary property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]