Simple Question (Direct)
Simple Question
Q933519
P108
Q3914
USER
Which school does Jules Basdevant work for ?
(Q933519,P108,c(Q3914))
action filter_type
action find
entity Q933519
relation P108
type Q3914
['Q933519', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { resource:Q933519 property:P108 ?f . ?f rdf:type ontology:Q3914 }
Jules Basdevant
action filter_type
action find
entity Jules Basdevant
relation employer
type school
['Jules Basdevant', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { resource:Jules_Basdevant property:employer ?f . ?f rdf:type ontology:school }
[]
school
Q859363
SYSTEM
Sciences Po
Q859363
(Q933519,P108,c(Q3914))
action filter_type
action find
entity Q933519
relation P108
type Q3914
Jules Basdevant works in [ANSWER]
['Q933519', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { resource:Q933519 property:P108 ?f . ?f rdf:type ontology:Q3914 }
Sciences Po
Jules Basdevant works in Sciences Po
Sciences Po
action filter_type
action find
entity Jules Basdevant
relation employer
type school
['Jules Basdevant', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { resource:Jules_Basdevant property:employer ?f . ?f rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q933519
P106
Q12737077
USER
What are the professions of that person ?
(Q859363,P106,c(Q12737077))
action filter_type
action find
entity Q933519
relation P106
type Q12737077
['Q859363', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q933519 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Jules Basdevant
action filter_type
action find
entity Jules Basdevant
relation occupation
type occupation
['Sciences Po', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Jules_Basdevant property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q16533 Q1622272
SYSTEM
judge, university teacher
Q16533 Q1622272
(Q859363,P106,c(Q12737077))
action filter_type
action find
entity Q933519
relation P106
type Q12737077
The professions of that person are a [ANSWERS]
['Q859363', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q933519 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
judge university teacher
The professions of that person are a judge and university teacher
judge university teacher
action filter_type
action find
entity Jules Basdevant
relation occupation
type occupation
['Sciences Po', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Jules_Basdevant property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1680466
P106
Q502895
USER
Do James Gould have career as those occupations ?
(Q1680466,P106,Q16533) (Q1680466,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q1680466
relation P106
['Q1680466', 'P106', 'Q16533'] ['Q1680466', 'P106', 'Q1622272']
ASK WHERE { VALUES ( ?h ) { ( resource:Q16533 ) ( resource:Q1622272 ) } . resource:Q1680466 property:P106 ?h }
James Gould
action is_in
entity prev_answer
action find
entity James Gould
relation occupation
['James Gould', 'occupation', 'judge'] ['James Gould', 'occupation', 'university teacher']
ASK WHERE { VALUES ( ?h ) { ( resource:judge ) ( resource:university_teacher ) } . resource:James_Gould property:occupation ?h }
[]
common name
SYSTEM
YES
(Q1680466,P106,Q16533) (Q1680466,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q1680466
relation P106
[ANSWER]
['Q1680466', 'P106', 'Q16533'] ['Q1680466', 'P106', 'Q1622272']
ASK WHERE { VALUES ( ?h ) { ( resource:Q16533 ) ( resource:Q1622272 ) } . resource:Q1680466 property:P106 ?h }
Yes
action is_in
entity prev_answer
action find
entity James Gould
relation occupation
['James Gould', 'occupation', 'judge'] ['James Gould', 'occupation', 'university teacher']
ASK WHERE { VALUES ( ?h ) { ( resource:judge ) ( resource:university_teacher ) } . resource:James_Gould property:occupation ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q859363
P17
Q15617994
USER
How many administrative territories are Sciences Po situated in ?
(Q859363,P17,c(Q15617994))
action count
action filter_type
action find
entity Q859363
relation P17
type Q15617994
['Q859363', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q859363 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Sciences Po
action count
action filter_type
action find
entity Sciences Po
relation country
type designation for an administrative territorial entity
['Sciences Po', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Sciences_Po property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q859363,P17,c(Q15617994))
action count
action filter_type
action find
entity Q859363
relation P17
type Q15617994
[ANSWER]
['Q859363', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q859363 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Sciences Po
relation country
type designation for an administrative territorial entity
['Sciences Po', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Sciences_Po property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1367802
P17
Q15617994
USER
And how about jeu provençal?
(Q1367802,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1367802
relation P17
type Q15617994
['Q1367802', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q1367802 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
jeu provençal
action count
action filter_type
action find
entity jeu provençal
relation country
type designation for an administrative territorial entity
['jeu provençal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:jeu_provençal property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q1367802,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1367802
relation P17
type Q15617994
[ANSWER]
['Q1367802', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q1367802 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity jeu provençal
relation country
type designation for an administrative territorial entity
['jeu provençal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:jeu_provençal property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2136367
Q15617994
USER
And what about Mount Repose?
(Q2136367,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2136367
relation P17
type Q15617994
['Q2136367', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q2136367 property:P17 ?c }
Mount Repose
action count
action filter_type
action find
entity Mount Repose
relation country
type designation for an administrative territorial entity
['Mount Repose', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mount_Repose property:country ?c }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2136367,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2136367
relation P17
type Q15617994
[ANSWER]
['Q2136367', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q2136367 property:P17 ?c }
1
action count
action filter_type
action find
entity Mount Repose
relation country
type designation for an administrative territorial entity
['Mount Repose', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mount_Repose property:country ?c }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19400045 Q933519
P27 P17
Q15617994
USER
Which administrative territories do Jules Basdevant belong to or are Oude Boomgaard a part of ?
OR((Q933519,P27,c(Q15617994)), (Q19400045,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q933519
relation P27
action find
entity Q19400045
relation P17
type Q15617994
{'OR': [['Q933519', 'P27', {'concept': 'Q15617994'}], ['Q19400045', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q933519 property:P27 ?c } UNION { resource:Q19400045 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Oude Boomgaard Jules Basdevant
action filter_type
action union
action find
entity Jules Basdevant
relation country of citizenship
action find
entity Oude Boomgaard
relation country
type designation for an administrative territorial entity
{'OR': [['Jules Basdevant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oude Boomgaard', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Jules_Basdevant property:country_of_citizenship ?c } UNION { resource:Oude_Boomgaard property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q55
SYSTEM
France, Netherlands
Q142 Q55
OR((Q933519,P27,c(Q15617994)), (Q19400045,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q933519
relation P27
action find
entity Q19400045
relation P17
type Q15617994
[ANSWERS] Jules Basdevant belong to or are Oude Boomgaard a part of
{'OR': [['Q933519', 'P27', {'concept': 'Q15617994'}], ['Q19400045', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q933519 property:P27 ?c } UNION { resource:Q19400045 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
France Netherlands
France and Netherlands Jules Basdevant belong to or are Oude Boomgaard a part of
France Netherlands
action filter_type
action union
action find
entity Jules Basdevant
relation country of citizenship
action find
entity Oude Boomgaard
relation country
type designation for an administrative territorial entity
{'OR': [['Jules Basdevant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oude Boomgaard', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Jules_Basdevant property:country_of_citizenship ?c } UNION { resource:Oude_Boomgaard property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5534128 Q933519
P27
Q15617994
USER
Which administrative territories do Jules Basdevant or Geoff Eigenmann belong to ?
OR((Q933519,P27,c(Q15617994)), (Q5534128,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q933519
relation P27
action find
entity Q5534128
relation P27
type Q15617994
{'OR': [['Q933519', 'P27', {'concept': 'Q15617994'}], ['Q5534128', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?g ) { ( resource:Q933519 ) ( resource:Q5534128 ) } . ?g property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Geoff Eigenmann Jules Basdevant
action filter_type
action union
action find
entity Jules Basdevant
relation country of citizenship
action find
entity Geoff Eigenmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jules Basdevant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Geoff Eigenmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?g ) { ( resource:Jules_Basdevant ) ( resource:Geoff_Eigenmann ) } . ?g property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q928
SYSTEM
France, Philippines
Q142 Q928
OR((Q933519,P27,c(Q15617994)), (Q5534128,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q933519
relation P27
action find
entity Q5534128
relation P27
type Q15617994
Jules Basdevant or Geoff Eigenmann belong to [ANSWERS]
{'OR': [['Q933519', 'P27', {'concept': 'Q15617994'}], ['Q5534128', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?g ) { ( resource:Q933519 ) ( resource:Q5534128 ) } . ?g property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
France Philippines
Jules Basdevant or Geoff Eigenmann belong to France and Philippines
France Philippines
action filter_type
action union
action find
entity Jules Basdevant
relation country of citizenship
action find
entity Geoff Eigenmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jules Basdevant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Geoff Eigenmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?g ) { ( resource:Jules_Basdevant ) ( resource:Geoff_Eigenmann ) } . ?g property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P47
Q515
USER
Which city has a shared border with France ?
(Q142,P47,c(Q515))
action filter_type
action find
entity Q142
relation P47
type Q515
['Q142', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q142 property:P47 ?u . ?u rdf:type ontology:Q515 }
France
action filter_type
action find
entity France
relation shares border with
type city
['France', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:France property:shares_border_with ?u . ?u rdf:type ontology:city }
[]
city
Q235
SYSTEM
Monaco
Q235
(Q142,P47,c(Q515))
action filter_type
action find
entity Q142
relation P47
type Q515
[ANSWER] has a shared border with France
['Q142', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q142 property:P47 ?u . ?u rdf:type ontology:Q515 }
Monaco
Monaco has a shared border with France
Monaco
action filter_type
action find
entity France
relation shares border with
type city
['France', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:France property:shares_border_with ?u . ?u rdf:type ontology:city }
[]