Simple Question (Direct)
Simple Question
Q7411720
P241
Q781132
USER
Which military branch did Samuel Holland belong to ?
(Q7411720,P241,c(Q781132))
action filter_type
action find
entity Q7411720
relation P241
type Q781132
['Q7411720', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q7411720 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Samuel Holland
action filter_type
action find
entity Samuel Holland
relation military branch
type military branch
['Samuel Holland', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Samuel_Holland property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q7411720,P241,c(Q781132))
action filter_type
action find
entity Q7411720
relation P241
type Q781132
Samuel Holland belonged to [ANSWER]
['Q7411720', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q7411720 property:P241 ?j . ?j rdf:type ontology:Q781132 }
British Army
Samuel Holland belonged to British Army
British Army
action filter_type
action find
entity Samuel Holland
relation military branch
type military branch
['Samuel Holland', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Samuel_Holland property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7411720
P607
Q350604
USER
What battle was Samuel Holland a part of ?
(Q7411720,P607,c(Q350604))
action filter_type
action find
entity Q7411720
relation P607
type Q350604
['Q7411720', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?o WHERE { resource:Q7411720 property:P607 ?o . ?o rdf:type ontology:Q350604 }
Samuel Holland
action filter_type
action find
entity Samuel Holland
relation conflict
type armed conflict
['Samuel Holland', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?o WHERE { resource:Samuel_Holland property:conflict ?o . ?o rdf:type ontology:armed_conflict }
[]
armed conflict
Q32929
SYSTEM
War of the Austrian Succession
Q32929
(Q7411720,P607,c(Q350604))
action filter_type
action find
entity Q7411720
relation P607
type Q350604
Samuel Holland was the [ANSWER]
['Q7411720', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?o WHERE { resource:Q7411720 property:P607 ?o . ?o rdf:type ontology:Q350604 }
War of the Austrian Succession
Samuel Holland was the War of the Austrian Succession
War of the Austrian Succession
action filter_type
action find
entity Samuel Holland
relation conflict
type armed conflict
['Samuel Holland', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?o WHERE { resource:Samuel_Holland property:conflict ?o . ?o rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9074298 Q7411720
P1412
Q34770
USER
Which languages do Samuel Holland or Santiago Segurola speak in ?
OR((Q7411720,P1412,c(Q34770)), (Q9074298,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q7411720
relation P1412
action find
entity Q9074298
relation P1412
type Q34770
{'OR': [['Q7411720', 'P1412', {'concept': 'Q34770'}], ['Q9074298', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?w WHERE { { ?d property:P1412 ?w . VALUES ( ?d ) { ( resource:Q7411720 ) ( resource:Q9074298 ) } } . ?w rdf:type ontology:Q34770 }
Santiago Segurola Samuel Holland
action filter_type
action union
action find
entity Samuel Holland
relation languages spoken, written or signed
action find
entity Santiago Segurola
relation languages spoken, written or signed
type language
{'OR': [['Samuel Holland', 'languages spoken, written or signed', {'concept': 'language'}], ['Santiago Segurola', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?w WHERE { { ?d property:languages_spoken,_written_or_signed ?w . VALUES ( ?d ) { ( resource:Samuel_Holland ) ( resource:Santiago_Segurola ) } } . ?w rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q7411720,P1412,c(Q34770)), (Q9074298,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q7411720
relation P1412
action find
entity Q9074298
relation P1412
type Q34770
Samuel Holland or Santiago Segurola speak Spanish [ANSWERS]
{'OR': [['Q7411720', 'P1412', {'concept': 'Q34770'}], ['Q9074298', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?w WHERE { { ?d property:P1412 ?w . VALUES ( ?d ) { ( resource:Q7411720 ) ( resource:Q9074298 ) } } . ?w rdf:type ontology:Q34770 }
English Spanish
Samuel Holland or Santiago Segurola speak Spanish English and Spanish
English Spanish
action filter_type
action union
action find
entity Samuel Holland
relation languages spoken, written or signed
action find
entity Santiago Segurola
relation languages spoken, written or signed
type language
{'OR': [['Samuel Holland', 'languages spoken, written or signed', {'concept': 'language'}], ['Santiago Segurola', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?w WHERE { { ?d property:languages_spoken,_written_or_signed ?w . VALUES ( ?d ) { ( resource:Samuel_Holland ) ( resource:Santiago_Segurola ) } } . ?w rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9074298
P106
Q12737077
USER
Which occupation is the profession of Santiago Segurola ?
(Q1860,P106,c(Q12737077)) (Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q9074298
relation P106
type Q12737077
['Q1860', 'P106', {'concept': 'Q12737077'}] ['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q9074298 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Santiago Segurola
action filter_type
action find
entity Santiago Segurola
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}] ['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Santiago_Segurola property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q1860,P106,c(Q12737077)) (Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q9074298
relation P106
type Q12737077
The [ANSWER] is the profession of Santiago Segurola
['Q1860', 'P106', {'concept': 'Q12737077'}] ['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q9074298 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
journalist
The journalist is the profession of Santiago Segurola
journalist
action filter_type
action find
entity Santiago Segurola
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}] ['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Santiago_Segurola property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations do around the same number of collectables belong to as that occupation ?
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q1930187
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { ?m rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q2342494 . ?d property:P101 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q1930187 property:P101 ?q . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?h = ?r ) }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity journalist
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { ?m rdf:type ontology:occupation . ?d rdf:type ontology:collectable . ?d property:field_of_work ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:journalist property:field_of_work ?q . ?q rdf:type ontology:occupation } } . FILTER ( ?h = ?r ) }
[]
occupation collectable
SYSTEM
117
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q1930187
relation P101
type Q12737077
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { ?m rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q2342494 . ?d property:P101 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q1930187 property:P101 ?q . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?h = ?r ) }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
117
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity journalist
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?h ) WHERE { ?m rdf:type ontology:occupation . ?d rdf:type ontology:collectable . ?d property:field_of_work ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:journalist property:field_of_work ?q . ?q rdf:type ontology:occupation } } . FILTER ( ?h = ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q173250 Q7411720
P27
Q15617994
USER
Which administrative territories do Samuel Holland or Andrea de Adamich belong to ?
OR((Q7411720,P27,c(Q15617994)), (Q173250,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7411720
relation P27
action find
entity Q173250
relation P27
type Q15617994
{'OR': [['Q7411720', 'P27', {'concept': 'Q15617994'}], ['Q173250', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { VALUES ( ?m ) { ( resource:Q7411720 ) ( resource:Q173250 ) } . ?m property:P27 ?d } }
Andrea de Adamich Samuel Holland
action filter_type
action union
action find
entity Samuel Holland
relation country of citizenship
action find
entity Andrea de Adamich
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Samuel Holland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Andrea de Adamich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?m ) { ( resource:Samuel_Holland ) ( resource:Andrea_de_Adamich ) } . ?m property:country_of_citizenship ?d } }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q7411720,P27,c(Q15617994)), (Q173250,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7411720
relation P27
action find
entity Q173250
relation P27
type Q15617994
Samuel Holland or Andrea de Adamich belong to [ANSWERS]
{'OR': [['Q7411720', 'P27', {'concept': 'Q15617994'}], ['Q173250', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { VALUES ( ?m ) { ( resource:Q7411720 ) ( resource:Q173250 ) } . ?m property:P27 ?d } }
Italy Netherlands
Samuel Holland or Andrea de Adamich belong to Italy and Netherlands
Italy Netherlands
action filter_type
action union
action find
entity Samuel Holland
relation country of citizenship
action find
entity Andrea de Adamich
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Samuel Holland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Andrea de Adamich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?m ) { ( resource:Samuel_Holland ) ( resource:Andrea_de_Adamich ) } . ?m property:country_of_citizenship ?d } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2899155
P495
Q838948
USER
Did Irish Hunger Memorial originate in those administrative territories ?
(Q2899155,P495,Q38) (Q2899155,P495,Q55)
action is_in
entity prev_answer
action find
entity Q2899155
relation P495
['Q2899155', 'P495', 'Q38'] ['Q2899155', 'P495', 'Q55']
ASK WHERE { VALUES ( ?p ) { ( resource:Q38 ) ( resource:Q55 ) } . resource:Q2899155 property:P495 ?p }
Irish Hunger Memorial
action is_in
entity prev_answer
action find
entity Irish Hunger Memorial
relation country of origin
['Irish Hunger Memorial', 'country of origin', 'Italy'] ['Irish Hunger Memorial', 'country of origin', 'Netherlands']
ASK WHERE { VALUES ( ?p ) { ( resource:Italy ) ( resource:Netherlands ) } . resource:Irish_Hunger_Memorial property:country_of_origin ?p }
[]
work of art
SYSTEM
NO
(Q2899155,P495,Q38) (Q2899155,P495,Q55)
action is_in
entity prev_answer
action find
entity Q2899155
relation P495
[ANSWER]
['Q2899155', 'P495', 'Q38'] ['Q2899155', 'P495', 'Q55']
ASK WHERE { VALUES ( ?p ) { ( resource:Q38 ) ( resource:Q55 ) } . resource:Q2899155 property:P495 ?p }
No
action is_in
entity prev_answer
action find
entity Irish Hunger Memorial
relation country of origin
['Irish Hunger Memorial', 'country of origin', 'Italy'] ['Irish Hunger Memorial', 'country of origin', 'Netherlands']
ASK WHERE { VALUES ( ?p ) { ( resource:Italy ) ( resource:Netherlands ) } . resource:Irish_Hunger_Memorial property:country_of_origin ?p }
[]