Simple Question (Direct)
Simple Question
Q286003
P39
Q12737077
USER
Which occupation was a position held by Émile Jamais ?
(Q286003,P39,c(Q12737077))
action filter_type
action find
entity Q286003
relation P39
type Q12737077
['Q286003', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q286003 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Émile Jamais
action filter_type
action find
entity Émile Jamais
relation position held
type occupation
['Émile Jamais', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Émile_Jamais property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q286003,P39,c(Q12737077))
action filter_type
action find
entity Q286003
relation P39
type Q12737077
A member of the French National Assembly was a position held by Émile Jamais
['Q286003', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q286003 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position held by Émile Jamais
member of the French National Assembly
action filter_type
action find
entity Émile Jamais
relation position held
type occupation
['Émile Jamais', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Émile_Jamais property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P1001
Q15617994
USER
Which administrative territory is linked to that occupation ?
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3044918 property:P1001 ?b . ?b rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
[ANSWER] is linked to that occupation
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3044918 property:P1001 ?b . ?b rdf:type ontology:Q15617994 }
France
France is linked to that occupation
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q846
P463
Q43229
USER
How many organizations were France and Qatar a member of ?
(Q142,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:Q43229 . resource:Q142 property:P463 ?k . resource:Q846 property:P463 ?k . ?k rdf:type ontology:Q43229 }
France Qatar
action count
action intersection
action filter_type
action find
entity France
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['France', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:organization . resource:France property:member_of ?k . resource:Qatar property:member_of ?k . ?k rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q7825 Q191384 Q899770 Q656801
(Q142,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
[ANSWER]
['Q142', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:Q43229 . resource:Q142 property:P463 ?k . resource:Q846 property:P463 ?k . ?k rdf:type ontology:Q43229 }
World Trade Organization International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation
4
action count
action intersection
action filter_type
action find
entity France
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['France', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:organization . resource:France property:member_of ?k . resource:Qatar property:member_of ?k . ?k rdf:type ontology:organization }
[]