Simple Question (Direct)
Simple Question
Q832352
P410
Q56019
USER
Which is the military rank held by Yang Baibing ?
(Q832352,P410,c(Q56019))
action filter_type
action find
entity Q832352
relation P410
type Q56019
['Q832352', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?f WHERE { resource:Q832352 property:P410 ?f . ?f rdf:type ontology:Q56019 }
Yang Baibing
action filter_type
action find
entity Yang Baibing
relation military rank
type military rank
['Yang Baibing', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?f WHERE { resource:Yang_Baibing property:military_rank ?f . ?f rdf:type ontology:military_rank }
[]
military rank
Q10872929
SYSTEM
Shang Jiang
Q10872929
(Q832352,P410,c(Q56019))
action filter_type
action find
entity Q832352
relation P410
type Q56019
[ANSWER] is the military rank held by Yang Baibing
['Q832352', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?f WHERE { resource:Q832352 property:P410 ?f . ?f rdf:type ontology:Q56019 }
Shang Jiang
Shang Jiang is the military rank held by Yang Baibing
Shang Jiang
action filter_type
action find
entity Yang Baibing
relation military rank
type military rank
['Yang Baibing', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?f WHERE { resource:Yang_Baibing property:military_rank ?f . ?f rdf:type ontology:military_rank }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q832352
P119
Q43229
USER
Which organization is the tomb of Yang Baibing ?
(Q832352,P119,c(Q43229))
action filter_type
action find
entity Q832352
relation P119
type Q43229
['Q832352', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q832352 property:P119 ?x . ?x rdf:type ontology:Q43229 }
Yang Baibing
action filter_type
action find
entity Yang Baibing
relation place of burial
type organization
['Yang Baibing', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Yang_Baibing property:place_of_burial ?x . ?x rdf:type ontology:organization }
[]
organization
Q838166
SYSTEM
Babaoshan Revolutionary Cemetery
Q838166
(Q832352,P119,c(Q43229))
action filter_type
action find
entity Q832352
relation P119
type Q43229
The [ANSWER] is the tomb of Yang Baibing
['Q832352', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q832352 property:P119 ?x . ?x rdf:type ontology:Q43229 }
Babaoshan Revolutionary Cemetery
The Babaoshan Revolutionary Cemetery is the tomb of Yang Baibing
Babaoshan Revolutionary Cemetery
action filter_type
action find
entity Yang Baibing
relation place of burial
type organization
['Yang Baibing', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Yang_Baibing property:place_of_burial ?x . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q832352
P7
Q502895
USER
Who are that one a brother of ?
(c(Q502895),P7,Q838166)
action filter_type
action find
entity Q832352
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q838166']
SELECT DISTINCT ?h WHERE { resource:Q832352 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Yang Baibing
action filter_type
action find
entity Yang Baibing
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Babaoshan Revolutionary Cemetery']
SELECT DISTINCT ?h WHERE { resource:Yang_Baibing property:brother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q377935 Q17500653
SYSTEM
Yang Shangkun, Yang Angong
Q377935 Q17500653
(c(Q502895),P7,Q838166)
action filter_type
action find
entity Q832352
relation P7
type Q502895
That one a brother of are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q838166']
SELECT DISTINCT ?h WHERE { resource:Q832352 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Yang Shangkun Yang Angong
That one a brother of are the Yang Shangkun and Yang Angong
Yang Shangkun Yang Angong
action filter_type
action find
entity Yang Baibing
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Babaoshan Revolutionary Cemetery']
SELECT DISTINCT ?h WHERE { resource:Yang_Baibing property:brother ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q377935 Q17500653
P7
Q502895
USER
Which people had Yang Shangkun and Yang Angong as brother ?
(c(Q502895),P7,Q377935) (c(Q502895),P7,Q17500653)
action union
action filter_type
action find
entity Q377935
relation P7
type Q502895
action filter_type
action find
entity Q17500653
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q377935'] [{'concept': 'Q502895'}, 'P7', 'Q17500653']
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Q377935 ) ( resource:Q17500653 ) } . ?n property:P7 ?f }
Yang Shangkun Yang Angong
action union
action filter_type
action find
entity Yang Shangkun
relation brother
type common name
action filter_type
action find
entity Yang Angong
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yang Shangkun'] [{'concept': 'common name'}, 'brother', 'Yang Angong']
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Yang_Shangkun ) ( resource:Yang_Angong ) } . ?n property:brother ?f }
[]
common name
Q377935 Q832352 Q832352
SYSTEM
Yang Shangkun for 1st, Yang Baibing for 2nd, 3rd
Q832352 Q17500653 Q377935 Q832352
(c(Q502895),P7,Q377935) (c(Q502895),P7,Q17500653)
action union
action filter_type
action find
entity Q377935
relation P7
type Q502895
action filter_type
action find
entity Q17500653
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q377935'] [{'concept': 'Q502895'}, 'P7', 'Q17500653']
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Q377935 ) ( resource:Q17500653 ) } . ?n property:P7 ?f }
Yang Baibing Yang Angong Yang Shangkun Yang Baibing
Yang Shangkun, Yang Baibing and Yang Baibing had Yang Shangkun and Yang Angong as brother
Yang Shangkun Yang Baibing Yang Baibing
action union
action filter_type
action find
entity Yang Shangkun
relation brother
type common name
action filter_type
action find
entity Yang Angong
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yang Shangkun'] [{'concept': 'common name'}, 'brother', 'Yang Angong']
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Yang_Shangkun ) ( resource:Yang_Angong ) } . ?n property:brother ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q377935
P35
Q15617994
USER
Which administrative territory has Yang Shangkun as its chief of state ?
(c(Q15617994),P35,Q377935)
action filter_type
action find_reverse
entity Q377935
relation P35
type Q15617994
[{'concept': 'Q15617994'}, 'P35', 'Q377935']
SELECT DISTINCT ?t WHERE { ?t property:P35 resource:Q377935 . ?t rdf:type ontology:Q15617994 }
Yang Shangkun
action filter_type
action find_reverse
entity Yang Shangkun
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Yang Shangkun']
SELECT DISTINCT ?t WHERE { ?t property:head_of_state resource:Yang_Shangkun . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(c(Q15617994),P35,Q377935)
action filter_type
action find_reverse
entity Q377935
relation P35
type Q15617994
[ANSWER] has Yang Shangkun as its chief of state
[{'concept': 'Q15617994'}, 'P35', 'Q377935']
SELECT DISTINCT ?t WHERE { ?t property:P35 resource:Q377935 . ?t rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China has Yang Shangkun as its chief of state
People's Republic of China
action filter_type
action find_reverse
entity Yang Shangkun
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Yang Shangkun']
SELECT DISTINCT ?t WHERE { ?t property:head_of_state resource:Yang_Shangkun . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P136
Q2342494
USER
Which collectable has that administrative territory as genre ?
(c(Q2342494),P136,Q148)
action filter_type
action find_reverse
entity Q148
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q148']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2342494 . ?u property:P136 resource:Q148 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', "People's Republic of China"]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:collectable . ?u property:genre resource:People's_Republic_of_China }
[]
collectable
Q7303881
SYSTEM
Red China Blues: My Long March from Mao to Now
Q7303881
(c(Q2342494),P136,Q148)
action filter_type
action find_reverse
entity Q148
relation P136
type Q2342494
[ANSWER] has that administrative territory as genre
[{'concept': 'Q2342494'}, 'P136', 'Q148']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2342494 . ?u property:P136 resource:Q148 }
Red China Blues: My Long March from Mao to Now
Red China Blues: My Long March from Mao to Now has that administrative territory as genre
Red China Blues: My Long March from Mao to Now
action filter_type
action find_reverse
entity People's Republic of China
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', "People's Republic of China"]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:collectable . ?u property:genre resource:People's_Republic_of_China }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q302322
P1441
Q2342494 Q502895
USER
Which people appear in greater number of collectables than Calandrino ?
(c(Q502895),P1441,c(Q2342494))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_type
action find
entity Q302322
relation P1441
type Q502895
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?w ) WHERE { ?l property:P1441 ?t . ?l rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Q302322 property:P1441 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?w > ?i ) }
Calandrino
action greater
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_type
action find
entity Calandrino
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?w ) WHERE { ?l property:present_in_work ?t . ?l rdf:type ontology:common_name . ?t rdf:type ontology:collectable } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Calandrino property:present_in_work ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?w > ?i ) }
[]
collectable common name
Q37085 Q9181
SYSTEM
Solomon, Abraham
Q37085 Q9181
(c(Q502895),P1441,c(Q2342494))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_type
action find
entity Q302322
relation P1441
type Q502895
[ANSWERS] appear in greater number of collectables than Calandrino
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?w ) WHERE { ?l property:P1441 ?t . ?l rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Q302322 property:P1441 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?w > ?i ) }
Solomon Abraham
Solomon and Abraham appear in greater number of collectables than Calandrino
Solomon Abraham
action greater
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_type
action find
entity Calandrino
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?w ) WHERE { ?l property:present_in_work ?t . ?l rdf:type ontology:common_name . ?t rdf:type ontology:collectable } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Calandrino property:present_in_work ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?w > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q213850
P1441
Q2342494 Q502895
USER
And how about Amos?
(c(Q502895),P1441,c(Q2342494))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_type
action find
entity Q213850
relation P1441
type Q502895
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { ?i property:P1441 ?y . ?y rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q213850 property:P1441 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?j > ?z ) }
Amos
action greater
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_type
action find
entity Amos
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { ?i property:present_in_work ?y . ?y rdf:type ontology:collectable . ?i rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Amos property:present_in_work ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?j > ?z ) }
[]
collectable common name
Q41370 Q9181 Q270438
SYSTEM
David, Abraham, Charles of Valois
Q660359 Q232525 Q160116 Q785349 Q3858588 Q4154984 Q185801 Q6239779 Q34428 Q294192 Q134646 Q3778878 Q1348720 Q716237 Q41370 Q2124082 Q315276 Q3148218 Q3745274 Q3867479 Q19348839 Q1093885 Q3010053 Q164889 Q27621044 Q366070 Q270438 Q1341779 Q37085 Q972487 Q313395 Q8581 Q2296791 Q9181 Q312311 Q169329 Q302322 Q3761044 Q76721 Q283466 Q9441 Q1227361
(c(Q502895),P1441,c(Q2342494))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_type
action find
entity Q213850
relation P1441
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { ?i property:P1441 ?y . ?y rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q213850 property:P1441 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?j > ?z ) }
Cecco Angiolieri Theodelinda Alexander III Cangrande I della Scala Mino da San Quirico Kai Darab Mikhail Kutuzov John Hooper Philip Guy of Lusignan Boniface VIII Guglielmo Borsiere Guy de Montfort, Count of Nola Song Jiang David Azzo VIII d'Este, Marquis of Ferrara Agilulf Ignacy Przybyszewski Filippo Minutolo Musciatto Franzesi Salammbô Hathi Céleste de Chateaubriand Manfred, King of Sicily Davy Brown George William Russell Charles of Valois Kai Lohrasp Solomon Buonamico Buffalmacco Authari Saladin Molly Bloom Abraham Peter III of Aragon Conrad of Montferrat Calandrino Geri Spini Godfrey of Bouillon Roger of Lauria Gautama Buddha John of Procida
David Abraham Charles of Valois
action greater
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_type
action find
entity Amos
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { ?i property:present_in_work ?y . ?y rdf:type ontology:collectable . ?i rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Amos property:present_in_work ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?j > ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q24308031 Q7303881
P364
Q34770
USER
Which languages were used originally for the creation of Red China Blues: My Long March from Mao to Now and Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting ?
AND((Q7303881,P364,c(Q34770)), (Q24308031,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q7303881
relation P364
action find
entity Q24308031
relation P364
type Q34770
{'AND': [['Q7303881', 'P364', {'concept': 'Q34770'}], ['Q24308031', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?n WHERE { resource:Q24308031 property:P364 ?n . resource:Q7303881 property:P364 ?n . ?n rdf:type ontology:Q34770 }
Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting Red China Blues: My Long March from Mao to Now
action filter_type
action intersection
action find
entity Red China Blues: My Long March from Mao to Now
relation original language of work
action find
entity Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting
relation original language of work
type language
{'AND': [['Red China Blues: My Long March from Mao to Now', 'original language of work', {'concept': 'language'}], ['Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?n WHERE { resource:Pyruvate_dehydrogenase_activation_and_kinase_expression_in_human_skeletal_muscle_during_fasting property:original_language_of_work ?n . resource:Red_China_Blues:_My_Long_March_from_Mao_to_Now property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q7303881,P364,c(Q34770)), (Q24308031,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q7303881
relation P364
action find
entity Q24308031
relation P364
type Q34770
[ANSWER] was used originally for the creation of Red China Blues: My Long March from Mao to Now and Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting
{'AND': [['Q7303881', 'P364', {'concept': 'Q34770'}], ['Q24308031', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?n WHERE { resource:Q24308031 property:P364 ?n . resource:Q7303881 property:P364 ?n . ?n rdf:type ontology:Q34770 }
English
English was used originally for the creation of Red China Blues: My Long March from Mao to Now and Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting
English
action filter_type
action intersection
action find
entity Red China Blues: My Long March from Mao to Now
relation original language of work
action find
entity Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting
relation original language of work
type language
{'AND': [['Red China Blues: My Long March from Mao to Now', 'original language of work', {'concept': 'language'}], ['Pyruvate dehydrogenase activation and kinase expression in human skeletal muscle during fasting', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?n WHERE { resource:Pyruvate_dehydrogenase_activation_and_kinase_expression_in_human_skeletal_muscle_during_fasting property:original_language_of_work ?n . resource:Red_China_Blues:_My_Long_March_from_Mao_to_Now property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q869624
P37
Q34770 Q56061
USER
Which administrative territories are around the same number of languages associated to as the official language as Mogelsberg ?
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q869624
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?k ) WHERE { ?h property:P37 ?w . ?w rdf:type ontology:Q34770 . ?h rdf:type ontology:Q56061 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q869624 property:P37 ?c . ?c rdf:type ontology:Q56061 } } . FILTER ( ?k = ?y ) }
Mogelsberg
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Mogelsberg
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?k ) WHERE { ?h property:official_language ?w . ?w rdf:type ontology:language . ?h rdf:type ontology:administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Mogelsberg property:official_language ?c . ?c rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?k = ?y ) }
[]
language administrative territorial entity
Q72 Q7172 Q807
SYSTEM
Zürich, Arab League, Lausanne
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q869624
relation P37
type Q56061
[ANSWERS] are around the same number of languages associated to as the official language as Mogelsberg
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?k ) WHERE { ?h property:P37 ?w . ?w rdf:type ontology:Q34770 . ?h rdf:type ontology:Q56061 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q869624 property:P37 ?c . ?c rdf:type ontology:Q56061 } } . FILTER ( ?k = ?y ) }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
Zürich, Arab League and Lausanne are around the same number of languages associated to as the official language as Mogelsberg
Zürich Arab League Lausanne
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Mogelsberg
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?k ) WHERE { ?h property:official_language ?w . ?w rdf:type ontology:language . ?h rdf:type ontology:administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Mogelsberg property:official_language ?c . ?c rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?k = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q43945
P417
Q502895 Q15617994 Q12737077
USER
Which people are the patron saints of approximately the same number of administrative territories or occupations as Jude the Apostle ?
(c(Q15617994)|c(Q12737077),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q43945
relation P417
type Q15617994
type Q12737077
[[{'concept': 'Q15617994'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P417 resource:Q43945 . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q12737077 } } } } . FILTER ( ?t = ?n ) }
Jude the Apostle
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Jude the Apostle
relation patron saint
type designation for an administrative territorial entity
type occupation
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:patron_saint resource:Jude_the_Apostle . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:occupation } } } } . FILTER ( ?t = ?n ) }
[]
common name designation for an administrative territorial entity occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q316295 Q4014956 Q159834 Q119512 Q44281 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q58559 Q445357 Q190240 Q332656 Q210096 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q159862 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q15617994)|c(Q12737077),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q43945
relation P417
type Q15617994
type Q12737077
[ANSWERS] are the patron saints of approximately the same number of administrative territories or occupations as Jude the Apostle
[[{'concept': 'Q15617994'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P417 resource:Q43945 . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q12737077 } } } } . FILTER ( ?t = ?n ) }
Eurosia Saint Amand Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Bernardino of Siena Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Leo IX Henry Cyprian Camillus de Lellis Agnes of Rome John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Elizabeth of Hungary Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the patron saints of approximately the same number of administrative territories or occupations as Jude the Apostle
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Jude the Apostle
relation patron saint
type designation for an administrative territorial entity
type occupation
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:patron_saint resource:Jude_the_Apostle . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:occupation } } } } . FILTER ( ?t = ?n ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q191479
P166
Q618779
USER
What were received by that person ?
(Q191479,P166,c(Q618779))
action filter_type
action find
entity Q191479
relation P166
type Q618779
['Q191479', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q191479 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Tadeusz Kościuszko
action filter_type
action find
entity Tadeusz Kościuszko
relation award received
type award
['Tadeusz Kościuszko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Tadeusz_Kościuszko property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q9682
SYSTEM
Did you mean Elizabeth II ?
Q9682 Q9438 Q191479
(Q9682,P166,c(Q618779)) (Q9438,P166,c(Q618779)) (Q191479,P166,c(Q618779))
[ANSWER]
['Q9682', 'P166', {'concept': 'Q618779'}] ['Q9438', 'P166', {'concept': 'Q618779'}] ['Q191479', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q191479 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
Did you mean Elizabeth II ?
Elizabeth II
['Elizabeth II', 'award received', {'concept': 'award'}] ['Thomas Aquinas', 'award received', {'concept': 'award'}] ['Tadeusz Kościuszko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Tadeusz_Kościuszko property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
No, I meant Tadeusz Kościuszko. Could you tell me the answer for that?
(Q191479,P166,c(Q618779))
Q191479
['Q191479', 'P166', {'concept': 'Q618779'}]
['Tadeusz Kościuszko', 'award received', {'concept': 'award'}]
[]
Q944955 Q84020
SYSTEM
Virtuti Militari, Order of the White Eagle
Q944955 Q84020
(Q191479,P166,c(Q618779))
action filter_type
action find
entity Q191479
relation P166
type Q618779
The [ANSWERS] were received by that person
['Q191479', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q191479 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Virtuti Militari Order of the White Eagle
The Virtuti Militari and Order of the White Eagle were received by that person
Virtuti Militari Order of the White Eagle
action filter_type
action find
entity Tadeusz Kościuszko
relation award received
type award
['Tadeusz Kościuszko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Tadeusz_Kościuszko property:award_received ?w . ?w rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q72
P159
Q163740 Q3624078
USER
How many nonprofit organizations or sovereign states have the principal seat at Zürich ?
(c(Q163740),P159,Q72) (c(Q3624078),P159,Q72)
action count
action union
action filter_type
action find_reverse
entity Q72
relation P159
type Q163740
action filter_type
action find_reverse
entity Q72
relation P159
type Q3624078
[{'concept': 'Q163740'}, 'P159', 'Q72'] [{'concept': 'Q3624078'}, 'P159', 'Q72']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { ?p rdf:type ontology:Q3624078 . ?p property:P159 resource:Q72 } UNION { ?p property:P159 resource:Q72 . ?p rdf:type ontology:Q163740 } }
Zürich
action count
action union
action filter_type
action find_reverse
entity Zürich
relation headquarters location
type nonprofit organization
action filter_type
action find_reverse
entity Zürich
relation headquarters location
type sovereign state
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Zürich'] [{'concept': 'sovereign state'}, 'headquarters location', 'Zürich']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { ?p rdf:type ontology:sovereign_state . ?p property:headquarters_location resource:Zürich } UNION { ?p property:headquarters_location resource:Zürich . ?p rdf:type ontology:nonprofit_organization } }
[]
nonprofit organization sovereign state
SYSTEM
2
Q296935 Q684726
(c(Q163740),P159,Q72) (c(Q3624078),P159,Q72)
action count
action union
action filter_type
action find_reverse
entity Q72
relation P159
type Q163740
action filter_type
action find_reverse
entity Q72
relation P159
type Q3624078
[ANSWER]
[{'concept': 'Q163740'}, 'P159', 'Q72'] [{'concept': 'Q3624078'}, 'P159', 'Q72']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { ?p rdf:type ontology:Q3624078 . ?p property:P159 resource:Q72 } UNION { ?p property:P159 resource:Q72 . ?p rdf:type ontology:Q163740 } }
ARUD Zürich WOZ Die Wochenzeitung
2
action count
action union
action filter_type
action find_reverse
entity Zürich
relation headquarters location
type nonprofit organization
action filter_type
action find_reverse
entity Zürich
relation headquarters location
type sovereign state
[{'concept': 'nonprofit organization'}, 'headquarters location', 'Zürich'] [{'concept': 'sovereign state'}, 'headquarters location', 'Zürich']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { ?p rdf:type ontology:sovereign_state . ?p property:headquarters_location resource:Zürich } UNION { ?p property:headquarters_location resource:Zürich . ?p rdf:type ontology:nonprofit_organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191479
P25
Q502895
USER
Which person was the mother of Tadeusz Kościuszko ?
(Q191479,P25,c(Q502895))
action filter_type
action find
entity Q191479
relation P25
type Q502895
['Q191479', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q191479 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Tadeusz Kościuszko
action filter_type
action find
entity Tadeusz Kościuszko
relation mother
type common name
['Tadeusz Kościuszko', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Tadeusz_Kościuszko property:mother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q9356383
SYSTEM
Tekla Ratomska
Q9356383
(Q191479,P25,c(Q502895))
action filter_type
action find
entity Q191479
relation P25
type Q502895
[ANSWER] was the mother of Tadeusz Kościuszko
['Q191479', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q191479 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Tekla Ratomska
Tekla Ratomska was the mother of Tadeusz Kościuszko
Tekla Ratomska
action filter_type
action find
entity Tadeusz Kościuszko
relation mother
type common name
['Tadeusz Kościuszko', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Tadeusz_Kościuszko property:mother ?w . ?w rdf:type ontology:common_name }
[]